xpath_string 232 crmd/pengine.c char *xpath_string = NULL; xpath_string 235 crmd/pengine.c xpath_string = calloc(1, xpath_max); xpath_string 236 crmd/pengine.c lpc = snprintf(xpath_string, xpath_max, "%.128s//%s//nvpair[@name='%.128s']", xpath_string 240 crmd/pengine.c xpathObj = xpath_search(xml, xpath_string); xpath_string 242 crmd/pengine.c free(xpath_string); xpath_string 64 lib/cib/cib_attrs.c char *xpath_string = NULL; xpath_string 96 lib/cib/cib_attrs.c xpath_string = calloc(1, XPATH_MAX); xpath_string 97 lib/cib/cib_attrs.c if (xpath_string == NULL) { xpath_string 102 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "%.128s", get_object_path(section)); xpath_string 105 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", node_type); xpath_string 114 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%s']", node_type, xpath_string 119 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%.128s']", set_type, xpath_string 122 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", set_type); xpath_string 125 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//nvpair["); xpath_string 127 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@id='%s'", attr_id); xpath_string 132 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, " and "); xpath_string 134 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@name='%.128s'", attr_name); xpath_string 136 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "]"); xpath_string 139 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, &xml_search, xpath_string 144 lib/cib/cib_attrs.c attr_name, section, crm_str(node_uuid), crm_str(set_name), xpath_string, xpath_string 170 lib/cib/cib_attrs.c free(xpath_string); xpath_string 490 lib/cib/cib_attrs.c char *xpath_string; xpath_string 502 lib/cib/cib_attrs.c xpath_string = crm_strdup_printf(XPATH_NODE, uname, uname, uname, uname); xpath_string 503 lib/cib/cib_attrs.c if (cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, xpath_string 510 lib/cib/cib_attrs.c free(xpath_string); xpath_string 5130 lib/common/xml.c char *xpath_string = NULL; xpath_string 5145 lib/common/xml.c xpath_string = calloc(1, XPATH_MAX); xpath_string 5147 lib/common/xml.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//%s[@id='%s']", tag, ref); xpath_string 5150 lib/common/xml.c result = get_xpath_object(xpath_string, top, LOG_ERR); xpath_string 5154 lib/common/xml.c crm_err("No match for %s found in %s: Invalid configuration", xpath_string, xpath_string 5160 lib/common/xml.c free(xpath_string); xpath_string 97 tools/crm_resource_runtime.c char *xpath_string = NULL; xpath_string 107 tools/crm_resource_runtime.c xpath_string = calloc(1, XPATH_MAX); xpath_string 109 tools/crm_resource_runtime.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", get_object_path("resources")); xpath_string 111 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); xpath_string 114 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", set_type); xpath_string 116 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); xpath_string 120 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); xpath_string 122 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); xpath_string 127 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); xpath_string 129 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); xpath_string 131 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); xpath_string 134 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 162 tools/crm_resource_runtime.c free(xpath_string); xpath_string 162 tools/crm_ticket.c char *xpath_string = NULL; xpath_string 167 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); xpath_string 168 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); xpath_string 171 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", xpath_string 176 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 194 tools/crm_ticket.c free(xpath_string); xpath_string 205 tools/crm_ticket.c char *xpath_string = NULL; xpath_string 210 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); xpath_string 212 tools/crm_ticket.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", xpath_string 216 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]", xpath_string 221 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 232 tools/crm_ticket.c free(xpath_string); xpath_string 291 tools/crm_ticket.c char *xpath_string = NULL; xpath_string 296 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); xpath_string 297 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); xpath_string 300 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", set_type); xpath_string 302 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); xpath_string 306 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); xpath_string 308 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); xpath_string 323 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); xpath_string 325 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", long_key); xpath_string 329 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); xpath_string 332 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 360 tools/crm_ticket.c free(xpath_string); xpath_string 344 tools/fake_transition.c char *xpath_string = NULL; xpath_string 349 tools/fake_transition.c xpath_string = calloc(1, XPATH_MAX); xpath_string 350 tools/fake_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); xpath_string 353 tools/fake_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", xpath_string 357 tools/fake_transition.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 375 tools/fake_transition.c free(xpath_string);