XPATH_MAX 950 daemons/fenced/pacemaker-fenced.c char xpath[XPATH_MAX]; XPATH_MAX 961 daemons/fenced/pacemaker-fenced.c n = snprintf(xpath, XPATH_MAX, "//" XML_CIB_TAG_NODES XPATH_MAX 967 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 325 lib/pacemaker/pcmk_sched_transition.c xpath_string = calloc(1, XPATH_MAX); XPATH_MAX 326 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); XPATH_MAX 329 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", XPATH_MAX 364 tools/crm_resource_ban.c first_half = calloc(1, XPATH_MAX); XPATH_MAX 365 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "//rsc_location"); XPATH_MAX 368 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "["); XPATH_MAX 372 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s' and ", node); XPATH_MAX 374 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s'", node); XPATH_MAX 381 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, XPATH_MAX 386 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@rsc='%s']", rsc); XPATH_MAX 390 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, XPATH_MAX 393 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "]"); XPATH_MAX 121 tools/crm_resource_runtime.c xpath_string = calloc(1, XPATH_MAX); XPATH_MAX 123 tools/crm_resource_runtime.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", get_object_path("resources")); XPATH_MAX 125 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); XPATH_MAX 128 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", attr_set_type); XPATH_MAX 130 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); XPATH_MAX 134 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); XPATH_MAX 136 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); XPATH_MAX 141 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); XPATH_MAX 143 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); XPATH_MAX 145 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); XPATH_MAX 152 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); XPATH_MAX 153 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); XPATH_MAX 156 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", XPATH_MAX 195 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); XPATH_MAX 197 tools/crm_ticket.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", XPATH_MAX 201 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]",