offset 239 daemons/attrd/attrd_utils.c int offset = 1; offset 245 daemons/attrd/attrd_utils.c offset = char2score(offset_s); offset 247 daemons/attrd/attrd_utils.c int_value += offset; offset 176 daemons/controld/controld_messages.c int offset = 0; offset 184 daemons/controld/controld_messages.c offset++, data->id, fsa_input2string(data->fsa_input), offset 26 daemons/controld/controld_te_actions.c static void te_update_job_count(crm_action_t * action, int offset); offset 415 daemons/controld/controld_te_actions.c te_update_job_count_on(const char *target, int offset, bool migrate) offset 430 daemons/controld/controld_te_actions.c r->jobs += offset; offset 432 daemons/controld/controld_te_actions.c r->migrate_jobs += offset; offset 438 daemons/controld/controld_te_actions.c te_update_job_count(crm_action_t * action, int offset) offset 460 daemons/controld/controld_te_actions.c te_update_job_count_on(t1, offset, TRUE); offset 461 daemons/controld/controld_te_actions.c te_update_job_count_on(t2, offset, TRUE); offset 467 daemons/controld/controld_te_actions.c te_update_job_count_on(target, offset, FALSE); offset 739 daemons/fenced/fenced_commands.c int offset = 0; offset 744 daemons/fenced/fenced_commands.c offset = strlen(actions); offset 747 daemons/fenced/fenced_commands.c if (offset > 0) { offset 748 daemons/fenced/fenced_commands.c offset += snprintf(actions+offset, MAX_ACTION_LEN - offset, " "); offset 750 daemons/fenced/fenced_commands.c offset += snprintf(actions+offset, MAX_ACTION_LEN - offset, "%s", action); offset 34 include/crm/common/iso8601_internal.h int offset; /* Seconds */ offset 53 lib/cib/cib_attrs.c int offset = 0; offset 94 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "%.128s", get_object_path(section)); offset 97 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", node_type); offset 106 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%s']", node_type, offset 111 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%.128s']", set_type, offset 114 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", set_type); offset 117 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//nvpair["); offset 119 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@id='%s'", attr_id); offset 124 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, " and "); offset 126 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@name='%.128s'", attr_name); offset 128 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "]"); offset 129 lib/cib/cib_attrs.c CRM_LOG_ASSERT(offset > 0); offset 88 lib/common/acl.c int offset = 0; offset 92 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, offset 95 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, offset 100 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, offset 105 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, offset 111 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, offset 116 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, offset 121 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, offset 125 lib/common/acl.c CRM_LOG_ASSERT(offset > 0); offset 623 lib/common/acl.c int offset = 0; offset 628 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, offset 631 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, offset 634 lib/common/acl.c CRM_LOG_ASSERT(offset > 0); offset 82 lib/common/crmcommon_private.h void pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, offset 86 lib/common/crmcommon_private.h void pcmk__buffer_add_char(char **buffer, int *offset, int *max, char c); offset 96 lib/common/crmcommon_private.h int offset, size_t buffer_size); offset 36 lib/common/digest.c int offset = 0, max = 0; offset 39 lib/common/digest.c pcmk__buffer_add_char(&buffer, &offset, &max, ' '); offset 40 lib/common/digest.c pcmk__xml2text(an_xml_node, 0, &buffer, &offset, &max, 0); offset 41 lib/common/digest.c pcmk__buffer_add_char(&buffer, &offset, &max, '\n'); offset 96 lib/common/digest.c int offset, max; offset 116 lib/common/digest.c &buffer, &offset, &max, 0); offset 47 lib/common/io.c int offset = 1, len = 0; offset 54 lib/common/io.c for (len = strlen(path); offset < len; offset++) { offset 55 lib/common/io.c if (path[offset] == '/') { offset 56 lib/common/io.c path[offset] = 0; offset 61 lib/common/io.c path[offset] = '/'; offset 56 lib/common/iso8601.c int offset; // Seconds offset from UTC (date/time only) offset 76 lib/common/iso8601.c utc->offset = 0; offset 78 lib/common/iso8601.c if (dt->offset) { offset 79 lib/common/iso8601.c crm_time_add_seconds(utc, -dt->offset); offset 137 lib/common/iso8601.c || t->offset || t->duration); offset 455 lib/common/iso8601.c size_t offset = 0; offset 458 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%4d year%s ", offset 462 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%2d month%s ", offset 466 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%2d day%s ", offset 470 lib/common/iso8601.c if (((offset == 0) || (dt->seconds != 0)) offset 472 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%d second%s", offset 477 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%d seconds (", offset 481 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%u hour%s%s", offset 485 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%u minute%s%s", offset 489 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%u second%s", offset 492 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, ")"); offset 503 lib/common/iso8601.c size_t offset = 0; offset 506 lib/common/iso8601.c if (date_time && date_time->offset offset 545 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, offset 553 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, offset 561 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, offset 570 lib/common/iso8601.c if (offset > 0) { offset 571 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, " "); offset 575 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, offset 579 lib/common/iso8601.c if ((flags & crm_time_log_with_timezone) && (dt->offset != 0)) { offset 580 lib/common/iso8601.c crm_time_get_sec(dt->offset, &h, &m, &s); offset 581 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, offset 583 lib/common/iso8601.c ((dt->offset < 0)? '-' : '+'), h, m); offset 585 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "Z"); offset 657 lib/common/iso8601.c crm_time_parse_offset(const char *offset_str, int *offset) offset 673 lib/common/iso8601.c *offset = (HOUR_SECONDS * h_offset) + (60 * m_offset); offset 678 lib/common/iso8601.c *offset = 0; offset 682 lib/common/iso8601.c *offset = 0; offset 694 lib/common/iso8601.c if (crm_time_parse_sec(offset_str, offset) == FALSE) { offset 698 lib/common/iso8601.c *offset = 0 - *offset; offset 737 lib/common/iso8601.c if (crm_time_parse_offset(offset_s, &(a_time->offset)) == FALSE) { offset 740 lib/common/iso8601.c crm_time_get_sec(a_time->offset, &h, &m, &s); offset 741 lib/common/iso8601.c crm_trace("Got tz: %c%2.d:%.2d", ((a_time->offset < 0)? '-' : '+'), h, m); offset 920 lib/common/iso8601.c int offset = 0; offset 930 lib/common/iso8601.c if (str[offset] == 'T') { offset 931 lib/common/iso8601.c offset++; offset 934 lib/common/iso8601.c if (str[offset] == '.' || str[offset] == ',') { offset 937 lib/common/iso8601.c offset++; offset 938 lib/common/iso8601.c } else if (str[offset] == '-') { offset 940 lib/common/iso8601.c offset++; offset 941 lib/common/iso8601.c } else if (str[offset] == '+' || str[offset] == ':') { offset 942 lib/common/iso8601.c offset++; offset 945 lib/common/iso8601.c for (; (fraction || lpc < field_width) && isdigit((int)str[offset]); lpc++) { offset 947 lib/common/iso8601.c intermediate = (str[offset] - '0') / (10 ^ lpc); offset 950 lib/common/iso8601.c intermediate = str[offset] - '0'; offset 953 lib/common/iso8601.c offset++; offset 966 lib/common/iso8601.c return offset; offset 1203 lib/common/iso8601.c target->offset = source->offset; offset 1222 lib/common/iso8601.c target->offset = 0; offset 1250 lib/common/iso8601.c target->offset += HOUR_SECONDS * h_offset; offset 1251 lib/common/iso8601.c target->offset += 60 * m_offset; offset 1539 lib/common/iso8601.c .tm_gmtoff = source->offset offset 1568 lib/common/iso8601.c .offset = dt->offset, offset 1585 lib/common/iso8601.c .offset = hr_dt->offset, offset 136 lib/common/logging.c int offset = 0; offset 148 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, offset 154 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%n"); offset 157 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "@%%f:%%l"); offset 159 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, ")"); offset 162 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, " %%g\t%%p: %%b"); offset 164 lib/common/logging.c CRM_LOG_ASSERT(offset > 0); offset 550 lib/common/logging.c const char *offset = NULL; offset 554 lib/common/logging.c offset = next; offset 555 lib/common/logging.c next = strchrnul(offset, ','); offset 556 lib/common/logging.c snprintf(token, sizeof(token), "%.*s", (int)(next - offset), offset); offset 972 lib/common/logging.c const char *offset = NULL; offset 987 lib/common/logging.c offset = next; offset 988 lib/common/logging.c next = strchrnul(offset, '\n'); offset 990 lib/common/logging.c (int)(next - offset), offset); offset 158 lib/common/output_log.c int offset = 0; offset 165 lib/common/output_log.c offset += snprintf(prefix + offset, LINE_MAX - offset, ": %s", (char *)gIter->data); offset 167 lib/common/output_log.c offset = snprintf(prefix, LINE_MAX, "%s", (char *)gIter->data); offset 96 lib/common/patchset.c int offset = 0; offset 99 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml->parent, buffer, offset, offset 125 lib/common/patchset.c int offset = 0; offset 128 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, offset 177 lib/common/patchset.c int offset = 0; offset 182 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, offset 66 lib/common/xml.c #define buffer_print(buffer, max, offset, fmt, args...) do { \ offset 69 lib/common/xml.c rc = snprintf((buffer) + (offset), (max) - (offset), fmt, ##args); \ offset 72 lib/common/xml.c crm_perror(LOG_ERR, "snprintf failed at offset %d", offset); \ offset 73 lib/common/xml.c (buffer)[(offset)] = 0; \ offset 75 lib/common/xml.c } else if(rc >= ((max) - (offset))) { \ offset 82 lib/common/xml.c offset += rc; \ offset 88 lib/common/xml.c insert_prefix(int options, char **buffer, int *offset, int *max, int depth) offset 93 lib/common/xml.c if ((*buffer) == NULL || spaces >= ((*max) - (*offset))) { offset 97 lib/common/xml.c memset((*buffer) + (*offset), ' ', spaces); offset 98 lib/common/xml.c (*offset) += spaces; offset 566 lib/common/xml.c int offset = 1; offset 604 lib/common/xml.c offset = char2score(offset_s); offset 606 lib/common/xml.c int_value += offset; offset 745 lib/common/xml.c int offset = 0; offset 748 lib/common/xml.c pcmk__element_xpath(NULL, child, buffer, offset, sizeof(buffer)); offset 755 lib/common/xml.c int offset = 0; offset 758 lib/common/xml.c if (pcmk__element_xpath(NULL, child, buffer, offset, offset 1300 lib/common/xml.c int offset = strlen(replace) - 1; /* We have space for 1 char already */ offset 1302 lib/common/xml.c *length += offset; offset 1305 lib/common/xml.c for (lpc = (*length) - 1; lpc > (start + offset); lpc--) { offset 1306 lib/common/xml.c text[lpc] = text[lpc - offset]; offset 1309 lib/common/xml.c memcpy(text + start, replace, offset + 1); offset 1399 lib/common/xml.c dump_xml_attr(xmlAttrPtr attr, int options, char **buffer, int *offset, int *max) offset 1417 lib/common/xml.c buffer_print(*buffer, *max, *offset, " %s=\"%s\"", p_name, p_value); offset 1427 lib/common/xml.c int offset = 0; offset 1443 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); offset 1446 lib/common/xml.c buffer_print(buffer, max, offset, "<!--%s-->", data->content); offset 1449 lib/common/xml.c buffer_print(buffer, max, offset, "<%s", name); offset 1473 lib/common/xml.c buffer_print(buffer, max, offset, " %s=\"%s\"", p_name, p_copy); offset 1478 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); offset 1481 lib/common/xml.c buffer_print(buffer, max, offset, ">"); offset 1484 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); offset 1499 lib/common/xml.c offset = 0; offset 1513 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); offset 1514 lib/common/xml.c buffer_print(buffer, max, offset, "</%s>", name); offset 1685 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max) offset 1691 lib/common/xml.c dump_xml_attr(xIter, options, buffer, offset, max); offset 1697 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 1702 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 1711 lib/common/xml.c *offset = 0; offset 1718 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 1719 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<%s", name); offset 1722 lib/common/xml.c dump_filtered_xml(data, options, buffer, offset, max); offset 1728 lib/common/xml.c dump_xml_attr(xIter, options, buffer, offset, max); offset 1733 lib/common/xml.c buffer_print(*buffer, *max, *offset, "/>"); offset 1736 lib/common/xml.c buffer_print(*buffer, *max, *offset, ">"); offset 1740 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 1746 lib/common/xml.c pcmk__xml2text(xChild, options, buffer, offset, max, depth + 1); offset 1749 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 1750 lib/common/xml.c buffer_print(*buffer, *max, *offset, "</%s>", name); offset 1753 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 1759 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 1762 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 1771 lib/common/xml.c *offset = 0; offset 1775 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 1777 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); offset 1780 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 1785 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 1788 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 1797 lib/common/xml.c *offset = 0; offset 1801 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 1803 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<![CDATA["); offset 1804 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); offset 1805 lib/common/xml.c buffer_print(*buffer, *max, *offset, "]]>"); offset 1808 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 1813 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 1816 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 1825 lib/common/xml.c *offset = 0; offset 1829 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 1831 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<!--"); offset 1832 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); offset 1833 lib/common/xml.c buffer_print(*buffer, *max, *offset, "-->"); offset 1836 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 1854 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, offset 1858 lib/common/xml.c *offset = 0; offset 1900 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", offset 1920 lib/common/xml.c dump_xml_element(data, options, buffer, offset, max, depth); offset 1925 lib/common/xml.c dump_xml_text(data, options, buffer, offset, max, depth); offset 1929 lib/common/xml.c dump_xml_comment(data, options, buffer, offset, max, depth); offset 1932 lib/common/xml.c dump_xml_cdata(data, options, buffer, offset, max, depth); offset 1971 lib/common/xml.c pcmk__buffer_add_char(char **buffer, int *offset, int *max, char c) offset 1973 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%c", c); offset 1980 lib/common/xml.c int offset = 0, max = 0; offset 1984 lib/common/xml.c &buffer, &offset, &max, 0); offset 1992 lib/common/xml.c int offset = 0, max = 0; offset 1994 lib/common/xml.c pcmk__xml2text(an_xml_node, xml_log_option_formatted, &buffer, &offset, offset 2003 lib/common/xml.c int offset = 0, max = 0; offset 2005 lib/common/xml.c pcmk__xml2text(an_xml_node, 0, &buffer, &offset, &max, 0); offset 2425 lib/common/xml.c int offset = pcmk__xml_position(a_child, xpf_skip); offset 2428 lib/common/xml.c if (offset < search_offset) { offset 2431 lib/common/xml.c } else if (offset > search_offset) { offset 269 lib/common/xpath.c int offset, size_t buffer_size) offset 273 lib/common/xpath.c if(offset == 0 && prefix == NULL && xml->parent) { offset 274 lib/common/xpath.c offset = pcmk__element_xpath(NULL, xml->parent, buffer, offset, offset 279 lib/common/xpath.c offset += snprintf(buffer + offset, buffer_size - offset, offset 282 lib/common/xpath.c offset += snprintf(buffer + offset, buffer_size - offset, offset 286 lib/common/xpath.c return offset; offset 292 lib/common/xpath.c int offset = 0; offset 295 lib/common/xpath.c if (pcmk__element_xpath(NULL, xml, buffer, offset, sizeof(buffer)) > 0) { offset 395 lib/pacemaker/pcmk_sched_allocate.c int offset = -1; offset 449 lib/pacemaker/pcmk_sched_allocate.c offset++; offset 454 lib/pacemaker/pcmk_sched_allocate.c } else if (offset < start_index) { offset 328 lib/pacemaker/pcmk_sched_transition.c int offset = 0; offset 338 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); offset 341 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", offset 344 lib/pacemaker/pcmk_sched_transition.c CRM_LOG_ASSERT(offset > 0); offset 71 lib/pengine/bundle.c data->prefix, replica->offset, offset 76 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica->offset); offset 141 lib/pengine/bundle.c data->prefix, replica->offset); offset 175 lib/pengine/bundle.c int offset = 0, max = 4096; offset 185 lib/pengine/bundle.c id = crm_strdup_printf("%s-docker-%d", data->prefix, replica->offset); offset 193 lib/pengine/bundle.c data->prefix, replica->offset); offset 200 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --restart=no"); offset 208 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", offset 209 lib/pengine/bundle.c data->prefix, replica->offset); offset 212 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); offset 216 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", offset 219 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", offset 224 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); offset 226 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); offset 234 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); offset 240 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); offset 244 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); offset 247 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); offset 255 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", offset 260 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); offset 265 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", offset 270 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", offset 341 lib/pengine/bundle.c int offset = 0, max = 4096; offset 351 lib/pengine/bundle.c id = crm_strdup_printf("%s-podman-%d", data->prefix, replica->offset); offset 359 lib/pengine/bundle.c data->prefix, replica->offset); offset 375 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", offset 376 lib/pengine/bundle.c data->prefix, replica->offset); offset 379 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); offset 384 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", offset 387 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", offset 392 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); offset 394 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); offset 402 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); offset 408 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); offset 412 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); offset 415 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); offset 423 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", offset 428 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); offset 433 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", offset 438 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", offset 509 lib/pengine/bundle.c int offset = 0, max = 4096; offset 521 lib/pengine/bundle.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, replica->offset); offset 529 lib/pengine/bundle.c data->prefix, replica->offset); offset 542 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --hostname=%s-%d", offset 543 lib/pengine/bundle.c data->prefix, replica->offset); offset 546 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_stderr=1"); offset 550 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", offset 553 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", offset 558 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%s", data->control_port); offset 560 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); offset 568 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); offset 574 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, source); offset 576 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); offset 578 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); offset 582 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, mount->source); offset 584 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); offset 586 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); offset 595 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, offset 599 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); offset 604 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", offset 609 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", offset 710 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); offset 719 lib/pengine/bundle.c replica->child->id, replica->offset); offset 1229 lib/pengine/bundle.c int offset = 0, max = 1024; offset 1296 lib/pengine/bundle.c replica->offset = lpc++; offset 1303 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, offset 1304 lib/pengine/bundle.c max-offset); offset 1321 lib/pengine/bundle.c int offset = 0, max = 1024; offset 1327 lib/pengine/bundle.c replica->offset = lpc; offset 1328 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, offset 1329 lib/pengine/bundle.c max-offset); offset 1492 lib/pengine/bundle.c status_print("%s <replica id=\"%d\">\n", pre_text, replica->offset); offset 1530 lib/pengine/bundle.c char *id = crm_itoa(replica->offset); offset 1604 lib/pengine/bundle.c int offset = 0; offset 1612 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1615 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1619 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", offset 1693 lib/pengine/bundle.c snprintf(buffer, LINE_MAX, " Replica[%d]", replica->offset); offset 1746 lib/pengine/bundle.c int offset = 0; offset 1754 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1757 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1761 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", offset 1827 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); offset 1878 lib/pengine/bundle.c int offset = 0; offset 1886 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1889 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1893 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", offset 1942 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); offset 1266 lib/pengine/native.c int offset = 0; offset 1276 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", class); offset 1279 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "::%s", prov); offset 1281 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s", kind); offset 1282 lib/pengine/native.c CRM_LOG_ASSERT(offset > 0); offset 2465 lib/pengine/unpack.c int offset = 0; offset 2469 lib/pengine/unpack.c offset += snprintf(xpath + offset, STATUS_PATH_MAX - offset, "//node_state[@uname='%s']", node); offset 2470 lib/pengine/unpack.c offset += offset 2471 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, "//" XML_LRM_TAG_RESOURCE "[@id='%s']", offset 2476 lib/pengine/unpack.c offset += offset 2477 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, offset 2481 lib/pengine/unpack.c offset += offset 2482 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, offset 2486 lib/pengine/unpack.c offset += offset 2487 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, offset 2491 lib/pengine/unpack.c CRM_LOG_ASSERT(offset > 0); offset 45 lib/pengine/variant.h int offset; offset 116 lib/services/services_lsb.c int offset = 0; offset 172 lib/services/services_lsb.c if ((offset == 0) // haven't already found long description offset 177 lib/services/services_lsb.c offset += snprintf(description, DESC_MAX, "%s", offset 188 lib/services/services_lsb.c offset += snprintf(description + offset, DESC_MAX - 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 152 libltdl/lt__argz.c size_t offset = before - *pargz; offset 160 libltdl/lt__argz.c before = argz + offset; offset 165 libltdl/lt__argz.c memmove (before + entry_len, before, *pargz_len - offset); offset 43 tools/crm_resource.h void cli_resource_print_colocation(pe_resource_t * rsc, bool dependents, bool recursive, int offset); offset 332 tools/crm_resource_ban.c int offset = 0; offset 350 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "//rsc_location"); offset 353 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "["); offset 357 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s' and ", node); offset 359 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s'", node); offset 365 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@rsc='%s' and @role='%s']", rsc, RSC_ROLE_MASTER_S); offset 368 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@rsc='%s']", rsc); offset 371 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@role='%s']", RSC_ROLE_MASTER_S); offset 373 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "]"); offset 179 tools/crm_resource_print.c int offset = 0; offset 182 tools/crm_resource_print.c offset = strlen(prefix) - 2; offset 195 tools/crm_resource_print.c prefix ? prefix : " ", 71 - offset, node->details->uname, score, cons->id); offset 202 tools/crm_resource_print.c cli_resource_print_colocation(pe_resource_t * rsc, bool dependents, bool recursive, int offset) offset 208 tools/crm_resource_print.c prefix = calloc(1, (offset * 4) + 1); offset 209 tools/crm_resource_print.c memset(prefix, ' ', offset * 4); offset 235 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (id=%s - loop)\n", prefix, 80 - (4 * offset), peer->id, offset 242 tools/crm_resource_print.c cli_resource_print_colocation(peer, dependents, recursive, offset + 1); offset 247 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (score=%s, %s role=%s, id=%s)\n", prefix, 80 - (4 * offset), offset 251 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (score=%s, id=%s)\n", prefix, 80 - (4 * offset), offset 258 tools/crm_resource_print.c cli_resource_print_colocation(peer, dependents, recursive, offset + 1); offset 82 tools/crm_resource_runtime.c int offset = 0; offset 96 tools/crm_resource_runtime.c offset += offset 97 tools/crm_resource_runtime.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", get_object_path("resources")); offset 99 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); offset 102 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", attr_set_type); offset 104 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); offset 108 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); offset 110 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); offset 115 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); offset 117 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); offset 119 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); offset 120 tools/crm_resource_runtime.c CRM_LOG_ASSERT(offset > 0); offset 140 tools/crm_ticket.c int offset = 0; offset 150 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); offset 153 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", offset 157 tools/crm_ticket.c CRM_LOG_ASSERT(offset > 0); offset 183 tools/crm_ticket.c int offset = 0; offset 193 tools/crm_ticket.c offset += offset 194 tools/crm_ticket.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", offset 198 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]", offset 202 tools/crm_ticket.c CRM_LOG_ASSERT(offset > 0); offset 290 tools/crm_ticket.c int offset = 0; offset 298 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 304 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 308 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 312 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 318 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 322 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 325 tools/crm_ticket.c CRM_LOG_ASSERT(offset > 0); offset 86 tools/ipmiservicelogd.c int offset, int severity, int prev_severity, void *cb_data, offset 409 tools/ipmiservicelogd.c int offset,