xpath_string 355 daemons/controld/controld_schedulerd.c char *xpath_string = NULL; xpath_string 358 daemons/controld/controld_schedulerd.c xpath_string = crm_strdup_printf("%.128s//%s//nvpair[@name='%.128s']", xpath_string 361 daemons/controld/controld_schedulerd.c xpathObj = xpath_search(xml, xpath_string); xpath_string 363 daemons/controld/controld_schedulerd.c free(xpath_string); xpath_string 56 lib/cib/cib_attrs.c char *xpath_string = NULL; xpath_string 88 lib/cib/cib_attrs.c xpath_string = calloc(1, XPATH_MAX); xpath_string 89 lib/cib/cib_attrs.c if (xpath_string == NULL) { xpath_string 94 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "%.128s", get_object_path(section)); xpath_string 97 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", node_type); xpath_string 106 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%s']", node_type, xpath_string 111 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%.128s']", set_type, xpath_string 114 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", set_type); xpath_string 117 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//nvpair["); xpath_string 119 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@id='%s'", attr_id); xpath_string 124 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, " and "); xpath_string 126 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@name='%.128s'", attr_name); xpath_string 128 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "]"); xpath_string 131 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, &xml_search, xpath_string 136 lib/cib/cib_attrs.c attr_name, section, crm_str(node_uuid), crm_str(set_name), xpath_string, xpath_string 163 lib/cib/cib_attrs.c free(xpath_string); xpath_string 487 lib/cib/cib_attrs.c char *xpath_string; xpath_string 500 lib/cib/cib_attrs.c xpath_string = crm_strdup_printf(XPATH_NODE, host_lowercase, host_lowercase, host_lowercase, host_lowercase); xpath_string 501 lib/cib/cib_attrs.c if (cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, xpath_string 508 lib/cib/cib_attrs.c free(xpath_string); xpath_string 2867 lib/common/xml.c char *xpath_string = crm_strdup_printf("//%s[@id='%s']", tag, ref); xpath_string 2869 lib/common/xml.c result = get_xpath_object(xpath_string, top, LOG_ERR); xpath_string 2873 lib/common/xml.c crm_err("No match for %s found in %s: Invalid configuration", xpath_string, xpath_string 2877 lib/common/xml.c free(xpath_string); xpath_string 332 lib/pacemaker/pcmk_sched_transition.c char *xpath_string = NULL; xpath_string 337 lib/pacemaker/pcmk_sched_transition.c xpath_string = calloc(1, XPATH_MAX); xpath_string 338 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); xpath_string 341 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", xpath_string 345 lib/pacemaker/pcmk_sched_transition.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 363 lib/pacemaker/pcmk_sched_transition.c free(xpath_string); xpath_string 234 tools/crm_resource_ban.c char *xpath_string = NULL; xpath_string 236 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 239 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); xpath_string 246 tools/crm_resource_ban.c free(xpath_string); xpath_string 333 tools/crm_resource_ban.c char *xpath_string = NULL; xpath_string 379 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s|//rsc_location[%s]/rule[expression[@attribute='#uname' and @value='%s']]%s", xpath_string 382 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s|//rsc_location/rule[expression[@attribute='#uname' and @value='%s']]%s", xpath_string 386 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s%s", first_half, date_substr); xpath_string 393 tools/crm_resource_ban.c return xpath_string; xpath_string 414 tools/crm_resource_ban.c char *xpath_string = NULL; xpath_string 416 tools/crm_resource_ban.c xpath_string = build_clear_xpath_string(constraint_node, rsc, node, promoted_role_only); xpath_string 417 tools/crm_resource_ban.c if (xpath_string == NULL) { xpath_string 421 tools/crm_resource_ban.c date_expr_node = get_xpath_object(xpath_string, constraint_node, LOG_DEBUG); xpath_string 423 tools/crm_resource_ban.c free(xpath_string); xpath_string 446 tools/crm_resource_ban.c free(xpath_string); xpath_string 454 tools/crm_resource_ban.c free(xpath_string); xpath_string 85 tools/crm_resource_runtime.c char *xpath_string = NULL; xpath_string 95 tools/crm_resource_runtime.c xpath_string = calloc(1, XPATH_MAX); xpath_string 97 tools/crm_resource_runtime.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", get_object_path("resources")); xpath_string 99 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); xpath_string 102 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", attr_set_type); xpath_string 104 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); xpath_string 108 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); xpath_string 110 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); xpath_string 115 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); xpath_string 117 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); xpath_string 119 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); xpath_string 122 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 152 tools/crm_resource_runtime.c free(xpath_string); xpath_string 144 tools/crm_ticket.c char *xpath_string = NULL; xpath_string 149 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); xpath_string 150 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); xpath_string 153 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", xpath_string 158 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 176 tools/crm_ticket.c free(xpath_string); xpath_string 187 tools/crm_ticket.c char *xpath_string = NULL; xpath_string 192 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); xpath_string 194 tools/crm_ticket.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", xpath_string 198 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]", xpath_string 203 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 214 tools/crm_ticket.c free(xpath_string);