offset 241 attrd/attrd_common.c int offset = 1; offset 247 attrd/attrd_common.c offset = char2score(offset_s); offset 249 attrd/attrd_common.c int_value += offset; offset 193 crmd/messages.c int offset = 0; offset 201 crmd/messages.c offset++, data->id, fsa_input2string(data->fsa_input), offset 38 crmd/te_actions.c static void te_update_job_count(crm_action_t * action, int offset); offset 550 crmd/te_actions.c te_update_job_count_on(const char *target, int offset, bool migrate) offset 565 crmd/te_actions.c r->jobs += offset; offset 567 crmd/te_actions.c r->migrate_jobs += offset; offset 573 crmd/te_actions.c te_update_job_count(crm_action_t * action, int offset) offset 595 crmd/te_actions.c te_update_job_count_on(t1, offset, TRUE); offset 596 crmd/te_actions.c te_update_job_count_on(t2, offset, TRUE); offset 602 crmd/te_actions.c te_update_job_count_on(target, offset, FALSE); offset 747 fencing/commands.c int offset = 0; offset 752 fencing/commands.c offset = strlen(actions); offset 755 fencing/commands.c if (offset > 0) { offset 756 fencing/commands.c offset += snprintf(actions+offset, MAX_ACTION_LEN - offset, " "); offset 758 fencing/commands.c offset += snprintf(actions+offset, MAX_ACTION_LEN - offset, "%s", action); offset 150 fencing/standalone_config.c size_t offset = 0; offset 172 fencing/standalone_config.c offset = strlen(tmp); offset 173 fencing/standalone_config.c tmp = realloc_safe(tmp, len + offset + 1); offset 179 fencing/standalone_config.c tmp += offset; offset 403 include/crm/cluster/internal.h crm_node_t *crm_update_ccm_node(const oc_ev_membership_t * oc, int offset, const char *state, offset 43 include/crm/common/iso8601_internal.h int offset; /* Seconds */ offset 353 include/crm_internal.h void crm_xml_dump(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth); offset 354 include/crm_internal.h void crm_buffer_add_char(char **buffer, int *offset, int *max, char c); offset 552 lib/ais/plugin.c int offset = 1, len = 0; offset 556 lib/ais/plugin.c for (len = strlen(path); offset < len; offset++) { offset 557 lib/ais/plugin.c if (path[offset] == '/') { offset 558 lib/ais/plugin.c path[offset] = 0; offset 563 lib/ais/plugin.c path[offset] = '/'; offset 391 lib/ais/utils.c int offset = 0; offset 397 lib/ais/utils.c offset = size; offset 414 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "<node id=\"%u\" ", node->id); offset 416 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "uname=\"%s\" ", node->uname); offset 418 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "state=\"%s\" ", node->state); offset 419 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "born=\"" U64T "\" ", node->born); offset 420 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "seen=\"" U64T "\" ", node->last_seen); offset 421 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "votes=\"%d\" ", node->votes); offset 422 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "processes=\"%u\" ", node->processes); offset 424 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "addr=\"%s\" ", node->addr); offset 427 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "version=\"%s\" ", node->version); offset 429 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "/>"); offset 61 lib/cib/cib_attrs.c int offset = 0; offset 102 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "%.128s", get_object_path(section)); offset 105 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", node_type); offset 114 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%s']", node_type, offset 119 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%.128s']", set_type, offset 122 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", set_type); offset 125 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//nvpair["); offset 127 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@id='%s'", attr_id); offset 132 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, " and "); offset 134 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@name='%.128s'", attr_name); offset 136 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "]"); offset 137 lib/cib/cib_attrs.c CRM_LOG_ASSERT(offset > 0); offset 365 lib/cluster/heartbeat.c crm_update_ccm_node(const oc_ev_membership_t * oc, int offset, const char *state, uint64_t seq) offset 371 lib/cluster/heartbeat.c CRM_CHECK(oc->m_array[offset].node_uname != NULL, return NULL); offset 373 lib/cluster/heartbeat.c peer = crm_get_peer(0, oc->m_array[offset].node_uname); offset 376 lib/cluster/heartbeat.c peer = crm_update_peer(__FUNCTION__, oc->m_array[offset].node_id, offset 377 lib/cluster/heartbeat.c oc->m_array[offset].node_born_on, seq, -1, 0, offset 378 lib/cluster/heartbeat.c uuid, oc->m_array[offset].node_uname, NULL, state); offset 43 lib/common/digest.c int offset = 0, max = 0; offset 46 lib/common/digest.c crm_buffer_add_char(&buffer, &offset, &max, ' '); offset 47 lib/common/digest.c crm_xml_dump(an_xml_node, 0, &buffer, &offset, &max, 0); offset 48 lib/common/digest.c crm_buffer_add_char(&buffer, &offset, &max, '\n'); offset 103 lib/common/digest.c int offset, max; offset 122 lib/common/digest.c crm_xml_dump(source, do_filter ? xml_log_option_filtered : 0, &buffer, &offset, &max, 0); offset 52 lib/common/io.c int offset = 1, len = 0; offset 56 lib/common/io.c for (len = strlen(path); offset < len; offset++) { offset 57 lib/common/io.c if (path[offset] == '/') { offset 58 lib/common/io.c path[offset] = 0; offset 63 lib/common/io.c path[offset] = '/'; offset 65 lib/common/iso8601.c int offset; /* Seconds */ offset 82 lib/common/iso8601.c utc->offset = 0; offset 84 lib/common/iso8601.c if (dt->offset) { offset 85 lib/common/iso8601.c crm_time_add_seconds(utc, -dt->offset); offset 420 lib/common/iso8601.c } else if (date_time->offset && (flags & crm_time_log_with_timezone) == 0) { offset 431 lib/common/iso8601.c int offset = 0; offset 441 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%4d year%s ", dt->years, dt->years>1?"s":""); offset 444 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%2d month%s ", dt->months, dt->months>1?"s":""); offset 447 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%2d day%s ", dt->days, dt->days>1?"s":""); offset 450 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%d seconds ( ", dt->seconds); offset 452 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%u hour%s ", h, h>1?"s":""); offset 455 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%u minute%s ", m, m>1?"s":""); offset 458 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%u second%s ", s, s>1?"s":""); offset 460 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, ")"); offset 520 lib/common/iso8601.c if (dt->offset != 0) { offset 521 lib/common/iso8601.c crm_time_get_sec(dt->offset, &h, &m, &s); offset 525 lib/common/iso8601.c if ((flags & crm_time_log_with_timezone) == 0 || dt->offset == 0) { offset 530 lib/common/iso8601.c snprintf(offset_s, 24, " %c%.2u:%.2u", dt->offset < 0 ? '-' : '+', h, m); offset 584 lib/common/iso8601.c int offset = 0; offset 598 lib/common/iso8601.c offset += (60 * 60 * h_offset); offset 599 lib/common/iso8601.c offset += (60 * m_offset); offset 610 lib/common/iso8601.c offset = crm_time_parse_sec(offset_str); offset 612 lib/common/iso8601.c offset = 0 - offset; offset 615 lib/common/iso8601.c return offset; offset 644 lib/common/iso8601.c dt->offset = crm_time_parse_offset(offset_s); offset 645 lib/common/iso8601.c crm_time_get_sec(dt->offset, &h, &m, &s); offset 646 lib/common/iso8601.c crm_trace("Got tz: %c%2.d:%.2d", dt->offset < 0 ? '-' : '+', h, m); offset 777 lib/common/iso8601.c int offset = 0; offset 791 lib/common/iso8601.c if (str[offset] == 'T') { offset 792 lib/common/iso8601.c offset++; offset 795 lib/common/iso8601.c if (str[offset] == '.' || str[offset] == ',') { offset 798 lib/common/iso8601.c offset++; offset 799 lib/common/iso8601.c } else if (str[offset] == '-') { offset 801 lib/common/iso8601.c offset++; offset 802 lib/common/iso8601.c } else if (str[offset] == '+' || str[offset] == ':') { offset 803 lib/common/iso8601.c offset++; offset 806 lib/common/iso8601.c for (; (fraction || lpc < field_width) && isdigit((int)str[offset]); lpc++) { offset 808 lib/common/iso8601.c intermediate = (str[offset] - '0') / (10 ^ lpc); offset 811 lib/common/iso8601.c intermediate = str[offset] - '0'; offset 814 lib/common/iso8601.c offset++; offset 827 lib/common/iso8601.c return offset; offset 993 lib/common/iso8601.c target->offset = source->offset; offset 1012 lib/common/iso8601.c target->offset = 0; offset 1040 lib/common/iso8601.c target->offset += 60 * 60 * h_offset; offset 1041 lib/common/iso8601.c target->offset += 60 * m_offset; offset 1300 lib/common/iso8601.c .tm_gmtoff = source->offset offset 1319 lib/common/iso8601.c .offset = dt->offset, offset 1337 lib/common/iso8601.c .offset = hr_dt->offset, offset 191 lib/common/logging.c int offset = 0; offset 199 lib/common/logging.c offset += offset 200 lib/common/logging.c snprintf(fmt + offset, FMT_MAX - offset, "%%t [%lu] %s %10s: ", offset 203 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "%%t [%lu] %10s: ", offset 209 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "%%g %%-7p: %%b"); offset 212 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%-12f:%%5l %%g) %%-7p: %%n:\t%%b"); offset 214 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "%%g %%-7p: %%n:\t%%b"); offset 217 lib/common/logging.c CRM_LOG_ASSERT(offset > 0); offset 566 lib/common/logging.c const char *offset = NULL; offset 570 lib/common/logging.c offset = next; offset 571 lib/common/logging.c next = strchrnul(offset, ','); offset 572 lib/common/logging.c snprintf(token, sizeof(token), "%.*s", (int)(next - offset), offset); offset 1235 lib/common/logging.c const char *offset = NULL; offset 1244 lib/common/logging.c offset = next; offset 1245 lib/common/logging.c next = strchrnul(offset, '\n'); offset 1247 lib/common/logging.c (int)(next - offset), offset); offset 51 lib/common/operations.c int len = 0, offset = 0, ch = 0; offset 57 lib/common/operations.c offset = len - 1; offset 61 lib/common/operations.c while (offset > 0 && isdigit(key[offset])) { offset 62 lib/common/operations.c int digits = len - offset; offset 64 lib/common/operations.c ch = key[offset] - '0'; offset 72 lib/common/operations.c offset--; offset 76 lib/common/operations.c CRM_CHECK(key[offset] == '_', return FALSE); offset 79 lib/common/operations.c mutable_key[offset] = 0; offset 80 lib/common/operations.c offset--; offset 82 lib/common/operations.c while (offset > 0 && key[offset] != '_') { offset 83 lib/common/operations.c offset--; offset 86 lib/common/operations.c CRM_CHECK(key[offset] == '_', free(mutable_key); offset 89 lib/common/operations.c mutable_key_ptr = mutable_key + offset + 1; offset 95 lib/common/operations.c mutable_key[offset] = 0; offset 96 lib/common/operations.c offset--; offset 49 lib/common/xml.c __get_prefix(const char *prefix, xmlNode *xml, char *buffer, int offset); offset 124 lib/common/xml.c #define buffer_print(buffer, max, offset, fmt, args...) do { \ offset 127 lib/common/xml.c rc = snprintf((buffer) + (offset), (max) - (offset), fmt, ##args); \ offset 130 lib/common/xml.c crm_perror(LOG_ERR, "snprintf failed at offset %d", offset); \ offset 131 lib/common/xml.c (buffer)[(offset)] = 0; \ offset 133 lib/common/xml.c } else if(rc >= ((max) - (offset))) { \ offset 140 lib/common/xml.c offset += rc; \ offset 146 lib/common/xml.c insert_prefix(int options, char **buffer, int *offset, int *max, int depth) offset 151 lib/common/xml.c if ((*buffer) == NULL || spaces >= ((*max) - (*offset))) { offset 155 lib/common/xml.c memset((*buffer) + (*offset), ' ', spaces); offset 156 lib/common/xml.c (*offset) += spaces; offset 244 lib/common/xml.c int get_tag_name(const char *input, size_t offset, size_t max); offset 245 lib/common/xml.c int get_attr_name(const char *input, size_t offset, size_t max); offset 246 lib/common/xml.c int get_attr_value(const char *input, size_t offset, size_t max); offset 408 lib/common/xml.c int offset = 0; offset 412 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "//%s", tag); offset 414 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "//*"); offset 418 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "["); offset 422 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "@id='%s'", ref); offset 426 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, " and "); offset 430 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "@%s", attr); offset 434 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "]"); offset 437 lib/common/xml.c CRM_LOG_ASSERT(offset > 0); offset 982 lib/common/xml.c int offset = 0; offset 985 lib/common/xml.c if(__get_prefix(NULL, xml->parent, buffer, offset) > 0) { offset 1008 lib/common/xml.c int offset = 0; offset 1011 lib/common/xml.c if(__get_prefix(NULL, xml, buffer, offset) > 0) { offset 1057 lib/common/xml.c int offset = 0; offset 1061 lib/common/xml.c if(__get_prefix(NULL, xml, buffer, offset) > 0) { offset 2330 lib/common/xml.c int offset = 1; offset 2368 lib/common/xml.c offset = char2score(offset_s); offset 2370 lib/common/xml.c int_value += offset; offset 2436 lib/common/xml.c int offset = 0; offset 2447 lib/common/xml.c offset = __get_prefix(NULL, xml, buffer, offset); offset 2449 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "[@%s]", name); offset 2451 lib/common/xml.c CRM_LOG_ASSERT(offset > 0); offset 2613 lib/common/xml.c __get_prefix(const char *prefix, xmlNode *xml, char *buffer, int offset) offset 2617 lib/common/xml.c if(offset == 0 && prefix == NULL && xml->parent) { offset 2618 lib/common/xml.c offset = __get_prefix(NULL, xml->parent, buffer, offset); offset 2622 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "/%s[@id='%s']", (const char *)xml->name, id); offset 2624 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "/%s", (const char *)xml->name); offset 2627 lib/common/xml.c return offset; offset 2633 lib/common/xml.c int offset = 0; offset 2636 lib/common/xml.c if(__get_prefix(NULL, xml, buffer, offset) > 0) { offset 2659 lib/common/xml.c int offset = 0; offset 2662 lib/common/xml.c __get_prefix(NULL, child, buffer, offset); offset 2668 lib/common/xml.c int offset = 0; offset 2671 lib/common/xml.c if(__get_prefix(NULL, child, buffer, offset) > 0) { offset 3183 lib/common/xml.c int offset = strlen(replace) - 1; /* We have space for 1 char already */ offset 3185 lib/common/xml.c *length += offset; offset 3188 lib/common/xml.c for (lpc = (*length) - 1; lpc > (start + offset); lpc--) { offset 3189 lib/common/xml.c text[lpc] = text[lpc - offset]; offset 3192 lib/common/xml.c memcpy(text + start, replace, offset + 1); offset 3282 lib/common/xml.c dump_xml_attr(xmlAttrPtr attr, int options, char **buffer, int *offset, int *max) offset 3300 lib/common/xml.c buffer_print(*buffer, *max, *offset, " %s=\"%s\"", p_name, p_value); offset 3309 lib/common/xml.c int offset = 0; offset 3325 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); offset 3328 lib/common/xml.c buffer_print(buffer, max, offset, "<!--%s-->", data->content); offset 3331 lib/common/xml.c buffer_print(buffer, max, offset, "<%s", name); offset 3354 lib/common/xml.c buffer_print(buffer, max, offset, " %s=\"%s\"", p_name, p_copy); offset 3359 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); offset 3362 lib/common/xml.c buffer_print(buffer, max, offset, ">"); offset 3365 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); offset 3380 lib/common/xml.c offset = 0; offset 3391 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); offset 3392 lib/common/xml.c buffer_print(buffer, max, offset, "</%s>", name); offset 3550 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max) offset 3573 lib/common/xml.c dump_xml_attr(xIter, options, buffer, offset, max); offset 3579 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 3584 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 3593 lib/common/xml.c *offset = 0; offset 3600 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 3601 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<%s", name); offset 3604 lib/common/xml.c dump_filtered_xml(data, options, buffer, offset, max); offset 3610 lib/common/xml.c dump_xml_attr(xIter, options, buffer, offset, max); offset 3615 lib/common/xml.c buffer_print(*buffer, *max, *offset, "/>"); offset 3618 lib/common/xml.c buffer_print(*buffer, *max, *offset, ">"); offset 3622 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 3628 lib/common/xml.c crm_xml_dump(xChild, options, buffer, offset, max, depth + 1); offset 3631 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 3632 lib/common/xml.c buffer_print(*buffer, *max, *offset, "</%s>", name); offset 3635 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 3641 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 3644 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 3653 lib/common/xml.c *offset = 0; offset 3657 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 3659 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); offset 3662 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 3668 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 3671 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 3680 lib/common/xml.c *offset = 0; offset 3684 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 3686 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<!--"); offset 3687 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); offset 3688 lib/common/xml.c buffer_print(*buffer, *max, *offset, "-->"); offset 3691 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 3696 lib/common/xml.c crm_xml_dump(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 3699 lib/common/xml.c *offset = 0; offset 3759 lib/common/xml.c dump_xml_element(data, options, buffer, offset, max, depth); offset 3764 lib/common/xml.c dump_xml_text(data, options, buffer, offset, max, depth); offset 3768 lib/common/xml.c dump_xml_comment(data, options, buffer, offset, max, depth); offset 3799 lib/common/xml.c crm_buffer_add_char(char **buffer, int *offset, int *max, char c) offset 3801 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%c", c); offset 3808 lib/common/xml.c int offset = 0, max = 0; offset 3810 lib/common/xml.c crm_xml_dump(an_xml_node, xml_log_option_formatted|xml_log_option_text, &buffer, &offset, &max, 0); offset 3818 lib/common/xml.c int offset = 0, max = 0; offset 3820 lib/common/xml.c crm_xml_dump(an_xml_node, xml_log_option_formatted, &buffer, &offset, &max, 0); offset 3828 lib/common/xml.c int offset = 0, max = 0; offset 3830 lib/common/xml.c crm_xml_dump(an_xml_node, 0, &buffer, &offset, &max, 0); offset 4338 lib/common/xml.c int offset = __xml_offset(a_child); offset 4341 lib/common/xml.c if (offset < search_offset) { offset 4344 lib/common/xml.c } else if (offset > search_offset) { offset 5143 lib/common/xml.c int offset = 0; offset 5147 lib/common/xml.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//%s[@id='%s']", tag, ref); offset 5148 lib/common/xml.c CRM_LOG_ASSERT(offset > 0); offset 77 lib/pengine/container.c data->prefix, tuple->offset, tuple->ipaddr, offset 78 lib/pengine/container.c data->prefix, tuple->offset, data->prefix, tuple->offset); offset 82 lib/pengine/container.c data->prefix, tuple->offset, tuple->ipaddr); offset 85 lib/pengine/container.c tuple->ipaddr, data->prefix, tuple->offset); offset 150 lib/pengine/container.c crm_xml_set_id(xml_obj, "%s-attributes-%d", data->prefix, tuple->offset); offset 185 lib/pengine/container.c int offset = 0, max = 4096; offset 195 lib/pengine/container.c id = crm_strdup_printf("%s-docker-%d", data->prefix, tuple->offset); offset 201 lib/pengine/container.c crm_xml_set_id(xml_obj, "%s-attributes-%d", data->prefix, tuple->offset); offset 208 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --restart=no"); offset 216 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", offset 217 lib/pengine/container.c data->prefix, tuple->offset); offset 220 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); offset 224 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --net=%s", data->docker_network); offset 228 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); offset 230 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); offset 238 lib/pengine/container.c "%s/%s-%d", mount->source, data->prefix, tuple->offset); offset 244 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); offset 248 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); offset 251 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); offset 259 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", offset 263 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); offset 268 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " %s", data->docker_run_options); offset 272 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " %s", data->docker_host_options); offset 342 lib/pengine/container.c int offset = 0, max = 4096; offset 354 lib/pengine/container.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, tuple->offset); offset 360 lib/pengine/container.c crm_xml_set_id(xml_obj, "%s-attributes-%d", data->prefix, tuple->offset); offset 373 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --hostname=%s-%d", offset 374 lib/pengine/container.c data->prefix, tuple->offset); offset 377 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_stderr=1"); offset 381 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --net=%s", data->docker_network); offset 385 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%s", data->control_port); offset 387 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); offset 395 lib/pengine/container.c "%s/%s-%d", mount->source, data->prefix, tuple->offset); offset 401 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, source); offset 403 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); offset 405 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); offset 409 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, mount->source); offset 411 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); offset 413 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); offset 422 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s:%s", offset 425 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); offset 430 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " %s", data->docker_run_options); offset 434 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " %s", data->docker_host_options); offset 532 lib/pengine/container.c char *id = crm_strdup_printf("%s-%d", data->prefix, tuple->offset); offset 540 lib/pengine/container.c id = crm_strdup_printf("pcmk-internal-%s-remote-%d", tuple->child->id, tuple->offset); offset 1005 lib/pengine/container.c int offset = 0, max = 1024; offset 1066 lib/pengine/container.c tuple->offset = lpc++; offset 1073 lib/pengine/container.c offset += allocate_ip(container_data, tuple, buffer+offset, max-offset); offset 1085 lib/pengine/container.c int offset = 0, max = 1024; offset 1090 lib/pengine/container.c tuple->offset = lpc; offset 1091 lib/pengine/container.c offset += allocate_ip(container_data, tuple, buffer+offset, max-offset); offset 1259 lib/pengine/container.c status_print("%s <replica id=\"%d\">\n", pre_text, tuple->offset); offset 1276 lib/pengine/container.c int offset = 0; offset 1284 lib/pengine/container.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", rsc_printable_id(tuple->remote)); offset 1286 lib/pengine/container.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", rsc_printable_id(tuple->docker)); offset 1289 lib/pengine/container.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", tuple->ipaddr); offset 1337 lib/pengine/container.c status_print(" %sReplica[%d]\n", pre_text, tuple->offset); offset 487 lib/pengine/native.c int offset = 0; offset 539 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", pre_text); offset 541 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", name); offset 542 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "\t(%s", class); offset 545 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "::%s", prov); offset 547 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s):\t", kind); offset 549 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, " ORPHANED "); offset 552 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "FAILED %s", role2text(role)); offset 554 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "FAILED"); offset 558 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", rsc_state); offset 562 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, " %s", node->details->uname); offset 617 lib/pengine/native.c CRM_LOG_ASSERT(offset > 0); offset 815 lib/pengine/native.c int offset = 0; offset 825 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", class); offset 828 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "::%s", prov); offset 830 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s", kind); offset 831 lib/pengine/native.c CRM_LOG_ASSERT(offset > 0); offset 2380 lib/pengine/unpack.c int offset = 0; offset 2383 lib/pengine/unpack.c offset += snprintf(xpath + offset, STATUS_PATH_MAX - offset, "//node_state[@uname='%s']", node); offset 2384 lib/pengine/unpack.c offset += offset 2385 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, "//" XML_LRM_TAG_RESOURCE "[@id='%s']", offset 2390 lib/pengine/unpack.c offset += offset 2391 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, offset 2395 lib/pengine/unpack.c offset += offset 2396 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, offset 2400 lib/pengine/unpack.c offset += offset 2401 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, offset 2405 lib/pengine/unpack.c CRM_LOG_ASSERT(offset > 0); offset 62 lib/pengine/variant.h int offset; offset 1003 lib/services/services.c int offset = 0; offset 1059 lib/services/services.c if ((offset == 0) // haven't already found long description offset 1064 lib/services/services.c offset += snprintf(description, DESC_MAX, "%s", offset 1075 lib/services/services.c offset += snprintf(description + offset, DESC_MAX - offset, offset 152 libltdl/argz.c size_t offset = before - *pargz; offset 160 libltdl/argz.c before = argz + offset; offset 165 libltdl/argz.c memmove (before + entry_len, before, *pargz_len - offset); offset 426 libltdl/loaders/dyld.c unsigned long offset = sizeof(mach_header); offset 434 libltdl/loaders/dyld.c lc = (struct load_command*) (((unsigned long) mh) + offset); offset 437 libltdl/loaders/dyld.c result=(char*)(((dylib_command*) lc)->dylib.name.offset + offset 440 libltdl/loaders/dyld.c offset += lc->cmdsize; offset 476 libltdl/loaders/dyld.c unsigned long offset = sizeof(mach_header); offset 482 libltdl/loaders/dyld.c lc = (struct load_command*) (((unsigned long) mh) + offset); offset 485 libltdl/loaders/dyld.c unsigned long base = ((dylib_command *) lc)->dylib.name.offset; offset 506 libltdl/loaders/dyld.c offset += lc->cmdsize; offset 379 pengine/allocate.c int offset = -1; offset 434 pengine/allocate.c offset++; offset 439 pengine/allocate.c } else if (offset < start_index) { offset 60 tools/crm_resource.h void cli_resource_print_colocation(resource_t * rsc, bool dependents, bool recursive, int offset); offset 211 tools/crm_resource_print.c int offset = 0; offset 214 tools/crm_resource_print.c offset = strlen(prefix) - 2; offset 227 tools/crm_resource_print.c prefix ? prefix : " ", 71 - offset, node->details->uname, score, cons->id); offset 234 tools/crm_resource_print.c cli_resource_print_colocation(resource_t * rsc, bool dependents, bool recursive, int offset) offset 240 tools/crm_resource_print.c prefix = calloc(1, (offset * 4) + 1); offset 241 tools/crm_resource_print.c memset(prefix, ' ', offset * 4); offset 267 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (id=%s - loop)\n", prefix, 80 - (4 * offset), peer->id, offset 274 tools/crm_resource_print.c cli_resource_print_colocation(peer, dependents, recursive, offset + 1); offset 279 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (score=%s, %s role=%s, id=%s)\n", prefix, 80 - (4 * offset), offset 283 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (score=%s, id=%s)\n", prefix, 80 - (4 * offset), offset 290 tools/crm_resource_print.c cli_resource_print_colocation(peer, dependents, recursive, offset + 1); offset 94 tools/crm_resource_runtime.c int offset = 0; offset 108 tools/crm_resource_runtime.c offset += offset 109 tools/crm_resource_runtime.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", get_object_path("resources")); offset 111 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); offset 114 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", set_type); offset 116 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); offset 120 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); offset 122 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); offset 127 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); offset 129 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); offset 131 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); offset 132 tools/crm_resource_runtime.c CRM_LOG_ASSERT(offset > 0); offset 158 tools/crm_ticket.c int offset = 0; offset 168 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); offset 171 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", offset 175 tools/crm_ticket.c CRM_LOG_ASSERT(offset > 0); offset 201 tools/crm_ticket.c int offset = 0; offset 211 tools/crm_ticket.c offset += offset 212 tools/crm_ticket.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", offset 216 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]", offset 220 tools/crm_ticket.c CRM_LOG_ASSERT(offset > 0); offset 287 tools/crm_ticket.c int offset = 0; offset 297 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); offset 300 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", set_type); offset 302 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); offset 306 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); offset 308 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); offset 323 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); offset 325 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", long_key); offset 329 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); offset 330 tools/crm_ticket.c CRM_LOG_ASSERT(offset > 0); offset 430 tools/crm_ticket.c int offset = 0; offset 438 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 444 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 448 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 452 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 458 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 462 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 465 tools/crm_ticket.c CRM_LOG_ASSERT(offset > 0); offset 340 tools/fake_transition.c int offset = 0; offset 350 tools/fake_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); offset 353 tools/fake_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", offset 356 tools/fake_transition.c CRM_LOG_ASSERT(offset > 0); offset 84 tools/ipmiservicelogd.c int offset, int severity, int prev_severity, void *cb_data, offset 415 tools/ipmiservicelogd.c int offset,