xpathObj         1353 daemons/based/based_callbacks.c         xmlXPathObject *xpathObj = xpath_search(diff, XPATH_CONFIG_CHANGE);
xpathObj         1355 daemons/based/based_callbacks.c         if (numXpathResults(xpathObj) > 0) {
xpathObj         1358 daemons/based/based_callbacks.c         freeXpathObject(xpathObj);
xpathObj          379 daemons/controld/controld_schedulerd.c     xmlXPathObjectPtr xpathObj = NULL;
xpathObj          390 daemons/controld/controld_schedulerd.c     xpathObj = xpath_search(xml, xpath_string);
xpathObj          391 daemons/controld/controld_schedulerd.c     max = numXpathResults(xpathObj);
xpathObj          395 daemons/controld/controld_schedulerd.c         xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          439 daemons/controld/controld_schedulerd.c     freeXpathObject(xpathObj);
xpathObj           40 daemons/controld/controld_te_callbacks.c     xmlXPathObject *xpathObj = NULL;
xpathObj           56 daemons/controld/controld_te_callbacks.c     xpathObj =
xpathObj           61 daemons/controld/controld_te_callbacks.c     if (numXpathResults(xpathObj) > 0) {
xpathObj           62 daemons/controld/controld_te_callbacks.c         xmlNode *aborted = getXpathResult(xpathObj, 0);
xpathObj           69 daemons/controld/controld_te_callbacks.c     freeXpathObject(xpathObj);
xpathObj           72 daemons/controld/controld_te_callbacks.c     xpathObj =
xpathObj           77 daemons/controld/controld_te_callbacks.c     if (numXpathResults(xpathObj) > 0) {
xpathObj           78 daemons/controld/controld_te_callbacks.c         xmlNode *aborted = getXpathResult(xpathObj, 0);
xpathObj           84 daemons/controld/controld_te_callbacks.c     freeXpathObject(xpathObj);
xpathObj           87 daemons/controld/controld_te_callbacks.c     xpathObj =
xpathObj           92 daemons/controld/controld_te_callbacks.c     if (numXpathResults(xpathObj) > 0) {
xpathObj           93 daemons/controld/controld_te_callbacks.c         xmlNode *aborted = getXpathResult(xpathObj, 0);
xpathObj          100 daemons/controld/controld_te_callbacks.c     freeXpathObject(xpathObj);
xpathObj          103 daemons/controld/controld_te_callbacks.c     xpathObj = xpath_search(diff,
xpathObj          107 daemons/controld/controld_te_callbacks.c     max = numXpathResults(xpathObj);
xpathObj          129 daemons/controld/controld_te_callbacks.c         xmlNode *lrm_resource = getXpathResult(xpathObj, 0);
xpathObj          138 daemons/controld/controld_te_callbacks.c     freeXpathObject(xpathObj);
xpathObj          141 daemons/controld/controld_te_callbacks.c     xpathObj =
xpathObj          146 daemons/controld/controld_te_callbacks.c     max = numXpathResults(xpathObj);
xpathObj          151 daemons/controld/controld_te_callbacks.c             xmlNode *rsc_op = getXpathResult(xpathObj, lpc);
xpathObj          157 daemons/controld/controld_te_callbacks.c     freeXpathObject(xpathObj);
xpathObj          160 daemons/controld/controld_te_callbacks.c     xpathObj = xpath_search(diff,
xpathObj          163 daemons/controld/controld_te_callbacks.c     max = numXpathResults(xpathObj);
xpathObj          167 daemons/controld/controld_te_callbacks.c         xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          206 daemons/controld/controld_te_callbacks.c     freeXpathObject(xpathObj);
xpathObj          602 daemons/controld/controld_te_callbacks.c     xmlXPathObject *xpathObj = NULL;
xpathObj          636 daemons/controld/controld_te_callbacks.c     xpathObj = xpath_search(xml_data, "//" PCMK__XE_LRM_RSC_OP);
xpathObj          637 daemons/controld/controld_te_callbacks.c     nmatches = numXpathResults(xpathObj);
xpathObj          642 daemons/controld/controld_te_callbacks.c             xmlNode *rsc_op = getXpathResult(xpathObj, lpc);
xpathObj          648 daemons/controld/controld_te_callbacks.c     freeXpathObject(xpathObj);
xpathObj          117 daemons/fenced/fenced_cib.c register_fencing_topology(xmlXPathObjectPtr xpathObj)
xpathObj          119 daemons/fenced/fenced_cib.c     int max = numXpathResults(xpathObj), lpc = 0;
xpathObj          122 daemons/fenced/fenced_cib.c         xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          151 daemons/fenced/fenced_cib.c     xmlXPathObjectPtr xpathObj = NULL;
xpathObj          159 daemons/fenced/fenced_cib.c     xpathObj = xpath_search(local_cib, xpath);
xpathObj          160 daemons/fenced/fenced_cib.c     register_fencing_topology(xpathObj);
xpathObj          162 daemons/fenced/fenced_cib.c     freeXpathObject(xpathObj);
xpathObj          166 daemons/fenced/fenced_cib.c remove_cib_device(xmlXPathObjectPtr xpathObj)
xpathObj          168 daemons/fenced/fenced_cib.c     int max = numXpathResults(xpathObj), lpc = 0;
xpathObj          173 daemons/fenced/fenced_cib.c         xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          477 daemons/fenced/fenced_cib.c remove_fencing_topology(xmlXPathObjectPtr xpathObj)
xpathObj          479 daemons/fenced/fenced_cib.c     int max = numXpathResults(xpathObj), lpc = 0;
xpathObj          482 daemons/fenced/fenced_cib.c         xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          512 daemons/fenced/fenced_cib.c     xmlXPathObjectPtr xpathObj = NULL;
xpathObj          525 daemons/fenced/fenced_cib.c         xpathObj = xpath_search(msg, xpath);
xpathObj          527 daemons/fenced/fenced_cib.c         remove_fencing_topology(xpathObj);
xpathObj          528 daemons/fenced/fenced_cib.c         freeXpathObject(xpathObj);
xpathObj          534 daemons/fenced/fenced_cib.c         xpathObj = xpath_search(msg, xpath);
xpathObj          536 daemons/fenced/fenced_cib.c         register_fencing_topology(xpathObj);
xpathObj          537 daemons/fenced/fenced_cib.c         freeXpathObject(xpathObj);
xpathObj           77 include/crm/common/xml.h void freeXpathObject(xmlXPathObjectPtr xpathObj);
xpathObj           78 include/crm/common/xml.h xmlNode *getXpathResult(xmlXPathObjectPtr xpathObj, int index);
xpathObj           79 include/crm/common/xml.h void dedupXpathResults(xmlXPathObjectPtr xpathObj);
xpathObj           81 include/crm/common/xml.h static inline int numXpathResults(xmlXPathObjectPtr xpathObj)
xpathObj           83 include/crm/common/xml.h     if(xpathObj == NULL || xpathObj->nodesetval == NULL) {
xpathObj           86 include/crm/common/xml.h     return xpathObj->nodesetval->nodeNr;
xpathObj          509 lib/cib/cib_ops.c         xmlXPathObjectPtr xpathObj = xpath_search(*result_cib, "//@__delete__");
xpathObj          511 lib/cib/cib_ops.c         if (xpathObj) {
xpathObj          512 lib/cib/cib_ops.c             max = numXpathResults(xpathObj);
xpathObj          517 lib/cib/cib_ops.c             xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          525 lib/cib/cib_ops.c         freeXpathObject(xpathObj);
xpathObj          696 lib/cib/cib_ops.c     xmlXPathObject *xpathObj = NULL;
xpathObj          712 lib/cib/cib_ops.c     xpathObj = xpath_search(*diff, "//" PCMK_XE_CONFIGURATION);
xpathObj          713 lib/cib/cib_ops.c     if (numXpathResults(xpathObj) > 0) {
xpathObj          717 lib/cib/cib_ops.c     freeXpathObject(xpathObj);
xpathObj          724 lib/cib/cib_ops.c     xpathObj = xpath_search(*diff, "//" PCMK__XE_DIFF_REMOVED "//" PCMK_XE_CIB);
xpathObj          725 lib/cib/cib_ops.c     max = numXpathResults(xpathObj);
xpathObj          728 lib/cib/cib_ops.c         xmlNode *top = getXpathResult(xpathObj, lpc);
xpathObj          758 lib/cib/cib_ops.c     freeXpathObject(xpathObj);
xpathObj          772 lib/cib/cib_ops.c     xmlXPathObjectPtr xpathObj = NULL;
xpathObj          777 lib/cib/cib_ops.c         xpathObj = xpath_search(existing_cib, section);
xpathObj          779 lib/cib/cib_ops.c         xpathObj = xpath_search(*result_cib, section);
xpathObj          782 lib/cib/cib_ops.c     max = numXpathResults(xpathObj);
xpathObj          800 lib/cib/cib_ops.c         dedupXpathResults(xpathObj);
xpathObj          805 lib/cib/cib_ops.c         xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          907 lib/cib/cib_ops.c     freeXpathObject(xpathObj);
xpathObj          235 lib/common/acl.c     xmlXPathObjectPtr xpathObj = NULL;
xpathObj          247 lib/common/acl.c         xpathObj = xpath_search(xml, acl->xpath);
xpathObj          248 lib/common/acl.c         max = numXpathResults(xpathObj);
xpathObj          251 lib/common/acl.c             xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          270 lib/common/acl.c         freeXpathObject(xpathObj);
xpathObj          477 lib/common/acl.c             xmlXPathObjectPtr xpathObj = xpath_search(target, acl->xpath);
xpathObj          479 lib/common/acl.c             max = numXpathResults(xpathObj);
xpathObj          481 lib/common/acl.c                 xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          486 lib/common/acl.c                     freeXpathObject(xpathObj);
xpathObj          493 lib/common/acl.c             freeXpathObject(xpathObj);
xpathObj           39 lib/common/xpath.c freeXpathObject(xmlXPathObjectPtr xpathObj)
xpathObj           41 lib/common/xpath.c     int lpc, max = numXpathResults(xpathObj);
xpathObj           43 lib/common/xpath.c     if (xpathObj == NULL) {
xpathObj           48 lib/common/xpath.c         if (xpathObj->nodesetval->nodeTab[lpc] && xpathObj->nodesetval->nodeTab[lpc]->type != XML_NAMESPACE_DECL) {
xpathObj           49 lib/common/xpath.c             xpathObj->nodesetval->nodeTab[lpc] = NULL;
xpathObj           54 lib/common/xpath.c     xmlXPathFreeObject(xpathObj);
xpathObj           58 lib/common/xpath.c getXpathResult(xmlXPathObjectPtr xpathObj, int index)
xpathObj           61 lib/common/xpath.c     int max = numXpathResults(xpathObj);
xpathObj           64 lib/common/xpath.c     CRM_CHECK(xpathObj != NULL, return NULL);
xpathObj           70 lib/common/xpath.c     } else if(xpathObj->nodesetval->nodeTab[index] == NULL) {
xpathObj           75 lib/common/xpath.c     match = xpathObj->nodesetval->nodeTab[index];
xpathObj           78 lib/common/xpath.c     if (xpathObj->nodesetval->nodeTab[index]->type != XML_NAMESPACE_DECL) {
xpathObj           80 lib/common/xpath.c         xpathObj->nodesetval->nodeTab[index] = NULL;
xpathObj          101 lib/common/xpath.c dedupXpathResults(xmlXPathObjectPtr xpathObj)
xpathObj          103 lib/common/xpath.c     int lpc, max = numXpathResults(xpathObj);
xpathObj          105 lib/common/xpath.c     if (xpathObj == NULL) {
xpathObj          113 lib/common/xpath.c         if (xpathObj->nodesetval->nodeTab[lpc] == NULL) {
xpathObj          117 lib/common/xpath.c         xml = xpathObj->nodesetval->nodeTab[lpc]->parent;
xpathObj          123 lib/common/xpath.c                 if (xpathObj->nodesetval->nodeTab[lpc2] == xml) {
xpathObj          124 lib/common/xpath.c                     xpathObj->nodesetval->nodeTab[lpc] = NULL;
xpathObj          141 lib/common/xpath.c     xmlXPathObjectPtr xpathObj = NULL;
xpathObj          152 lib/common/xpath.c     xpathObj = xmlXPathEvalExpression(xpathExpr, xpathCtx);
xpathObj          154 lib/common/xpath.c     return xpathObj;
xpathObj          173 lib/common/xpath.c     xmlXPathObjectPtr xpathObj = xpath_search(xml, xpath);
xpathObj          174 lib/common/xpath.c     int nresults = numXpathResults(xpathObj);
xpathObj          178 lib/common/xpath.c         xmlNode *result = getXpathResult(xpathObj, i);
xpathObj          185 lib/common/xpath.c     freeXpathObject(xpathObj);
xpathObj          193 lib/common/xpath.c     xmlXPathObjectPtr xpathObj = NULL;
xpathObj          201 lib/common/xpath.c     xpathObj = xpath_search(xml_obj, xpath);
xpathObj          203 lib/common/xpath.c     max = numXpathResults(xpathObj);
xpathObj          220 lib/common/xpath.c                 xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          235 lib/common/xpath.c         result = getXpathResult(xpathObj, 0);
xpathObj          238 lib/common/xpath.c     freeXpathObject(xpathObj);
xpathObj          551 lib/fencing/st_client.c     xmlXPathObjectPtr xpathObj = NULL;
xpathObj          565 lib/fencing/st_client.c     xpathObj = xpath_search(output, "//@agent");
xpathObj          566 lib/fencing/st_client.c     if (xpathObj) {
xpathObj          567 lib/fencing/st_client.c         max = numXpathResults(xpathObj);
xpathObj          570 lib/fencing/st_client.c             xmlNode *match = getXpathResult(xpathObj, lpc);
xpathObj          584 lib/fencing/st_client.c         freeXpathObject(xpathObj);
xpathObj           97 lib/fencing/st_rhcs.c     xmlXPathObject *xpathObj = NULL;
xpathObj          106 lib/fencing/st_rhcs.c     xpathObj = xpath_search(metadata, xpath);
xpathObj          107 lib/fencing/st_rhcs.c     if (numXpathResults(xpathObj) > 0) {
xpathObj          108 lib/fencing/st_rhcs.c         xmlNode *tmp = getXpathResult(xpathObj, 0);
xpathObj          112 lib/fencing/st_rhcs.c     freeXpathObject(xpathObj);
xpathObj          129 lib/fencing/st_rhcs.c     xmlXPathObject *xpathObj = NULL;
xpathObj          176 lib/fencing/st_rhcs.c     xpathObj = xpath_search(xml, "//" PCMK_XE_ACTIONS);
xpathObj          177 lib/fencing/st_rhcs.c     if (numXpathResults(xpathObj) > 0) {
xpathObj          178 lib/fencing/st_rhcs.c         actions = getXpathResult(xpathObj, 0);
xpathObj          180 lib/fencing/st_rhcs.c     freeXpathObject(xpathObj);
xpathObj          183 lib/fencing/st_rhcs.c     xpathObj = xpath_search(xml,
xpathObj          186 lib/fencing/st_rhcs.c     if (numXpathResults(xpathObj) <= 0) {
xpathObj          200 lib/fencing/st_rhcs.c     freeXpathObject(xpathObj);
xpathObj           99 lib/pengine/failcounts.c     xmlXPathObject *xpathObj = xpath_search(rsc->xml, xpath);
xpathObj          104 lib/pengine/failcounts.c     if (xpathObj) {
xpathObj          105 lib/pengine/failcounts.c         int max = numXpathResults(xpathObj);
xpathObj          109 lib/pengine/failcounts.c             xmlNode *pref = getXpathResult(xpathObj, lpc);
xpathObj          169 lib/pengine/failcounts.c     freeXpathObject(xpathObj);
xpathObj         2039 tools/crm_mon.c     xmlXPathObject *xpathObj = xpath_search(msg,
xpathObj         2043 tools/crm_mon.c     int lpc = 0, max = numXpathResults(xpathObj);
xpathObj         2046 tools/crm_mon.c         xmlNode *rsc_op = getXpathResult(xpathObj, lpc);
xpathObj         2050 tools/crm_mon.c     freeXpathObject(xpathObj);
xpathObj          272 tools/crm_resource.c     xmlXPathObjectPtr xpathObj = NULL;
xpathObj          276 tools/crm_resource.c     xpathObj = xpath_search(cib_constraints, "//" PCMK_XE_RSC_LOCATION);
xpathObj          278 tools/crm_resource.c     for (ndx = 0; ndx < numXpathResults(xpathObj); ndx++) {
xpathObj          279 tools/crm_resource.c         xmlNode *match = getXpathResult(xpathObj, ndx);
xpathObj          284 tools/crm_resource.c     freeXpathObject(xpathObj);
xpathObj          443 tools/crm_resource_ban.c     xmlXPathObject *xpathObj = NULL;
xpathObj          450 tools/crm_resource_ban.c     xpathObj = xpath_search(cib_constraints, "//" PCMK_XE_RSC_LOCATION);
xpathObj          452 tools/crm_resource_ban.c     for (i = 0; i < numXpathResults(xpathObj); i++) {
xpathObj          453 tools/crm_resource_ban.c         xmlNode *constraint_node = getXpathResult(xpathObj, i);
xpathObj          511 tools/crm_resource_ban.c     freeXpathObject(xpathObj);