XPATH_MAX 873 daemons/fenced/pacemaker-fenced.c char xpath[XPATH_MAX]; XPATH_MAX 884 daemons/fenced/pacemaker-fenced.c n = snprintf(xpath, XPATH_MAX, "//" XML_CIB_TAG_NODES XPATH_MAX 890 daemons/fenced/pacemaker-fenced.c CRM_CHECK(n < XPATH_MAX, return FALSE); XPATH_MAX 88 lib/cib/cib_attrs.c xpath_string = calloc(1, XPATH_MAX); XPATH_MAX 94 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "%.128s", get_object_path(section)); XPATH_MAX 97 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", node_type); XPATH_MAX 106 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%s']", node_type, XPATH_MAX 111 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%.128s']", set_type, XPATH_MAX 114 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", set_type); XPATH_MAX 117 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//nvpair["); XPATH_MAX 119 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@id='%s'", attr_id); XPATH_MAX 124 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, " and "); XPATH_MAX 126 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@name='%.128s'", attr_name); XPATH_MAX 128 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "]"); XPATH_MAX 337 lib/pacemaker/pcmk_sched_transition.c xpath_string = calloc(1, XPATH_MAX); XPATH_MAX 338 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); XPATH_MAX 341 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", XPATH_MAX 349 tools/crm_resource_ban.c first_half = calloc(1, XPATH_MAX); XPATH_MAX 350 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "//rsc_location"); XPATH_MAX 353 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "["); XPATH_MAX 357 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s' and ", node); XPATH_MAX 359 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s'", node); XPATH_MAX 365 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@rsc='%s' and @role='%s']", rsc, RSC_ROLE_MASTER_S); XPATH_MAX 368 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@rsc='%s']", rsc); XPATH_MAX 371 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@role='%s']", RSC_ROLE_MASTER_S); XPATH_MAX 373 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "]"); XPATH_MAX 95 tools/crm_resource_runtime.c xpath_string = calloc(1, XPATH_MAX); XPATH_MAX 97 tools/crm_resource_runtime.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", get_object_path("resources")); XPATH_MAX 99 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); XPATH_MAX 102 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", attr_set_type); XPATH_MAX 104 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); XPATH_MAX 108 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); XPATH_MAX 110 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); XPATH_MAX 115 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); XPATH_MAX 117 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); XPATH_MAX 119 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); XPATH_MAX 149 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); XPATH_MAX 150 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); XPATH_MAX 153 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", XPATH_MAX 192 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); XPATH_MAX 194 tools/crm_ticket.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", XPATH_MAX 198 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]",