xpath_obj 260 daemons/fenced/fenced_cib.c xmlXPathObjectPtr xpath_obj = NULL; xpath_obj 263 daemons/fenced/fenced_cib.c xpath_obj = xpath_search(msg, xpath_obj 266 daemons/fenced/fenced_cib.c if (numXpathResults(xpath_obj) > 0) { xpath_obj 267 daemons/fenced/fenced_cib.c int max = numXpathResults(xpath_obj), lpc = 0; xpath_obj 274 daemons/fenced/fenced_cib.c xmlNode *match = getXpathResult(xpath_obj, lpc); xpath_obj 279 daemons/fenced/fenced_cib.c freeXpathObject(xpath_obj); xpath_obj 282 daemons/fenced/fenced_cib.c xpath_obj = xpath_search(msg, xpath_obj 286 daemons/fenced/fenced_cib.c if (numXpathResults(xpath_obj) > 0) { xpath_obj 287 daemons/fenced/fenced_cib.c remove_cib_device(xpath_obj); xpath_obj 289 daemons/fenced/fenced_cib.c freeXpathObject(xpath_obj); xpath_obj 292 daemons/fenced/fenced_cib.c xpath_obj = xpath_search(msg, xpath_obj 296 daemons/fenced/fenced_cib.c if (numXpathResults(xpath_obj) > 0) { xpath_obj 297 daemons/fenced/fenced_cib.c int max = numXpathResults(xpath_obj), lpc = 0; xpath_obj 302 daemons/fenced/fenced_cib.c xmlNode *match = getXpathResult(xpath_obj, lpc); xpath_obj 316 daemons/fenced/fenced_cib.c freeXpathObject(xpath_obj); xpath_obj 124 lib/cib/cib_utils.c xmlXPathObject *xpath_obj = xpath_search(patchset, xpath); xpath_obj 128 lib/cib/cib_utils.c if (xpath_obj == NULL) { xpath_obj 131 lib/cib/cib_utils.c freeXpathObject(xpath_obj); xpath_obj 39 lib/pacemaker/pcmk_rule.c xmlXPathObjectPtr xpath_obj = NULL; xpath_obj 61 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath_obj 62 lib/pacemaker/pcmk_rule.c num_results = numXpathResults(xpath_obj); xpath_obj 65 lib/pacemaker/pcmk_rule.c freeXpathObject(xpath_obj); xpath_obj 80 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath_obj 81 lib/pacemaker/pcmk_rule.c num_results = numXpathResults(xpath_obj); xpath_obj 84 lib/pacemaker/pcmk_rule.c freeXpathObject(xpath_obj); xpath_obj 101 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath_obj 102 lib/pacemaker/pcmk_rule.c num_results = numXpathResults(xpath_obj); xpath_obj 107 lib/pacemaker/pcmk_rule.c freeXpathObject(xpath_obj); xpath_obj 118 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath_obj 119 lib/pacemaker/pcmk_rule.c num_results = numXpathResults(xpath_obj); xpath_obj 124 lib/pacemaker/pcmk_rule.c freeXpathObject(xpath_obj); xpath_obj 132 lib/pacemaker/pcmk_rule.c match = getXpathResult(xpath_obj, 0); xpath_obj 145 lib/pacemaker/pcmk_rule.c freeXpathObject(xpath_obj); xpath_obj 87 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 97 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c xpath_obj = xpath_search(xml, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketA\"]"); xpath_obj 98 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c assert_int_equal(numXpathResults(xpath_obj), 1); xpath_obj 100 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c freeXpathObject(xpath_obj); xpath_obj 110 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 120 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c xpath_obj = xpath_search(xml, "//" PCMK__XE_TICKET_STATE); xpath_obj 122 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c assert_int_equal(numXpathResults(xpath_obj), 4); xpath_obj 124 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c ticket_node = getXpathResult(xpath_obj, 0); xpath_obj 127 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c ticket_node = getXpathResult(xpath_obj, 1); xpath_obj 130 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c ticket_node = getXpathResult(xpath_obj, 2); xpath_obj 133 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c ticket_node = getXpathResult(xpath_obj, 3); xpath_obj 136 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c freeXpathObject(xpath_obj); xpath_obj 145 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 155 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c xpath_obj = xpath_search(xml, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketC\"]"); xpath_obj 157 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c assert_int_equal(numXpathResults(xpath_obj), 2); xpath_obj 158 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c freeXpathObject(xpath_obj); xpath_obj 73 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 81 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS xpath_obj 84 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c assert_int_equal(numXpathResults(xpath_obj), 1); xpath_obj 85 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c freeXpathObject(xpath_obj); xpath_obj 94 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 102 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS "/" PCMK_XE_TICKET); xpath_obj 104 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c assert_int_equal(numXpathResults(xpath_obj), 2); xpath_obj 106 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c ticket_node = getXpathResult(xpath_obj, 0); xpath_obj 109 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c ticket_node = getXpathResult(xpath_obj, 1); xpath_obj 112 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c freeXpathObject(xpath_obj); xpath_obj 80 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 85 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS "/" PCMK_XE_TICKET); xpath_obj 86 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c assert_int_equal(numXpathResults(xpath_obj), 1); xpath_obj 88 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c node = getXpathResult(xpath_obj, 0); xpath_obj 90 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c freeXpathObject(xpath_obj); xpath_obj 95 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS "/" PCMK_XE_TICKET xpath_obj 97 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c assert_int_equal(numXpathResults(xpath_obj), 1); xpath_obj 99 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c node = getXpathResult(xpath_obj, 0); xpath_obj 103 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c freeXpathObject(xpath_obj); xpath_obj 59 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 70 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS "/" PCMK_XE_TICKET); xpath_obj 71 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_int_equal(numXpathResults(xpath_obj), 3); xpath_obj 72 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c freeXpathObject(xpath_obj); xpath_obj 74 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS xpath_obj 77 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c node = getXpathResult(xpath_obj, 0); xpath_obj 82 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c freeXpathObject(xpath_obj); xpath_obj 84 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS xpath_obj 87 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c node = getXpathResult(xpath_obj, 0); xpath_obj 92 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c freeXpathObject(xpath_obj); xpath_obj 94 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS xpath_obj 97 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c node = getXpathResult(xpath_obj, 0); xpath_obj 103 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c freeXpathObject(xpath_obj); xpath_obj 111 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 120 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS xpath_obj 122 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_int_equal(numXpathResults(xpath_obj), 1); xpath_obj 124 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c node = getXpathResult(xpath_obj, 0); xpath_obj 130 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c freeXpathObject(xpath_obj); xpath_obj 73 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 81 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS xpath_obj 84 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c assert_int_equal(numXpathResults(xpath_obj), 1); xpath_obj 85 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c freeXpathObject(xpath_obj); xpath_obj 94 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 102 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS "/" PCMK_XE_TICKET); xpath_obj 104 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c assert_int_equal(numXpathResults(xpath_obj), 4); xpath_obj 106 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c ticket_node = getXpathResult(xpath_obj, 0); xpath_obj 109 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c ticket_node = getXpathResult(xpath_obj, 1); xpath_obj 112 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c ticket_node = getXpathResult(xpath_obj, 2); xpath_obj 115 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c ticket_node = getXpathResult(xpath_obj, 3); xpath_obj 118 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c freeXpathObject(xpath_obj); xpath_obj 126 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c xmlXPathObject *xpath_obj = NULL; xpath_obj 133 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS xpath_obj 136 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c assert_int_equal(numXpathResults(xpath_obj), 2); xpath_obj 137 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c freeXpathObject(xpath_obj);