offset 272 daemons/attrd/attrd_utils.c int offset = 1; offset 278 daemons/attrd/attrd_utils.c offset = char2score(offset_s); offset 280 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 775 daemons/fenced/fenced_commands.c int offset = 0; offset 780 daemons/fenced/fenced_commands.c offset = strlen(actions); offset 783 daemons/fenced/fenced_commands.c if (offset > 0) { offset 784 daemons/fenced/fenced_commands.c offset += snprintf(actions+offset, MAX_ACTION_LEN - offset, " "); offset 786 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 606 lib/common/acl.c int offset = 0; offset 611 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, offset 614 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, offset 617 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 145 lib/common/logging.c int offset = 0; offset 157 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, offset 163 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%n"); offset 166 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "@%%f:%%l"); offset 168 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, ")"); offset 171 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, " %%g\t%%p: %%b"); offset 173 lib/common/logging.c CRM_LOG_ASSERT(offset > 0); offset 602 lib/common/logging.c const char *offset = NULL; offset 606 lib/common/logging.c offset = next; offset 607 lib/common/logging.c next = strchrnul(offset, ','); offset 608 lib/common/logging.c snprintf(token, sizeof(token), "%.*s", (int)(next - offset), offset); offset 1026 lib/common/logging.c const char *offset = NULL; offset 1041 lib/common/logging.c offset = next; offset 1042 lib/common/logging.c next = strchrnul(offset, '\n'); offset 1044 lib/common/logging.c (int)(next - offset), offset); offset 170 lib/common/output_log.c int offset = 0; offset 178 lib/common/output_log.c offset += snprintf(prefix + offset, LINE_MAX - offset, ": %s", (char *)gIter->data); offset 180 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 562 lib/common/xml.c int offset = 1; offset 600 lib/common/xml.c offset = char2score(offset_s); offset 602 lib/common/xml.c int_value += offset; offset 778 lib/common/xml.c int offset = 0; offset 781 lib/common/xml.c pcmk__element_xpath(NULL, child, buffer, offset, sizeof(buffer)); offset 788 lib/common/xml.c int offset = 0; offset 791 lib/common/xml.c if (pcmk__element_xpath(NULL, child, buffer, offset, offset 1321 lib/common/xml.c int offset = strlen(replace) - 1; /* We have space for 1 char already */ offset 1323 lib/common/xml.c *length += offset; offset 1326 lib/common/xml.c for (lpc = (*length) - 1; lpc > (start + offset); lpc--) { offset 1327 lib/common/xml.c text[lpc] = text[lpc - offset]; offset 1330 lib/common/xml.c memcpy(text + start, replace, offset + 1); offset 1420 lib/common/xml.c dump_xml_attr(xmlAttrPtr attr, int options, char **buffer, int *offset, int *max) offset 1438 lib/common/xml.c buffer_print(*buffer, *max, *offset, " %s=\"%s\"", p_name, p_value); offset 1448 lib/common/xml.c int offset = 0; offset 1463 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); offset 1466 lib/common/xml.c buffer_print(buffer, max, offset, "<!--%s-->", data->content); offset 1469 lib/common/xml.c buffer_print(buffer, max, offset, "<%s", name); offset 1495 lib/common/xml.c buffer_print(buffer, max, offset, " %s=\"%s\"", p_name, p_copy); offset 1500 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); offset 1503 lib/common/xml.c buffer_print(buffer, max, offset, ">"); offset 1506 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); offset 1521 lib/common/xml.c offset = 0; offset 1535 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); offset 1536 lib/common/xml.c buffer_print(buffer, max, offset, "</%s>", name); offset 1706 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max) offset 1710 lib/common/xml.c dump_xml_attr(a, options, buffer, offset, max); offset 1716 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 1721 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 1730 lib/common/xml.c *offset = 0; offset 1737 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 1738 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<%s", name); offset 1741 lib/common/xml.c dump_filtered_xml(data, options, buffer, offset, max); offset 1745 lib/common/xml.c dump_xml_attr(a, options, buffer, offset, max); offset 1750 lib/common/xml.c buffer_print(*buffer, *max, *offset, "/>"); offset 1753 lib/common/xml.c buffer_print(*buffer, *max, *offset, ">"); offset 1757 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 1763 lib/common/xml.c pcmk__xml2text(xChild, options, buffer, offset, max, depth + 1); offset 1766 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 1767 lib/common/xml.c buffer_print(*buffer, *max, *offset, "</%s>", name); offset 1770 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 1776 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 1779 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 1788 lib/common/xml.c *offset = 0; offset 1792 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 1794 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); offset 1797 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 1802 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 1805 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 1814 lib/common/xml.c *offset = 0; offset 1818 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 1820 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<![CDATA["); offset 1821 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); offset 1822 lib/common/xml.c buffer_print(*buffer, *max, *offset, "]]>"); offset 1825 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 1830 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) offset 1833 lib/common/xml.c CRM_ASSERT(offset != NULL); offset 1842 lib/common/xml.c *offset = 0; offset 1846 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); offset 1848 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<!--"); offset 1849 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); offset 1850 lib/common/xml.c buffer_print(*buffer, *max, *offset, "-->"); offset 1853 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); offset 1871 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, offset 1875 lib/common/xml.c *offset = 0; offset 1917 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", offset 1937 lib/common/xml.c dump_xml_element(data, options, buffer, offset, max, depth); offset 1942 lib/common/xml.c dump_xml_text(data, options, buffer, offset, max, depth); offset 1946 lib/common/xml.c dump_xml_comment(data, options, buffer, offset, max, depth); offset 1949 lib/common/xml.c dump_xml_cdata(data, options, buffer, offset, max, depth); offset 1988 lib/common/xml.c pcmk__buffer_add_char(char **buffer, int *offset, int *max, char c) offset 1990 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%c", c); offset 1997 lib/common/xml.c int offset = 0, max = 0; offset 2001 lib/common/xml.c &buffer, &offset, &max, 0); offset 2009 lib/common/xml.c int offset = 0, max = 0; offset 2011 lib/common/xml.c pcmk__xml2text(an_xml_node, xml_log_option_formatted, &buffer, &offset, offset 2020 lib/common/xml.c int offset = 0, max = 0; offset 2022 lib/common/xml.c pcmk__xml2text(an_xml_node, 0, &buffer, &offset, &max, 0); offset 2441 lib/common/xml.c int offset = pcmk__xml_position(a_child, xpf_skip); offset 2444 lib/common/xml.c if (offset < search_offset) { offset 2447 lib/common/xml.c } else if (offset > search_offset) { offset 270 lib/common/xpath.c int offset, size_t buffer_size) offset 274 lib/common/xpath.c if(offset == 0 && prefix == NULL && xml->parent) { offset 275 lib/common/xpath.c offset = pcmk__element_xpath(NULL, xml->parent, buffer, offset, offset 280 lib/common/xpath.c offset += snprintf(buffer + offset, buffer_size - offset, offset 283 lib/common/xpath.c offset += snprintf(buffer + offset, buffer_size - offset, offset 287 lib/common/xpath.c return offset; offset 293 lib/common/xpath.c int offset = 0; offset 296 lib/common/xpath.c if (pcmk__element_xpath(NULL, xml, buffer, offset, sizeof(buffer)) > 0) { offset 371 lib/pacemaker/pcmk_sched_allocate.c int offset = -1; offset 425 lib/pacemaker/pcmk_sched_allocate.c offset++; offset 430 lib/pacemaker/pcmk_sched_allocate.c } else if (offset < start_index) { offset 316 lib/pacemaker/pcmk_sched_transition.c int offset = 0; offset 326 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); offset 329 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", offset 332 lib/pacemaker/pcmk_sched_transition.c CRM_LOG_ASSERT(offset > 0); offset 72 lib/pengine/bundle.c data->prefix, replica->offset, offset 77 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica->offset); offset 142 lib/pengine/bundle.c data->prefix, replica->offset); offset 176 lib/pengine/bundle.c int offset = 0, max = 4096; offset 186 lib/pengine/bundle.c id = crm_strdup_printf("%s-docker-%d", data->prefix, replica->offset); offset 194 lib/pengine/bundle.c data->prefix, replica->offset); offset 201 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --restart=no"); offset 209 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", offset 210 lib/pengine/bundle.c data->prefix, replica->offset); offset 213 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); offset 217 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", offset 220 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", offset 225 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); offset 227 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); offset 235 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); offset 241 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); offset 245 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); offset 248 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); offset 256 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", offset 261 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); offset 266 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", offset 271 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", offset 340 lib/pengine/bundle.c int offset = 0, max = 4096; offset 350 lib/pengine/bundle.c id = crm_strdup_printf("%s-podman-%d", data->prefix, replica->offset); offset 358 lib/pengine/bundle.c data->prefix, replica->offset); offset 374 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", offset 375 lib/pengine/bundle.c data->prefix, replica->offset); offset 378 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); offset 383 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", offset 386 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", offset 391 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); offset 393 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); offset 401 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); offset 407 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); offset 411 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); offset 414 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); offset 422 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", offset 427 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); offset 432 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", offset 437 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", offset 506 lib/pengine/bundle.c int offset = 0, max = 4096; offset 518 lib/pengine/bundle.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, replica->offset); offset 526 lib/pengine/bundle.c data->prefix, replica->offset); offset 539 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --hostname=%s-%d", offset 540 lib/pengine/bundle.c data->prefix, replica->offset); offset 543 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_stderr=1"); offset 547 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", offset 550 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", offset 555 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%s", data->control_port); offset 557 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); offset 565 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); offset 571 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, source); offset 573 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); offset 575 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); offset 579 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, mount->source); offset 581 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); offset 583 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); offset 592 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, offset 596 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); offset 601 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", offset 606 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", offset 705 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); offset 714 lib/pengine/bundle.c replica->child->id, replica->offset); offset 1199 lib/pengine/bundle.c int offset = 0, max = 1024; offset 1266 lib/pengine/bundle.c replica->offset = lpc++; offset 1273 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, offset 1274 lib/pengine/bundle.c max-offset); offset 1291 lib/pengine/bundle.c int offset = 0, max = 1024; offset 1297 lib/pengine/bundle.c replica->offset = lpc; offset 1298 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, offset 1299 lib/pengine/bundle.c max-offset); offset 1462 lib/pengine/bundle.c status_print("%s <replica id=\"%d\">\n", pre_text, replica->offset); offset 1534 lib/pengine/bundle.c id = pcmk__itoa(replica->offset); offset 1575 lib/pengine/bundle.c int offset = 0; offset 1583 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1586 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1590 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", offset 1653 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, "Replica[%d]", replica->offset); offset 1703 lib/pengine/bundle.c int offset = 0; offset 1711 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1714 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1718 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", offset 1781 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); offset 1832 lib/pengine/bundle.c int offset = 0; offset 1840 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1843 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", offset 1847 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", offset 1896 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); offset 1111 lib/pengine/native.c int offset = 0; offset 1121 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", class); offset 1126 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, offset 1130 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s", kind); offset 1131 lib/pengine/native.c CRM_LOG_ASSERT(offset > 0); offset 2548 lib/pengine/unpack.c int offset = 0; offset 2552 lib/pengine/unpack.c offset += snprintf(xpath + offset, STATUS_PATH_MAX - offset, "//node_state[@uname='%s']", node); offset 2553 lib/pengine/unpack.c offset += offset 2554 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, "//" XML_LRM_TAG_RESOURCE "[@id='%s']", offset 2559 lib/pengine/unpack.c offset += offset 2560 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, offset 2564 lib/pengine/unpack.c offset += offset 2565 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, offset 2569 lib/pengine/unpack.c offset += offset 2570 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, offset 2574 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 347 tools/crm_resource_ban.c int offset = 0; offset 365 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "//rsc_location"); offset 368 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "["); offset 372 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s' and ", node); offset 374 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s'", node); offset 381 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, offset 386 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@rsc='%s']", rsc); offset 390 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, offset 393 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "]"); offset 108 tools/crm_resource_runtime.c int offset = 0; offset 122 tools/crm_resource_runtime.c offset += offset 123 tools/crm_resource_runtime.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", get_object_path("resources")); offset 125 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); offset 128 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", attr_set_type); offset 130 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); offset 134 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); offset 136 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); offset 141 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); offset 143 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); offset 145 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); offset 146 tools/crm_resource_runtime.c CRM_LOG_ASSERT(offset > 0); offset 143 tools/crm_ticket.c int offset = 0; offset 153 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); offset 156 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", offset 160 tools/crm_ticket.c CRM_LOG_ASSERT(offset > 0); offset 186 tools/crm_ticket.c int offset = 0; offset 196 tools/crm_ticket.c offset += offset 197 tools/crm_ticket.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", offset 201 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]", offset 205 tools/crm_ticket.c CRM_LOG_ASSERT(offset > 0); offset 293 tools/crm_ticket.c int offset = 0; offset 301 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 307 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 311 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 315 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 321 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 325 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, offset 328 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,