xpath             187 daemons/attrd/attrd_cib.c     char *xpath = NULL;
xpath             191 daemons/attrd/attrd_cib.c     xpath = crm_strdup_printf(XPATH_TRANSIENT, node);
xpath             194 daemons/attrd/attrd_cib.c               node, xpath);
xpath             196 daemons/attrd/attrd_cib.c     call_id = the_cib->cmds->remove(the_cib, xpath, NULL, cib_xpath);
xpath             197 daemons/attrd/attrd_cib.c     free(xpath);
xpath             389 daemons/attrd/attrd_cib.c     char *xpath = crm_strdup_printf("/" PCMK_XE_CIB
xpath             402 daemons/attrd/attrd_cib.c     int rc = the_cib->cmds->remove(the_cib, xpath, NULL,
xpath             405 daemons/attrd/attrd_cib.c     free(xpath);
xpath             315 daemons/controld/controld_cib.c                                      char **xpath, char **desc)
xpath             325 daemons/controld/controld_cib.c             *xpath = crm_strdup_printf(XPATH_NODE_LRM, uname);
xpath             329 daemons/controld/controld_cib.c             *xpath = crm_strdup_printf(XPATH_NODE_LRM_UNLOCKED,
xpath             334 daemons/controld/controld_cib.c             *xpath = crm_strdup_printf(XPATH_NODE_ATTRS, uname);
xpath             338 daemons/controld/controld_cib.c             *xpath = crm_strdup_printf(XPATH_NODE_ALL, uname);
xpath             342 daemons/controld/controld_cib.c             *xpath = crm_strdup_printf(XPATH_NODE_ALL_UNLOCKED,
xpath             370 daemons/controld/controld_cib.c     char *xpath = NULL;
xpath             376 daemons/controld/controld_cib.c     controld_node_state_deletion_strings(uname, section, &xpath, &desc);
xpath             380 daemons/controld/controld_cib.c     cib_rc = cib->cmds->remove(cib, xpath, NULL, options);
xpath             383 daemons/controld/controld_cib.c              desc, cib_rc, xpath);
xpath             386 daemons/controld/controld_cib.c     free(xpath);
xpath             413 daemons/controld/controld_cib.c     char *xpath = NULL;
xpath             427 daemons/controld/controld_cib.c     xpath = crm_strdup_printf(XPATH_RESOURCE_HISTORY, node, rsc_id);
xpath             430 daemons/controld/controld_cib.c     rc = cib->cmds->remove(cib, xpath, NULL, call_options|cib_xpath);
xpath             440 daemons/controld/controld_cib.c         free(xpath);
xpath             454 daemons/controld/controld_cib.c                  desc, rc, xpath);
xpath             459 daemons/controld/controld_cib.c     free(xpath);
xpath            1017 daemons/controld/controld_cib.c     char *xpath = NULL;
xpath            1024 daemons/controld/controld_cib.c         xpath = crm_strdup_printf(XPATH_HISTORY_ID, node, rsc_id,
xpath            1029 daemons/controld/controld_cib.c         xpath = crm_strdup_printf(XPATH_HISTORY_ORIG, node, rsc_id,
xpath            1035 daemons/controld/controld_cib.c     controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath,
xpath            1037 daemons/controld/controld_cib.c     free(xpath);
xpath            1053 daemons/controld/controld_cib.c     char *xpath = NULL;
xpath            1058 daemons/controld/controld_cib.c         xpath = crm_strdup_printf(XPATH_HISTORY_CALL, node, rsc_id, key,
xpath            1061 daemons/controld/controld_cib.c         xpath = crm_strdup_printf(XPATH_HISTORY_ID, node, rsc_id, key);
xpath            1063 daemons/controld/controld_cib.c     controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath,
xpath            1065 daemons/controld/controld_cib.c     free(xpath);
xpath              62 daemons/controld/controld_cib.h                                           char **xpath, char **desc);
xpath             718 daemons/controld/controld_join_dc.c     char *xpath = NULL;
xpath             780 daemons/controld/controld_join_dc.c     controld_node_state_deletion_strings(join_from, section, &xpath, NULL);
xpath             782 daemons/controld/controld_join_dc.c     rc = cib->cmds->remove(cib, xpath, NULL,
xpath             839 daemons/controld/controld_join_dc.c     free(xpath);
xpath             322 daemons/controld/controld_membership.c         GString *xpath = NULL;
xpath             330 daemons/controld/controld_membership.c                 if (xpath == NULL) {
xpath             331 daemons/controld/controld_membership.c                     xpath = g_string_sized_new(512);
xpath             333 daemons/controld/controld_membership.c                     g_string_truncate(xpath, 0);
xpath             342 daemons/controld/controld_membership.c                 pcmk__g_strcat(xpath,
xpath             349 daemons/controld/controld_membership.c                                                 (const char *) xpath->str,
xpath             357 daemons/controld/controld_membership.c         if (xpath != NULL) {
xpath             358 daemons/controld/controld_membership.c             g_string_free(xpath, TRUE);
xpath             228 daemons/controld/controld_te_callbacks.c                          const char *op, const char *xpath)
xpath             271 daemons/controld/controld_te_callbacks.c static char *extract_node_uuid(const char *xpath) 
xpath             273 daemons/controld/controld_te_callbacks.c     char *mutable_path = pcmk__str_copy(xpath);
xpath             298 daemons/controld/controld_te_callbacks.c abort_unless_down(const char *xpath, const char *op, xmlNode *change,
xpath             310 daemons/controld/controld_te_callbacks.c     node_uuid = extract_node_uuid(xpath);
xpath             312 daemons/controld/controld_te_callbacks.c         crm_err("Could not extract node ID from %s", xpath);
xpath             320 daemons/controld/controld_te_callbacks.c         crm_trace("Not expecting %s to be down (%s)", node_uuid, xpath);
xpath             324 daemons/controld/controld_te_callbacks.c         crm_trace("Expecting changes to %s (%s)", node_uuid, xpath);
xpath             330 daemons/controld/controld_te_callbacks.c process_op_deletion(const char *xpath, xmlNode *change)
xpath             332 daemons/controld/controld_te_callbacks.c     char *mutable_key = pcmk__str_copy(xpath);
xpath             344 daemons/controld/controld_te_callbacks.c                  xpath);
xpath             350 daemons/controld/controld_te_callbacks.c     node_uuid = extract_node_uuid(xpath);
xpath             360 daemons/controld/controld_te_callbacks.c process_delete_diff(const char *xpath, const char *op, xmlNode *change)
xpath             362 daemons/controld/controld_te_callbacks.c     if (strstr(xpath, "/" PCMK__XE_LRM_RSC_OP "[")) {
xpath             363 daemons/controld/controld_te_callbacks.c         process_op_deletion(xpath, change);
xpath             365 daemons/controld/controld_te_callbacks.c     } else if (strstr(xpath, "/" PCMK__XE_LRM "[")) {
xpath             366 daemons/controld/controld_te_callbacks.c         abort_unless_down(xpath, op, change, "Resource state removal");
xpath             368 daemons/controld/controld_te_callbacks.c     } else if (strstr(xpath, "/" PCMK__XE_NODE_STATE "[")) {
xpath             369 daemons/controld/controld_te_callbacks.c         abort_unless_down(xpath, op, change, "Node state removal");
xpath             372 daemons/controld/controld_te_callbacks.c         crm_trace("Ignoring delete of %s", xpath);
xpath             378 daemons/controld/controld_te_callbacks.c                         const char *xpath)
xpath             382 daemons/controld/controld_te_callbacks.c     process_resource_updates(pcmk__xe_id(state), lrm, change, op, xpath);
xpath             387 daemons/controld/controld_te_callbacks.c                     const char *xpath)
xpath             392 daemons/controld/controld_te_callbacks.c         process_node_state_diff(state, change, op, xpath);
xpath             398 daemons/controld/controld_te_callbacks.c                  const char *xpath)
xpath             405 daemons/controld/controld_te_callbacks.c         process_status_diff(status, change, op, xpath);
xpath             418 daemons/controld/controld_te_callbacks.c     const char *xpath = crm_element_value(change, PCMK_XA_PATH);
xpath             427 daemons/controld/controld_te_callbacks.c     } else if (xpath == NULL) {
xpath             432 daemons/controld/controld_te_callbacks.c                && (strstr(xpath,
xpath             438 daemons/controld/controld_te_callbacks.c         crm_trace("Ignoring move change at %s", xpath);
xpath             456 daemons/controld/controld_te_callbacks.c                  op, xpath);
xpath             462 daemons/controld/controld_te_callbacks.c             crm_trace("Ignoring %s operation for comment at %s", op, xpath);
xpath             469 daemons/controld/controld_te_callbacks.c               op, (xpath? xpath : "CIB"),
xpath             472 daemons/controld/controld_te_callbacks.c     if (strstr(xpath, "/" PCMK_XE_CIB "/" PCMK_XE_CONFIGURATION)) {
xpath             477 daemons/controld/controld_te_callbacks.c     } else if (strstr(xpath, "/" PCMK_XE_TICKETS)
xpath             483 daemons/controld/controld_te_callbacks.c     } else if (strstr(xpath, "/" PCMK__XE_TRANSIENT_ATTRIBUTES "[")
xpath             486 daemons/controld/controld_te_callbacks.c         abort_unless_down(xpath, op, change, "Transient attribute change");
xpath             490 daemons/controld/controld_te_callbacks.c         process_delete_diff(xpath, op, change);
xpath             494 daemons/controld/controld_te_callbacks.c                  op, xpath);
xpath             497 daemons/controld/controld_te_callbacks.c         process_cib_diff(match, change, op, xpath);
xpath             500 daemons/controld/controld_te_callbacks.c         process_status_diff(match, change, op, xpath);
xpath             503 daemons/controld/controld_te_callbacks.c         process_node_state_diff(match, change, op, xpath);
xpath             507 daemons/controld/controld_te_callbacks.c                                  xpath);
xpath             510 daemons/controld/controld_te_callbacks.c         char *local_node = pcmk__xpath_node_id(xpath, PCMK__XE_LRM);
xpath             512 daemons/controld/controld_te_callbacks.c         process_resource_updates(local_node, match, change, op, xpath);
xpath             516 daemons/controld/controld_te_callbacks.c         char *local_node = pcmk__xpath_node_id(xpath, PCMK__XE_LRM);
xpath             522 daemons/controld/controld_te_callbacks.c         char *local_node = pcmk__xpath_node_id(xpath, PCMK__XE_LRM);
xpath             529 daemons/controld/controld_te_callbacks.c                  op, xpath, name);
xpath             387 daemons/controld/controld_te_events.c     char *xpath = crm_strdup_printf(XPATH_DOWNED, target);
xpath             399 daemons/controld/controld_te_events.c                 xpath_ret = xpath_search(match->xml, xpath);
xpath             411 daemons/controld/controld_te_events.c     free(xpath);
xpath              44 daemons/fenced/fenced_cib.c     GString *xpath = NULL;
xpath              55 daemons/fenced/fenced_cib.c     xpath = g_string_sized_new(256);
xpath              56 daemons/fenced/fenced_cib.c     pcmk__g_strcat(xpath,
xpath              64 daemons/fenced/fenced_cib.c     match = get_xpath_object((const char *) xpath->str, local_cib, LOG_NEVER);
xpath              66 daemons/fenced/fenced_cib.c     g_string_free(xpath, TRUE);
xpath             152 daemons/fenced/fenced_cib.c     const char *xpath = "//" PCMK_XE_FENCING_LEVEL;
xpath             159 daemons/fenced/fenced_cib.c     xpathObj = xpath_search(local_cib, xpath);
xpath             337 daemons/fenced/fenced_cib.c         const char *xpath = crm_element_value(change, PCMK_XA_PATH);
xpath             341 daemons/fenced/fenced_cib.c             || (strstr(xpath, "/" PCMK_XE_STATUS) != NULL)) {
xpath             346 daemons/fenced/fenced_cib.c             && (strstr(xpath, "/" PCMK_XE_PRIMITIVE) != NULL)) {
xpath             351 daemons/fenced/fenced_cib.c             if ((strstr(xpath, PCMK_XE_INSTANCE_ATTRIBUTES) != NULL)
xpath             352 daemons/fenced/fenced_cib.c                 || (strstr(xpath, PCMK_XE_META_ATTRIBUTES) != NULL)) {
xpath             358 daemons/fenced/fenced_cib.c             mutable = pcmk__str_copy(xpath);
xpath             374 daemons/fenced/fenced_cib.c         } else if (strstr(xpath, "/" PCMK_XE_RESOURCES)
xpath             375 daemons/fenced/fenced_cib.c                    || strstr(xpath, "/" PCMK_XE_CONSTRAINTS)
xpath             376 daemons/fenced/fenced_cib.c                    || strstr(xpath, "/" PCMK_XE_RSC_DEFAULTS)) {
xpath             377 daemons/fenced/fenced_cib.c             shortpath = strrchr(xpath, '/'); CRM_ASSERT(shortpath);
xpath             511 daemons/fenced/fenced_cib.c     const char *xpath;
xpath             522 daemons/fenced/fenced_cib.c         xpath = "//" PCMK__XE_CIB_UPDATE_RESULT
xpath             525 daemons/fenced/fenced_cib.c         xpathObj = xpath_search(msg, xpath);
xpath             531 daemons/fenced/fenced_cib.c         xpath = "//" PCMK__XE_CIB_UPDATE_RESULT
xpath             534 daemons/fenced/fenced_cib.c         xpathObj = xpath_search(msg, xpath);
xpath             550 daemons/fenced/fenced_cib.c             const char *xpath = crm_element_value(change, PCMK_XA_PATH);
xpath             555 daemons/fenced/fenced_cib.c             } else if(strstr(xpath, "/" PCMK_XE_FENCING_LEVEL) != NULL) {
xpath             558 daemons/fenced/fenced_cib.c                 crm_trace("Handling %s operation %d.%d.%d for %s", op, add[0], add[1], add[2], xpath);
xpath             578 daemons/fenced/fenced_cib.c                              op, add[0], add[1], add[2], xpath);
xpath             583 daemons/fenced/fenced_cib.c             } else if (strstr(xpath, "/" PCMK_XE_FENCING_TOPOLOGY) != NULL) {
xpath             586 daemons/fenced/fenced_cib.c                          op, add[0], add[1], add[2], xpath);
xpath             590 daemons/fenced/fenced_cib.c             } else if (strstr(xpath, "/" PCMK_XE_CONFIGURATION)) {
xpath             595 daemons/fenced/fenced_cib.c                               op, add[0], add[1], add[2], xpath);
xpath             601 daemons/fenced/fenced_cib.c                              op, add[0], add[1], add[2], xpath);
xpath             608 daemons/fenced/fenced_cib.c                           op, add[0], add[1], add[2], xpath);
xpath             901 daemons/fenced/fenced_commands.c     xmlXPathObjectPtr xpath = NULL;
xpath             911 daemons/fenced/fenced_commands.c     xpath = xpath_search(xml,
xpath             913 daemons/fenced/fenced_commands.c     if (numXpathResults(xpath)  <= 0) {
xpath             914 daemons/fenced/fenced_commands.c         freeXpathObject(xpath);
xpath             918 daemons/fenced/fenced_commands.c     freeXpathObject(xpath);
xpath             925 daemons/fenced/fenced_commands.c     xmlXPathObjectPtr xpath = NULL;
xpath             933 daemons/fenced/fenced_commands.c     xpath = xpath_search(device->agent_metadata, "//action");
xpath             934 daemons/fenced/fenced_commands.c     max = numXpathResults(xpath);
xpath             937 daemons/fenced/fenced_commands.c         freeXpathObject(xpath);
xpath             943 daemons/fenced/fenced_commands.c         xmlNode *match = getXpathResult(xpath, lpc);
xpath             981 daemons/fenced/fenced_commands.c     freeXpathObject(xpath);
xpath              49 include/crm/common/xml.h xmlNode *get_xpath_object(const char *xpath, xmlNode * xml_obj, int error_level);
xpath              73 include/crm/common/xml.h void crm_foreach_xpath_result(xmlNode *xml, const char *xpath,
xpath             139 include/crm/common/xml_compat.h xmlNode *get_xpath_object_relative(const char *xpath, xmlNode *xml_obj,
xpath             501 include/crm/common/xml_internal.h pcmk__xpath_node_id(const char *xpath, const char *node);
xpath              60 lib/cib/cib_attrs.c     GString *xpath = NULL;
xpath              96 lib/cib/cib_attrs.c     xpath = g_string_sized_new(1024);
xpath              97 lib/cib/cib_attrs.c     g_string_append(xpath, xpath_base);
xpath             100 lib/cib/cib_attrs.c         pcmk__g_strcat(xpath, "//", node_type, NULL);
xpath             109 lib/cib/cib_attrs.c         pcmk__g_strcat(xpath,
xpath             114 lib/cib/cib_attrs.c     pcmk__g_strcat(xpath, "//", set_type, NULL);
xpath             116 lib/cib/cib_attrs.c         pcmk__g_strcat(xpath, "[@" PCMK_XA_ID "='", set_name, "']", NULL);
xpath             119 lib/cib/cib_attrs.c     g_string_append(xpath, "//nvpair");
xpath             122 lib/cib/cib_attrs.c         pcmk__g_strcat(xpath,
xpath             127 lib/cib/cib_attrs.c         pcmk__g_strcat(xpath, "[@" PCMK_XA_ID "='", attr_id, "']", NULL);
xpath             130 lib/cib/cib_attrs.c         pcmk__g_strcat(xpath, "[@" PCMK_XA_NAME "='", attr_name, "']", NULL);
xpath             134 lib/cib/cib_attrs.c                          (const char *) xpath->str, NULL, &xml_search,
xpath             141 lib/cib/cib_attrs.c                   pcmk__s(set_name, "<null>"), (const char *) xpath->str,
xpath             147 lib/cib/cib_attrs.c     g_string_free(xpath, TRUE);
xpath             122 lib/cib/cib_utils.c     char *xpath = crm_strdup_printf(XPATH_DIFF_V1 "//%s",
xpath             124 lib/cib/cib_utils.c     xmlXPathObject *xpath_obj = xpath_search(patchset, xpath);
xpath             126 lib/cib/cib_utils.c     free(xpath);
xpath              28 lib/common/acl.c         gchar *xpath;
xpath              37 lib/common/acl.c         g_free(acl->xpath);
xpath              55 lib/common/acl.c     const char *xpath = crm_element_value(xml, PCMK_XA_XPATH);
xpath              67 lib/common/acl.c     if ((tag == NULL) && (ref == NULL) && (xpath == NULL)) {
xpath              77 lib/common/acl.c     if (xpath) {
xpath              78 lib/common/acl.c         acl->xpath = g_strdup(xpath);
xpath              80 lib/common/acl.c                   xml->name, acl->xpath);
xpath             101 lib/common/acl.c         acl->xpath = buf->str;
xpath             105 lib/common/acl.c                   xml->name, acl->xpath);
xpath             247 lib/common/acl.c         xpathObj = xpath_search(xml, acl->xpath);
xpath             261 lib/common/acl.c                               acl_to_text(acl->mode), path->str, acl->xpath);
xpath             268 lib/common/acl.c                   acl_to_text(acl->mode), acl->xpath, max,
xpath             475 lib/common/acl.c         } else if (acl->xpath) {
xpath             477 lib/common/acl.c             xmlXPathObjectPtr xpathObj = xpath_search(target, acl->xpath);
xpath             491 lib/common/acl.c                       user, acl->xpath, max,
xpath             667 lib/common/acl.c         GString *xpath = NULL;
xpath             673 lib/common/acl.c             xpath = pcmk__element_xpath(xml);
xpath             675 lib/common/acl.c                 pcmk__g_strcat(xpath, "[@", name, "]", NULL);
xpath             682 lib/common/acl.c                                         (const char *) xpath->str);
xpath             683 lib/common/acl.c             g_string_free(xpath, TRUE);
xpath             709 lib/common/acl.c                 xpath = pcmk__element_xpath(xml);
xpath             711 lib/common/acl.c                     pcmk__g_strcat(xpath, "[@", name, "]", NULL);
xpath             719 lib/common/acl.c                                             (const char *) xpath->str);
xpath             720 lib/common/acl.c                 g_string_free(xpath, TRUE);
xpath             729 lib/common/acl.c         xpath = pcmk__element_xpath(xml);
xpath             731 lib/common/acl.c             pcmk__g_strcat(xpath, "[@", name, "]", NULL);
xpath             738 lib/common/acl.c                                     (const char *) xpath->str);
xpath             739 lib/common/acl.c         g_string_free(xpath, TRUE);
xpath             135 lib/common/cib.c     const char *xpath = pcmk_cib_xpath_for(element);
xpath             138 lib/common/cib.c     return ((xpath != NULL)? (xpath + 1) : NULL);
xpath              50 lib/common/patchset.c         GString *xpath = pcmk__element_xpath(xml->parent);
xpath              52 lib/common/patchset.c         if (xpath != NULL) {
xpath              58 lib/common/patchset.c             crm_xml_add(change, PCMK_XA_PATH, (const char *) xpath->str);
xpath              61 lib/common/patchset.c             g_string_free(xpath, TRUE);
xpath              78 lib/common/patchset.c             GString *xpath = pcmk__element_xpath(xml);
xpath              80 lib/common/patchset.c             if (xpath != NULL) {
xpath              84 lib/common/patchset.c                 crm_xml_add(change, PCMK_XA_PATH, (const char *) xpath->str);
xpath              87 lib/common/patchset.c                 g_string_free(xpath, TRUE);
xpath             129 lib/common/patchset.c         GString *xpath = pcmk__element_xpath(xml);
xpath             135 lib/common/patchset.c         if (xpath != NULL) {
xpath             139 lib/common/patchset.c             crm_xml_add(change, PCMK_XA_PATH, (const char *) xpath->str);
xpath             142 lib/common/patchset.c             g_string_free(xpath, TRUE);
xpath            1151 lib/common/patchset.c         const char *xpath = crm_element_value(change, PCMK_XA_PATH);
xpath            1166 lib/common/patchset.c         match = search_v2_xpath(xml, xpath, position);
xpath            1167 lib/common/patchset.c         crm_trace("Performing %s on %s with %p", op, xpath, match);
xpath            1170 lib/common/patchset.c             crm_debug("No %s match for %s in %p", op, xpath, xml->doc);
xpath            1174 lib/common/patchset.c             crm_err("No %s match for %s in %p", op, xpath, xml->doc);
xpath            1232 lib/common/patchset.c         const char *xpath = NULL;
xpath            1237 lib/common/patchset.c         xpath = crm_element_value(change, PCMK_XA_PATH);
xpath            1239 lib/common/patchset.c         crm_trace("Continue performing %s on %s with %p", op, xpath, match);
xpath             205 lib/common/patchset_display.c         const char *xpath = crm_element_value(change, PCMK_XA_PATH);
xpath             213 lib/common/patchset_display.c                                              xpath);
xpath             236 lib/common/patchset_display.c                                 xpath, position);
xpath             269 lib/common/patchset_display.c                 temp_rc = out->info(out, "+  %s:  %s", xpath, buffer_set->str);
xpath             276 lib/common/patchset_display.c                                     xpath, buffer_unset->str);
xpath             286 lib/common/patchset_display.c                 temp_rc = out->info(out, "-- %s (%d)", xpath, position);
xpath             288 lib/common/patchset_display.c                 temp_rc = out->info(out, "-- %s", xpath);
xpath              27 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     const char *xpath = "/some/xpath/" PCMK__XE_LRM "[@" PCMK_XA_ID "=xyz]";
xpath              28 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     pcmk__assert_asserts(pcmk__xpath_node_id(xpath, PCMK__XE_LRM));
xpath              33 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     const char *xpath = "/some/xpath/string[@" PCMK_XA_ID "='xyz']";
xpath              34 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     assert_null(pcmk__xpath_node_id(xpath, PCMK__XE_LRM));
xpath              36 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     xpath = "/some/xpath/containing[@" PCMK_XA_ID "='" PCMK__XE_LRM "']";
xpath              37 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     assert_null(pcmk__xpath_node_id(xpath, PCMK__XE_LRM));
xpath              43 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     const char *xpath = "/some/xpath/containing"
xpath              46 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     s = pcmk__xpath_node_id(xpath, PCMK__XE_LRM);
xpath              50 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     xpath = "/some/other/" PCMK__XE_LRM "[@" PCMK_XA_ID "='xyz']/xpath";
xpath              51 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     s = pcmk__xpath_node_id(xpath, PCMK__XE_LRM);
xpath             820 lib/common/xml.c         GString *xpath = NULL;
xpath             823 lib/common/xml.c         xpath = pcmk__element_xpath(child);
xpath             826 lib/common/xml.c                                     __LINE__, 0, xpath->str, nodepriv->flags);
xpath             827 lib/common/xml.c         g_string_free(xpath, TRUE);
xpath             835 lib/common/xml.c         GString *xpath = pcmk__element_xpath(child);
xpath             837 lib/common/xml.c         if (xpath != NULL) {
xpath             840 lib/common/xml.c             crm_trace("Deleting %s %p from %p", xpath->str, child, doc);
xpath             843 lib/common/xml.c             deleted_obj->path = g_string_free(xpath, FALSE);
xpath            2154 lib/common/xml.c     char *xpath = NULL;
xpath            2171 lib/common/xml.c     xpath = crm_strdup_printf("//%s[@" PCMK_XA_ID "='%s']", input->name, ref);
xpath            2172 lib/common/xml.c     result = get_xpath_object(xpath, top, LOG_DEBUG);
xpath            2177 lib/common/xml.c                          input->name, ref, xpath);
xpath            2179 lib/common/xml.c     free(xpath);
xpath             170 lib/common/xpath.c crm_foreach_xpath_result(xmlNode *xml, const char *xpath,
xpath             173 lib/common/xpath.c     xmlXPathObjectPtr xpathObj = xpath_search(xml, xpath);
xpath             189 lib/common/xpath.c get_xpath_object(const char *xpath, xmlNode * xml_obj, int error_level)
xpath             197 lib/common/xpath.c     if (xpath == NULL) {
xpath             201 lib/common/xpath.c     xpathObj = xpath_search(xml_obj, xpath);
xpath             208 lib/common/xpath.c                        xpath, pcmk__s(nodePath, "unknown path"));
xpath             217 lib/common/xpath.c                        xpath, pcmk__s(nodePath, "unknown path"));
xpath             226 lib/common/xpath.c                                xpath, lpc,
xpath             259 lib/common/xpath.c     GString *xpath = NULL;
xpath             267 lib/common/xpath.c     xpath = pcmk__element_xpath(parent);
xpath             268 lib/common/xpath.c     if (xpath == NULL) {
xpath             269 lib/common/xpath.c         xpath = g_string_sized_new(256);
xpath             274 lib/common/xpath.c         g_string_append_c(xpath, '/');
xpath             276 lib/common/xpath.c         g_string_append(xpath, (const gchar *) xml->name);
xpath             278 lib/common/xpath.c         pcmk__g_strcat(xpath, "/", (const char *) xml->name, NULL);
xpath             283 lib/common/xpath.c         pcmk__g_strcat(xpath, "[@" PCMK_XA_ID "='", id, "']", NULL);
xpath             286 lib/common/xpath.c     return xpath;
xpath             290 lib/common/xpath.c pcmk__xpath_node_id(const char *xpath, const char *node)
xpath             297 lib/common/xpath.c     if (node == NULL || xpath == NULL) {
xpath             302 lib/common/xpath.c     start = strstr(xpath, patt);
xpath             374 lib/common/xpath.c get_xpath_object_relative(const char *xpath, xmlNode *xml_obj, int error_level)
xpath             380 lib/common/xpath.c     if (xml_obj == NULL || xpath == NULL) {
xpath             386 lib/common/xpath.c     xpath_full = crm_strdup_printf("%s%s", xpath_prefix, xpath);
xpath            2407 lib/fencing/st_client.c     xmlXPathObjectPtr xpath = NULL;
xpath            2413 lib/fencing/st_client.c     xpath = xpath_search(metadata, "//" PCMK_XE_PARAMETER);
xpath            2414 lib/fencing/st_client.c     max = numXpathResults(xpath);
xpath            2417 lib/fencing/st_client.c         freeXpathObject(xpath);
xpath            2423 lib/fencing/st_client.c         xmlNode *match = getXpathResult(xpath, lpc);
xpath            2442 lib/fencing/st_client.c     freeXpathObject(xpath);
xpath              96 lib/fencing/st_rhcs.c     char *xpath = NULL;
xpath             102 lib/fencing/st_rhcs.c     xpath = crm_strdup_printf("//" PCMK_XE_PARAMETER "[@" PCMK_XA_NAME "='%s']",
xpath             106 lib/fencing/st_rhcs.c     xpathObj = xpath_search(metadata, xpath);
xpath             113 lib/fencing/st_rhcs.c     free(xpath);
xpath             149 lib/pacemaker/pcmk_injections.c     char *xpath = crm_strdup_printf(XPATH_NODE_CONFIG, node);
xpath             151 lib/pacemaker/pcmk_injections.c     rc = cib_conn->cmds->query(cib_conn, xpath, NULL,
xpath             167 lib/pacemaker/pcmk_injections.c     free(xpath);
xpath             249 lib/pacemaker/pcmk_injections.c     char *xpath = crm_strdup_printf(XPATH_NODE_STATE, node);
xpath             257 lib/pacemaker/pcmk_injections.c     rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object,
xpath             263 lib/pacemaker/pcmk_injections.c                 xpath);
xpath             312 lib/pacemaker/pcmk_injections.c         rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object,
xpath             319 lib/pacemaker/pcmk_injections.c     free(xpath);
xpath             379 lib/pacemaker/pcmk_injections.c     char *xpath = crm_strdup_printf(XPATH_RSC_HISTORY, node, resource);
xpath             380 lib/pacemaker/pcmk_injections.c     xmlNode *match = get_xpath_object(xpath, cib_node, LOG_TRACE);
xpath             382 lib/pacemaker/pcmk_injections.c     free(xpath);
xpath             676 lib/pacemaker/pcmk_injections.c         char *xpath = NULL;
xpath             688 lib/pacemaker/pcmk_injections.c         xpath = crm_strdup_printf("//" PCMK__XE_NODE_STATE
xpath             692 lib/pacemaker/pcmk_injections.c         cib->cmds->remove(cib, xpath, NULL,
xpath             694 lib/pacemaker/pcmk_injections.c         free(xpath);
xpath             696 lib/pacemaker/pcmk_injections.c         xpath = crm_strdup_printf("//" PCMK__XE_NODE_STATE
xpath             700 lib/pacemaker/pcmk_injections.c         cib->cmds->remove(cib, xpath, NULL,
xpath             702 lib/pacemaker/pcmk_injections.c         free(xpath);
xpath              35 lib/pacemaker/pcmk_resource.c     char *xpath = NULL;
xpath              44 lib/pacemaker/pcmk_resource.c     xpath = crm_strdup_printf(XPATH_OP_HISTORY, node->details->uname, rsc->id);
xpath              45 lib/pacemaker/pcmk_resource.c     history = get_xpath_object(xpath, rsc->cluster->input, LOG_NEVER);
xpath              46 lib/pacemaker/pcmk_resource.c     free(xpath);
xpath              40 lib/pacemaker/pcmk_rule.c     char *xpath = NULL;
xpath              60 lib/pacemaker/pcmk_rule.c     xpath = crm_strdup_printf(XPATH_NODE_RULE, rule_id);
xpath              61 lib/pacemaker/pcmk_rule.c     xpath_obj = xpath_search(cib_constraints, xpath);
xpath              64 lib/pacemaker/pcmk_rule.c     free(xpath);
xpath              79 lib/pacemaker/pcmk_rule.c     xpath = crm_strdup_printf(XPATH_NODE_RULE "//date_expression", rule_id);
xpath              80 lib/pacemaker/pcmk_rule.c     xpath_obj = xpath_search(cib_constraints, xpath);
xpath              83 lib/pacemaker/pcmk_rule.c     free(xpath);
xpath              96 lib/pacemaker/pcmk_rule.c     xpath = crm_strdup_printf(XPATH_NODE_RULE
xpath             101 lib/pacemaker/pcmk_rule.c     xpath_obj = xpath_search(cib_constraints, xpath);
xpath             104 lib/pacemaker/pcmk_rule.c     free(xpath);
xpath             109 lib/pacemaker/pcmk_rule.c         xpath = crm_strdup_printf(XPATH_NODE_RULE
xpath             118 lib/pacemaker/pcmk_rule.c         xpath_obj = xpath_search(cib_constraints, xpath);
xpath             121 lib/pacemaker/pcmk_rule.c         free(xpath);
xpath            1921 lib/pacemaker/pcmk_sched_actions.c             char *xpath = NULL;
xpath            1924 lib/pacemaker/pcmk_sched_actions.c             xpath = crm_strdup_printf(XPATH_NODE_HISTORY, node->details->uname);
xpath            1925 lib/pacemaker/pcmk_sched_actions.c             history = get_xpath_object(xpath, scheduler->input, LOG_NEVER);
xpath            1926 lib/pacemaker/pcmk_sched_actions.c             free(xpath);
xpath             701 lib/pacemaker/pcmk_simulate.c         GString *xpath = g_string_sized_new(512);
xpath             714 lib/pacemaker/pcmk_simulate.c         pcmk__g_strcat(xpath,
xpath             718 lib/pacemaker/pcmk_simulate.c         fake_cib->cmds->remove(fake_cib, (const char *) xpath->str, NULL,
xpath             721 lib/pacemaker/pcmk_simulate.c         g_string_truncate(xpath, 0);
xpath             722 lib/pacemaker/pcmk_simulate.c         pcmk__g_strcat(xpath,
xpath             726 lib/pacemaker/pcmk_simulate.c         fake_cib->cmds->remove(fake_cib, (const char *) xpath->str, NULL,
xpath             730 lib/pacemaker/pcmk_simulate.c         g_string_free(xpath, TRUE);
xpath              80 lib/pacemaker/pcmk_ticket.c     char *xpath = NULL;
xpath              86 lib/pacemaker/pcmk_ticket.c         xpath = crm_strdup_printf("/" PCMK_XE_CIB "/" PCMK_XE_STATUS "/" PCMK_XE_TICKETS
xpath              90 lib/pacemaker/pcmk_ticket.c         xpath = crm_strdup_printf("/" PCMK_XE_CIB "/" PCMK_XE_STATUS "/" PCMK_XE_TICKETS);
xpath              93 lib/pacemaker/pcmk_ticket.c     rc = cib->cmds->query(cib, xpath, &xml_search,
xpath             105 lib/pacemaker/pcmk_ticket.c     free(xpath);
xpath             117 lib/pacemaker/pcmk_ticket.c     char *xpath = NULL;
xpath             125 lib/pacemaker/pcmk_ticket.c         xpath = crm_strdup_printf("%s/" PCMK_XE_RSC_TICKET "[@" PCMK_XA_TICKET "=\"%s\"]",
xpath             128 lib/pacemaker/pcmk_ticket.c         xpath = crm_strdup_printf("%s/" PCMK_XE_RSC_TICKET, xpath_base);
xpath             131 lib/pacemaker/pcmk_ticket.c     rc = cib->cmds->query(cib, (const char *) xpath, &result,
xpath             140 lib/pacemaker/pcmk_ticket.c     free(xpath);
xpath              74 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     GString *xpath = g_string_sized_new(1024);
xpath              81 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     pcmk__g_strcat(xpath,
xpath              85 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     cib->cmds->query(cib, (const char *) xpath->str, &xml_search,
xpath              88 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     g_string_free(xpath, TRUE);
xpath              92 lib/pengine/failcounts.c     char *xpath = crm_strdup_printf("//" PCMK_XE_PRIMITIVE
xpath              99 lib/pengine/failcounts.c     xmlXPathObject *xpathObj = xpath_search(rsc->xml, xpath);
xpath             102 lib/pengine/failcounts.c     free(xpath);
xpath             200 lib/pengine/unpack.c set_if_xpath(uint64_t flag, const char *xpath, pcmk_scheduler_t *scheduler)
xpath             205 lib/pengine/unpack.c         result = xpath_search(scheduler->input, xpath);
xpath            2938 lib/pengine/unpack.c     GString *xpath = NULL;
xpath            2944 lib/pengine/unpack.c     xpath = g_string_sized_new(256);
xpath            2945 lib/pengine/unpack.c     pcmk__g_strcat(xpath,
xpath            2953 lib/pengine/unpack.c         pcmk__g_strcat(xpath,
xpath            2959 lib/pengine/unpack.c         pcmk__g_strcat(xpath,
xpath            2963 lib/pengine/unpack.c         g_string_append_c(xpath, ']');
xpath            2966 lib/pengine/unpack.c     xml = get_xpath_object((const char *) xpath->str, scheduler->input,
xpath            2968 lib/pengine/unpack.c     g_string_free(xpath, TRUE);
xpath            2987 lib/pengine/unpack.c     GString *xpath = NULL;
xpath            2992 lib/pengine/unpack.c     xpath = g_string_sized_new(256);
xpath            2993 lib/pengine/unpack.c     pcmk__g_strcat(xpath,
xpath            2998 lib/pengine/unpack.c     xml = get_xpath_object((const char *) xpath->str, scheduler->input,
xpath            3001 lib/pengine/unpack.c     g_string_free(xpath, TRUE);
xpath            3019 lib/pengine/unpack.c     char *xpath = NULL;
xpath            3021 lib/pengine/unpack.c     xpath = crm_strdup_printf(XPATH_NODE_STATE "[@" PCMK_XA_UNAME "='%s']"
xpath            3027 lib/pengine/unpack.c     search = xpath_search(rsc->cluster->input, xpath);
xpath            3030 lib/pengine/unpack.c     free(xpath);
xpath            1947 tools/crm_mon.c     const char *xpath = crm_element_value(change, PCMK_XA_PATH);
xpath            1972 tools/crm_mon.c     crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name);
xpath            1973 tools/crm_mon.c     if(xpath == NULL) {
xpath            1977 tools/crm_mon.c         crm_debug("No result for %s operation to %s", op, xpath);
xpath            2001 tools/crm_mon.c         char *local_node = pcmk__xpath_node_id(xpath, PCMK__XE_LRM);
xpath            2007 tools/crm_mon.c         char *local_node = pcmk__xpath_node_id(xpath, PCMK__XE_LRM);
xpath            2013 tools/crm_mon.c         char *local_node = pcmk__xpath_node_id(xpath, PCMK__XE_LRM);
xpath            2019 tools/crm_mon.c         crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name);
xpath              91 tools/crm_resource_runtime.c     GString *xpath = NULL;
xpath             108 tools/crm_resource_runtime.c     xpath = g_string_sized_new(1024);
xpath             109 tools/crm_resource_runtime.c     pcmk__g_strcat(xpath,
xpath             113 tools/crm_resource_runtime.c         pcmk__g_strcat(xpath, "/", attr_set_type, NULL);
xpath             115 tools/crm_resource_runtime.c             pcmk__g_strcat(xpath, "[@" PCMK_XA_ID "=\"", set_name, "\"]",
xpath             120 tools/crm_resource_runtime.c     g_string_append(xpath, "//" PCMK_XE_NVPAIR);
xpath             123 tools/crm_resource_runtime.c         pcmk__g_strcat(xpath,
xpath             128 tools/crm_resource_runtime.c         pcmk__g_strcat(xpath, "[@" PCMK_XA_ID "='", attr_id, "']", NULL);
xpath             131 tools/crm_resource_runtime.c         pcmk__g_strcat(xpath, "[@" PCMK_XA_NAME "='", attr_name, "']", NULL);
xpath             134 tools/crm_resource_runtime.c     rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search,
xpath             153 tools/crm_resource_runtime.c     g_string_free(xpath, TRUE);
xpath            1966 tools/crm_resource_runtime.c     char *xpath = NULL;
xpath            1979 tools/crm_resource_runtime.c     xpath = crm_strdup_printf("/" PCMK_XE_CIB "/" PCMK_XE_STATUS
xpath            2031 tools/crm_resource_runtime.c         search = xpath_search(scheduler->input, xpath);
xpath            2037 tools/crm_resource_runtime.c     free(xpath);