xpath_obj 39 lib/pacemaker/pcmk_rule.c xmlXPathObjectPtr xpath_obj = NULL; xpath_obj 60 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath_obj 61 lib/pacemaker/pcmk_rule.c num_results = numXpathResults(xpath_obj); xpath_obj 64 lib/pacemaker/pcmk_rule.c freeXpathObject(xpath_obj); xpath_obj 79 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath_obj 80 lib/pacemaker/pcmk_rule.c num_results = numXpathResults(xpath_obj); xpath_obj 83 lib/pacemaker/pcmk_rule.c freeXpathObject(xpath_obj); xpath_obj 100 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath_obj 101 lib/pacemaker/pcmk_rule.c num_results = numXpathResults(xpath_obj); xpath_obj 106 lib/pacemaker/pcmk_rule.c freeXpathObject(xpath_obj); xpath_obj 115 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath_obj 116 lib/pacemaker/pcmk_rule.c num_results = numXpathResults(xpath_obj); xpath_obj 121 lib/pacemaker/pcmk_rule.c freeXpathObject(xpath_obj); xpath_obj 128 lib/pacemaker/pcmk_rule.c match = getXpathResult(xpath_obj, 0); xpath_obj 142 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);