xml_search 61 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; xml_search 134 lib/cib/cib_attrs.c (const char *) xpath->str, NULL, &xml_search, xml_search 144 lib/cib/cib_attrs.c crm_log_xml_debug(xml_search, "Match"); xml_search 148 lib/cib/cib_attrs.c *result = xml_search; xml_search 173 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; xml_search 183 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); xml_search 186 lib/cib/cib_attrs.c if (handle_multiples(out, xml_search, attr_name) == ENOTUNIQ) { xml_search 187 lib/cib/cib_attrs.c pcmk__xml_free(xml_search); xml_search 190 lib/cib/cib_attrs.c local_attr_id = crm_element_value_copy(xml_search, PCMK_XA_ID); xml_search 192 lib/cib/cib_attrs.c pcmk__xml_free(xml_search); xml_search 197 lib/cib/cib_attrs.c pcmk__xml_free(xml_search); xml_search 204 lib/cib/cib_attrs.c pcmk__xml_free(xml_search); xml_search 378 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; xml_search 386 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); xml_search 388 lib/cib/cib_attrs.c if (rc != pcmk_rc_ok || handle_multiples(out, xml_search, attr_name) == ENOTUNIQ) { xml_search 389 lib/cib/cib_attrs.c pcmk__xml_free(xml_search); xml_search 392 lib/cib/cib_attrs.c local_attr_id = crm_element_value_copy(xml_search, PCMK_XA_ID); xml_search 394 lib/cib/cib_attrs.c pcmk__xml_free(xml_search); xml_search 429 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; xml_search 438 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); xml_search 441 lib/cib/cib_attrs.c rc = handle_multiples(out, xml_search, attr_name); xml_search 444 lib/cib/cib_attrs.c pcmk__str_update(value, crm_element_value(xml_search, attr)); xml_search 449 lib/cib/cib_attrs.c pcmk__xml_free(xml_search); xml_search 632 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; xml_search 648 lib/cib/cib_attrs.c NULL, &xml_search, cib_sync_call|cib_xpath, xml_search 650 lib/cib/cib_attrs.c rc = get_uuid_from_result(xml_search, uuid, is_remote_node); xml_search 655 lib/cib/cib_attrs.c pcmk__xml_free(xml_search); xml_search 81 lib/pacemaker/pcmk_ticket.c xmlNode *xml_search = NULL; xml_search 95 lib/pacemaker/pcmk_ticket.c rc = cib->cmds->query(cib, xpath, &xml_search, cib_sync_call|cib_xpath); xml_search 99 lib/pacemaker/pcmk_ticket.c crm_log_xml_debug(xml_search, "Match"); xml_search 101 lib/pacemaker/pcmk_ticket.c if (xml_search->children != NULL && ticket_id != NULL) { xml_search 108 lib/pacemaker/pcmk_ticket.c *state = xml_search; xml_search 75 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c xmlNode *xml_search = NULL; xml_search 85 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c cib->cmds->query(cib, (const char *) xpath->str, &xml_search, cib_xpath); xml_search 89 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c return xml_search; xml_search 94 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c xmlNode *xml_search = NULL; xml_search 104 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c &xml_search, cib_xpath); xml_search 105 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c assert_null(xml_search); xml_search 115 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c xmlNode *xml_search = NULL; xml_search 125 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c &xml_search, cib_xpath); xml_search 126 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c assert_null(xml_search); xml_search 136 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c xmlNode *xml_search = NULL; xml_search 146 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c &xml_search, cib_xpath); xml_search 148 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c assert_null(xml_search); xml_search 70 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c xmlNode *xml_search = NULL; xml_search 82 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c &xml_search, cib_xpath); xml_search 83 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_null(xml_search); xml_search 92 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c &xml_search, cib_xpath); xml_search 93 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_string_equal("1", crm_element_value(xml_search, "owner")); xml_search 94 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c pcmk__xml_free(xml_search); xml_search 102 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c &xml_search, cib_xpath); xml_search 103 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_null(xml_search); xml_search 114 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c xmlNode *xml_search = NULL; xml_search 127 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c &xml_search, cib_xpath); xml_search 129 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_string_equal("1", crm_element_value(xml_search, "owner")); xml_search 130 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_null(crm_element_value(xml_search, "XYZ")); xml_search 132 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c pcmk__xml_free(xml_search); xml_search 142 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c xmlNode *xml_search = NULL; xml_search 154 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c &xml_search, cib_xpath); xml_search 156 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_null(crm_element_value(xml_search, "owner")); xml_search 158 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c pcmk__xml_free(xml_search); xml_search 168 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c xmlNode *xml_search = NULL; xml_search 180 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c &xml_search, cib_xpath); xml_search 182 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_string_equal("true", crm_element_value(xml_search, PCMK__XA_GRANTED)); xml_search 184 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c pcmk__xml_free(xml_search); xml_search 194 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c xmlNode *xml_search = NULL; xml_search 206 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c &xml_search, cib_xpath); xml_search 208 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_null(crm_element_value(xml_search, PCMK__XA_GRANTED)); xml_search 210 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c pcmk__xml_free(xml_search); xml_search 70 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c xmlNode *xml_search = NULL; xml_search 82 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c &xml_search, cib_xpath); xml_search 83 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_null(xml_search); xml_search 91 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c &xml_search, cib_xpath); xml_search 92 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_null(xml_search); xml_search 103 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c xmlNode *xml_search = NULL; xml_search 119 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c &xml_search, cib_xpath); xml_search 121 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("123", crm_element_value(xml_search, "attrA")); xml_search 122 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("456", crm_element_value(xml_search, "attrB")); xml_search 124 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__xml_free(xml_search); xml_search 134 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c xmlNode *xml_search = NULL; xml_search 146 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c &xml_search, cib_xpath); xml_search 148 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("2", crm_element_value(xml_search, "owner")); xml_search 150 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__xml_free(xml_search); xml_search 160 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c xmlNode *xml_search = NULL; xml_search 172 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c &xml_search, cib_xpath); xml_search 174 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("false", crm_element_value(xml_search, PCMK__XA_GRANTED)); xml_search 175 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_null(crm_element_value(xml_search, PCMK_XA_LAST_GRANTED)); xml_search 177 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__xml_free(xml_search); xml_search 187 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c xmlNode *xml_search = NULL; xml_search 199 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c &xml_search, cib_xpath); xml_search 201 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("true", crm_element_value(xml_search, PCMK__XA_GRANTED)); xml_search 202 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_non_null(crm_element_value(xml_search, PCMK_XA_LAST_GRANTED)); xml_search 204 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__xml_free(xml_search); xml_search 214 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c xmlNode *xml_search = NULL; xml_search 226 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c &xml_search, cib_xpath); xml_search 228 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("true", crm_element_value(xml_search, PCMK__XA_GRANTED)); xml_search 229 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_null(crm_element_value(xml_search, PCMK_XA_LAST_GRANTED)); xml_search 231 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__xml_free(xml_search); xml_search 241 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c xmlNode *xml_search = NULL; xml_search 253 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c &xml_search, cib_xpath); xml_search 255 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("false", crm_element_value(xml_search, PCMK__XA_GRANTED)); xml_search 256 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_null(crm_element_value(xml_search, PCMK_XA_LAST_GRANTED)); xml_search 258 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__xml_free(xml_search); xml_search 99 tools/crm_resource_runtime.c xmlNode *xml_search; xml_search 144 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath->str, &xml_search, xml_search 149 tools/crm_resource_runtime.c crm_log_xml_debug(xml_search, "Match"); xml_search 150 tools/crm_resource_runtime.c if (xml_search->children != NULL) { xml_search 152 tools/crm_resource_runtime.c pcmk__warn_multiple_name_matches(out, xml_search, attr_name); xml_search 158 tools/crm_resource_runtime.c *result = xml_search; xml_search 160 tools/crm_resource_runtime.c pcmk__xml_free(xml_search); xml_search 316 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; xml_search 321 tools/crm_resource_runtime.c attr_name, &xml_search); xml_search 326 tools/crm_resource_runtime.c found_attr_id = crm_element_value_copy(xml_search, PCMK_XA_ID); xml_search 339 tools/crm_resource_runtime.c pcmk__xml_free(xml_search); xml_search 343 tools/crm_resource_runtime.c pcmk__xml_free(xml_search); xml_search 423 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; xml_search 429 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &xml_search); xml_search 433 tools/crm_resource_runtime.c found_attr_id = crm_element_value_copy(xml_search, PCMK_XA_ID); xml_search 460 tools/crm_resource_runtime.c pcmk__xml_free(xml_search); xml_search 475 tools/crm_resource_runtime.c pcmk__xml_free(xml_search); xml_search 494 tools/crm_resource_runtime.c attr_set_type = (const char *) xml_search->parent->name; xml_search 498 tools/crm_resource_runtime.c rsc_attr_set = crm_element_value(xml_search->parent, PCMK_XA_ID); xml_search 513 tools/crm_resource_runtime.c pcmk__xml_free(xml_search); xml_search 648 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; xml_search 660 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &xml_search); xml_search 663 tools/crm_resource_runtime.c found_attr_id = crm_element_value_copy(xml_search, PCMK_XA_ID); xml_search 664 tools/crm_resource_runtime.c pcmk__xml_free(xml_search); xml_search 669 tools/crm_resource_runtime.c pcmk__xml_free(xml_search); xml_search 674 tools/crm_resource_runtime.c pcmk__xml_free(xml_search); xml_search 1760 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; xml_search 1768 tools/crm_resource_runtime.c PCMK_META_TARGET_ROLE, &xml_search); xml_search 1771 tools/crm_resource_runtime.c orig_target_role = crm_element_value_copy(xml_search, PCMK_XA_VALUE); xml_search 1774 tools/crm_resource_runtime.c pcmk__xml_free(xml_search);