xpath_string 371 daemons/controld/controld_schedulerd.c char *xpath_string = NULL; xpath_string 380 daemons/controld/controld_schedulerd.c xpath_string = crm_strdup_printf("%s//%s//nvpair[@name='%s']", xpath_string 383 daemons/controld/controld_schedulerd.c xpathObj = xpath_search(xml, xpath_string); xpath_string 385 daemons/controld/controld_schedulerd.c free(xpath_string); xpath_string 72 lib/cib/cib_attrs.c char *xpath_string = NULL; xpath_string 110 lib/cib/cib_attrs.c xpath_string = calloc(1, XPATH_MAX); xpath_string 111 lib/cib/cib_attrs.c if (xpath_string == NULL) { xpath_string 115 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "%s", xpath_base); xpath_string 118 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", node_type); xpath_string 127 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%s']", node_type, xpath_string 132 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%.128s']", set_type, xpath_string 135 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", set_type); xpath_string 138 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//nvpair["); xpath_string 140 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@id='%s'", attr_id); xpath_string 145 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, " and "); xpath_string 147 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@name='%.128s'", attr_name); xpath_string 149 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "]"); xpath_string 152 lib/cib/cib_attrs.c rc = cib_internal_op(cib, CIB_OP_QUERY, NULL, xpath_string, NULL, &xml_search, xpath_string 157 lib/cib/cib_attrs.c attr_name, section, crm_str(node_uuid), crm_str(set_name), xpath_string, xpath_string 182 lib/cib/cib_attrs.c free(xpath_string); xpath_string 600 lib/cib/cib_attrs.c char *xpath_string; xpath_string 615 lib/cib/cib_attrs.c xpath_string = crm_strdup_printf(XPATH_NODE, host_lowercase, host_lowercase, host_lowercase, host_lowercase); xpath_string 616 lib/cib/cib_attrs.c if (cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, xpath_string 623 lib/cib/cib_attrs.c free(xpath_string); xpath_string 2884 lib/common/xml.c char *xpath_string = crm_strdup_printf("//%s[@id='%s']", tag, ref); xpath_string 2886 lib/common/xml.c result = get_xpath_object(xpath_string, top, LOG_ERR); xpath_string 2890 lib/common/xml.c crm_err("No match for %s found in %s: Invalid configuration", xpath_string, xpath_string 2894 lib/common/xml.c free(xpath_string); xpath_string 429 lib/pacemaker/pcmk_injections.c char *xpath_string = NULL; xpath_string 434 lib/pacemaker/pcmk_injections.c xpath_string = calloc(1, XPATH_MAX); xpath_string 435 lib/pacemaker/pcmk_injections.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); xpath_string 438 lib/pacemaker/pcmk_injections.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", xpath_string 442 lib/pacemaker/pcmk_injections.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 460 lib/pacemaker/pcmk_injections.c free(xpath_string); xpath_string 249 tools/crm_resource_ban.c char *xpath_string = NULL; xpath_string 251 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("//rsc_location[@id='cli-prefer-%s'][rule[@id='cli-prefer-rule-%s']/expression[@attribute='#uname' and @value='%s']]", xpath_string 254 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); xpath_string 261 tools/crm_resource_ban.c free(xpath_string); xpath_string 348 tools/crm_resource_ban.c char *xpath_string = NULL; xpath_string 399 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s|//rsc_location[%s]/rule[expression[@attribute='#uname' and @value='%s']]%s", xpath_string 402 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s|//rsc_location/rule[expression[@attribute='#uname' and @value='%s']]%s", xpath_string 406 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s%s", first_half, date_substr); xpath_string 413 tools/crm_resource_ban.c return xpath_string; xpath_string 434 tools/crm_resource_ban.c char *xpath_string = NULL; xpath_string 436 tools/crm_resource_ban.c xpath_string = build_clear_xpath_string(constraint_node, rsc, node, promoted_role_only); xpath_string 437 tools/crm_resource_ban.c if (xpath_string == NULL) { xpath_string 441 tools/crm_resource_ban.c date_expr_node = get_xpath_object(xpath_string, constraint_node, LOG_DEBUG); xpath_string 443 tools/crm_resource_ban.c free(xpath_string); xpath_string 466 tools/crm_resource_ban.c free(xpath_string); xpath_string 474 tools/crm_resource_ban.c free(xpath_string); xpath_string 112 tools/crm_resource_runtime.c char *xpath_string = NULL; xpath_string 129 tools/crm_resource_runtime.c xpath_string = calloc(1, XPATH_MAX); xpath_string 130 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", xpath_string 133 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); xpath_string 136 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", attr_set_type); xpath_string 138 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); xpath_string 142 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); xpath_string 144 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); xpath_string 149 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); xpath_string 151 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); xpath_string 153 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); xpath_string 156 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 184 tools/crm_resource_runtime.c free(xpath_string); xpath_string 349 tools/crm_ticket.c char *xpath_string = NULL; xpath_string 354 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); xpath_string 355 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); xpath_string 358 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", xpath_string 363 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 382 tools/crm_ticket.c free(xpath_string); xpath_string 393 tools/crm_ticket.c char *xpath_string = NULL; xpath_string 405 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); xpath_string 406 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", xpath_string 410 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]", xpath_string 415 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 427 tools/crm_ticket.c free(xpath_string);