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 free_xml(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 free_xml(xml_search); xml_search 197 lib/cib/cib_attrs.c free_xml(xml_search); xml_search 204 lib/cib/cib_attrs.c free_xml(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 free_xml(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 free_xml(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 free_xml(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, xml_search 651 lib/cib/cib_attrs.c rc = get_uuid_from_result(xml_search, uuid, is_remote_node); xml_search 656 lib/cib/cib_attrs.c free_xml(xml_search); xml_search 79 lib/pacemaker/pcmk_ticket.c xmlNode *xml_search = NULL; xml_search 93 lib/pacemaker/pcmk_ticket.c rc = cib->cmds->query(cib, xpath, &xml_search, xml_search 98 lib/pacemaker/pcmk_ticket.c crm_log_xml_debug(xml_search, "Match"); xml_search 100 lib/pacemaker/pcmk_ticket.c if (xml_search->children != NULL && ticket_id != NULL) { xml_search 107 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, xml_search 90 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 | cib_scope_local); 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 | cib_scope_local); 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 | cib_scope_local); 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 | cib_scope_local); 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 | cib_scope_local); 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 free_xml(xml_search); xml_search 102 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c &xml_search, cib_xpath | cib_scope_local); 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 | cib_scope_local); 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 free_xml(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 | cib_scope_local); 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 free_xml(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 | cib_scope_local); 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 free_xml(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 | cib_scope_local); 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 free_xml(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 | cib_scope_local); 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 | cib_scope_local); 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 | cib_scope_local); 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 free_xml(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 | cib_scope_local); 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 free_xml(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 | cib_scope_local); 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 free_xml(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 | cib_scope_local); 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 free_xml(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 | cib_scope_local); 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 free_xml(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 | cib_scope_local); 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 free_xml(xml_search); xml_search 89 tools/crm_resource_runtime.c xmlNode *xml_search; xml_search 134 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, xml_search 139 tools/crm_resource_runtime.c crm_log_xml_debug(xml_search, "Match"); xml_search 140 tools/crm_resource_runtime.c if (xml_search->children != NULL) { xml_search 142 tools/crm_resource_runtime.c pcmk__warn_multiple_name_matches(out, xml_search, attr_name); xml_search 148 tools/crm_resource_runtime.c *result = xml_search; xml_search 150 tools/crm_resource_runtime.c free_xml(xml_search); xml_search 279 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; xml_search 284 tools/crm_resource_runtime.c attr_name, &xml_search); xml_search 289 tools/crm_resource_runtime.c found_attr_id = crm_element_value_copy(xml_search, PCMK_XA_ID); xml_search 302 tools/crm_resource_runtime.c free_xml(xml_search); xml_search 306 tools/crm_resource_runtime.c free_xml(xml_search); xml_search 384 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; xml_search 390 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &xml_search); xml_search 394 tools/crm_resource_runtime.c found_attr_id = crm_element_value_copy(xml_search, PCMK_XA_ID); xml_search 422 tools/crm_resource_runtime.c free_xml(xml_search); xml_search 441 tools/crm_resource_runtime.c attr_set_type = (const char *) xml_search->parent->name; xml_search 445 tools/crm_resource_runtime.c rsc_attr_set = crm_element_value(xml_search->parent, PCMK_XA_ID); xml_search 460 tools/crm_resource_runtime.c free_xml(xml_search); xml_search 581 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; xml_search 589 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &xml_search); xml_search 592 tools/crm_resource_runtime.c found_attr_id = crm_element_value_copy(xml_search, PCMK_XA_ID); xml_search 593 tools/crm_resource_runtime.c free_xml(xml_search); xml_search 598 tools/crm_resource_runtime.c free_xml(xml_search); xml_search 603 tools/crm_resource_runtime.c free_xml(xml_search); xml_search 1667 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; xml_search 1675 tools/crm_resource_runtime.c PCMK_META_TARGET_ROLE, &xml_search); xml_search 1678 tools/crm_resource_runtime.c orig_target_role = crm_element_value_copy(xml_search, PCMK_XA_VALUE); xml_search 1681 tools/crm_resource_runtime.c free_xml(xml_search);