xml                25 daemons/attrd/attrd_attributes.c attrd_create_attribute(xmlNode *xml)
xml                29 daemons/attrd/attrd_attributes.c     const char *name = crm_element_value(xml, PCMK__XA_ATTR_NAME);
xml                30 daemons/attrd/attrd_attributes.c     const char *set_type = crm_element_value(xml, PCMK__XA_ATTR_SET_TYPE);
xml                31 daemons/attrd/attrd_attributes.c     const char *dampen_s = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING);
xml                41 daemons/attrd/attrd_attributes.c     crm_element_value_int(xml, PCMK__XA_ATTR_IS_PRIVATE, &is_private);
xml                54 daemons/attrd/attrd_attributes.c     a->set_id = crm_element_value_copy(xml, PCMK__XA_ATTR_SET);
xml                55 daemons/attrd/attrd_attributes.c     a->user = crm_element_value_copy(xml, PCMK__XA_ATTR_USER);
xml                83 daemons/attrd/attrd_attributes.c attrd_update_dampening(attribute_t *a, xmlNode *xml, const char *attr)
xml                85 daemons/attrd/attrd_attributes.c     const char *dvalue = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING);
xml               139 daemons/attrd/attrd_attributes.c     xmlNode *xml = pcmk__xe_create(parent, __func__);
xml               141 daemons/attrd/attrd_attributes.c     crm_xml_add(xml, PCMK__XA_ATTR_NAME, a->id);
xml               142 daemons/attrd/attrd_attributes.c     crm_xml_add(xml, PCMK__XA_ATTR_SET_TYPE, a->set_type);
xml               143 daemons/attrd/attrd_attributes.c     crm_xml_add(xml, PCMK__XA_ATTR_SET, a->set_id);
xml               144 daemons/attrd/attrd_attributes.c     crm_xml_add(xml, PCMK__XA_ATTR_USER, a->user);
xml               145 daemons/attrd/attrd_attributes.c     pcmk__xe_add_node(xml, v->nodename, v->nodeid);
xml               147 daemons/attrd/attrd_attributes.c         crm_xml_add_int(xml, PCMK__XA_ATTR_IS_REMOTE, 1);
xml               149 daemons/attrd/attrd_attributes.c     crm_xml_add(xml, PCMK__XA_ATTR_VALUE, v->current);
xml               150 daemons/attrd/attrd_attributes.c     crm_xml_add_int(xml, PCMK__XA_ATTR_DAMPENING, a->timeout_ms / 1000);
xml               151 daemons/attrd/attrd_attributes.c     crm_xml_add_int(xml, PCMK__XA_ATTR_IS_PRIVATE,
xml               153 daemons/attrd/attrd_attributes.c     crm_xml_add_int(xml, PCMK__XA_ATTRD_IS_FORCE_WRITE, force_write);
xml               155 daemons/attrd/attrd_attributes.c     return xml;
xml               176 daemons/attrd/attrd_attributes.c attrd_populate_attribute(xmlNode *xml, const char *attr)
xml               181 daemons/attrd/attrd_attributes.c     const char *op = crm_element_value(xml, PCMK_XA_TASK);
xml               191 daemons/attrd/attrd_attributes.c             a = attrd_create_attribute(xml);
xml               204 daemons/attrd/attrd_attributes.c         int rc = attrd_update_dampening(a, xml, attr);
xml                40 daemons/attrd/attrd_corosync.c attrd_peer_message(crm_node_t *peer, xmlNode *xml)
xml                42 daemons/attrd/attrd_corosync.c     const char *election_op = crm_element_value(xml, PCMK__XA_CRM_TASK);
xml                45 daemons/attrd/attrd_corosync.c         attrd_handle_election_op(peer, xml);
xml                62 daemons/attrd/attrd_corosync.c             .xml            = xml,
xml                67 daemons/attrd/attrd_corosync.c         request.op = crm_element_value_copy(request.xml, PCMK_XA_TASK);
xml                75 daemons/attrd/attrd_corosync.c         if (pcmk__xe_attr_is_true(xml, PCMK__XA_CONFIRM) &&
xml                84 daemons/attrd/attrd_corosync.c             crm_element_value_int(xml, PCMK__XA_CALL_ID, &callid);
xml               107 daemons/attrd/attrd_corosync.c     xmlNode *xml = NULL;
xml               116 daemons/attrd/attrd_corosync.c         xml = pcmk__xml_parse(data);
xml               119 daemons/attrd/attrd_corosync.c     if (xml == NULL) {
xml               124 daemons/attrd/attrd_corosync.c                            xml);
xml               127 daemons/attrd/attrd_corosync.c     free_xml(xml);
xml               231 daemons/attrd/attrd_corosync.c update_attr_on_host(attribute_t *a, const crm_node_t *peer, const xmlNode *xml,
xml               249 daemons/attrd/attrd_corosync.c     crm_element_value_int(xml, PCMK__XA_ATTR_IS_REMOTE, &is_remote);
xml               303 daemons/attrd/attrd_corosync.c         crm_element_value_int(xml, PCMK__XA_ATTRD_IS_FORCE_WRITE,
xml               323 daemons/attrd/attrd_corosync.c         && (crm_element_value_int(xml, PCMK__XA_ATTR_HOST_ID,
xml               330 daemons/attrd/attrd_corosync.c attrd_peer_update_one(const crm_node_t *peer, xmlNode *xml, bool filter)
xml               333 daemons/attrd/attrd_corosync.c     const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME);
xml               334 daemons/attrd/attrd_corosync.c     const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE);
xml               335 daemons/attrd/attrd_corosync.c     const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST);
xml               342 daemons/attrd/attrd_corosync.c     a = attrd_populate_attribute(xml, attr);
xml               352 daemons/attrd/attrd_corosync.c         pcmk__xe_remove_attr(xml, PCMK__XA_ATTR_HOST_ID);
xml               356 daemons/attrd/attrd_corosync.c             update_attr_on_host(a, peer, xml, attr, value, host, filter);
xml               361 daemons/attrd/attrd_corosync.c         update_attr_on_host(a, peer, xml, attr, value, host, filter);
xml               433 daemons/attrd/attrd_corosync.c     xmlNode *xml = request->xml;
xml               434 daemons/attrd/attrd_corosync.c     const char *rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE);
xml               435 daemons/attrd/attrd_corosync.c     const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST);
xml               436 daemons/attrd/attrd_corosync.c     const char *op = crm_element_value(xml, PCMK__XA_ATTR_CLEAR_OPERATION);
xml               437 daemons/attrd/attrd_corosync.c     const char *interval_spec = crm_element_value(xml,
xml               455 daemons/attrd/attrd_corosync.c     crm_xml_add(xml, PCMK_XA_TASK, PCMK__ATTRD_CMD_UPDATE);
xml               458 daemons/attrd/attrd_corosync.c     pcmk__xe_remove_attr(xml, PCMK__XA_ATTR_VALUE);
xml               465 daemons/attrd/attrd_corosync.c             crm_xml_add(xml, PCMK__XA_ATTR_NAME, attr);
xml               466 daemons/attrd/attrd_corosync.c             attrd_peer_update(peer, xml, host, false);
xml               481 daemons/attrd/attrd_corosync.c attrd_peer_sync_response(const crm_node_t *peer, bool peer_won, xmlNode *xml)
xml               494 daemons/attrd/attrd_corosync.c     for (xmlNode *child = pcmk__xe_first_child(xml, NULL, NULL, NULL);
xml               575 daemons/attrd/attrd_corosync.c attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host,
xml               580 daemons/attrd/attrd_corosync.c     CRM_CHECK((peer != NULL) && (xml != NULL), return);
xml               581 daemons/attrd/attrd_corosync.c     if (xml->children != NULL) {
xml               582 daemons/attrd/attrd_corosync.c         for (xmlNode *child = pcmk__xe_first_child(xml, PCMK_XE_OP, NULL, NULL);
xml               585 daemons/attrd/attrd_corosync.c             pcmk__xe_copy_attrs(child, xml, pcmk__xaf_no_overwrite);
xml               594 daemons/attrd/attrd_corosync.c         attrd_peer_update_one(peer, xml, filter);
xml               596 daemons/attrd/attrd_corosync.c         if (attrd_request_has_sync_point(xml)) {
xml               606 daemons/attrd/attrd_corosync.c         attrd_ack_waitlist_clients(attrd_sync_point_local, xml);
xml                67 daemons/attrd/attrd_elections.c attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml)
xml                72 daemons/attrd/attrd_elections.c     crm_xml_add(xml, PCMK__XA_SRC, peer->uname);
xml                75 daemons/attrd/attrd_elections.c     rc = election_count_vote(writer, xml, !attrd_shutting_down(false));
xml               116 daemons/attrd/attrd_elections.c attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml)
xml               120 daemons/attrd/attrd_elections.c     crm_element_value_int(xml, PCMK__XA_ATTR_WRITER, &peer_state);
xml               178 daemons/attrd/attrd_elections.c attrd_xml_add_writer(xmlNode *xml)
xml               180 daemons/attrd/attrd_elections.c     crm_xml_add_int(xml, PCMK__XA_ATTR_WRITER, election_state(writer));
xml                90 daemons/attrd/attrd_ipc.c     xmlNode *xml = request->xml;
xml                97 daemons/attrd/attrd_ipc.c         attrd_send_message(NULL, xml, false);
xml               102 daemons/attrd/attrd_ipc.c     rsc = crm_element_value(xml, PCMK__XA_ATTR_RESOURCE);
xml               103 daemons/attrd/attrd_ipc.c     op = crm_element_value(xml, PCMK__XA_ATTR_CLEAR_OPERATION);
xml               104 daemons/attrd/attrd_ipc.c     interval_spec = crm_element_value(xml, PCMK__XA_ATTR_CLEAR_INTERVAL);
xml               107 daemons/attrd/attrd_ipc.c     crm_xml_add(xml, PCMK_XA_TASK, PCMK__ATTRD_CMD_UPDATE);
xml               125 daemons/attrd/attrd_ipc.c         crm_xml_add(xml, PCMK__XA_ATTR_REGEX, pattern);
xml               129 daemons/attrd/attrd_ipc.c         crm_xml_add(xml, PCMK__XA_ATTR_REGEX, ATTRD_RE_CLEAR_ALL);
xml               133 daemons/attrd/attrd_ipc.c     pcmk__xe_remove_attr(xml, PCMK__XA_ATTR_NAME);
xml               134 daemons/attrd/attrd_ipc.c     pcmk__xe_remove_attr(xml, PCMK__XA_ATTR_VALUE);
xml               142 daemons/attrd/attrd_ipc.c     xmlNode *xml = request->xml;
xml               145 daemons/attrd/attrd_ipc.c     const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST);
xml               153 daemons/attrd/attrd_ipc.c         crm_element_value_int(xml, PCMK__XA_ATTR_HOST_ID, &nodeid);
xml               168 daemons/attrd/attrd_ipc.c             pcmk__xe_add_node(xml, host, 0);
xml               175 daemons/attrd/attrd_ipc.c         attrd_send_message(NULL, xml, false); /* ends up at attrd_peer_message() */
xml               189 daemons/attrd/attrd_ipc.c     xmlNode *query = request->xml;
xml               233 daemons/attrd/attrd_ipc.c handle_missing_host(xmlNode *xml)
xml               235 daemons/attrd/attrd_ipc.c     const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST);
xml               239 daemons/attrd/attrd_ipc.c         pcmk__xe_add_node(xml, attrd_cluster->uname, attrd_cluster->nodeid);
xml               247 daemons/attrd/attrd_ipc.c expand_regexes(xmlNode *xml, const char *attr, const char *value, const char *regex)
xml               264 daemons/attrd/attrd_ipc.c                 xmlNode *child = pcmk__xe_create(xml, PCMK_XE_OP);
xml               272 daemons/attrd/attrd_ipc.c                 pcmk__xe_copy_attrs(child, xml, pcmk__xaf_no_overwrite);
xml               299 daemons/attrd/attrd_ipc.c     xmlNode *xml = request->xml;
xml               302 daemons/attrd/attrd_ipc.c     const char *attr = crm_element_value(xml, PCMK__XA_ATTR_NAME);
xml               303 daemons/attrd/attrd_ipc.c     const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE);
xml               304 daemons/attrd/attrd_ipc.c     const char *regex = crm_element_value(xml, PCMK__XA_ATTR_REGEX);
xml               306 daemons/attrd/attrd_ipc.c     rc = expand_regexes(xml, attr, value, regex);
xml               324 daemons/attrd/attrd_ipc.c handle_value_expansion(const char **value, xmlNode *xml, const char *op,
xml               338 daemons/attrd/attrd_ipc.c             const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST);
xml               345 daemons/attrd/attrd_ipc.c         crm_xml_add_int(xml, PCMK__XA_ATTR_VALUE, int_value);
xml               348 daemons/attrd/attrd_ipc.c         *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE);
xml               355 daemons/attrd/attrd_ipc.c send_update_msg_to_cluster(pcmk__request_t *request, xmlNode *xml)
xml               357 daemons/attrd/attrd_ipc.c     if (pcmk__str_eq(attrd_request_sync_point(xml), PCMK__VALUE_CLUSTER, pcmk__str_none)) {
xml               363 daemons/attrd/attrd_ipc.c         attrd_send_message(NULL, xml, true); /* ends up at attrd_peer_message() */
xml               372 daemons/attrd/attrd_ipc.c         attrd_send_message(NULL, xml, false); /* ends up at attrd_peer_message() */
xml               384 daemons/attrd/attrd_ipc.c     request->xml = child;
xml               392 daemons/attrd/attrd_ipc.c     xmlNode *xml = NULL;
xml               395 daemons/attrd/attrd_ipc.c     CRM_CHECK((request != NULL) && (request->xml != NULL), return NULL);
xml               397 daemons/attrd/attrd_ipc.c     xml = request->xml;
xml               403 daemons/attrd/attrd_ipc.c     if (xml->children != NULL) {
xml               410 daemons/attrd/attrd_ipc.c             for (xmlNode *child = pcmk__xe_first_child(xml, PCMK_XE_OP, NULL,
xml               426 daemons/attrd/attrd_ipc.c             send_update_msg_to_cluster(request, xml);
xml               433 daemons/attrd/attrd_ipc.c             xmlNode *orig_xml = request->xml;
xml               439 daemons/attrd/attrd_ipc.c             pcmk__xe_foreach_child(xml, PCMK_XE_OP, send_child_update, request);
xml               440 daemons/attrd/attrd_ipc.c             request->xml = orig_xml;
xml               446 daemons/attrd/attrd_ipc.c     attr = crm_element_value(xml, PCMK__XA_ATTR_NAME);
xml               447 daemons/attrd/attrd_ipc.c     value = crm_element_value(xml, PCMK__XA_ATTR_VALUE);
xml               448 daemons/attrd/attrd_ipc.c     regex = crm_element_value(xml, PCMK__XA_ATTR_REGEX);
xml               461 daemons/attrd/attrd_ipc.c     handle_missing_host(xml);
xml               463 daemons/attrd/attrd_ipc.c     if (handle_value_expansion(&value, xml, request->op, attr) == EINVAL) {
xml               470 daemons/attrd/attrd_ipc.c               attr, crm_element_value(xml, PCMK__XA_ATTR_HOST),
xml               473 daemons/attrd/attrd_ipc.c     send_update_msg_to_cluster(request, xml);
xml               556 daemons/attrd/attrd_ipc.c     xmlNode *xml = NULL;
xml               565 daemons/attrd/attrd_ipc.c     xml = pcmk__client_data2xml(client, data, &id, &flags);
xml               567 daemons/attrd/attrd_ipc.c     if (xml == NULL) {
xml               579 daemons/attrd/attrd_ipc.c             .xml            = xml,
xml               585 daemons/attrd/attrd_ipc.c         pcmk__update_acl_user(xml, PCMK__XA_ATTR_USER, client->user);
xml               587 daemons/attrd/attrd_ipc.c         request.op = crm_element_value_copy(request.xml, PCMK_XA_TASK);
xml               594 daemons/attrd/attrd_ipc.c     free_xml(xml);
xml                31 daemons/attrd/attrd_messages.c remove_sync_point_attribute(xmlNode *xml, void *data)
xml                33 daemons/attrd/attrd_messages.c     pcmk__xe_remove_matching_attrs(xml, is_sync_point_attr, NULL);
xml                34 daemons/attrd/attrd_messages.c     pcmk__xe_foreach_child(xml, PCMK_XE_OP, remove_sync_point_attribute, NULL);
xml                46 daemons/attrd/attrd_messages.c     if (request->xml->children != NULL && !ATTRD_SUPPORTS_MULTI_MESSAGE(minimum_protocol_version) &&
xml                47 daemons/attrd/attrd_messages.c         attrd_request_has_sync_point(request->xml)) {
xml                50 daemons/attrd/attrd_messages.c         remove_sync_point_attribute(request->xml, NULL);
xml                78 daemons/attrd/attrd_messages.c         if (attrd_request_has_sync_point(request->xml)) {
xml               109 daemons/attrd/attrd_messages.c         if (crm_element_value_int(request->xml, PCMK__XA_CALL_ID,
xml               152 daemons/attrd/attrd_messages.c         const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_HOST);
xml               155 daemons/attrd/attrd_messages.c         if (pcmk__xe_get_bool_attr(request->xml, PCMK__XA_REAP,
xml               186 daemons/attrd/attrd_messages.c             bool peer_won = attrd_check_for_new_writer(peer, request->xml);
xml               189 daemons/attrd/attrd_messages.c                 attrd_peer_sync_response(peer, peer_won, request->xml);
xml               202 daemons/attrd/attrd_messages.c         const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_HOST);
xml               206 daemons/attrd/attrd_messages.c         attrd_peer_update(peer, request->xml, host, false);
xml               213 daemons/attrd/attrd_messages.c         if (attrd_request_has_sync_point(request->xml)) {
xml                85 daemons/attrd/attrd_sync.c     void *xml;
xml               137 daemons/attrd/attrd_sync.c     const char *sync_point = attrd_request_sync_point(request->xml);
xml               173 daemons/attrd/attrd_sync.c     crm_xml_add_int(request->xml, PCMK__XA_CALL_ID, waitlist_client);
xml               234 daemons/attrd/attrd_sync.c attrd_ack_waitlist_clients(enum attrd_sync_point sync_point, const xmlNode *xml)
xml               243 daemons/attrd/attrd_sync.c     if (crm_element_value_int(xml, PCMK__XA_CALL_ID, &callid) == -1) {
xml               284 daemons/attrd/attrd_sync.c attrd_cluster_sync_point_update(xmlNode *xml)
xml               287 daemons/attrd/attrd_sync.c     attrd_ack_waitlist_clients(attrd_sync_point_cluster, xml);
xml               309 daemons/attrd/attrd_sync.c attrd_request_sync_point(xmlNode *xml)
xml               311 daemons/attrd/attrd_sync.c     CRM_CHECK(xml != NULL, return NULL);
xml               313 daemons/attrd/attrd_sync.c     if (xml->children != NULL) {
xml               314 daemons/attrd/attrd_sync.c         xmlNode *child = pcmk__xe_first_child(xml, PCMK_XE_OP,
xml               324 daemons/attrd/attrd_sync.c         return crm_element_value(xml, PCMK__XA_ATTR_SYNC_POINT);
xml               337 daemons/attrd/attrd_sync.c attrd_request_has_sync_point(xmlNode *xml)
xml               339 daemons/attrd/attrd_sync.c     return attrd_request_sync_point(xml) != NULL;
xml               348 daemons/attrd/attrd_sync.c     free_xml(action->xml);
xml               487 daemons/attrd/attrd_sync.c     if (crm_element_value_int(request->xml, PCMK__XA_CALL_ID, &callid) == -1) {
xml               509 daemons/attrd/attrd_sync.c     action->xml = pcmk__xml_copy(NULL, request->xml);
xml               567 daemons/attrd/attrd_sync.c         action->fn(action->xml);
xml               115 daemons/attrd/pacemaker-attrd.h void attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml);
xml               116 daemons/attrd/pacemaker-attrd.h bool attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml);
xml               119 daemons/attrd/pacemaker-attrd.h void attrd_xml_add_writer(xmlNode *xml);
xml               187 daemons/attrd/pacemaker-attrd.h void attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host,
xml               193 daemons/attrd/pacemaker-attrd.h                               xmlNode *xml);
xml               208 daemons/attrd/pacemaker-attrd.h attribute_t *attrd_populate_attribute(xmlNode *xml, const char *attr);
xml               238 daemons/attrd/pacemaker-attrd.h void attrd_ack_waitlist_clients(enum attrd_sync_point sync_point, const xmlNode *xml);
xml               239 daemons/attrd/pacemaker-attrd.h int attrd_cluster_sync_point_update(xmlNode *xml);
xml               246 daemons/attrd/pacemaker-attrd.h const char *attrd_request_sync_point(xmlNode *xml);
xml               247 daemons/attrd/pacemaker-attrd.h bool attrd_request_has_sync_point(xmlNode *xml);
xml               107 daemons/based/based_notify.c cib_notify_send(const xmlNode *xml)
xml               113 daemons/based/based_notify.c     int rc = pcmk__ipc_prepare_iov(0, xml, 0, &iov, &bytes);
xml               116 daemons/based/based_notify.c         update.msg = xml;
xml               324 daemons/based/pacemaker-based.c     xmlNode *xml = NULL;
xml               332 daemons/based/pacemaker-based.c         xml = pcmk__xml_parse(data);
xml               333 daemons/based/pacemaker-based.c         if (xml == NULL) {
xml               338 daemons/based/pacemaker-based.c         crm_xml_add(xml, PCMK__XA_SRC, from);
xml               339 daemons/based/pacemaker-based.c         cib_peer_callback(xml, NULL);
xml               342 daemons/based/pacemaker-based.c     free_xml(xml);
xml               276 daemons/controld/controld_callbacks.c             const char *task = crm_element_value(down->xml, PCMK_XA_OPERATION);
xml               878 daemons/controld/controld_cib.c     xmlNode *xml = NULL;
xml               895 daemons/controld/controld_cib.c     xml = pcmk__xe_create(update, PCMK__XE_NODE_STATE);
xml               901 daemons/controld/controld_cib.c         pcmk__xe_set_bool_attr(xml, PCMK_XA_REMOTE_NODE, true);
xml               903 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_ID, node_id);
xml               904 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_UNAME, node_name);
xml               905 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_CRM_DEBUG_ORIGIN, __func__);
xml               908 daemons/controld/controld_cib.c     xml = pcmk__xe_create(xml, PCMK__XE_LRM);
xml               909 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_ID, node_id);
xml               912 daemons/controld/controld_cib.c     xml = pcmk__xe_create(xml, PCMK__XE_LRM_RESOURCES);
xml               915 daemons/controld/controld_cib.c     xml = pcmk__xe_create(xml, PCMK__XE_LRM_RESOURCE);
xml               916 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_ID, op->rsc_id);
xml               917 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_CLASS, rsc->standard);
xml               918 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_PROVIDER, rsc->provider);
xml               919 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_TYPE, rsc->type);
xml               927 daemons/controld/controld_cib.c         crm_xml_add_ll(xml, PCMK_OPT_SHUTDOWN_LOCK, (long long) lock_time);
xml               935 daemons/controld/controld_cib.c             crm_xml_add(xml, PCMK__META_CONTAINER, container);
xml               940 daemons/controld/controld_cib.c     controld_add_resource_history_xml(xml, rsc, op, node_name);
xml                41 daemons/controld/controld_corosync.c         xmlNode *xml = pcmk__xml_parse(data);
xml                43 daemons/controld/controld_corosync.c         if (xml == NULL) {
xml                49 daemons/controld/controld_corosync.c         crm_xml_add(xml, PCMK__XA_SRC, from);
xml                61 daemons/controld/controld_corosync.c         crmd_ha_msg_filter(xml);
xml                62 daemons/controld/controld_corosync.c         free_xml(xml);
xml               268 daemons/controld/controld_execd.c     lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task);
xml               672 daemons/controld/controld_execd.c     op = construct_op(lrm_state, input->xml, rsc_id, PCMK_ACTION_DELETE);
xml              1147 daemons/controld/controld_execd.c lrm_op_target(const xmlNode *xml)
xml              1151 daemons/controld/controld_execd.c     if (xml) {
xml              1152 daemons/controld/controld_execd.c         target = crm_element_value(xml, PCMK__META_ON_NODE);
xml              1161 daemons/controld/controld_execd.c fail_lrm_resource(xmlNode *xml, lrm_state_t *lrm_state, const char *user_name,
xml              1166 daemons/controld/controld_execd.c     xmlNode *xml_rsc = pcmk__xe_first_child(xml, PCMK_XE_PRIMITIVE, NULL, NULL);
xml              1178 daemons/controld/controld_execd.c     op = construct_op(lrm_state, xml, pcmk__xe_id(xml_rsc), "asyncmon");
xml              1201 daemons/controld/controld_execd.c         process_lrm_event(lrm_state, op, NULL, xml);
xml              1207 daemons/controld/controld_execd.c         crm_log_xml_warn(xml, "bad input");
xml              1251 daemons/controld/controld_execd.c     xmlNode *params = pcmk__xe_first_child(input->xml, PCMK__XE_ATTRIBUTES,
xml              1340 daemons/controld/controld_execd.c         op = construct_op(lrm_state, input->xml, rsc->id, PCMK_ACTION_DELETE);
xml              1424 daemons/controld/controld_execd.c     const char *target_node = lrm_op_target(input->xml);
xml              1436 daemons/controld/controld_execd.c         synthesize_lrmd_failure(NULL, input->xml, PCMK_EXEC_NOT_CONNECTED,
xml              1456 daemons/controld/controld_execd.c     } else if (input->xml != NULL) {
xml              1457 daemons/controld/controld_execd.c         operation = crm_element_value(input->xml, PCMK_XA_OPERATION);
xml              1468 daemons/controld/controld_execd.c         fail_lrm_resource(input->xml, lrm_state, user_name, from_host,
xml              1488 daemons/controld/controld_execd.c         if (input->xml != NULL) {
xml              1490 daemons/controld/controld_execd.c             raw_target = crm_element_value(input->xml, PCMK__META_ON_NODE);
xml              1497 daemons/controld/controld_execd.c         xmlNode *xml_rsc = pcmk__xe_first_child(input->xml, PCMK_XE_PRIMITIVE,
xml              1508 daemons/controld/controld_execd.c             synthesize_lrmd_failure(lrm_state, input->xml,
xml              1521 daemons/controld/controld_execd.c                        rc, pcmk_strerror(rc), pcmk__xe_id(input->xml));
xml              1530 daemons/controld/controld_execd.c             synthesize_lrmd_failure(lrm_state, input->xml, PCMK_EXEC_ERROR,
xml              1541 daemons/controld/controld_execd.c             synthesize_lrmd_failure(lrm_state, input->xml, PCMK_EXEC_ERROR,
xml              1549 daemons/controld/controld_execd.c                 crm_log_xml_warn(input->xml, "Bad command");
xml              1588 daemons/controld/controld_execd.c                 data = new_metadata_cb_data(rsc, input->xml);
xml              1597 daemons/controld/controld_execd.c                 do_lrm_rsc_op(lrm_state, rsc, input->xml, md);
xml              2264 daemons/controld/controld_execd.c         xmlNode *xml = pcmk__xe_first_child(action_xml, PCMK_XE_PRIMITIVE, NULL,
xml              2267 daemons/controld/controld_execd.c         const char *standard = crm_element_value(xml, PCMK_XA_CLASS);
xml              2268 daemons/controld/controld_execd.c         const char *provider = crm_element_value(xml, PCMK_XA_PROVIDER);
xml              2269 daemons/controld/controld_execd.c         const char *type = crm_element_value(xml, PCMK_XA_TYPE);
xml               429 daemons/controld/controld_fencing.c             task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               432 daemons/controld/controld_fencing.c                 last_action = action->xml;
xml               435 daemons/controld/controld_fencing.c                            action->id, pcmk__xe_id(action->xml));
xml               837 daemons/controld/controld_fencing.c     target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               846 daemons/controld/controld_fencing.c         const char *uuid = crm_element_value(action->xml,
xml               963 daemons/controld/controld_fencing.c     const char *id = pcmk__xe_id(action->xml);
xml               964 daemons/controld/controld_fencing.c     const char *uuid = crm_element_value(action->xml, PCMK__META_ON_NODE_UUID);
xml               965 daemons/controld/controld_fencing.c     const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               981 daemons/controld/controld_fencing.c         crm_log_xml_warn(action->xml, "BadAction");
xml               533 daemons/controld/controld_fsa.c         crm_log_xml_trace(ha_input->xml, "FSA message data");
xml               411 daemons/controld/controld_join_dc.c     generation = join_ack->xml;
xml               517 daemons/controld/controld_join_dc.c             max_generation_xml = pcmk__xml_copy(NULL, join_ack->xml);
xml               719 daemons/controld/controld_join_dc.c     xmlNode *state = join_ack->xml;
xml               170 daemons/controld/controld_lrm.h void remote_ra_process_pseudo(xmlNode *xml);
xml               172 daemons/controld/controld_lrm.h void remote_ra_process_maintenance_nodes(xmlNode *xml);
xml               198 daemons/controld/controld_messages.c     copy->xml = pcmk__xe_first_child(wrapper, NULL, NULL, NULL);
xml               866 daemons/controld/controld_messages.c         xmlNode *xml = pcmk__xe_create(reply_data, PCMK_XE_NODE);
xml               868 daemons/controld/controld_messages.c         crm_xml_add_ll(xml, PCMK_XA_ID, (long long) node->id); // uint32_t
xml               869 daemons/controld/controld_messages.c         crm_xml_add(xml, PCMK_XA_UNAME, node->uname);
xml               870 daemons/controld/controld_messages.c         crm_xml_add(xml, PCMK__XA_IN_CCM, node->state);
xml              1181 daemons/controld/controld_messages.c         xmlNode *xml = pcmk__xe_first_child(wrapper, NULL, NULL, NULL);
xml              1183 daemons/controld/controld_messages.c         remote_ra_process_maintenance_nodes(xml);
xml              1304 daemons/controld/controld_messages.c         fsa_input.xml = pcmk__xe_first_child(wrapper, NULL, NULL, NULL);
xml                21 daemons/controld/controld_messages.h     xmlNode *xml;
xml              1355 daemons/controld/controld_remote_ra.c remote_ra_process_pseudo(xmlNode *xml)
xml              1357 daemons/controld/controld_remote_ra.c     xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE);
xml              1424 daemons/controld/controld_remote_ra.c remote_ra_process_maintenance_nodes(xmlNode *xml)
xml              1426 daemons/controld/controld_remote_ra.c     xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE);
xml               373 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value)
xml               390 daemons/controld/controld_schedulerd.c     xpathObj = xpath_search(xml, xpath_string);
xml               410 daemons/controld/controld_schedulerd.c         configuration = pcmk__xe_first_child(xml, PCMK_XE_CONFIGURATION, NULL,
xml               413 daemons/controld/controld_schedulerd.c             configuration = pcmk__xe_create(xml, PCMK_XE_CONFIGURATION);
xml               432 daemons/controld/controld_schedulerd.c         xml = pcmk__xe_create(cluster_property_set, PCMK_XE_NVPAIR);
xml               434 daemons/controld/controld_schedulerd.c         crm_xml_set_id(xml, "%s-%s",
xml               436 daemons/controld/controld_schedulerd.c         crm_xml_add(xml, PCMK_XA_NAME, attr_name);
xml               437 daemons/controld/controld_schedulerd.c         crm_xml_add(xml, PCMK_XA_VALUE, attr_value);
xml                46 daemons/controld/controld_te_actions.c     const char *task = crm_element_value(pseudo->xml, PCMK_XA_OPERATION);
xml                62 daemons/controld/controld_te_actions.c             cmd = create_request(task, pseudo->xml, node->uname,
xml                68 daemons/controld/controld_te_actions.c         remote_ra_process_maintenance_nodes(pseudo->xml);
xml                71 daemons/controld/controld_te_actions.c         remote_ra_process_pseudo(pseudo->xml);
xml                75 daemons/controld/controld_te_actions.c               crm_element_value(pseudo->xml, PCMK__XA_OPERATION_KEY));
xml               117 daemons/controld/controld_te_actions.c     id = pcmk__xe_id(action->xml);
xml               120 daemons/controld/controld_te_actions.c     task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               123 daemons/controld/controld_te_actions.c     on_node = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               126 daemons/controld/controld_te_actions.c     router_node = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE);
xml               130 daemons/controld/controld_te_actions.c             const char *mode = crm_element_value(action->xml, PCMK__XA_MODE);
xml               168 daemons/controld/controld_te_actions.c     cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL);
xml               220 daemons/controld/controld_te_actions.c     const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               230 daemons/controld/controld_te_actions.c         router_node = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE);
xml               262 daemons/controld/controld_te_actions.c     const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               263 daemons/controld/controld_te_actions.c     const char *task_uuid = crm_element_value(action->xml,
xml               265 daemons/controld/controld_te_actions.c     const char *target_uuid = crm_element_value(action->xml,
xml               270 daemons/controld/controld_te_actions.c     action_rsc = pcmk__xe_first_child(action->xml, PCMK_XE_PRIMITIVE, NULL,
xml               278 daemons/controld/controld_te_actions.c               crm_log_xml_err(action->xml, "Bad:action"); return);
xml               324 daemons/controld/controld_te_actions.c     const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               325 daemons/controld/controld_te_actions.c     const char *task_uuid = crm_element_value(action->xml,
xml               331 daemons/controld/controld_te_actions.c              action->xml->name, action->id, task_uuid, target);
xml               371 daemons/controld/controld_te_actions.c     CRM_ASSERT(action->xml != NULL);
xml               374 daemons/controld/controld_te_actions.c     on_node = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               378 daemons/controld/controld_te_actions.c                       pcmk__xe_id(action->xml), pcmk__s(task, "without task"));
xml               381 daemons/controld/controld_te_actions.c     rsc_op = action->xml;
xml               383 daemons/controld/controld_te_actions.c     task_uuid = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY);
xml               416 daemons/controld/controld_te_actions.c             .xml = rsc_op,
xml               531 daemons/controld/controld_te_actions.c     const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               532 daemons/controld/controld_te_actions.c     const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               543 daemons/controld/controld_te_actions.c     target = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE);
xml               558 daemons/controld/controld_te_actions.c         target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               580 daemons/controld/controld_te_actions.c     const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               581 daemons/controld/controld_te_actions.c     const char *id = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY);
xml               632 daemons/controld/controld_te_actions.c     const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               643 daemons/controld/controld_te_actions.c     target = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE);
xml               656 daemons/controld/controld_te_actions.c         target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               673 daemons/controld/controld_te_actions.c             && (crm_element_value(action->xml, PCMK__META_ON_NODE) != NULL)) {
xml               227 daemons/controld/controld_te_callbacks.c process_resource_updates(const char *node, xmlNode *xml, xmlNode *change,
xml               232 daemons/controld/controld_te_callbacks.c     if (xml == NULL) {
xml               236 daemons/controld/controld_te_callbacks.c     if (pcmk__xe_is(xml, PCMK__XE_LRM)) {
xml               237 daemons/controld/controld_te_callbacks.c         xml = pcmk__xe_first_child(xml, PCMK__XE_LRM_RESOURCES, NULL, NULL);
xml               238 daemons/controld/controld_te_callbacks.c         CRM_CHECK(xml != NULL, return);
xml               241 daemons/controld/controld_te_callbacks.c     CRM_CHECK(pcmk__xe_is(xml, PCMK__XE_LRM_RESOURCES), return);
xml               256 daemons/controld/controld_te_callbacks.c         && (xml->children != NULL) && (xml->children->next != NULL)) {
xml               264 daemons/controld/controld_te_callbacks.c     for (rsc = pcmk__xe_first_child(xml, NULL, NULL, NULL); rsc != NULL;
xml               678 daemons/controld/controld_te_callbacks.c     task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               679 daemons/controld/controld_te_callbacks.c     on_node = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               680 daemons/controld/controld_te_callbacks.c     via_node = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE);
xml               111 daemons/controld/controld_te_events.c                 const char *task = crm_element_value(action->xml,
xml               119 daemons/controld/controld_te_events.c             target_uuid = crm_element_value(action->xml,
xml               121 daemons/controld/controld_te_events.c             router = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE);
xml               135 daemons/controld/controld_te_events.c                 last_action = action->xml;
xml               142 daemons/controld/controld_te_events.c                                crm_element_value(action->xml,
xml               148 daemons/controld/controld_te_events.c                              crm_element_value(action->xml, PCMK__XA_OPERATION_KEY),
xml               323 daemons/controld/controld_te_events.c             task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               328 daemons/controld/controld_te_events.c             task = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY);
xml               334 daemons/controld/controld_te_events.c             target = crm_element_value(action->xml, PCMK__META_ON_NODE_UUID);
xml               358 daemons/controld/controld_te_events.c     op_key = crm_element_value(cancel->xml, PCMK__XA_OPERATION_KEY);
xml               359 daemons/controld/controld_te_events.c     node_name = crm_element_value(cancel->xml, PCMK__META_ON_NODE);
xml               399 daemons/controld/controld_te_events.c                 xpath_ret = xpath_search(match->xml, xpath);
xml               415 daemons/controld/controld_te_events.c                   crm_element_value(match->xml, PCMK__XA_OPERATION_KEY),
xml               362 daemons/controld/controld_throttle.c     xmlNode *xml = NULL;
xml               370 daemons/controld/controld_throttle.c         xml = create_request(CRM_OP_THROTTLE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL);
xml               371 daemons/controld/controld_throttle.c         crm_xml_add_int(xml, PCMK__XA_CRM_LIMIT_MODE, mode);
xml               372 daemons/controld/controld_throttle.c         crm_xml_add_int(xml, PCMK__XA_CRM_LIMIT_MAX, throttle_job_max);
xml               374 daemons/controld/controld_throttle.c         pcmk__cluster_send_message(NULL, crm_msg_crmd, xml);
xml               375 daemons/controld/controld_throttle.c         free_xml(xml);
xml               550 daemons/controld/controld_throttle.c throttle_update(xmlNode *xml)
xml               555 daemons/controld/controld_throttle.c     const char *from = crm_element_value(xml, PCMK__XA_SRC);
xml               557 daemons/controld/controld_throttle.c     crm_element_value_int(xml, PCMK__XA_CRM_LIMIT_MODE, &mode);
xml               558 daemons/controld/controld_throttle.c     crm_element_value_int(xml, PCMK__XA_CRM_LIMIT_MAX, &max);
xml                14 daemons/controld/controld_throttle.h void throttle_update(xmlNode *xml);
xml               127 daemons/controld/controld_transition.c         xmlNode *graph_data = input->xml;
xml               179 daemons/controld/controld_transition.c         if (graph_data != input->xml) {
xml               100 daemons/execd/pacemaker-execd.h void ipc_proxy_forward_client(pcmk__client_t *client, xmlNode *xml);
xml               148 daemons/execd/remoted_proxy.c ipc_proxy_forward_client(pcmk__client_t *ipc_proxy, xmlNode *xml)
xml               150 daemons/execd/remoted_proxy.c     const char *session = crm_element_value(xml, PCMK__XA_LRMD_IPC_SESSION);
xml               151 daemons/execd/remoted_proxy.c     const char *msg_type = crm_element_value(xml, PCMK__XA_LRMD_IPC_OP);
xml               153 daemons/execd/remoted_proxy.c     xmlNode *wrapper = pcmk__xe_first_child(xml, PCMK__XE_LRMD_IPC_MSG, NULL,
xml               205 daemons/execd/remoted_proxy.c         crm_element_value_int(xml, PCMK__XA_LRMD_IPC_MSG_ID, &msg_id);
xml                87 daemons/execd/remoted_schemas.c write_extra_schema_file(xmlNode *xml, void *user_data)
xml                94 daemons/execd/remoted_schemas.c     file = crm_element_value(xml, PCMK_XA_PATH);
xml               106 daemons/execd/remoted_schemas.c     for (xmlNode *child = xml->children; child != NULL; child = child->next) {
xml               424 daemons/fenced/fenced_cib.c             xmlNode *xml;
xml               426 daemons/fenced/fenced_cib.c             xml = create_device_registration_xml(
xml               435 daemons/fenced/fenced_cib.c             rc = stonith_device_register(xml, TRUE);
xml               436 daemons/fenced/fenced_cib.c             free_xml(xml);
xml               899 daemons/fenced/fenced_commands.c is_nodeid_required(xmlNode * xml)
xml               907 daemons/fenced/fenced_commands.c     if (!xml) {
xml               911 daemons/fenced/fenced_commands.c     xpath = xpath_search(xml,
xml              1670 daemons/fenced/fenced_commands.c unpack_level_request(xmlNode *xml, enum fenced_target_by *mode, char **target,
xml              1681 daemons/fenced/fenced_commands.c     if ((xml != NULL) && !pcmk__xe_is(xml, PCMK_XE_FENCING_LEVEL)) {
xml              1682 daemons/fenced/fenced_commands.c         xml = get_xpath_object("//" PCMK_XE_FENCING_LEVEL, xml, LOG_WARNING);
xml              1685 daemons/fenced/fenced_commands.c     if (xml == NULL) {
xml              1690 daemons/fenced/fenced_commands.c         local_mode = unpack_level_kind(xml);
xml              1691 daemons/fenced/fenced_commands.c         local_target = stonith_level_key(xml, local_mode);
xml              1692 daemons/fenced/fenced_commands.c         crm_element_value_int(xml, PCMK_XA_INDEX, &local_id);
xml              1711 daemons/fenced/fenced_commands.c     return xml;
xml              2305 daemons/fenced/fenced_commands.c add_action_specific_attributes(xmlNode *xml, const char *action,
xml              2313 daemons/fenced/fenced_commands.c     CRM_CHECK(xml && action && device, return);
xml              2318 daemons/fenced/fenced_commands.c         crm_xml_add_int(xml, PCMK__XA_ST_REQUIRED, 1);
xml              2326 daemons/fenced/fenced_commands.c         crm_xml_add_int(xml, PCMK__XA_ST_ACTION_TIMEOUT,
xml              2334 daemons/fenced/fenced_commands.c         crm_xml_add_int(xml, PCMK__XA_ST_DELAY_MAX, delay_max);
xml              2339 daemons/fenced/fenced_commands.c         crm_xml_add_int(xml, PCMK__XA_ST_DELAY_BASE, delay_base);
xml              2366 daemons/fenced/fenced_commands.c add_disallowed(xmlNode *xml, const char *action, const stonith_device_t *device,
xml              2372 daemons/fenced/fenced_commands.c         pcmk__xe_set_bool_attr(xml, PCMK__XA_ST_ACTION_DISALLOWED, true);
xml              2387 daemons/fenced/fenced_commands.c add_action_reply(xmlNode *xml, const char *action,
xml              2391 daemons/fenced/fenced_commands.c     xmlNode *child = pcmk__xe_create(xml, PCMK__XE_ST_DEVICE_ACTION);
xml              3204 daemons/fenced/fenced_commands.c     execute_agent_action(request->xml, &request->result);
xml              3208 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3215 daemons/fenced/fenced_commands.c     const char *call_id = crm_element_value(request->xml, PCMK__XA_ST_CALLID);
xml              3216 daemons/fenced/fenced_commands.c     const char *client_id = crm_element_value(request->xml,
xml              3220 daemons/fenced/fenced_commands.c     crm_element_value_int(request->xml, PCMK__XA_ST_TIMEOUT, &op_timeout);
xml              3234 daemons/fenced/fenced_commands.c     const char *client_id = crm_element_value(request->xml,
xml              3240 daemons/fenced/fenced_commands.c         create_remote_stonith_op(client_id, request->xml, TRUE);
xml              3244 daemons/fenced/fenced_commands.c     remove_relay_op(request->xml);
xml              3248 daemons/fenced/fenced_commands.c     dev = get_xpath_object("//@" PCMK__XE_ST_DEVICE_ACTION, request->xml,
xml              3260 daemons/fenced/fenced_commands.c     crm_log_xml_trace(request->xml, "Query");
xml              3264 daemons/fenced/fenced_commands.c     query->reply = fenced_construct_reply(request->xml, NULL, &request->result);
xml              3271 daemons/fenced/fenced_commands.c     crm_element_value_int(request->xml, PCMK__XA_ST_TIMEOUT, &timeout);
xml              3285 daemons/fenced/fenced_commands.c     flag_name = crm_element_value(request->xml, PCMK__XA_ST_NOTIFY_ACTIVATE);
xml              3292 daemons/fenced/fenced_commands.c     flag_name = crm_element_value(request->xml, PCMK__XA_ST_NOTIFY_DEACTIVATE);
xml              3311 daemons/fenced/fenced_commands.c     xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, request->xml,
xml              3321 daemons/fenced/fenced_commands.c     if (initiate_remote_stonith_op(NULL, request->xml, FALSE) == NULL) {
xml              3323 daemons/fenced/fenced_commands.c         return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3335 daemons/fenced/fenced_commands.c         fence_locally(request->xml, &request->result);
xml              3339 daemons/fenced/fenced_commands.c                                                   request->xml)) {
xml              3355 daemons/fenced/fenced_commands.c         xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, request->xml,
xml              3371 daemons/fenced/fenced_commands.c                 return fenced_construct_reply(request->xml, NULL,
xml              3389 daemons/fenced/fenced_commands.c                 client_id = crm_element_value(request->xml,
xml              3399 daemons/fenced/fenced_commands.c             op = create_remote_stonith_op(client_id, request->xml, FALSE);
xml              3401 daemons/fenced/fenced_commands.c             crm_xml_add(request->xml, PCMK__XA_ST_OP, STONITH_OP_RELAY);
xml              3402 daemons/fenced/fenced_commands.c             crm_xml_add(request->xml, PCMK__XA_ST_CLIENTID,
xml              3404 daemons/fenced/fenced_commands.c             crm_xml_add(request->xml, PCMK__XA_ST_REMOTE_OP, op->id);
xml              3405 daemons/fenced/fenced_commands.c             pcmk__cluster_send_message(node, crm_msg_stonith_ng, request->xml);
xml              3409 daemons/fenced/fenced_commands.c         } else if (initiate_remote_stonith_op(request->ipc_client, request->xml,
xml              3422 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3432 daemons/fenced/fenced_commands.c     stonith_fence_history(request->xml, &data, request->peer,
xml              3439 daemons/fenced/fenced_commands.c         reply = fenced_construct_reply(request->xml, data, &request->result);
xml              3449 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
xml              3450 daemons/fenced/fenced_commands.c     xmlNode *dev = get_xpath_object("//" PCMK__XE_ST_DEVICE_ID, request->xml,
xml              3467 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3474 daemons/fenced/fenced_commands.c     xmlNode *dev = get_xpath_object("//" PCMK__XE_ST_DEVICE_ID, request->xml,
xml              3477 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
xml              3488 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3496 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
xml              3499 daemons/fenced/fenced_commands.c         fenced_register_level(request->xml, &desc, &request->result);
xml              3501 daemons/fenced/fenced_commands.c         unpack_level_request(request->xml, NULL, NULL, NULL, &desc);
xml              3508 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3516 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
xml              3519 daemons/fenced/fenced_commands.c         fenced_unregister_level(request->xml, &desc, &request->result);
xml              3521 daemons/fenced/fenced_commands.c         unpack_level_request(request->xml, NULL, NULL, NULL, &desc);
xml              3528 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3538 daemons/fenced/fenced_commands.c     crm_element_value_int(request->xml, PCMK_XA_ID, &node_id);
xml              3539 daemons/fenced/fenced_commands.c     name = crm_element_value(request->xml, PCMK_XA_UNAME);
xml              3553 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3694 daemons/fenced/fenced_commands.c             .xml            = message,
xml              3699 daemons/fenced/fenced_commands.c         request.op = crm_element_value_copy(request.xml, PCMK__XA_ST_OP);
xml               512 daemons/fenced/fenced_remote.c delegate_from_xml(xmlNode *xml)
xml               514 daemons/fenced/fenced_remote.c     xmlNode *match = get_xpath_object("//@" PCMK__XA_ST_DELEGATE, xml,
xml               518 daemons/fenced/fenced_remote.c         return crm_element_value_copy(xml, PCMK__XA_SRC);
xml              2158 daemons/fenced/fenced_remote.c parse_action_specific(const xmlNode *xml, const char *peer, const char *device,
xml              2163 daemons/fenced/fenced_remote.c     crm_element_value_int(xml, PCMK__XA_ST_ACTION_TIMEOUT,
xml              2171 daemons/fenced/fenced_remote.c     crm_element_value_int(xml, PCMK__XA_ST_DELAY_MAX, &props->delay_max[phase]);
xml              2178 daemons/fenced/fenced_remote.c     crm_element_value_int(xml, PCMK__XA_ST_DELAY_BASE,
xml              2189 daemons/fenced/fenced_remote.c         crm_element_value_int(xml, PCMK__XA_ST_REQUIRED, &required);
xml              2200 daemons/fenced/fenced_remote.c     if (pcmk__xe_attr_is_true(xml, PCMK__XA_ST_ACTION_DISALLOWED)) {
xml              2217 daemons/fenced/fenced_remote.c add_device_properties(const xmlNode *xml, remote_fencing_op_t *op,
xml              2230 daemons/fenced/fenced_remote.c     crm_element_value_int(xml, PCMK__XA_ST_MONITOR_VERIFIED, &verified);
xml              2237 daemons/fenced/fenced_remote.c     crm_element_value_int(xml, PCMK__XA_ST_DEVICE_SUPPORT_FLAGS, &flags);
xml              2241 daemons/fenced/fenced_remote.c     parse_action_specific(xml, peer->host, device, op_requested_action(op),
xml              2243 daemons/fenced/fenced_remote.c     for (child = pcmk__xe_first_child(xml, NULL, NULL, NULL); child != NULL;
xml              2274 daemons/fenced/fenced_remote.c            const xmlNode *xml)
xml              2284 daemons/fenced/fenced_remote.c     for (child = pcmk__xe_first_child(xml, NULL, NULL, NULL); child != NULL;
xml               113 daemons/fenced/fenced_scheduler.c     xmlNode *xml = NULL;
xml               134 daemons/fenced/fenced_scheduler.c     rclass = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml               179 daemons/fenced/fenced_scheduler.c     agent = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml               197 daemons/fenced/fenced_scheduler.c     xml = create_device_registration_xml(pcmk__s(rsc->clone_name, rsc->id),
xml               201 daemons/fenced/fenced_scheduler.c     CRM_ASSERT(stonith_device_register(xml, TRUE) == pcmk_ok);
xml               202 daemons/fenced/fenced_scheduler.c     free_xml(xml);
xml               194 daemons/fenced/pacemaker-fenced.c     xmlNode *xml = NULL;
xml               202 daemons/fenced/pacemaker-fenced.c         xml = pcmk__xml_parse(data);
xml               203 daemons/fenced/pacemaker-fenced.c         if (xml == NULL) {
xml               208 daemons/fenced/pacemaker-fenced.c         crm_xml_add(xml, PCMK__XA_SRC, from);
xml               209 daemons/fenced/pacemaker-fenced.c         stonith_peer_callback(xml, NULL);
xml               212 daemons/fenced/pacemaker-fenced.c     free_xml(xml);
xml                40 daemons/pacemakerd/pcmkd_messages.c     xmlNode *msg = request->xml;
xml                99 daemons/pacemakerd/pcmkd_messages.c     xmlNode *msg = request->xml;
xml               236 daemons/pacemakerd/pcmkd_messages.c             .xml            = msg,
xml               241 daemons/pacemakerd/pcmkd_messages.c         request.op = crm_element_value_copy(request.xml, PCMK__XA_CRM_TASK);
xml                59 daemons/schedulerd/schedulerd_messages.c     xmlNode *msg = request->xml;
xml               274 daemons/schedulerd/schedulerd_messages.c             .xml            = msg,
xml               279 daemons/schedulerd/schedulerd_messages.c         request.op = crm_element_value_copy(request.xml, PCMK__XA_CRM_TASK);
xml                67 include/crm/cluster/compat.h void set_uuid(xmlNode *xml, const char *attr, crm_node_t *node);
xml                26 include/crm/common/acl.h bool xml_acl_enabled(const xmlNode *xml);
xml                27 include/crm/common/acl.h void xml_acl_disable(xmlNode *xml);
xml                28 include/crm/common/acl.h bool xml_acl_denied(const xmlNode *xml);
xml                29 include/crm/common/acl.h bool xml_acl_filtered_copy(const char *user, xmlNode* acl_source, xmlNode *xml,
xml                32 include/crm/common/acl_internal.h bool pcmk__check_acl(xmlNode *xml, const char *name,
xml                33 include/crm/common/history_internal.h pcmk__xe_history_key(const xmlNode *xml)
xml                35 include/crm/common/history_internal.h     if (xml == NULL) {
xml                42 include/crm/common/history_internal.h         const char *key = crm_element_value(xml, PCMK__XA_OPERATION_KEY);
xml                44 include/crm/common/history_internal.h         return pcmk__str_empty(key)? pcmk__xe_id(xml) : key;
xml                75 include/crm/common/internal.h void pcmk__xe_add_node(xmlNode *xml, const char *node, int nodeid);
xml               132 include/crm/common/logging.h                      const xmlNode *xml);
xml               268 include/crm/common/logging.h #define do_crm_log_xml(level, text, xml) do {                           \
xml               284 include/crm/common/logging.h                                     _level, text, (xml));               \
xml               406 include/crm/common/logging.h #define crm_log_xml_crit(xml, text)    do_crm_log_xml(LOG_CRIT,    text, xml)
xml               407 include/crm/common/logging.h #define crm_log_xml_err(xml, text)     do_crm_log_xml(LOG_ERR,     text, xml)
xml               408 include/crm/common/logging.h #define crm_log_xml_warn(xml, text)    do_crm_log_xml(LOG_WARNING, text, xml)
xml               409 include/crm/common/logging.h #define crm_log_xml_notice(xml, text)  do_crm_log_xml(LOG_NOTICE,  text, xml)
xml               410 include/crm/common/logging.h #define crm_log_xml_info(xml, text)    do_crm_log_xml(LOG_INFO,    text, xml)
xml               411 include/crm/common/logging.h #define crm_log_xml_debug(xml, text)   do_crm_log_xml(LOG_DEBUG,   text, xml)
xml               412 include/crm/common/logging.h #define crm_log_xml_trace(xml, text)   do_crm_log_xml(LOG_TRACE,   text, xml)
xml               414 include/crm/common/logging.h #define crm_log_xml_explicit(xml, text)  do {                   \
xml               420 include/crm/common/logging.h             do_crm_log_xml(LOG_TRACE,   text, xml);             \
xml                83 include/crm/common/logging_compat.h void pcmk_log_xml_impl(uint8_t level, const char *text, const xmlNode *xml);
xml               162 include/crm/common/logging_internal.h #define pcmk__log_xml_changes(level, xml) do {                              \
xml               178 include/crm/common/logging_internal.h                                              0, _level, xml);               \
xml               217 include/crm/common/logging_internal.h                               const xmlNode *xml);
xml                45 include/crm/common/messages_internal.h     xmlNode *xml;                   // Request XML
xml                37 include/crm/common/nvpair.h GSList *pcmk_xml_attrs2nvpairs(const xmlNode *xml);
xml                38 include/crm/common/nvpair.h void pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml);
xml                52 include/crm/common/nvpair.h const char *crm_xml_add_timeval(xmlNode *xml, const char *name_sec,
xml                60 include/crm/common/nvpair.h int crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest);
xml                57 include/crm/common/nvpair_internal.h int pcmk__xe_get_datetime(const xmlNode *xml, const char *attr, crm_time_t **t);
xml               905 include/crm/common/output_internal.h int pcmk__xml_output_new(pcmk__output_t **out, xmlNodePtr *xml);
xml               906 include/crm/common/output_internal.h void pcmk__xml_output_finish(pcmk__output_t *out, crm_exit_t exit_status, xmlNodePtr *xml);
xml               400 include/crm/common/resources.h     xmlNode *xml;
xml                35 include/crm/common/rules_internal.h int pcmk__evaluate_rules(xmlNode *xml, const pcmk_rule_input_t *rule_input,
xml                27 include/crm/common/schemas.h pcmk_update_configured_schema(xmlNode **xml);
xml                32 include/crm/common/schemas_internal.h bool pcmk__configured_schema_validates(xmlNode *xml);
xml                33 include/crm/common/schemas_internal.h int pcmk__update_schema(xmlNode **xml, const char *max_schema_name,
xml                37 include/crm/common/schemas_internal.h int pcmk__update_configured_schema(xmlNode **xml, bool to_logs);
xml                51 include/crm/common/unittest_internal.h void pcmk__assert_validates(xmlNode *xml);
xml                66 include/crm/common/xml.h void pcmk_free_xml_subtree(xmlNode *xml);
xml                73 include/crm/common/xml.h void crm_foreach_xpath_result(xmlNode *xml, const char *xpath,
xml                89 include/crm/common/xml.h bool xml_tracking_changes(xmlNode * xml);
xml                90 include/crm/common/xml.h bool xml_document_dirty(xmlNode *xml);
xml                91 include/crm/common/xml.h void xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls);
xml                94 include/crm/common/xml.h void xml_accept_changes(xmlNode * xml);
xml                99 include/crm/common/xml.h int xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version);
xml               104 include/crm/common/xml.h void crm_xml_set_id(xmlNode *xml, const char *format, ...) G_GNUC_PRINTF(2, 3);
xml                45 include/crm/common/xml_compat.h char *xml_get_path(const xmlNode *xml);
xml                48 include/crm/common/xml_compat.h void xml_log_changes(uint8_t level, const char *function, const xmlNode *xml);
xml                51 include/crm/common/xml_compat.h void xml_log_patchset(uint8_t level, const char *function, const xmlNode *xml);
xml                72 include/crm/common/xml_compat.h crm_element_name(const xmlNode *xml)
xml                74 include/crm/common/xml_compat.h     return (xml == NULL)? NULL : (const char *) xml->name;
xml               146 include/crm/common/xml_compat.h gboolean add_message_xml(xmlNode *msg, const char *field, xmlNode *xml);
xml               173 include/crm/common/xml_compat.h gboolean cli_config_update(xmlNode **xml, int *best_version, gboolean to_logs);
xml               177 include/crm/common/xml_compat.h crm_map_element_name(const xmlNode *xml)
xml               179 include/crm/common/xml_compat.h     if (xml == NULL) {
xml               181 include/crm/common/xml_compat.h     } else if (strcmp((const char *) xml->name, "master") == 0) {
xml               185 include/crm/common/xml_compat.h         return (const char *) xml->name;
xml               170 include/crm/common/xml_internal.h int pcmk__xml_show_changes(pcmk__output_t *out, const xmlNode *xml);
xml               214 include/crm/common/xml_internal.h void pcmk__strip_xml_text(xmlNode *xml);
xml               222 include/crm/common/xml_internal.h bool pcmk__xe_remove_attr_cb(xmlNode *xml, void *user_data);
xml               226 include/crm/common/xml_internal.h int pcmk__xe_delete_match(xmlNode *xml, xmlNode *search);
xml               227 include/crm/common/xml_internal.h int pcmk__xe_replace_match(xmlNode *xml, xmlNode *replace);
xml               228 include/crm/common/xml_internal.h int pcmk__xe_update_match(xmlNode *xml, xmlNode *update, uint32_t flags);
xml               230 include/crm/common/xml_internal.h GString *pcmk__element_xpath(const xmlNode *xml);
xml               346 include/crm/common/xml_internal.h pcmk__xe_id(const xmlNode *xml)
xml               348 include/crm/common/xml_internal.h     return crm_element_value(xml, PCMK_XA_ID);
xml               361 include/crm/common/xml_internal.h pcmk__xe_is(const xmlNode *xml, const char *name)
xml               363 include/crm/common/xml_internal.h     return (xml != NULL) && (xml->name != NULL) && (name != NULL)
xml               364 include/crm/common/xml_internal.h            && (strcmp((const char *) xml->name, name) == 0);
xml               541 include/crm/common/xml_internal.h void pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag);
xml               564 include/crm/common/xml_internal.h pcmk__xe_foreach_child(xmlNode *xml, const char *child_element_name,
xml               565 include/crm/common/xml_internal.h                        int (*handler)(xmlNode *xml, void *userdata),
xml               568 include/crm/common/xml_internal.h bool pcmk__xml_tree_foreach(xmlNode *xml, bool (*fn)(xmlNode *, void *),
xml               583 include/crm/common/xml_internal.h pcmk__map_element_name(const xmlNode *xml)
xml               585 include/crm/common/xml_internal.h     if (xml == NULL) {
xml               587 include/crm/common/xml_internal.h     } else if (pcmk__xe_is(xml, PCMK__XE_PROMOTABLE_LEGACY)) {
xml               590 include/crm/common/xml_internal.h         return (const char *) xml->name;
xml                37 include/crm/common/xml_io.h void save_xml_to_file(const xmlNode *xml, const char *desc,
xml                39 include/crm/common/xml_io_compat.h int write_xml_fd(const xmlNode *xml, const char *filename, int fd,
xml                43 include/crm/common/xml_io_compat.h int write_xml_file(const xmlNode *xml, const char *filename, gboolean compress);
xml                46 include/crm/common/xml_io_compat.h char *dump_xml_formatted(const xmlNode *xml);
xml                49 include/crm/common/xml_io_compat.h char *dump_xml_formatted_with_text(const xmlNode *xml);
xml                52 include/crm/common/xml_io_compat.h char *dump_xml_unformatted(const xmlNode *xml);
xml                29 include/crm/common/xml_io_internal.h int pcmk__xml_write_fd(const xmlNode *xml, const char *filename, int fd,
xml                31 include/crm/common/xml_io_internal.h int pcmk__xml_write_file(const xmlNode *xml, const char *filename,
xml                64 include/crm/fencing/internal.h void stonith__xe_set_result(xmlNode *xml, const pcmk__action_result_t *result);
xml                65 include/crm/fencing/internal.h void stonith__xe_get_result(const xmlNode *xml, pcmk__action_result_t *result);
xml                66 include/crm/fencing/internal.h xmlNode *stonith__find_xe_with_result(xmlNode *xml);
xml               358 include/crm/pengine/internal.h const char *pe__add_bundle_remote_name(pcmk_resource_t *rsc, xmlNode *xml,
xml                21 include/crm/pengine/remote_internal.h bool xml_contains_remote_node(xmlNode *xml);
xml                95 include/pacemaker.h int pcmk_controller_status(xmlNodePtr *xml, const char *node_name,
xml               110 include/pacemaker.h int pcmk_designated_controller(xmlNodePtr *xml,
xml               151 include/pacemaker.h int pcmk_query_node_info(xmlNodePtr *xml, uint32_t *node_id, char **node_name,
xml               175 include/pacemaker.h pcmk_query_node_name(xmlNodePtr *xml, uint32_t node_id, char **node_name,
xml               178 include/pacemaker.h     return pcmk_query_node_info(xml, &node_id, node_name, NULL, NULL, NULL,
xml               195 include/pacemaker.h int pcmk_pacemakerd_status(xmlNodePtr *xml, const char *ipc_name,
xml               210 include/pacemaker.h int pcmk_resource_delete(xmlNodePtr *xml, const char *rsc_id, const char *rsc_type);
xml               222 include/pacemaker.h int pcmk_resource_digests(xmlNodePtr *xml, pcmk_resource_t *rsc,
xml               253 include/pacemaker.h int pcmk_simulate(xmlNodePtr *xml, pcmk_scheduler_t *scheduler,
xml               273 include/pacemaker.h int pcmk_verify(xmlNodePtr *xml, const char *cib_source);
xml               283 include/pacemaker.h int pcmk_list_nodes(xmlNodePtr *xml, const char *node_types);
xml               292 include/pacemaker.h int pcmk_status(xmlNodePtr *xml);
xml               306 include/pacemaker.h int pcmk_check_rules(xmlNodePtr *xml, xmlNodePtr input, const crm_time_t *date,
xml               321 include/pacemaker.h pcmk_check_rule(xmlNodePtr *xml, xmlNodePtr input, const crm_time_t *date,
xml               325 include/pacemaker.h     return pcmk_check_rules(xml, input, date, rule_ids);
xml               351 include/pacemaker.h int pcmk_show_result_code(xmlNodePtr *xml, int code, enum pcmk_result_type type,
xml               365 include/pacemaker.h int pcmk_list_result_codes(xmlNodePtr *xml, enum pcmk_result_type type,
xml               376 include/pacemaker.h int pcmk_list_alternatives(xmlNodePtr *xml, const char *agent_spec);
xml               386 include/pacemaker.h int pcmk_list_agents(xmlNodePtr *xml, char *agent_spec);
xml               396 include/pacemaker.h int pcmk_list_providers(xmlNodePtr *xml, const char *agent_spec);
xml               405 include/pacemaker.h int pcmk_list_standards(xmlNodePtr *xml);
xml               418 include/pacemaker.h int pcmk_list_cluster_options(xmlNode **xml, bool all);
xml               433 include/pacemaker.h int pcmk_list_fencing_params(xmlNode **xml, bool all);
xml               445 include/pacemaker.h int pcmk_list_primitive_meta(xmlNode **xml, bool all);
xml               456 include/pacemaker.h int pcmk_ticket_constraints(xmlNodePtr *xml, const char *ticket_id);
xml               469 include/pacemaker.h int pcmk_ticket_delete(xmlNodePtr *xml, const char *ticket_id, bool force);
xml               482 include/pacemaker.h int pcmk_ticket_get_attr(xmlNodePtr *xml, const char *ticket_id,
xml               494 include/pacemaker.h int pcmk_ticket_info(xmlNodePtr *xml, const char *ticket_id);
xml               508 include/pacemaker.h int pcmk_ticket_remove_attr(xmlNodePtr *xml, const char *ticket_id, GList *attr_delete,
xml               528 include/pacemaker.h int pcmk_ticket_set_attr(xmlNodePtr *xml, const char *ticket_id, GHashTable *attr_set,
xml               543 include/pacemaker.h int pcmk_ticket_state(xmlNodePtr *xml, const char *ticket_id);
xml               589 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, const char *target,
xml               603 include/pacemaker.h int pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout);
xml               615 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid);
xml               628 include/pacemaker.h int pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st,
xml               645 include/pacemaker.h int pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, const char *agent,
xml               659 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, const char *target,
xml               705 include/pacemaker.h int pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent,
xml                78 include/pcmki/pcmki_transition.h     xmlNode *xml;
xml               265 lib/cib/cib_utils.c cib_acl_enabled(xmlNode *xml, const char *user)
xml               273 lib/cib/cib_utils.c         cib_read_config(options, xml);
xml               471 lib/cluster/cluster.c set_uuid(xmlNode *xml, const char *attr, crm_node_t *node)
xml               473 lib/cluster/cluster.c     crm_xml_add(xml, attr, pcmk__cluster_node_uuid(node));
xml                49 lib/common/acl.c create_acl(const xmlNode *xml, GList *acls, enum xml_private_flags mode)
xml                53 lib/common/acl.c     const char *tag = crm_element_value(xml, PCMK_XA_OBJECT_TYPE);
xml                54 lib/common/acl.c     const char *ref = crm_element_value(xml, PCMK_XA_REFERENCE);
xml                55 lib/common/acl.c     const char *xpath = crm_element_value(xml, PCMK_XA_XPATH);
xml                56 lib/common/acl.c     const char *attr = crm_element_value(xml, PCMK_XA_ATTRIBUTE);
xml                60 lib/common/acl.c         tag = crm_element_value(xml, PCMK_XA_TAG);
xml                64 lib/common/acl.c         ref = crm_element_value(xml, PCMK__XA_REF);
xml                70 lib/common/acl.c                   xml->name);
xml                80 lib/common/acl.c                   xml->name, acl->xpath);
xml               105 lib/common/acl.c                   xml->name, acl->xpath);
xml               230 lib/common/acl.c pcmk__apply_acl(xmlNode *xml)
xml               233 lib/common/acl.c     xml_doc_private_t *docpriv = xml->doc->_private;
xml               237 lib/common/acl.c     if (!xml_acl_enabled(xml)) {
xml               247 lib/common/acl.c         xpathObj = xpath_search(xml, acl->xpath);
xml               393 lib/common/acl.c purge_xml_attributes(xmlNode *xml)
xml               398 lib/common/acl.c     xml_node_private_t *nodepriv = xml->_private;
xml               402 lib/common/acl.c                   xml->name, pcmk__xe_id(xml));
xml               406 lib/common/acl.c     xIter = xml->properties;
xml               416 lib/common/acl.c         xmlUnsetProp(xml, tmp->name);
xml               419 lib/common/acl.c     child = pcmk__xml_first_child(xml);
xml               428 lib/common/acl.c         free_xml(xml); /* Nothing readable under here, purge completely */
xml               445 lib/common/acl.c xml_acl_filtered_copy(const char *user, xmlNode *acl_source, xmlNode *xml,
xml               453 lib/common/acl.c     if ((xml == NULL) || !pcmk_acl_required(user)) {
xml               460 lib/common/acl.c     target = pcmk__xml_copy(NULL, xml);
xml               533 lib/common/acl.c implicitly_allowed(const xmlNode *xml)
xml               537 lib/common/acl.c     for (xmlAttr *prop = xml->properties; prop != NULL; prop = prop->next) {
xml               543 lib/common/acl.c     path = pcmk__element_xpath(xml);
xml               555 lib/common/acl.c #define display_id(xml) pcmk__s(pcmk__xe_id(xml), "<unset>")
xml               573 lib/common/acl.c pcmk__apply_creation_acl(xmlNode *xml, bool check_top)
xml               575 lib/common/acl.c     xml_node_private_t *nodepriv = xml->_private;
xml               578 lib/common/acl.c         if (implicitly_allowed(xml)) {
xml               581 lib/common/acl.c                       xml->name, display_id(xml));
xml               583 lib/common/acl.c         } else if (pcmk__check_acl(xml, NULL, pcmk__xf_acl_write)) {
xml               585 lib/common/acl.c                       xml->name, display_id(xml));
xml               589 lib/common/acl.c                       PCMK_XA_ID "=\"%s\"", xml->name, display_id(xml));
xml               590 lib/common/acl.c             pcmk_free_xml_subtree(xml);
xml               596 lib/common/acl.c                        ((xml == xmlDocGetRootElement(xml->doc))? "root element " : ""),
xml               597 lib/common/acl.c                        xml->name, display_id(xml));
xml               601 lib/common/acl.c     for (xmlNode *cIter = pcmk__xml_first_child(xml); cIter != NULL; ) {
xml               616 lib/common/acl.c xml_acl_denied(const xmlNode *xml)
xml               618 lib/common/acl.c     if (xml && xml->doc && xml->doc->_private){
xml               619 lib/common/acl.c         xml_doc_private_t *docpriv = xml->doc->_private;
xml               627 lib/common/acl.c xml_acl_disable(xmlNode *xml)
xml               629 lib/common/acl.c     if (xml_acl_enabled(xml)) {
xml               630 lib/common/acl.c         xml_doc_private_t *docpriv = xml->doc->_private;
xml               633 lib/common/acl.c         pcmk__apply_acl(xml);
xml               634 lib/common/acl.c         pcmk__apply_creation_acl(xml, false);
xml               647 lib/common/acl.c xml_acl_enabled(const xmlNode *xml)
xml               649 lib/common/acl.c     if (xml && xml->doc && xml->doc->_private){
xml               650 lib/common/acl.c         xml_doc_private_t *docpriv = xml->doc->_private;
xml               658 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode)
xml               660 lib/common/acl.c     CRM_ASSERT(xml);
xml               661 lib/common/acl.c     CRM_ASSERT(xml->doc);
xml               662 lib/common/acl.c     CRM_ASSERT(xml->doc->_private);
xml               664 lib/common/acl.c     if (pcmk__tracking_xml_changes(xml, false) && xml_acl_enabled(xml)) {
xml               665 lib/common/acl.c         xmlNode *parent = xml;
xml               666 lib/common/acl.c         xml_doc_private_t *docpriv = xml->doc->_private;
xml               670 lib/common/acl.c             pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied);
xml               673 lib/common/acl.c             xpath = pcmk__element_xpath(xml);
xml               693 lib/common/acl.c             xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name);
xml               706 lib/common/acl.c                 pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied);
xml               709 lib/common/acl.c                 xpath = pcmk__element_xpath(xml);
xml               717 lib/common/acl.c                                             (parent != xml)? "Parent ": "",
xml               726 lib/common/acl.c         pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied);
xml               729 lib/common/acl.c         xpath = pcmk__element_xpath(xml);
xml                76 lib/common/crmcommon_private.h bool pcmk__tracking_xml_changes(xmlNode *xml, bool lazy);
xml                79 lib/common/crmcommon_private.h void pcmk__xml_mark_created(xmlNode *xml);
xml                82 lib/common/crmcommon_private.h int pcmk__xml_position(const xmlNode *xml,
xml               110 lib/common/crmcommon_private.h void pcmk__apply_acl(xmlNode *xml);
xml               113 lib/common/crmcommon_private.h void pcmk__apply_creation_acl(xmlNode *xml, bool check_top);
xml               126 lib/common/crmcommon_private.h void pcmk__mark_xml_node_dirty(xmlNode *xml);
xml               158 lib/common/crmcommon_private.h                             const xmlNode *xml);
xml                33 lib/common/digest.c dump_xml_for_digest(xmlNodePtr xml)
xml                39 lib/common/digest.c     pcmk__xml_string(xml, 0, buffer, 0);
xml               382 lib/common/ipc_server.c     xmlNode *xml = NULL;
xml               429 lib/common/ipc_server.c     xml = pcmk__xml_parse(text);
xml               430 lib/common/ipc_server.c     crm_log_xml_trace(xml, "[IPC received]");
xml               433 lib/common/ipc_server.c     return xml;
xml              1569 lib/common/iso8601.c                         const xmlNode *xml)
xml              1579 lib/common/iso8601.c     if (xml == NULL) {
xml              1583 lib/common/iso8601.c     if (pcmk__scan_ll(crm_element_value(xml, attr), &value,
xml              1162 lib/common/logging.c                 uint32_t tags, uint8_t level, const char *text, const xmlNode *xml)
xml              1164 lib/common/logging.c     if (xml == NULL) {
xml              1175 lib/common/logging.c         pcmk__xml_show(logger_out, text, xml, 1,
xml              1199 lib/common/logging.c                          uint32_t tags, uint8_t level, const xmlNode *xml)
xml              1201 lib/common/logging.c     if (xml == NULL) {
xml              1211 lib/common/logging.c     pcmk__xml_show_changes(logger_out, xml);
xml              1279 lib/common/logging.c pcmk_log_xml_impl(uint8_t level, const char *text, const xmlNode *xml)
xml              1281 lib/common/logging.c     pcmk_log_xml_as(__FILE__, __func__, __LINE__, 0, level, text, xml);
xml               290 lib/common/messages.c add_message_xml(xmlNode *msg, const char *field, xmlNode *xml)
xml               294 lib/common/messages.c     pcmk__xml_copy(holder, xml);
xml               127 lib/common/nodes.c pcmk__xe_add_node(xmlNode *xml, const char *node, int nodeid)
xml               129 lib/common/nodes.c     CRM_ASSERT(xml != NULL);
xml               132 lib/common/nodes.c         crm_xml_add(xml, PCMK__XA_ATTR_HOST, node);
xml               136 lib/common/nodes.c         crm_xml_add_int(xml, PCMK__XA_ATTR_HOST_ID, nodeid);
xml               160 lib/common/nvpair.c pcmk_xml_attrs2nvpairs(const xmlNode *xml)
xml               164 lib/common/nvpair.c     for (xmlAttrPtr iter = pcmk__xe_first_attr(xml); iter != NULL;
xml               200 lib/common/nvpair.c pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml)
xml               202 lib/common/nvpair.c     g_slist_foreach(list, pcmk__nvpair_add_xml_attr, xml);
xml               398 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value)
xml               405 lib/common/nvpair.c     return crm_xml_add(xml, name, s);
xml               422 lib/common/nvpair.c crm_xml_add_timeval(xmlNode *xml, const char *name_sec, const char *name_usec,
xml               427 lib/common/nvpair.c     if (xml && name_sec && value) {
xml               428 lib/common/nvpair.c         added = crm_xml_add_ll(xml, name_sec, (long long) value->tv_sec);
xml               431 lib/common/nvpair.c             crm_xml_add_ll(xml, name_usec, (long long) value->tv_usec);
xml               567 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest)
xml               571 lib/common/nvpair.c     if (crm_element_value_ll(xml, name, &value_ll) < 0) {
xml               596 lib/common/nvpair.c crm_element_value_timeval(const xmlNode *xml, const char *name_sec,
xml               605 lib/common/nvpair.c     if (xml == NULL) {
xml               617 lib/common/nvpair.c     if (crm_element_value_ll(xml, name_sec, &value_i) < 0) {
xml               623 lib/common/nvpair.c     if (crm_element_value_ll(xml, name_usec, &value_i) < 0) {
xml               644 lib/common/nvpair.c pcmk__xe_get_datetime(const xmlNode *xml, const char *attr, crm_time_t **t)
xml               648 lib/common/nvpair.c     if ((t == NULL) || (*t != NULL) || (xml == NULL) || (attr == NULL)) {
xml               652 lib/common/nvpair.c     value = crm_element_value(xml, attr);
xml               244 lib/common/output.c pcmk__xml_output_new(pcmk__output_t **out, xmlNodePtr *xml) {
xml               250 lib/common/output.c     if (xml == NULL) {
xml               254 lib/common/output.c     if (*xml != NULL) {
xml               255 lib/common/output.c         xmlFreeNode(*xml);
xml               256 lib/common/output.c         *xml = NULL;
xml               272 lib/common/output.c                         xmlNodePtr *xml)
xml               278 lib/common/output.c     out->finish(out, exit_status, FALSE, (void **) xml);
xml                32 lib/common/patchset.c add_xml_changes_to_patchset(xmlNode *xml, xmlNode *patchset)
xml                37 lib/common/patchset.c     xml_node_private_t *nodepriv = xml->_private;
xml                50 lib/common/patchset.c         GString *xpath = pcmk__element_xpath(xml->parent);
xml                53 lib/common/patchset.c             int position = pcmk__xml_position(xml, pcmk__xf_deleted);
xml                60 lib/common/patchset.c             pcmk__xml_copy(change, xml);
xml                68 lib/common/patchset.c     for (pIter = pcmk__xe_first_attr(xml); pIter != NULL;
xml                78 lib/common/patchset.c             GString *xpath = pcmk__element_xpath(xml);
xml               109 lib/common/patchset.c         result = pcmk__xe_create(change, (const char *)xml->name);
xml               111 lib/common/patchset.c         for (pIter = pcmk__xe_first_attr(xml); pIter != NULL;
xml               115 lib/common/patchset.c                 value = crm_element_value(xml, (const char *) pIter->name);
xml               122 lib/common/patchset.c     for (cIter = pcmk__xml_first_child(xml); cIter != NULL;
xml               127 lib/common/patchset.c     nodepriv = xml->_private;
xml               129 lib/common/patchset.c         GString *xpath = pcmk__element_xpath(xml);
xml               132 lib/common/patchset.c                   xml->name, pcmk__xe_id(xml),
xml               133 lib/common/patchset.c                   pcmk__xml_position(xml, pcmk__xf_skip));
xml               141 lib/common/patchset.c                             pcmk__xml_position(xml, pcmk__xf_deleted));
xml               148 lib/common/patchset.c is_config_change(xmlNode *xml)
xml               153 lib/common/patchset.c     xmlNode *config = pcmk__xe_first_child(xml, PCMK_XE_CONFIGURATION, NULL,
xml               163 lib/common/patchset.c     if ((xml->doc != NULL) && (xml->doc->_private != NULL)) {
xml               164 lib/common/patchset.c         docpriv = xml->doc->_private;
xml               837 lib/common/patchset.c xml_patch_version_check(const xmlNode *xml, const xmlNode *patchset)
xml               853 lib/common/patchset.c         crm_element_value_int(xml, vfields[lpc], &(this[lpc]));
xml               929 lib/common/patchset.c apply_v1_patchset(xmlNode *xml, const xmlNode *patchset)
xml               939 lib/common/patchset.c     xmlNode *old = pcmk__xml_copy(NULL, xml);
xml               946 lib/common/patchset.c             process_v1_removals(xml, child_diff);
xml               966 lib/common/patchset.c                 process_v1_additions(NULL, xml, child_diff);
xml               978 lib/common/patchset.c     purge_v1_diff_markers(xml); // Purge prior to checking digest
xml              1140 lib/common/patchset.c apply_v2_patchset(xmlNode *xml, const xmlNode *patchset)
xml              1166 lib/common/patchset.c         match = search_v2_xpath(xml, xpath, position);
xml              1170 lib/common/patchset.c             crm_debug("No %s match for %s in %p", op, xpath, xml->doc);
xml              1174 lib/common/patchset.c             crm_err("No %s match for %s in %p", op, xpath, xml->doc);
xml              1330 lib/common/patchset.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version)
xml              1344 lib/common/patchset.c         rc = pcmk_rc2legacy(xml_patch_version_check(xml, patchset));
xml              1355 lib/common/patchset.c         pcmk__if_tracing(old = pcmk__xml_copy(NULL, xml), {});
xml              1363 lib/common/patchset.c                 rc = pcmk_rc2legacy(apply_v1_patchset(xml, patchset));
xml              1366 lib/common/patchset.c                 rc = pcmk_rc2legacy(apply_v2_patchset(xml, patchset));
xml              1376 lib/common/patchset.c         char *version = crm_element_value_copy(xml, PCMK_XA_CRM_FEATURE_SET);
xml              1378 lib/common/patchset.c         new_digest = calculate_xml_versioned_digest(xml, FALSE, TRUE, version);
xml              1386 lib/common/patchset.c                     save_xml_to_file(xml, "PatchDigest:result", NULL);
xml                45 lib/common/probes.c pcmk_xe_is_probe(const xmlNode *xml)
xml                49 lib/common/probes.c     if (xml == NULL) {
xml                53 lib/common/probes.c     pcmk__scan_min_int(crm_element_value(xml, PCMK_META_INTERVAL),
xml                56 lib/common/probes.c     return pcmk_is_probe(crm_element_value(xml, PCMK_XA_OPERATION),
xml                69 lib/common/probes.c pcmk_xe_mask_probe_failure(const xmlNode *xml)
xml                74 lib/common/probes.c     if (!pcmk_xe_is_probe(xml)) {
xml                78 lib/common/probes.c     crm_element_value_int(xml, PCMK__XA_OP_STATUS, &exec_status);
xml                79 lib/common/probes.c     crm_element_value_int(xml, PCMK__XA_RC_CODE, &exit_status);
xml               556 lib/common/remote.c     xmlNode *xml = NULL;
xml               606 lib/common/remote.c     xml = pcmk__xml_parse(remote->buffer + header->payload_offset);
xml               607 lib/common/remote.c     if (xml == NULL && header->version > REMOTE_MSG_VERSION) {
xml               611 lib/common/remote.c     } else if (xml == NULL) {
xml               615 lib/common/remote.c     return xml;
xml                80 lib/common/rules.c loggable_parent_id(const xmlNode *xml)
xml                85 lib/common/rules.c     if ((xml != NULL) && (xml->parent != NULL)) {
xml                86 lib/common/rules.c         parent_id = pcmk__xe_id(xml->parent);
xml              1486 lib/common/rules.c pcmk__evaluate_rules(xmlNode *xml, const pcmk_rule_input_t *rule_input,
xml              1493 lib/common/rules.c     for (xmlNode *rule = pcmk__xe_first_child(xml, PCMK_XE_RULE, NULL, NULL);
xml               711 lib/common/schemas.c validate_with(xmlNode *xml, pcmk__schema_t *schema,
xml               735 lib/common/schemas.c             valid = validate_with_relaxng(xml->doc, error_handler, error_handler_context, file, cache);
xml               747 lib/common/schemas.c validate_with_silent(xmlNode *xml, pcmk__schema_t *schema)
xml               751 lib/common/schemas.c     rc = validate_with(xml, schema, (xmlRelaxNGValidityErrorFunc) xml_log, GUINT_TO_POINTER(LOG_ERR));
xml               809 lib/common/schemas.c pcmk__configured_schema_validates(xmlNode *xml)
xml               811 lib/common/schemas.c     return pcmk__validate_xml(xml, NULL,
xml               966 lib/common/schemas.c apply_transformation(const xmlNode *xml, const char *transform,
xml               987 lib/common/schemas.c     res = xsltApplyStylesheet(xslt, xml->doc, NULL);
xml              1028 lib/common/schemas.c     const xmlNode *xml = original_xml;
xml              1044 lib/common/schemas.c         upgrade = apply_transformation(xml, schema->transform_enter, to_logs);
xml              1051 lib/common/schemas.c             xml = upgrade;
xml              1059 lib/common/schemas.c     final = apply_transformation(xml, schema->transform, to_logs);
xml              1060 lib/common/schemas.c     if (upgrade != xml) {
xml              1115 lib/common/schemas.c get_configured_schema(const xmlNode *xml)
xml              1117 lib/common/schemas.c     const char *schema_name = crm_element_value(xml, PCMK_XA_VALIDATE_WITH);
xml              1141 lib/common/schemas.c pcmk__update_schema(xmlNode **xml, const char *max_schema_name, bool transform,
xml              1153 lib/common/schemas.c     CRM_CHECK((xml != NULL) && (*xml != NULL) && ((*xml)->doc != NULL),
xml              1169 lib/common/schemas.c     entry = get_configured_schema(*xml);
xml              1188 lib/common/schemas.c         if (!validate_with(*xml, current_schema, error_handler,
xml              1207 lib/common/schemas.c             || validate_with_silent(*xml, entry->next->data)) {
xml              1215 lib/common/schemas.c         upgrade = apply_upgrade(*xml, current_schema->schema_index, to_logs);
xml              1224 lib/common/schemas.c             free_xml(*xml);
xml              1225 lib/common/schemas.c             *xml = upgrade;
xml              1235 lib/common/schemas.c             crm_xml_add(*xml, PCMK_XA_VALIDATE_WITH, best_schema->name);
xml              1242 lib/common/schemas.c pcmk_update_configured_schema(xmlNode **xml)
xml              1244 lib/common/schemas.c     return pcmk__update_configured_schema(xml, true);
xml              1257 lib/common/schemas.c pcmk__update_configured_schema(xmlNode **xml, bool to_logs)
xml              1269 lib/common/schemas.c     CRM_CHECK(xml != NULL, return EINVAL);
xml              1271 lib/common/schemas.c     original_schema_name = crm_element_value_copy(*xml, PCMK_XA_VALIDATE_WITH);
xml              1288 lib/common/schemas.c         converted = pcmk__xml_copy(NULL, *xml);
xml              1343 lib/common/schemas.c             free_xml(*xml);
xml              1344 lib/common/schemas.c             *xml = converted;
xml              1439 lib/common/schemas.c append_href(xmlNode *xml, void *user_data)
xml              1442 lib/common/schemas.c     char *href = crm_element_value_copy(xml, "href");
xml              1457 lib/common/schemas.c     xmlNode *xml = pcmk__xml_parse(contents);
xml              1459 lib/common/schemas.c     crm_foreach_xpath_result(xml, search, append_href, list);
xml              1460 lib/common/schemas.c     free_xml(xml);
xml              1642 lib/common/schemas.c update_validation(xmlNode **xml, int *best, int max, gboolean transform,
xml              1645 lib/common/schemas.c     int rc = pcmk__update_schema(xml, get_schema_name(max), transform, to_logs);
xml              1647 lib/common/schemas.c     if ((best != NULL) && (xml != NULL) && (rc == pcmk_rc_ok)) {
xml              1648 lib/common/schemas.c         const char *schema_name = crm_element_value(*xml,
xml              1705 lib/common/schemas.c     xmlNode *xml = NULL;
xml              1718 lib/common/schemas.c     xml = xmlDocGetRootElement(doc);
xml              1719 lib/common/schemas.c     rc = pcmk__validate_xml(xml, NULL, NULL, NULL);
xml              1720 lib/common/schemas.c     free_xml(xml);
xml              1729 lib/common/schemas.c cli_config_update(xmlNode **xml, int *best_version, gboolean to_logs)
xml              1731 lib/common/schemas.c     int rc = pcmk__update_configured_schema(xml, to_logs);
xml              1734 lib/common/schemas.c         const char *name = crm_element_value(*xml, PCMK_XA_VALIDATE_WITH);
xml                34 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(ALL_VALID);
xml                36 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(NULL, pcmk__time_years, xml),
xml                38 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml                58 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(ALL_VALID);
xml                60 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(NULL, pcmk__time_unknown, xml),
xml                62 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml                70 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(YEARS_INVALID);
xml                72 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_months, xml),
xml                78 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml                86 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(YEARS_INVALID);
xml                88 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_years, xml),
xml                94 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml               102 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = NULL;
xml               104 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xml = pcmk__xml_parse(YEARS_TOO_BIG);
xml               105 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_years, xml), ERANGE);
xml               107 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml               109 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xml = pcmk__xml_parse(YEARS_TOO_SMALL);
xml               110 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_years, xml), ERANGE);
xml               112 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml               123 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(ALL_VALID);
xml               125 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_years, xml),
xml               131 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml               139 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(ALL_VALID);
xml               141 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_months, xml),
xml               147 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml               155 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(ALL_VALID);
xml               157 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_weeks, xml),
xml               163 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml               171 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(ALL_VALID);
xml               173 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_days, xml),
xml               179 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml               187 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(ALL_VALID);
xml               189 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_hours, xml),
xml               195 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml               203 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(ALL_VALID);
xml               205 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_minutes, xml),
xml               211 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml               219 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     xmlNode *xml = pcmk__xml_parse(ALL_VALID);
xml               221 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     assert_int_equal(pcmk__add_time_from_xml(t, pcmk__time_seconds, xml),
xml               227 lib/common/tests/iso8601/pcmk__add_time_from_xml_test.c     free_xml(xml);
xml                34 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     xmlNode *xml = pcmk__xml_parse(REFERENCE_XML);
xml                38 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     assert_int_equal(pcmk__xe_get_datetime(xml, NULL, NULL), EINVAL);
xml                39 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     assert_int_equal(pcmk__xe_get_datetime(xml, ATTR_PRESENT, NULL), EINVAL);
xml                40 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     assert_int_equal(pcmk__xe_get_datetime(xml, NULL, &t), EINVAL);
xml                48 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     free_xml(xml);
xml                54 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     xmlNode *xml = pcmk__xml_parse(REFERENCE_XML);
xml                57 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     assert_int_equal(pcmk__xe_get_datetime(xml, ATTR_PRESENT, &t), EINVAL);
xml                60 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     free_xml(xml);
xml                66 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     xmlNode *xml = pcmk__xml_parse(REFERENCE_XML);
xml                69 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     assert_int_equal(pcmk__xe_get_datetime(xml, ATTR_MISSING, &t), pcmk_rc_ok);
xml                72 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     free_xml(xml);
xml                78 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     xmlNode *xml = pcmk__xml_parse(REFERENCE_XML);
xml                82 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     assert_int_equal(pcmk__xe_get_datetime(xml, ATTR_PRESENT, &t), pcmk_rc_ok);
xml                87 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     free_xml(xml);
xml                93 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     xmlNode *xml = pcmk__xml_parse(BAD_XML);
xml                96 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     assert_int_equal(pcmk__xe_get_datetime(xml, ATTR_PRESENT, &t),
xml               100 lib/common/tests/nvpair/pcmk__xe_get_datetime_test.c     free_xml(xml);
xml                88 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     xmlNode *xml = pcmk__xml_parse(xml_string);
xml                90 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     assert_int_equal(pcmk__evaluate_attr_expression(xml, &rule_input),
xml                92 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     free_xml(xml);
xml               110 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     xmlNode *xml = pcmk__xml_parse(EXPR_SOURCE_LITERAL_PASSES);
xml               113 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     assert_int_equal(pcmk__evaluate_attr_expression(xml, NULL), EINVAL);
xml               116 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c     free_xml(xml);
xml                45 lib/common/tests/rules/pcmk__evaluate_condition_test.c     xmlNode *xml = NULL;
xml                50 lib/common/tests/rules/pcmk__evaluate_condition_test.c     xml = pcmk__xml_parse(EXPR_ATTRIBUTE);
xml                51 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, NULL, next_change), EINVAL);
xml                52 lib/common/tests/rules/pcmk__evaluate_condition_test.c     free_xml(xml);
xml                66 lib/common/tests/rules/pcmk__evaluate_condition_test.c     xmlNode *xml = pcmk__xml_parse(EXPR_INVALID);
xml                69 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, next_change),
xml                73 lib/common/tests/rules/pcmk__evaluate_condition_test.c     free_xml(xml);
xml                84 lib/common/tests/rules/pcmk__evaluate_condition_test.c     xmlNode *xml = pcmk__xml_parse(EXPR_ATTRIBUTE);
xml                89 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, NULL),
xml                94 lib/common/tests/rules/pcmk__evaluate_condition_test.c     free_xml(xml);
xml               106 lib/common/tests/rules/pcmk__evaluate_condition_test.c     xmlNode *xml = pcmk__xml_parse(EXPR_LOCATION);
xml               111 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, NULL),
xml               116 lib/common/tests/rules/pcmk__evaluate_condition_test.c     free_xml(xml);
xml               128 lib/common/tests/rules/pcmk__evaluate_condition_test.c     xmlNode *xml = pcmk__xml_parse(EXPR_DATE);
xml               134 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, next_change),
xml               152 lib/common/tests/rules/pcmk__evaluate_condition_test.c     xmlNode *xml = pcmk__xml_parse(EXPR_RESOURCE);
xml               154 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, NULL),
xml               156 lib/common/tests/rules/pcmk__evaluate_condition_test.c     free_xml(xml);
xml               167 lib/common/tests/rules/pcmk__evaluate_condition_test.c     xmlNode *xml = pcmk__xml_parse(EXPR_OP);
xml               169 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, NULL),
xml               171 lib/common/tests/rules/pcmk__evaluate_condition_test.c     free_xml(xml);
xml               183 lib/common/tests/rules/pcmk__evaluate_condition_test.c     xmlNode *xml = pcmk__xml_parse(EXPR_SUBRULE);
xml               184 lib/common/tests/rules/pcmk__evaluate_condition_test.c     assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, NULL),
xml               186 lib/common/tests/rules/pcmk__evaluate_condition_test.c     free_xml(xml);
xml                35 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c assert_date_expression(const xmlNode *xml, const char *now_s,
xml                48 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_int_equal(pcmk__evaluate_date_expression(xml, now, next_change),
xml                69 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_LT_VALID);
xml                73 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_int_equal(pcmk__evaluate_date_expression(xml, NULL, NULL), EINVAL);
xml                77 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml                83 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_LT_VALID);
xml                85 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_within_range);
xml                86 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml                98 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_ID_MISSING);
xml               100 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_within_range);
xml               101 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               111 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_OP_INVALID);
xml               113 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_undetermined);
xml               114 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               124 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_LT_MISSING_END);
xml               126 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_undetermined);
xml               127 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               138 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_LT_INVALID_END);
xml               140 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_undetermined);
xml               141 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               147 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_LT_VALID);
xml               150 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2023-01-01 05:00:00", "2024-02-01 10:00:00",
xml               154 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 14:59:59", "2024-02-01 18:00:00",
xml               158 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:00", "2024-02-01 20:00:00",
xml               162 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-03-01 12:00:00", "2024-02-01 20:00:00",
xml               165 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               175 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_GT_MISSING_START);
xml               177 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_undetermined);
xml               178 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               189 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_GT_INVALID_START);
xml               191 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_undetermined);
xml               192 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               203 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_GT_VALID);
xml               206 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01 04:30:05", "2024-01-01 11:00:00",
xml               210 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 11:59:59", "2024-02-01 18:00:00",
xml               214 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 12:00:00", "2024-02-01 18:00:00",
xml               218 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 12:00:01", "2024-02-01 18:00:00",
xml               222 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-03-01 05:03:11", "2024-04-04 04:04:04",
xml               225 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               235 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_MISSING);
xml               238 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_int_equal(pcmk__evaluate_date_expression(xml, t, NULL),
xml               242 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               254 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_INVALID_START_INVALID_END);
xml               256 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_undetermined);
xml               257 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               268 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_INVALID_START_ONLY);
xml               270 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_undetermined);
xml               271 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               282 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_VALID_START_ONLY);
xml               285 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01 04:30:05", "2024-01-01 11:00:00",
xml               289 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 11:59:59", "2024-02-01 18:00:00",
xml               293 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 12:00:00", "2024-02-01 18:00:00",
xml               297 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-03-01 05:03:11", "2024-04-04 04:04:04",
xml               300 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               311 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_INVALID_END_ONLY);
xml               313 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_undetermined);
xml               314 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               325 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_VALID_END_ONLY);
xml               328 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01 04:30:05", "2024-01-01 11:00:00",
xml               332 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 14:59:59", "2024-02-01 18:00:00",
xml               336 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:00", "2024-02-01 18:00:00",
xml               340 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:01", "2024-04-04 04:04:04",
xml               343 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               356 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_VALID_START_INVALID_END);
xml               359 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01 04:30:05", "2024-01-01 11:00:00",
xml               363 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 11:59:59", "2024-02-01 18:00:00",
xml               367 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 12:00:00", "2024-02-01 18:00:00",
xml               371 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-03-01 05:03:11", "2024-04-04 04:04:04",
xml               374 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               387 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_INVALID_START_VALID_END);
xml               390 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01 04:30:05", "2024-01-01 11:00:00",
xml               394 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 14:59:59", "2024-02-01 18:00:00",
xml               398 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:00", "2024-02-01 18:00:00",
xml               402 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:01", "2024-04-04 04:04:04",
xml               405 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               417 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_VALID_START_VALID_END);
xml               420 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01 04:30:05", "2024-01-01 11:00:00",
xml               424 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 11:59:59", "2024-02-01 14:00:00",
xml               428 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 12:00:00", "2024-02-01 14:30:00",
xml               432 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 14:03:11", "2024-04-04 04:04:04",
xml               436 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:00", "2028-04-04 04:04:04",
xml               440 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:01", "2028-04-04 04:04:04",
xml               443 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               458 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_VALID_START_INVALID_DURATION);
xml               461 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 04:30:05", "2024-01-01 11:00:00",
xml               465 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 11:59:59", "2024-02-01 18:00:00",
xml               469 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 12:00:00", "2024-02-01 14:30:00",
xml               473 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 12:00:01", "2024-02-01 14:30:00",
xml               476 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               490 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_RANGE_VALID_START_VALID_DURATION);
xml               493 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01 04:30:05", "2024-01-01 11:00:00",
xml               497 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 11:59:59", "2024-02-01 14:00:00",
xml               501 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 12:00:00", "2024-02-01 14:30:00",
xml               505 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 14:03:11", "2024-04-04 04:04:04",
xml               509 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:00", "2028-04-04 04:04:04",
xml               513 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:01", "2028-04-04 04:04:04",
xml               516 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               531 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = NULL;
xml               533 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xml = pcmk__xml_parse(EXPR_RANGE_VALID_START_DURATION_MISSING_ID);
xml               536 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01 04:30:05", "2024-01-01 11:00:00",
xml               540 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 11:59:59", "2024-02-01 14:00:00",
xml               544 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 12:00:00", "2024-02-01 14:30:00",
xml               548 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 14:03:11", "2024-04-04 04:04:04",
xml               552 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:00", "2028-04-04 04:04:04",
xml               556 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 15:00:01", "2028-04-04 04:04:04",
xml               559 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               569 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_SPEC_MISSING);
xml               571 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_undetermined);
xml               572 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               586 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_SPEC_INVALID);
xml               588 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01", NULL, NULL, pcmk_rc_ok);
xml               589 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               603 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_SPEC_VALID);
xml               606 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01 23:59:59", NULL, NULL,
xml               610 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 00:00:00", NULL, NULL, pcmk_rc_ok);
xml               613 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-22 22:22:22", NULL, NULL, pcmk_rc_ok);
xml               616 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-29 23:59:59", NULL, NULL, pcmk_rc_ok);
xml               619 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-03-01 00:00:00", NULL, NULL,
xml               622 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml               636 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     xmlNodePtr xml = pcmk__xml_parse(EXPR_SPEC_MISSING_ID);
xml               639 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-01-01 23:59:59", NULL, NULL,
xml               643 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-01 00:00:00", NULL, NULL, pcmk_rc_ok);
xml               646 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-22 22:22:22", NULL, NULL, pcmk_rc_ok);
xml               649 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-02-29 23:59:59", NULL, NULL, pcmk_rc_ok);
xml               652 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_date_expression(xml, "2024-03-01 00:00:00", NULL, NULL,
xml               655 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     free_xml(xml);
xml                24 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c     xmlNodePtr xml = pcmk__xml_parse(x);
xml                26 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c     assert_int_equal(pcmk__evaluate_date_spec(xml, tm), expected);
xml                29 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c     free_xml(xml);
xml                35 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c     xmlNodePtr xml = pcmk__xml_parse("<" PCMK_XE_DATE_SPEC " "
xml                41 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c     assert_int_equal(pcmk__evaluate_date_spec(xml, NULL), EINVAL);
xml                45 lib/common/tests/rules/pcmk__evaluate_date_spec_test.c     free_xml(xml);
xml                40 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c     xmlNode *xml = pcmk__xml_parse(xml_string);
xml                42 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c     assert_int_equal(pcmk__evaluate_op_expression(xml, &rule_input),
xml                44 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c     free_xml(xml);
xml                60 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c     xmlNode *xml = NULL;
xml                64 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c     xml = pcmk__xml_parse(EXPR_FAIL_BOTH);
xml                65 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c     assert_int_equal(pcmk__evaluate_op_expression(xml, NULL), EINVAL);
xml                66 lib/common/tests/rules/pcmk__evaluate_op_expression_test.c     free_xml(xml);
xml                41 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     xmlNode *xml = pcmk__xml_parse(xml_string);
xml                43 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     assert_int_equal(pcmk__evaluate_rsc_expression(xml, &rule_input),
xml                45 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     free_xml(xml);
xml                62 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     xmlNode *xml = NULL;
xml                66 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     xml = pcmk__xml_parse(EXPR_ALL_MATCH);
xml                67 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     assert_int_equal(pcmk__evaluate_rsc_expression(xml, NULL), EINVAL);
xml                68 lib/common/tests/rules/pcmk__evaluate_rsc_expression_test.c     free_xml(xml);
xml                46 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = NULL;
xml                52 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xml = pcmk__xml_parse(RULE_OP);
xml                53 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, NULL, next_change), EINVAL);
xml                54 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml                73 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_OP_MISSING_ID);
xml                76 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, next_change),
xml                80 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               121 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_EMPTY);
xml               123 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
xml               126 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               137 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_EMPTY_AND);
xml               139 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
xml               142 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               153 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_EMPTY_OR);
xml               155 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
xml               158 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               174 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_DEFAULT_BOOLEAN_OP);
xml               176 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
xml               179 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               196 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_INVALID_BOOLEAN_OP);
xml               198 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
xml               201 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               217 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_AND_PASSES);
xml               219 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL), pcmk_rc_ok);
xml               221 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               234 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_LONELY_AND);
xml               236 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL), pcmk_rc_ok);
xml               238 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               254 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_AND_ONE_FAILS);
xml               256 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
xml               259 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               275 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_AND_TWO_FAIL);
xml               277 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
xml               280 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               296 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_OR_ONE_PASSES);
xml               298 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL), pcmk_rc_ok);
xml               300 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               316 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_OR_TWO_PASS);
xml               318 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL), pcmk_rc_ok);
xml               320 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               334 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_LONELY_OR);
xml               336 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL), pcmk_rc_ok);
xml               338 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml               354 lib/common/tests/rules/pcmk_evaluate_rule_test.c     xmlNode *xml = pcmk__xml_parse(RULE_OR_FAILS);
xml               356 lib/common/tests/rules/pcmk_evaluate_rule_test.c     assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, NULL),
xml               359 lib/common/tests/rules/pcmk_evaluate_rule_test.c     free_xml(xml);
xml                20 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c     xmlNode *xml = pcmk__xe_create(NULL, "test");
xml                23 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c     assert_int_equal(pcmk__xe_copy_attrs(NULL, xml, pcmk__xaf_none), EINVAL);
xml                24 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c     assert_int_equal(pcmk__xe_copy_attrs(xml, NULL, pcmk__xaf_none), EINVAL);
xml                25 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c     assert_ptr_equal(xml->properties, NULL);
xml                27 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c     free_xml(xml);
xml                42 lib/common/tests/xml/pcmk__xe_first_child_test.c     xmlNode *xml = pcmk__xml_parse(str1);
xml                47 lib/common/tests/xml/pcmk__xe_first_child_test.c     free_xml(xml);
xml                52 lib/common/tests/xml/pcmk__xe_first_child_test.c     xmlNode *xml = pcmk__xml_parse(str1);
xml                55 lib/common/tests/xml/pcmk__xe_first_child_test.c     assert_null(pcmk__xe_first_child(xml, NULL, "attrX", NULL));
xml                57 lib/common/tests/xml/pcmk__xe_first_child_test.c     assert_null(pcmk__xe_first_child(xml, "nodeX", NULL, NULL));
xml                59 lib/common/tests/xml/pcmk__xe_first_child_test.c     assert_null(pcmk__xe_first_child(xml, "nodeA", "attrX", NULL));
xml                61 lib/common/tests/xml/pcmk__xe_first_child_test.c     assert_null(pcmk__xe_first_child(xml, "nodeA", "attrA", "XYZ"));
xml                63 lib/common/tests/xml/pcmk__xe_first_child_test.c     free_xml(xml);
xml                68 lib/common/tests/xml/pcmk__xe_first_child_test.c     xmlNode *xml = pcmk__xml_parse(str1);
xml                72 lib/common/tests/xml/pcmk__xe_first_child_test.c     result = pcmk__xe_first_child(xml, NULL, "attrB", NULL);
xml                77 lib/common/tests/xml/pcmk__xe_first_child_test.c     result = pcmk__xe_first_child(xml, "nodeB", "attrB", NULL);
xml                81 lib/common/tests/xml/pcmk__xe_first_child_test.c     free_xml(xml);
xml                86 lib/common/tests/xml/pcmk__xe_first_child_test.c     xmlNode *xml = pcmk__xml_parse(str1);
xml                90 lib/common/tests/xml/pcmk__xe_first_child_test.c     result = pcmk__xe_first_child(xml, NULL, "attrA", "456");
xml                95 lib/common/tests/xml/pcmk__xe_first_child_test.c     result = pcmk__xe_first_child(xml, "nodeB", "attrA", "123");
xml                99 lib/common/tests/xml/pcmk__xe_first_child_test.c     free_xml(xml);
xml                15 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int compare_name_handler(xmlNode *xml, void *userdata) {
xml                17 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     assert_string_equal((char *) userdata, (const char *) xml->name);
xml                39 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     xmlNode *xml = pcmk__xml_parse(str1);
xml                41 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     pcmk__assert_asserts(pcmk__xe_foreach_child(xml, NULL, NULL, NULL));
xml                43 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     free_xml(xml);
xml                48 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     xmlNode *xml = pcmk__xml_parse(str1);
xml                55 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     pcmk__xe_foreach_child(xml, "level1", compare_name_handler, (void *) "level1");
xml                56 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     free_xml(xml);
xml                61 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     xmlNode *xml = pcmk__xml_parse(str1);
xml                68 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     pcmk__xe_foreach_child(xml, NULL, compare_name_handler, (void *) "level1");
xml                69 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     free_xml(xml);
xml                74 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     xmlNode *xml = pcmk__xml_parse(str1);
xml                75 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     pcmk__xe_foreach_child(xml, "xxx", compare_name_handler, NULL);
xml                76 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     free_xml(xml);
xml               103 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     xmlNode *xml = pcmk__xml_parse(str2);
xml               109 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     pcmk__xe_foreach_child(xml, "level1", compare_name_handler, (void *) "level1");
xml               110 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     free_xml(xml);
xml               115 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     xmlNode *xml = pcmk__xml_parse(str2);
xml               121 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     pcmk__xe_foreach_child(xml, NULL, compare_name_handler, (void *) "level1");
xml               122 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     free_xml(xml);
xml               141 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int any_of_handler(xmlNode *xml, void *userdata) {
xml               143 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     assert_true(pcmk__str_any_of((const char *) xml->name,
xml               150 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     xmlNode *xml = pcmk__xml_parse(str3);
xml               157 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     pcmk__xe_foreach_child(xml, NULL, any_of_handler, NULL);
xml               158 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     free_xml(xml);
xml               161 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int stops_on_first_handler(xmlNode *xml, void *userdata) {
xml               164 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     if (pcmk__xe_is(xml, "node1")) {
xml               171 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int stops_on_second_handler(xmlNode *xml, void *userdata) {
xml               174 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     if (pcmk__xe_is(xml, "node2")) {
xml               181 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int stops_on_third_handler(xmlNode *xml, void *userdata) {
xml               184 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     if (pcmk__xe_is(xml, "node3")) {
xml               193 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     xmlNode *xml = pcmk__xml_parse(str3);
xml               197 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     assert_int_equal(pcmk__xe_foreach_child(xml, "node1", stops_on_first_handler, NULL), pcmk_rc_error);
xml               200 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     assert_int_equal(pcmk__xe_foreach_child(xml, "node2", stops_on_second_handler, NULL), pcmk_rc_error);
xml               203 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     assert_int_equal(pcmk__xe_foreach_child(xml, "node3", stops_on_third_handler, NULL), pcmk_rc_error);
xml               205 lib/common/tests/xml/pcmk__xe_foreach_child_test.c     free_xml(xml);
xml                20 lib/common/unittest.c pcmk__assert_validates(xmlNode *xml)
xml                38 lib/common/unittest.c     rc = pcmk__xml2fd(fd, xml);
xml                42 lib/common/xml.c pcmk__xml_tree_foreach(xmlNode *xml, bool (*fn)(xmlNode *, void *),
xml                45 lib/common/xml.c     if (!fn(xml, user_data)) {
xml                49 lib/common/xml.c     for (xml = pcmk__xml_first_child(xml); xml != NULL;
xml                50 lib/common/xml.c          xml = pcmk__xml_next(xml)) {
xml                52 lib/common/xml.c         if (!pcmk__xml_tree_foreach(xml, fn, user_data)) {
xml                60 lib/common/xml.c pcmk__tracking_xml_changes(xmlNode *xml, bool lazy)
xml                62 lib/common/xml.c     if(xml == NULL || xml->doc == NULL || xml->doc->_private == NULL) {
xml                64 lib/common/xml.c     } else if (!pcmk_is_set(((xml_doc_private_t *)xml->doc->_private)->flags,
xml                67 lib/common/xml.c     } else if (lazy && !pcmk_is_set(((xml_doc_private_t *)xml->doc->_private)->flags,
xml                75 lib/common/xml.c set_parent_flag(xmlNode *xml, long flag) 
xml                77 lib/common/xml.c     for(; xml; xml = xml->parent) {
xml                78 lib/common/xml.c         xml_node_private_t *nodepriv = xml->_private;
xml                89 lib/common/xml.c pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag)
xml                91 lib/common/xml.c     if(xml && xml->doc && xml->doc->_private){
xml                93 lib/common/xml.c         xml_doc_private_t *docpriv = xml->doc->_private;
xml               101 lib/common/xml.c pcmk__mark_xml_node_dirty(xmlNode *xml)
xml               103 lib/common/xml.c     pcmk__set_xml_doc_flag(xml, pcmk__xf_dirty);
xml               104 lib/common/xml.c     set_parent_flag(xml, pcmk__xf_dirty);
xml               119 lib/common/xml.c reset_xml_node_flags(xmlNode *xml, void *user_data)
xml               121 lib/common/xml.c     xml_node_private_t *nodepriv = xml->_private;
xml               141 lib/common/xml.c mark_xml_dirty_created(xmlNode *xml, void *user_data)
xml               143 lib/common/xml.c     xml_node_private_t *nodepriv = xml->_private;
xml               160 lib/common/xml.c pcmk__xml_mark_created(xmlNode *xml)
xml               162 lib/common/xml.c     CRM_ASSERT(xml != NULL);
xml               164 lib/common/xml.c     if (!pcmk__tracking_xml_changes(xml, false)) {
xml               170 lib/common/xml.c     pcmk__mark_xml_node_dirty(xml);
xml               172 lib/common/xml.c     pcmk__xml_tree_foreach(xml, mark_xml_dirty_created, NULL);
xml               303 lib/common/xml.c xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls) 
xml               305 lib/common/xml.c     xml_accept_changes(xml);
xml               306 lib/common/xml.c     crm_trace("Tracking changes%s to %p", enforce_acls?" with ACLs":"", xml);
xml               307 lib/common/xml.c     pcmk__set_xml_doc_flag(xml, pcmk__xf_tracking);
xml               310 lib/common/xml.c             acl_source = xml;
xml               312 lib/common/xml.c         pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_enabled);
xml               313 lib/common/xml.c         pcmk__unpack_acl(acl_source, xml, user);
xml               314 lib/common/xml.c         pcmk__apply_acl(xml);
xml               318 lib/common/xml.c bool xml_tracking_changes(xmlNode * xml)
xml               320 lib/common/xml.c     return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL)
xml               321 lib/common/xml.c            && pcmk_is_set(((xml_doc_private_t *)(xml->doc->_private))->flags,
xml               325 lib/common/xml.c bool xml_document_dirty(xmlNode *xml) 
xml               327 lib/common/xml.c     return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL)
xml               328 lib/common/xml.c            && pcmk_is_set(((xml_doc_private_t *)(xml->doc->_private))->flags,
xml               342 lib/common/xml.c pcmk__xml_position(const xmlNode *xml, enum xml_private_flags ignore_if_set)
xml               346 lib/common/xml.c     for (const xmlNode *cIter = xml; cIter->prev; cIter = cIter->prev) {
xml               369 lib/common/xml.c accept_attr_deletions(xmlNode *xml, void *user_data)
xml               371 lib/common/xml.c     reset_xml_node_flags(xml, NULL);
xml               372 lib/common/xml.c     pcmk__xe_remove_matching_attrs(xml, pcmk__marked_as_deleted, NULL);
xml               402 lib/common/xml.c xml_accept_changes(xmlNode * xml)
xml               407 lib/common/xml.c     if(xml == NULL) {
xml               411 lib/common/xml.c     crm_trace("Accepting changes to %p", xml);
xml               412 lib/common/xml.c     docpriv = xml->doc->_private;
xml               413 lib/common/xml.c     top = xmlDocGetRootElement(xml->doc);
xml               415 lib/common/xml.c     reset_xml_private_data(xml->doc->_private);
xml               674 lib/common/xml.c pcmk__xe_remove_attr_cb(xmlNode *xml, void *user_data)
xml               678 lib/common/xml.c     pcmk__xe_remove_attr(xml, name);
xml               795 lib/common/xml.c pcmk_free_xml_subtree(xmlNode *xml)
xml               797 lib/common/xml.c     xmlUnlinkNode(xml); // Detaches from parent and siblings
xml               798 lib/common/xml.c     xmlFreeNode(xml);   // Frees
xml               923 lib/common/xml.c pcmk__strip_xml_text(xmlNode *xml)
xml               925 lib/common/xml.c     xmlNode *iter = xml->children;
xml               998 lib/common/xml.c crm_xml_set_id(xmlNode *xml, const char *format, ...)
xml              1011 lib/common/xml.c     crm_xml_add(xml, PCMK_XA_ID, id);
xml              1217 lib/common/xml.c set_attrs_flag(xmlNode *xml, enum xml_private_flags flag)
xml              1219 lib/common/xml.c     for (xmlAttr *attr = pcmk__xe_first_attr(xml); attr; attr = attr->next) {
xml              1791 lib/common/xml.c delete_xe_if_matching(xmlNode *xml, void *user_data)
xml              1795 lib/common/xml.c     if (!pcmk__xe_is(search, (const char *) xml->name)) {
xml              1804 lib/common/xml.c         const char *xml_val = crm_element_value(xml, (const char *) attr->name);
xml              1812 lib/common/xml.c     crm_log_xml_trace(xml, "delete-match");
xml              1814 lib/common/xml.c     free_xml(xml);
xml              1839 lib/common/xml.c pcmk__xe_delete_match(xmlNode *xml, xmlNode *search)
xml              1842 lib/common/xml.c     CRM_CHECK((xml != NULL) && (search != NULL), return EINVAL);
xml              1844 lib/common/xml.c     for (xml = pcmk__xe_first_child(xml, NULL, NULL, NULL); xml != NULL;
xml              1845 lib/common/xml.c          xml = pcmk__xe_next(xml)) {
xml              1847 lib/common/xml.c         if (!pcmk__xml_tree_foreach(xml, delete_xe_if_matching, search)) {
xml              1905 lib/common/xml.c replace_xe_if_matching(xmlNode *xml, void *user_data)
xml              1911 lib/common/xml.c     xml_id = pcmk__xe_id(xml);
xml              1914 lib/common/xml.c     if (!pcmk__xe_is(replace, (const char *) xml->name)) {
xml              1926 lib/common/xml.c     crm_log_xml_trace(xml, "replace-match");
xml              1928 lib/common/xml.c     replace_node(xml, replace);
xml              1952 lib/common/xml.c pcmk__xe_replace_match(xmlNode *xml, xmlNode *replace)
xml              1960 lib/common/xml.c     CRM_CHECK((xml != NULL) && (replace != NULL), return EINVAL);
xml              1962 lib/common/xml.c     for (xml = pcmk__xe_first_child(xml, NULL, NULL, NULL); xml != NULL;
xml              1963 lib/common/xml.c          xml = pcmk__xe_next(xml)) {
xml              1965 lib/common/xml.c         if (!pcmk__xml_tree_foreach(xml, replace_xe_if_matching, replace)) {
xml              2003 lib/common/xml.c update_xe_if_matching(xmlNode *xml, void *user_data)
xml              2008 lib/common/xml.c     if (!pcmk__xe_is(update, (const char *) xml->name)) {
xml              2013 lib/common/xml.c     if (!pcmk__str_eq(pcmk__xe_id(xml), pcmk__xe_id(update), pcmk__str_none)) {
xml              2018 lib/common/xml.c     crm_log_xml_trace(xml, "update-match");
xml              2020 lib/common/xml.c     pcmk__xml_update(NULL, xml, update, data->flags, false);
xml              2046 lib/common/xml.c pcmk__xe_update_match(xmlNode *xml, xmlNode *update, uint32_t flags)
xml              2060 lib/common/xml.c     CRM_CHECK((xml != NULL) && (update != NULL), return EINVAL);
xml              2062 lib/common/xml.c     if (!pcmk__xml_tree_foreach(xml, update_xe_if_matching, &data)) {
xml              2288 lib/common/xml.c pcmk__xe_foreach_child(xmlNode *xml, const char *child_element_name,
xml              2289 lib/common/xml.c                        int (*handler)(xmlNode *xml, void *userdata),
xml              2292 lib/common/xml.c     xmlNode *children = (xml? xml->children : NULL);
xml               370 lib/common/xml_display.c pcmk__xml_show_changes(pcmk__output_t *out, const xmlNode *xml)
xml               377 lib/common/xml_display.c     CRM_ASSERT(xml != NULL);
xml               378 lib/common/xml_display.c     CRM_ASSERT(xml->doc != NULL);
xml               380 lib/common/xml_display.c     docpriv = xml->doc->_private;
xml               399 lib/common/xml_display.c     temp_rc = show_xml_changes_recursive(out, xml, 0, pcmk__xml_fmt_pretty);
xml               524 lib/common/xml_display.c xml_log_changes(uint8_t log_level, const char *function, const xmlNode *xml)
xml               540 lib/common/xml_display.c     rc = pcmk__xml_show_changes(out, xml);
xml               169 lib/common/xml_io.c     xmlNode *xml = NULL;
xml               210 lib/common/xml_io.c         xml = xmlDocGetRootElement(output);
xml               211 lib/common/xml_io.c         if (xml != NULL) {
xml               218 lib/common/xml_io.c             pcmk__strip_xml_text(xml);
xml               225 lib/common/xml_io.c         if (xml != NULL) {
xml               226 lib/common/xml_io.c             crm_log_xml_info(xml, "Partial");
xml               231 lib/common/xml_io.c     return xml;
xml               246 lib/common/xml_io.c     xmlNode *xml = NULL;
xml               267 lib/common/xml_io.c         xml = xmlDocGetRootElement(output);
xml               273 lib/common/xml_io.c         if (xml != NULL) {
xml               274 lib/common/xml_io.c             crm_log_xml_info(xml, "Partial");
xml               279 lib/common/xml_io.c     return xml;
xml               594 lib/common/xml_io.c write_xml_stream(const xmlNode *xml, const char *filename, FILE *stream,
xml               602 lib/common/xml_io.c     pcmk__xml_string(xml, pcmk__xml_fmt_pretty, buffer, 0);
xml               604 lib/common/xml_io.c               crm_log_xml_info(xml, "dump-failed");
xml               608 lib/common/xml_io.c     crm_log_xml_trace(xml, "writing");
xml               660 lib/common/xml_io.c pcmk__xml_write_fd(const xmlNode *xml, const char *filename, int fd,
xml               666 lib/common/xml_io.c     CRM_CHECK((xml != NULL) && (fd > 0), return EINVAL);
xml               672 lib/common/xml_io.c     return write_xml_stream(xml, pcmk__s(filename, "unnamed file"), stream,
xml               688 lib/common/xml_io.c pcmk__xml_write_file(const xmlNode *xml, const char *filename, bool compress,
xml               694 lib/common/xml_io.c     CRM_CHECK((xml != NULL) && (filename != NULL), return EINVAL);
xml               700 lib/common/xml_io.c     return write_xml_stream(xml, filename, stream, compress, nbytes);
xml               734 lib/common/xml_io.c save_xml_to_file(const xmlNode *xml, const char *desc, const char *filename)
xml               747 lib/common/xml_io.c     pcmk__xml_write_file(xml, filename, false, NULL);
xml               776 lib/common/xml_io.c dump_xml_formatted(const xmlNode *xml)
xml               781 lib/common/xml_io.c     pcmk__xml_string(xml, pcmk__xml_fmt_pretty, buffer, 0);
xml               789 lib/common/xml_io.c dump_xml_formatted_with_text(const xmlNode *xml)
xml               794 lib/common/xml_io.c     pcmk__xml_string(xml, pcmk__xml_fmt_pretty|pcmk__xml_fmt_text, buffer, 0);
xml               802 lib/common/xml_io.c dump_xml_unformatted(const xmlNode *xml)
xml               807 lib/common/xml_io.c     pcmk__xml_string(xml, 0, buffer, 0);
xml               815 lib/common/xml_io.c write_xml_fd(const xmlNode *xml, const char *filename, int fd,
xml               819 lib/common/xml_io.c     int rc = pcmk__xml_write_fd(xml, filename, fd, compress, &nbytes);
xml               828 lib/common/xml_io.c write_xml_file(const xmlNode *xml, const char *filename, gboolean compress)
xml               831 lib/common/xml_io.c     int rc = pcmk__xml_write_file(xml, filename, compress, &nbytes);
xml               110 lib/common/xpath.c         xmlNode *xml = NULL;
xml               117 lib/common/xpath.c         xml = xpathObj->nodesetval->nodeTab[lpc]->parent;
xml               119 lib/common/xpath.c         for (; xml; xml = xml->parent) {
xml               123 lib/common/xpath.c                 if (xpathObj->nodesetval->nodeTab[lpc2] == xml) {
xml               170 lib/common/xpath.c crm_foreach_xpath_result(xmlNode *xml, const char *xpath,
xml               173 lib/common/xpath.c     xmlXPathObjectPtr xpathObj = xpath_search(xml, xpath);
xml               256 lib/common/xpath.c pcmk__element_xpath(const xmlNode *xml)
xml               262 lib/common/xpath.c     if (xml == NULL) {
xml               266 lib/common/xpath.c     parent = xml->parent;
xml               276 lib/common/xpath.c         g_string_append(xpath, (const gchar *) xml->name);
xml               278 lib/common/xpath.c         pcmk__g_strcat(xpath, "/", (const char *) xml->name, NULL);
xml               281 lib/common/xpath.c     id = pcmk__xe_id(xml);
xml               360 lib/common/xpath.c xml_get_path(const xmlNode *xml)
xml               363 lib/common/xpath.c     GString *g_path = pcmk__element_xpath(xml);
xml               430 lib/fencing/st_actions.c stonith__xe_set_result(xmlNode *xml, const pcmk__action_result_t *result)
xml               438 lib/fencing/st_actions.c     CRM_CHECK(xml != NULL, return);
xml               448 lib/fencing/st_actions.c     crm_xml_add_int(xml, PCMK__XA_OP_STATUS, (int) execution_status);
xml               449 lib/fencing/st_actions.c     crm_xml_add_int(xml, PCMK__XA_RC_CODE, exit_status);
xml               450 lib/fencing/st_actions.c     crm_xml_add(xml, PCMK_XA_EXIT_REASON, exit_reason);
xml               451 lib/fencing/st_actions.c     crm_xml_add(xml, PCMK__XA_ST_OUTPUT, action_stdout);
xml               457 lib/fencing/st_actions.c     crm_xml_add_int(xml, PCMK__XA_ST_RC, rc);
xml               469 lib/fencing/st_actions.c stonith__find_xe_with_result(xmlNode *xml)
xml               471 lib/fencing/st_actions.c     xmlNode *match = get_xpath_object("//@" PCMK__XA_RC_CODE, xml, LOG_NEVER);
xml               477 lib/fencing/st_actions.c         match = get_xpath_object("//@" PCMK__XA_ST_RC, xml, LOG_ERR);
xml               490 lib/fencing/st_actions.c stonith__xe_get_result(const xmlNode *xml, pcmk__action_result_t *result)
xml               497 lib/fencing/st_actions.c     CRM_CHECK((xml != NULL) && (result != NULL), return);
xml               499 lib/fencing/st_actions.c     exit_reason = crm_element_value(xml, PCMK_XA_EXIT_REASON);
xml               500 lib/fencing/st_actions.c     action_stdout = crm_element_value_copy(xml, PCMK__XA_ST_OUTPUT);
xml               503 lib/fencing/st_actions.c     if ((crm_element_value_int(xml, PCMK__XA_RC_CODE, &exit_status) < 0)
xml               504 lib/fencing/st_actions.c         || (crm_element_value_int(xml, PCMK__XA_OP_STATUS,
xml               512 lib/fencing/st_actions.c         if (crm_element_value_int(xml, PCMK__XA_ST_RC, &rc) == 0) {
xml                72 lib/fencing/st_client.c     xmlNode *xml;
xml               277 lib/fencing/st_client.c     blob.xml = pcmk__xe_create(NULL, PCMK__XE_NOTIFY);
xml               285 lib/fencing/st_client.c     crm_xml_add(blob.xml, PCMK__XA_T, PCMK__VALUE_ST_NOTIFY);
xml               286 lib/fencing/st_client.c     crm_xml_add(blob.xml, PCMK__XA_SUBT, PCMK__VALUE_ST_NOTIFY_DISCONNECT);
xml               289 lib/fencing/st_client.c     free_xml(blob.xml);
xml              1058 lib/fencing/st_client.c     blob.xml = pcmk__xml_parse(buffer);
xml              1059 lib/fencing/st_client.c     if (blob.xml == NULL) {
xml              1065 lib/fencing/st_client.c     type = crm_element_value(blob.xml, PCMK__XA_T);
xml              1069 lib/fencing/st_client.c         invoke_registered_callbacks(st, blob.xml, 0);
xml              1079 lib/fencing/st_client.c         crm_element_value_int(blob.xml, PCMK__XA_ST_TIMEOUT, &timeout);
xml              1080 lib/fencing/st_client.c         crm_element_value_int(blob.xml, PCMK__XA_ST_CALLID, &call_id);
xml              1085 lib/fencing/st_client.c         crm_log_xml_warn(blob.xml, "BadReply");
xml              1088 lib/fencing/st_client.c     free_xml(blob.xml);
xml              1499 lib/fencing/st_client.c     if (blob->xml == NULL) {
xml              1504 lib/fencing/st_client.c     event = crm_element_value(blob->xml, PCMK__XA_SUBT);
xml              1523 lib/fencing/st_client.c     st_event = xml_to_event(blob->xml);
xml               127 lib/fencing/st_rhcs.c     xmlNode *xml = NULL;
xml               168 lib/fencing/st_rhcs.c     xml = pcmk__xml_parse(result->action_stdout);
xml               171 lib/fencing/st_rhcs.c     if (xml == NULL) {
xml               176 lib/fencing/st_rhcs.c     xpathObj = xpath_search(xml, "//" PCMK_XE_ACTIONS);
xml               183 lib/fencing/st_rhcs.c     xpathObj = xpath_search(xml,
xml               203 lib/fencing/st_rhcs.c     stonith_rhcs_parameter_not_required(xml, "action");
xml               204 lib/fencing/st_rhcs.c     stonith_rhcs_parameter_not_required(xml, "plug");
xml               205 lib/fencing/st_rhcs.c     stonith_rhcs_parameter_not_required(xml, "port");
xml               208 lib/fencing/st_rhcs.c         *metadata = xml;
xml               211 lib/fencing/st_rhcs.c         free_xml(xml);
xml               228 lib/fencing/st_rhcs.c     xmlNode *xml = NULL;
xml               230 lib/fencing/st_rhcs.c     int rc = stonith__rhcs_get_metadata(agent, timeout_sec, &xml);
xml               237 lib/fencing/st_rhcs.c     pcmk__xml_string(xml, pcmk__xml_fmt_pretty|pcmk__xml_fmt_text, buffer, 0);
xml               252 lib/fencing/st_rhcs.c     free_xml(xml);
xml               402 lib/lrmd/lrmd_client.c     xmlNode *xml = NULL;
xml               429 lib/lrmd/lrmd_client.c             xml = pcmk__remote_message_xml(native->remote);
xml               433 lib/lrmd/lrmd_client.c             xml = pcmk__remote_message_xml(native->remote);
xml               439 lib/lrmd/lrmd_client.c     while (xml) {
xml               440 lib/lrmd/lrmd_client.c         const char *msg_type = crm_element_value(xml,
xml               443 lib/lrmd/lrmd_client.c             lrmd_dispatch_internal(lrmd, xml);
xml               449 lib/lrmd/lrmd_client.c                 crm_element_value_int(xml, PCMK__XA_LRMD_CALLID, &reply_id);
xml               454 lib/lrmd/lrmd_client.c         free_xml(xml);
xml               455 lib/lrmd/lrmd_client.c         xml = pcmk__remote_message_xml(native->remote);
xml               763 lib/lrmd/lrmd_client.c     xmlNode *xml = NULL;
xml               774 lib/lrmd/lrmd_client.c     rc = read_remote_reply(lrmd, timeout, global_remote_msg_id, &xml);
xml               783 lib/lrmd/lrmd_client.c         *reply = xml;
xml               785 lib/lrmd/lrmd_client.c         free_xml(xml);
xml               133 lib/lrmd/proxy_common.c     xmlNode *xml = NULL;
xml               137 lib/lrmd/proxy_common.c     xml = pcmk__xml_parse(buffer);
xml               138 lib/lrmd/proxy_common.c     if (xml == NULL) {
xml               146 lib/lrmd/proxy_common.c         remote_proxy_relay_response(proxy, xml, proxy->last_request_id);
xml               151 lib/lrmd/proxy_common.c         remote_proxy_relay_event(proxy, xml);
xml               153 lib/lrmd/proxy_common.c     free_xml(xml);
xml               317 lib/pacemaker/libpacemaker_private.h     void (*add_graph_meta)(const pcmk_resource_t *rsc, xmlNode *xml);
xml               798 lib/pacemaker/libpacemaker_private.h void pcmk__primitive_add_graph_meta(const pcmk_resource_t *rsc, xmlNode *xml);
xml               918 lib/pacemaker/libpacemaker_private.h void pcmk__clone_add_graph_meta(const pcmk_resource_t *rsc, xmlNode *xml);
xml              1091 lib/pacemaker/libpacemaker_private.h void pcmk__noop_add_graph_meta(const pcmk_resource_t *rsc, xmlNode *xml);
xml              1181 lib/pacemaker/libpacemaker_private.h                                  pcmk_scheduler_t **scheduler, xmlNode **xml);
xml                50 lib/pacemaker/pcmk_agents.c pcmk_list_alternatives(xmlNodePtr *xml, const char *agent_spec)
xml                55 lib/pacemaker/pcmk_agents.c     rc = pcmk__xml_output_new(&out, xml);
xml                63 lib/pacemaker/pcmk_agents.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               121 lib/pacemaker/pcmk_agents.c pcmk_list_agents(xmlNodePtr *xml, char *agent_spec)
xml               126 lib/pacemaker/pcmk_agents.c     rc = pcmk__xml_output_new(&out, xml);
xml               134 lib/pacemaker/pcmk_agents.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               177 lib/pacemaker/pcmk_agents.c pcmk_list_providers(xmlNodePtr *xml, const char *agent_spec)
xml               182 lib/pacemaker/pcmk_agents.c     rc = pcmk__xml_output_new(&out, xml);
xml               190 lib/pacemaker/pcmk_agents.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               228 lib/pacemaker/pcmk_agents.c pcmk_list_standards(xmlNodePtr *xml)
xml               233 lib/pacemaker/pcmk_agents.c     rc = pcmk__xml_output_new(&out, xml);
xml               241 lib/pacemaker/pcmk_agents.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               497 lib/pacemaker/pcmk_cluster_queries.c pcmk_controller_status(xmlNodePtr *xml, const char *node_name,
xml               503 lib/pacemaker/pcmk_cluster_queries.c     rc = pcmk__xml_output_new(&out, xml);
xml               511 lib/pacemaker/pcmk_cluster_queries.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               566 lib/pacemaker/pcmk_cluster_queries.c pcmk_designated_controller(xmlNodePtr *xml, unsigned int message_timeout_ms)
xml               571 lib/pacemaker/pcmk_cluster_queries.c     rc = pcmk__xml_output_new(&out, xml);
xml               579 lib/pacemaker/pcmk_cluster_queries.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               689 lib/pacemaker/pcmk_cluster_queries.c pcmk_query_node_info(xmlNodePtr *xml, uint32_t *node_id, char **node_name,
xml               699 lib/pacemaker/pcmk_cluster_queries.c     rc = pcmk__xml_output_new(&out, xml);
xml               709 lib/pacemaker/pcmk_cluster_queries.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               785 lib/pacemaker/pcmk_cluster_queries.c pcmk_pacemakerd_status(xmlNodePtr *xml, const char *ipc_name,
xml               791 lib/pacemaker/pcmk_cluster_queries.c     rc = pcmk__xml_output_new(&out, xml);
xml               799 lib/pacemaker/pcmk_cluster_queries.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               887 lib/pacemaker/pcmk_cluster_queries.c pcmk_list_nodes(xmlNodePtr *xml, const char *node_types)
xml               892 lib/pacemaker/pcmk_cluster_queries.c     rc = pcmk__xml_output_new(&out, xml);
xml               900 lib/pacemaker/pcmk_cluster_queries.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               305 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, const char *target,
xml               312 lib/pacemaker/pcmk_fence.c     rc = pcmk__xml_output_new(&out, xml);
xml               323 lib/pacemaker/pcmk_fence.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               354 lib/pacemaker/pcmk_fence.c pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout)
xml               359 lib/pacemaker/pcmk_fence.c     rc = pcmk__xml_output_new(&out, xml);
xml               367 lib/pacemaker/pcmk_fence.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               392 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid)
xml               397 lib/pacemaker/pcmk_fence.c     rc = pcmk__xml_output_new(&out, xml);
xml               405 lib/pacemaker/pcmk_fence.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               438 lib/pacemaker/pcmk_fence.c pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, const char *device_id,
xml               444 lib/pacemaker/pcmk_fence.c     rc = pcmk__xml_output_new(&out, xml);
xml               452 lib/pacemaker/pcmk_fence.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               476 lib/pacemaker/pcmk_fence.c pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, const char *agent,
xml               482 lib/pacemaker/pcmk_fence.c     rc = pcmk__xml_output_new(&out, xml);
xml               490 lib/pacemaker/pcmk_fence.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               525 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, const char *target,
xml               531 lib/pacemaker/pcmk_fence.c     rc = pcmk__xml_output_new(&out, xml);
xml               539 lib/pacemaker/pcmk_fence.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               591 lib/pacemaker/pcmk_fence.c pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent,
xml               598 lib/pacemaker/pcmk_fence.c     rc = pcmk__xml_output_new(&out, xml);
xml               606 lib/pacemaker/pcmk_fence.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml                44 lib/pacemaker/pcmk_graph_consumer.c     free_xml(action->xml);
xml               298 lib/pacemaker/pcmk_graph_consumer.c     const char *id = pcmk__xe_id(action->xml);
xml               315 lib/pacemaker/pcmk_graph_consumer.c             if (pcmk__str_eq(crm_element_value(action->xml, PCMK_XA_OPERATION),
xml               327 lib/pacemaker/pcmk_graph_consumer.c                     action->xml->name, id);
xml               352 lib/pacemaker/pcmk_graph_consumer.c                     action->xml->name, action->id, synapse->id,
xml               579 lib/pacemaker/pcmk_graph_consumer.c     action->xml = pcmk__xml_copy(NULL, xml_action);
xml               582 lib/pacemaker/pcmk_graph_consumer.c     action->params = xml2list(action->xml);
xml               858 lib/pacemaker/pcmk_graph_consumer.c     action_resource = pcmk__xe_first_child(action->xml, PCMK_XE_PRIMITIVE, NULL,
xml               860 lib/pacemaker/pcmk_graph_consumer.c     CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "invalid");
xml               864 lib/pacemaker/pcmk_graph_consumer.c                         crm_element_value(action->xml, PCMK_XA_OPERATION),
xml               128 lib/pacemaker/pcmk_graph_logging.c             pcmk__add_word(&pending, 1024, pcmk__xe_id(input->xml));
xml               135 lib/pacemaker/pcmk_graph_logging.c             pcmk__add_word(&pending, 1024, pcmk__xe_id(input->xml));
xml               148 lib/pacemaker/pcmk_graph_logging.c         const char *key = crm_element_value(input->xml, PCMK__XA_OPERATION_KEY);
xml               149 lib/pacemaker/pcmk_graph_logging.c         const char *host = crm_element_value(input->xml, PCMK__META_ON_NODE);
xml               164 lib/pacemaker/pcmk_graph_logging.c     const char *key = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY);
xml               165 lib/pacemaker/pcmk_graph_logging.c     const char *host = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml                45 lib/pacemaker/pcmk_graph_producer.c add_node_to_xml_by_id(const char *id, xmlNode *xml)
xml                49 lib/pacemaker/pcmk_graph_producer.c     node_xml = pcmk__xe_create(xml, PCMK_XE_NODE);
xml                63 lib/pacemaker/pcmk_graph_producer.c add_node_to_xml(const pcmk_node_t *node, void *xml)
xml                65 lib/pacemaker/pcmk_graph_producer.c     add_node_to_xml_by_id(node->details->id, (xmlNode *) xml);
xml                79 lib/pacemaker/pcmk_graph_producer.c add_maintenance_nodes(xmlNode *xml, const pcmk_scheduler_t *scheduler)
xml                84 lib/pacemaker/pcmk_graph_producer.c     if (xml != NULL) {
xml                85 lib/pacemaker/pcmk_graph_producer.c         maintenance = pcmk__xe_create(xml, PCMK__XE_MAINTENANCE);
xml               137 lib/pacemaker/pcmk_graph_producer.c add_downed_nodes(xmlNode *xml, const pcmk_action_t *action)
xml               139 lib/pacemaker/pcmk_graph_producer.c     CRM_CHECK((xml != NULL) && (action != NULL) && (action->node != NULL),
xml               145 lib/pacemaker/pcmk_graph_producer.c         xmlNode *downed = pcmk__xe_create(xml, PCMK__XE_DOWNED);
xml               156 lib/pacemaker/pcmk_graph_producer.c             xmlNode *downed = pcmk__xe_create(xml, PCMK__XE_DOWNED);
xml               184 lib/pacemaker/pcmk_graph_producer.c             xmlNode *downed = pcmk__xe_create(xml, PCMK__XE_DOWNED);
xml               226 lib/pacemaker/pcmk_graph_producer.c add_node_details(const pcmk_action_t *action, xmlNode *xml)
xml               230 lib/pacemaker/pcmk_graph_producer.c     crm_xml_add(xml, PCMK__META_ON_NODE, action->node->details->uname);
xml               231 lib/pacemaker/pcmk_graph_producer.c     crm_xml_add(xml, PCMK__META_ON_NODE_UUID, action->node->details->id);
xml               233 lib/pacemaker/pcmk_graph_producer.c         crm_xml_add(xml, PCMK__XA_ROUTER_NODE, router_node->details->uname);
xml               266 lib/pacemaker/pcmk_graph_producer.c                               (const char *) action->rsc->xml->name);
xml               283 lib/pacemaker/pcmk_graph_producer.c         const char *xml_id = pcmk__xe_id(action->rsc->xml);
xml               591 lib/pacemaker/pcmk_injections.c     rclass = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml               592 lib/pacemaker/pcmk_injections.c     rtype = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml               593 lib/pacemaker/pcmk_injections.c     rprovider = crm_element_value(rsc->xml, PCMK_XA_PROVIDER);
xml                48 lib/pacemaker/pcmk_options.c pcmk_list_cluster_options(xmlNode **xml, bool all)
xml                53 lib/pacemaker/pcmk_options.c     rc = pcmk__xml_output_new(&out, xml);
xml                62 lib/pacemaker/pcmk_options.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml                97 lib/pacemaker/pcmk_options.c pcmk_list_fencing_params(xmlNode **xml, bool all)
xml               102 lib/pacemaker/pcmk_options.c     rc = pcmk__xml_output_new(&out, xml);
xml               111 lib/pacemaker/pcmk_options.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               137 lib/pacemaker/pcmk_options.c pcmk_list_primitive_meta(xmlNode **xml, bool all)
xml               142 lib/pacemaker/pcmk_options.c     rc = pcmk__xml_output_new(&out, xml);
xml               151 lib/pacemaker/pcmk_options.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               254 lib/pacemaker/pcmk_output.c     xmlNode *xml = NULL;
xml               277 lib/pacemaker/pcmk_output.c     xml = pcmk__output_create_xml_node(out, PCMK_XE_RSC_ACTION,
xml               285 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               293 lib/pacemaker/pcmk_output.c         crm_xml_add(xml, PCMK_XA_NODE, destination->details->uname);
xml               297 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               304 lib/pacemaker/pcmk_output.c         crm_xml_add(xml, PCMK_XA_NODE, origin->details->uname);
xml               308 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               315 lib/pacemaker/pcmk_output.c         crm_xml_add(xml, PCMK_XA_SOURCE, origin->details->uname);
xml               319 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               327 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               334 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               342 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               352 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               358 lib/pacemaker/pcmk_output.c         crm_xml_add(xml, PCMK_XA_REASON, source->reason);
xml               361 lib/pacemaker/pcmk_output.c         pcmk__xe_set_bool_attr(xml, PCMK_XA_BLOCKED, true);
xml              1040 lib/pacemaker/pcmk_output.c     xmlNode *xml = NULL;
xml              1042 lib/pacemaker/pcmk_output.c     xml = pcmk__output_create_xml_node(out, PCMK_XE_DIGESTS,
xml              1051 lib/pacemaker/pcmk_output.c         add_digest_xml(xml, "all", digests->digest_all_calc,
xml              1053 lib/pacemaker/pcmk_output.c         add_digest_xml(xml, "nonprivate", digests->digest_secure_calc,
xml              1055 lib/pacemaker/pcmk_output.c         add_digest_xml(xml, "nonreloadable", digests->digest_restart_calc,
xml               148 lib/pacemaker/pcmk_resource.c pcmk_resource_delete(xmlNodePtr *xml, const char *rsc_id, const char *rsc_type)
xml               155 lib/pacemaker/pcmk_resource.c     rc = pcmk__xml_output_new(&out, xml);
xml               180 lib/pacemaker/pcmk_resource.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               236 lib/pacemaker/pcmk_resource.c pcmk_resource_digests(xmlNodePtr *xml, pcmk_resource_t *rsc,
xml               242 lib/pacemaker/pcmk_resource.c     rc = pcmk__xml_output_new(&out, xml);
xml               248 lib/pacemaker/pcmk_resource.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml                62 lib/pacemaker/pcmk_result_code.c pcmk_show_result_code(xmlNodePtr *xml, int code, enum pcmk_result_type type,
xml                68 lib/pacemaker/pcmk_result_code.c     rc = pcmk__xml_output_new(&out, xml);
xml                76 lib/pacemaker/pcmk_result_code.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               151 lib/pacemaker/pcmk_result_code.c pcmk_list_result_codes(xmlNodePtr *xml, enum pcmk_result_type type,
xml               157 lib/pacemaker/pcmk_result_code.c     rc = pcmk__xml_output_new(&out, xml);
xml               165 lib/pacemaker/pcmk_result_code.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               198 lib/pacemaker/pcmk_rule.c pcmk_check_rules(xmlNodePtr *xml, xmlNodePtr input, const crm_time_t *date,
xml               204 lib/pacemaker/pcmk_rule.c     rc = pcmk__xml_output_new(&out, xml);
xml               212 lib/pacemaker/pcmk_rule.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               796 lib/pacemaker/pcmk_sched_bundle.c         xmlNode *nvpair = get_xpath_object(XPATH_REMOTE, replica->remote->xml,
xml               618 lib/pacemaker/pcmk_sched_clone.c pcmk__clone_add_graph_meta(const pcmk_resource_t *rsc, xmlNode *xml)
xml               622 lib/pacemaker/pcmk_sched_clone.c     CRM_ASSERT(pcmk__is_clone(rsc) && (xml != NULL));
xml               625 lib/pacemaker/pcmk_sched_clone.c     crm_xml_add(xml, name, pcmk__flag_text(rsc->flags, pcmk_rsc_unique));
xml               629 lib/pacemaker/pcmk_sched_clone.c     crm_xml_add(xml, name, pcmk__flag_text(rsc->flags, pcmk_rsc_notify));
xml               633 lib/pacemaker/pcmk_sched_clone.c     crm_xml_add_int(xml, name, pe__clone_max(rsc));
xml               637 lib/pacemaker/pcmk_sched_clone.c     crm_xml_add_int(xml, name, pe__clone_node_max(rsc));
xml               645 lib/pacemaker/pcmk_sched_clone.c         crm_xml_add_int(xml, name, promoted_max);
xml               649 lib/pacemaker/pcmk_sched_clone.c         crm_xml_add_int(xml, name, promoted_node_max);
xml               656 lib/pacemaker/pcmk_sched_clone.c         crm_xml_add_int(xml, name, promoted_max);
xml               660 lib/pacemaker/pcmk_sched_clone.c         crm_xml_add_int(xml, name, promoted_node_max);
xml               240 lib/pacemaker/pcmk_sched_ordering.c get_ordering_resource(const xmlNode *xml, const char *resource_attr,
xml               246 lib/pacemaker/pcmk_sched_ordering.c     const char *rsc_id = crm_element_value(xml, resource_attr);
xml               247 lib/pacemaker/pcmk_sched_ordering.c     const char *instance_id = crm_element_value(xml, instance_attr);
xml               251 lib/pacemaker/pcmk_sched_ordering.c                          pcmk__xe_id(xml), resource_attr);
xml               258 lib/pacemaker/pcmk_sched_ordering.c                          "does not exist", pcmk__xe_id(xml), rsc_id);
xml               271 lib/pacemaker/pcmk_sched_ordering.c                              pcmk__xe_id(xml), rsc_id, instance_id);
xml               278 lib/pacemaker/pcmk_sched_ordering.c                              pcmk__xe_id(xml), rsc_id, instance_id);
xml               295 lib/pacemaker/pcmk_sched_ordering.c get_minimum_first_instances(const pcmk_resource_t *rsc, const xmlNode *xml)
xml               316 lib/pacemaker/pcmk_sched_ordering.c     if (pcmk__xe_get_bool_attr(xml, PCMK_XA_REQUIRE_ALL,
xml               780 lib/pacemaker/pcmk_sched_primitive.c         const char *class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml              1502 lib/pacemaker/pcmk_sched_primitive.c pcmk__primitive_add_graph_meta(const pcmk_resource_t *rsc, xmlNode *xml)
xml              1508 lib/pacemaker/pcmk_sched_primitive.c     CRM_ASSERT(pcmk__is_primitive(rsc) && (xml != NULL));
xml              1517 lib/pacemaker/pcmk_sched_primitive.c         crm_xml_add(xml, name, value);
xml              1525 lib/pacemaker/pcmk_sched_primitive.c         crm_xml_add(xml, name, value);
xml              1535 lib/pacemaker/pcmk_sched_primitive.c             crm_xml_add(xml, CRM_META "_" PCMK__META_CONTAINER,
xml              1546 lib/pacemaker/pcmk_sched_primitive.c         crm_xml_add(xml, "pcmk_external_ip", value);
xml              1621 lib/pacemaker/pcmk_sched_primitive.c     class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml               173 lib/pacemaker/pcmk_sched_probes.c         const char *class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml                41 lib/pacemaker/pcmk_sched_recurring.c xe_interval(const xmlNode *xml)
xml                45 lib/pacemaker/pcmk_sched_recurring.c     pcmk_parse_interval_spec(crm_element_value(xml, PCMK_META_INTERVAL),
xml               130 lib/pacemaker/pcmk_sched_recurring.c is_recurring_history(const pcmk_resource_t *rsc, const xmlNode *xml,
xml               135 lib/pacemaker/pcmk_sched_recurring.c     op->interval_ms = xe_interval(xml);
xml               140 lib/pacemaker/pcmk_sched_recurring.c     op->id = pcmk__xe_id(xml);
xml               146 lib/pacemaker/pcmk_sched_recurring.c     op->name = crm_element_value(xml, PCMK_XA_NAME);
xml               159 lib/pacemaker/pcmk_sched_recurring.c     role = crm_element_value(xml, PCMK_XA_ROLE);
xml               122 lib/pacemaker/pcmk_sched_resource.c         const char *value = crm_element_value(rsc->xml, attr_list[i]);
xml               306 lib/pacemaker/pcmk_sched_resource.c pcmk__noop_add_graph_meta(const pcmk_resource_t *rsc, xmlNode *xml)
xml               338 lib/pacemaker/pcmk_scheduler.c                             rsc->xml->name, rsc->id);
xml               672 lib/pacemaker/pcmk_scheduler.c             out->message(out, pcmk__map_element_name(rsc->xml), 0UL, rsc, all,
xml                42 lib/pacemaker/pcmk_setup.c                              pcmk_scheduler_t **scheduler, xmlNode **xml)
xml                46 lib/pacemaker/pcmk_setup.c     rc = pcmk__xml_output_new(out, xml);
xml               477 lib/pacemaker/pcmk_simulate.c     const char *node = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               478 lib/pacemaker/pcmk_simulate.c     const char *task = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY);
xml               508 lib/pacemaker/pcmk_simulate.c     const char *operation = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               514 lib/pacemaker/pcmk_simulate.c     xmlNode *action_rsc = pcmk__xe_first_child(action->xml, PCMK_XE_PRIMITIVE,
xml               517 lib/pacemaker/pcmk_simulate.c     char *node = crm_element_value_copy(action->xml, PCMK__META_ON_NODE);
xml               519 lib/pacemaker/pcmk_simulate.c     const char *router_node = crm_element_value(action->xml,
xml               529 lib/pacemaker/pcmk_simulate.c         crm_log_xml_err(action->xml, "Bad");
xml               541 lib/pacemaker/pcmk_simulate.c         crm_log_xml_err(action->xml, "No ID");
xml               573 lib/pacemaker/pcmk_simulate.c     uuid = crm_element_value_copy(action->xml, PCMK__META_ON_NODE_UUID);
xml               671 lib/pacemaker/pcmk_simulate.c     const char *node = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               672 lib/pacemaker/pcmk_simulate.c     const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               673 lib/pacemaker/pcmk_simulate.c     xmlNode *rsc = pcmk__xe_first_child(action->xml, PCMK_XE_PRIMITIVE, NULL,
xml               695 lib/pacemaker/pcmk_simulate.c     char *target = crm_element_value_copy(action->xml, PCMK__META_ON_NODE);
xml               992 lib/pacemaker/pcmk_simulate.c pcmk_simulate(xmlNodePtr *xml, pcmk_scheduler_t *scheduler,
xml              1001 lib/pacemaker/pcmk_simulate.c     rc = pcmk__xml_output_new(&out, xml);
xml              1011 lib/pacemaker/pcmk_simulate.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               154 lib/pacemaker/pcmk_status.c pcmk_status(xmlNodePtr *xml)
xml               170 lib/pacemaker/pcmk_status.c     rc = pcmk__xml_output_new(&out, xml);
xml               182 lib/pacemaker/pcmk_status.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               145 lib/pacemaker/pcmk_ticket.c pcmk_ticket_constraints(xmlNodePtr *xml, const char *ticket_id)
xml               151 lib/pacemaker/pcmk_ticket.c     rc = pcmk__setup_output_cib_sched(&out, &cib, NULL, xml);
xml               163 lib/pacemaker/pcmk_ticket.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               234 lib/pacemaker/pcmk_ticket.c pcmk_ticket_delete(xmlNodePtr *xml, const char *ticket_id, bool force)
xml               241 lib/pacemaker/pcmk_ticket.c     rc = pcmk__setup_output_cib_sched(&out, &cib, &scheduler, xml);
xml               253 lib/pacemaker/pcmk_ticket.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               291 lib/pacemaker/pcmk_ticket.c pcmk_ticket_get_attr(xmlNodePtr *xml, const char *ticket_id,
xml               298 lib/pacemaker/pcmk_ticket.c     rc = pcmk__setup_output_cib_sched(&out, NULL, &scheduler, xml);
xml               306 lib/pacemaker/pcmk_ticket.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               343 lib/pacemaker/pcmk_ticket.c pcmk_ticket_info(xmlNodePtr *xml, const char *ticket_id)
xml               349 lib/pacemaker/pcmk_ticket.c     rc = pcmk__setup_output_cib_sched(&out, NULL, &scheduler, xml);
xml               363 lib/pacemaker/pcmk_ticket.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               416 lib/pacemaker/pcmk_ticket.c pcmk_ticket_remove_attr(xmlNodePtr *xml, const char *ticket_id, GList *attr_delete, bool force)
xml               423 lib/pacemaker/pcmk_ticket.c     rc = pcmk__setup_output_cib_sched(&out, &cib, &scheduler, xml);
xml               435 lib/pacemaker/pcmk_ticket.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               484 lib/pacemaker/pcmk_ticket.c pcmk_ticket_set_attr(xmlNodePtr *xml, const char *ticket_id, GHashTable *attr_set,
xml               492 lib/pacemaker/pcmk_ticket.c     rc = pcmk__setup_output_cib_sched(&out, &cib, &scheduler, xml);
xml               504 lib/pacemaker/pcmk_ticket.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               533 lib/pacemaker/pcmk_ticket.c pcmk_ticket_state(xmlNodePtr *xml, const char *ticket_id)
xml               539 lib/pacemaker/pcmk_ticket.c     rc = pcmk__setup_output_cib_sched(&out, &cib, NULL, xml);
xml               551 lib/pacemaker/pcmk_ticket.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml               119 lib/pacemaker/pcmk_verify.c pcmk_verify(xmlNodePtr *xml, const char *cib_source)
xml               127 lib/pacemaker/pcmk_verify.c     rc = pcmk__xml_output_new(&out, xml);
xml               153 lib/pacemaker/pcmk_verify.c     pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml);
xml                22 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     xmlNode *xml = NULL;
xml                28 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     assert_int_equal(pcmk_resource_delete(&xml, "rsc", "primitive"), ENOTCONN);
xml                29 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     pcmk__assert_validates(xml);
xml                30 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     free_xml(xml);
xml                56 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     xmlNode *xml = NULL;
xml                61 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     assert_int_equal(pcmk_resource_delete(&xml, "Fencing", NULL), EINVAL);
xml                62 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     pcmk__assert_validates(xml);
xml                63 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     free_xml(xml);
xml                64 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     xml = NULL;
xml                66 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     assert_int_equal(pcmk_resource_delete(&xml, NULL, "primitive"), EINVAL);
xml                67 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     pcmk__assert_validates(xml);
xml                68 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     free_xml(xml);
xml                96 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     xmlNode *xml = NULL;
xml               103 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     assert_int_equal(pcmk_resource_delete(&xml, "Fencing", "clone"), pcmk_rc_ok);
xml               104 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     pcmk__assert_validates(xml);
xml               105 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     free_xml(xml);
xml               116 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     xmlNode *xml = NULL;
xml               119 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     assert_int_equal(pcmk_resource_delete(&xml, "Fencing", "primitive"), pcmk_rc_ok);
xml               120 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     pcmk__assert_validates(xml);
xml               121 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     free_xml(xml);
xml               132 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     xmlNode *xml = NULL;
xml               137 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     assert_int_equal(pcmk_resource_delete(&xml, "no_such_resource", "primitive"), pcmk_rc_ok);
xml               138 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     pcmk__assert_validates(xml);
xml               139 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c     free_xml(xml);
xml                24 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     xmlNode *xml = NULL;
xml                31 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     assert_int_equal(pcmk__get_ticket_state(cib, "ticketA", &xml), ENOTCONN);
xml                58 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     xmlNode *xml = NULL;
xml                63 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     pcmk__assert_asserts(pcmk__get_ticket_state(NULL, "ticketA", &xml));
xml                72 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     xmlNode *xml = NULL;
xml                77 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     assert_int_equal(pcmk__get_ticket_state(cib, "XYZ", &xml), ENXIO);
xml                79 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     free_xml(xml);
xml                86 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     xmlNode *xml = NULL;
xml                92 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     assert_int_equal(pcmk__get_ticket_state(cib, "ticketA", &xml), pcmk_rc_ok);
xml                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\"]");
xml               101 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     free_xml(xml);
xml               108 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     xmlNode *xml = NULL;
xml               115 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     assert_int_equal(pcmk__get_ticket_state(cib, NULL, &xml), pcmk_rc_ok);
xml               120 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     xpath_obj = xpath_search(xml, "//" PCMK__XE_TICKET_STATE);
xml               137 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     free_xml(xml);
xml               144 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     xmlNode *xml = NULL;
xml               150 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     assert_int_equal(pcmk__get_ticket_state(cib, "ticketC", &xml), pcmk_rc_duplicate_id);
xml               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\"]");
xml               159 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c     free_xml(xml);
xml                22 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     xmlNode *xml = NULL;
xml                28 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     assert_int_equal(pcmk_ticket_constraints(&xml, NULL), ENOTCONN);
xml                29 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     pcmk__assert_validates(xml);
xml                30 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     free_xml(xml);
xml                62 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     xmlNode *xml = NULL;
xml                64 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     assert_int_equal(pcmk_ticket_constraints(&xml, "XYZ"), ENXIO);
xml                65 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     pcmk__assert_validates(xml);
xml                66 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     free_xml(xml);
xml                72 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     xmlNode *xml = NULL;
xml                75 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     assert_int_equal(pcmk_ticket_constraints(&xml, "ticketA"), pcmk_rc_ok);
xml                76 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     pcmk__assert_validates(xml);
xml                81 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS
xml                86 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     free_xml(xml);
xml                92 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     xmlNode *xml = NULL;
xml                96 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     assert_int_equal(pcmk_ticket_constraints(&xml, NULL), pcmk_rc_ok);
xml                97 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     pcmk__assert_validates(xml);
xml               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);
xml               113 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c     free_xml(xml);
xml                22 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     xmlNode *xml = NULL;
xml                28 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     assert_int_equal(pcmk_ticket_delete(&xml, "ticketA", false), ENOTCONN);
xml                29 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     pcmk__assert_validates(xml);
xml                30 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     free_xml(xml);
xml                56 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     xmlNode *xml = NULL;
xml                60 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     assert_int_equal(pcmk_ticket_delete(&xml, NULL, false), EINVAL);
xml                61 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     pcmk__assert_validates(xml);
xml                62 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     free_xml(xml);
xml                68 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     xmlNode *xml = NULL;
xml                70 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     assert_int_equal(pcmk_ticket_delete(&xml, "XYZ", false), ENXIO);
xml                71 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     pcmk__assert_validates(xml);
xml                72 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     free_xml(xml);
xml                73 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     xml = NULL;
xml                75 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     assert_int_equal(pcmk_ticket_delete(&xml, "XYZ", true), pcmk_rc_ok);
xml                76 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     pcmk__assert_validates(xml);
xml                77 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     free_xml(xml);
xml                83 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     xmlNode *xml = NULL;
xml                85 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     assert_int_equal(pcmk_ticket_delete(&xml, "ticketB", false), EACCES);
xml                86 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     pcmk__assert_validates(xml);
xml                87 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     free_xml(xml);
xml                93 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     xmlNode *xml = NULL;
xml                97 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     assert_int_equal(pcmk_ticket_delete(&xml, "ticketA", false), pcmk_rc_ok);
xml                98 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     pcmk__assert_validates(xml);
xml               107 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     free_xml(xml);
xml               114 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     xmlNode *xml = NULL;
xml               118 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     assert_int_equal(pcmk_ticket_delete(&xml, "ticketB", true), pcmk_rc_ok);
xml               119 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     pcmk__assert_validates(xml);
xml               128 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     free_xml(xml);
xml               135 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     xmlNode *xml = NULL;
xml               139 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     assert_int_equal(pcmk_ticket_delete(&xml, "ticketC", true), pcmk_rc_ok);
xml               140 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     pcmk__assert_validates(xml);
xml               150 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c     free_xml(xml);
xml                42 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     xmlNode *xml = NULL;
xml                46 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     assert_int_equal(pcmk_ticket_get_attr(&xml, NULL, "attrA", NULL), EINVAL);
xml                47 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     pcmk__assert_validates(xml);
xml                48 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     free_xml(xml);
xml                49 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     xml = NULL;
xml                51 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     assert_int_equal(pcmk_ticket_get_attr(&xml, "ticketA", NULL, NULL), EINVAL);
xml                52 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     pcmk__assert_validates(xml);
xml                53 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     free_xml(xml);
xml                59 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     xmlNode *xml = NULL;
xml                65 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     assert_int_equal(pcmk_ticket_get_attr(&xml, "XYZ", "attrA", NULL), ENXIO);
xml                66 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     pcmk__assert_validates(xml);
xml                67 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     free_xml(xml);
xml                68 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     xml = NULL;
xml                70 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     assert_int_equal(pcmk_ticket_get_attr(&xml, "ticketA", "XYZ", NULL), ENXIO);
xml                71 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     pcmk__assert_validates(xml);
xml                72 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     free_xml(xml);
xml                76 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c verify_results(xmlNode *xml, const char *ticket_id, const char *attr_name,
xml                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);
xml                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
xml               109 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     xmlNode *xml = NULL;
xml               111 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     assert_int_equal(pcmk_ticket_get_attr(&xml, "ticketA", "owner", NULL), pcmk_rc_ok);
xml               112 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     pcmk__assert_validates(xml);
xml               114 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     verify_results(xml, "ticketA", "owner", "1");
xml               116 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     free_xml(xml);
xml               122 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     xmlNode *xml = NULL;
xml               124 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     assert_int_equal(pcmk_ticket_get_attr(&xml, "ticketX", "ABC", "DEFAULT"), pcmk_rc_ok);
xml               125 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     pcmk__assert_validates(xml);
xml               127 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     verify_results(xml, "ticketX", "ABC", "DEFAULT");
xml               129 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     free_xml(xml);
xml               135 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     xmlNode *xml = NULL;
xml               137 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     assert_int_equal(pcmk_ticket_get_attr(&xml, "ticketA", "ABC", "DEFAULT"), pcmk_rc_ok);
xml               138 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     pcmk__assert_validates(xml);
xml               140 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     verify_results(xml, "ticketA", "ABC", "DEFAULT");
xml               142 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c     free_xml(xml);
xml                48 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     xmlNode *xml = NULL;
xml                50 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     assert_int_equal(pcmk_ticket_info(&xml, "XYZ"), ENXIO);
xml                51 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     pcmk__assert_validates(xml);
xml                52 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     free_xml(xml);
xml                60 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     xmlNode *xml = NULL;
xml                62 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     assert_int_equal(pcmk_ticket_info(&xml, NULL), pcmk_rc_ok);
xml                63 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     pcmk__assert_validates(xml);
xml                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);
xml                74 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS
xml                84 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS
xml                94 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS
xml               104 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     free_xml(xml);
xml               112 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     xmlNode *xml = NULL;
xml               114 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     assert_int_equal(pcmk_ticket_info(&xml, "ticketA"), pcmk_rc_ok);
xml               115 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     pcmk__assert_validates(xml);
xml               120 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS
xml               131 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c     free_xml(xml);
xml                22 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     xmlNode *xml = NULL;
xml                28 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     assert_int_equal(pcmk_ticket_remove_attr(&xml, NULL, NULL, false), ENOTCONN);
xml                29 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     pcmk__assert_validates(xml);
xml                30 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     free_xml(xml);
xml                56 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     xmlNode *xml = NULL;
xml                60 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     assert_int_equal(pcmk_ticket_remove_attr(&xml, NULL, NULL, false), EINVAL);
xml                61 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     pcmk__assert_validates(xml);
xml                62 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     free_xml(xml);
xml                69 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     xmlNode *xml = NULL;
xml                76 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     assert_int_equal(pcmk_ticket_remove_attr(&xml, "XYZ", NULL, false), pcmk_rc_ok);
xml                77 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     pcmk__assert_validates(xml);
xml                78 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     free_xml(xml);
xml                79 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     xml = NULL;
xml                86 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     assert_int_equal(pcmk_ticket_remove_attr(&xml, "ticketA", NULL, false), pcmk_rc_ok);
xml                87 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     pcmk__assert_validates(xml);
xml                88 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     free_xml(xml);
xml                89 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     xml = NULL;
xml                97 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     assert_int_equal(pcmk_ticket_remove_attr(&xml, "XYZ", attrs, false), pcmk_rc_ok);
xml                98 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     pcmk__assert_validates(xml);
xml                99 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     free_xml(xml);
xml               113 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     xmlNode *xml = NULL;
xml               120 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     assert_int_equal(pcmk_ticket_remove_attr(&xml, "ticketA", attrs, false), pcmk_rc_ok);
xml               121 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     pcmk__assert_validates(xml);
xml               122 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     free_xml(xml);
xml               141 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     xmlNode *xml = NULL;
xml               147 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     assert_int_equal(pcmk_ticket_remove_attr(&xml, "ticketA", attrs, false), pcmk_rc_ok);
xml               148 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     pcmk__assert_validates(xml);
xml               149 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     free_xml(xml);
xml               167 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     xmlNode *xml = NULL;
xml               173 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     assert_int_equal(pcmk_ticket_remove_attr(&xml, "ticketB", attrs, false), EACCES);
xml               174 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     pcmk__assert_validates(xml);
xml               175 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     free_xml(xml);
xml               193 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     xmlNode *xml = NULL;
xml               199 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     assert_int_equal(pcmk_ticket_remove_attr(&xml, "ticketB", attrs, true), pcmk_rc_ok);
xml               200 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     pcmk__assert_validates(xml);
xml               201 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c     free_xml(xml);
xml                22 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     xmlNode *xml = NULL;
xml                28 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     assert_int_equal(pcmk_ticket_set_attr(&xml, NULL, NULL, false), ENOTCONN);
xml                29 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     pcmk__assert_validates(xml);
xml                30 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     free_xml(xml);
xml                56 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     xmlNode *xml = NULL;
xml                60 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     assert_int_equal(pcmk_ticket_set_attr(&xml, NULL, NULL, false), EINVAL);
xml                61 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     pcmk__assert_validates(xml);
xml                62 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     free_xml(xml);
xml                69 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     xmlNode *xml = NULL;
xml                76 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     assert_int_equal(pcmk_ticket_set_attr(&xml, "XYZ", NULL, false), pcmk_rc_ok);
xml                77 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     pcmk__assert_validates(xml);
xml                78 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     free_xml(xml);
xml                79 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     xml = NULL;
xml                86 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     assert_int_equal(pcmk_ticket_set_attr(&xml, "XYZ", attrs, false), pcmk_rc_ok);
xml                87 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     pcmk__assert_validates(xml);
xml                88 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     free_xml(xml);
xml               102 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     xmlNode *xml = NULL;
xml               112 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     assert_int_equal(pcmk_ticket_set_attr(&xml, "XYZ", attrs, false), pcmk_rc_ok);
xml               113 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     pcmk__assert_validates(xml);
xml               114 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     free_xml(xml);
xml               133 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     xmlNode *xml = NULL;
xml               139 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     assert_int_equal(pcmk_ticket_set_attr(&xml, "ticketA", attrs, false), pcmk_rc_ok);
xml               140 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     pcmk__assert_validates(xml);
xml               141 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     free_xml(xml);
xml               159 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     xmlNode *xml = NULL;
xml               165 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     assert_int_equal(pcmk_ticket_set_attr(&xml, "ticketA", attrs, false), EACCES);
xml               166 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     pcmk__assert_validates(xml);
xml               167 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     free_xml(xml);
xml               186 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     xmlNode *xml = NULL;
xml               192 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     assert_int_equal(pcmk_ticket_set_attr(&xml, "ticketA", attrs, true), pcmk_rc_ok);
xml               193 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     pcmk__assert_validates(xml);
xml               194 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     free_xml(xml);
xml               213 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     xmlNode *xml = NULL;
xml               219 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     assert_int_equal(pcmk_ticket_set_attr(&xml, "ticketB", attrs, false), EACCES);
xml               220 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     pcmk__assert_validates(xml);
xml               221 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     free_xml(xml);
xml               240 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     xmlNode *xml = NULL;
xml               246 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     assert_int_equal(pcmk_ticket_set_attr(&xml, "ticketB", attrs, true), pcmk_rc_ok);
xml               247 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     pcmk__assert_validates(xml);
xml               248 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c     free_xml(xml);
xml                22 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     xmlNode *xml = NULL;
xml                28 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     assert_int_equal(pcmk_ticket_state(&xml, "ticketA"), ENOTCONN);
xml                29 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     pcmk__assert_validates(xml);
xml                30 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     free_xml(xml);
xml                62 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     xmlNode *xml = NULL;
xml                64 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     assert_int_equal(pcmk_ticket_state(&xml, "XYZ"), ENXIO);
xml                65 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     pcmk__assert_validates(xml);
xml                66 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     free_xml(xml);
xml                72 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     xmlNode *xml = NULL;
xml                75 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     assert_int_equal(pcmk_ticket_state(&xml, "ticketA"), pcmk_rc_ok);
xml                76 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     pcmk__assert_validates(xml);
xml                81 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS
xml                86 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     free_xml(xml);
xml                92 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     xmlNode *xml = NULL;
xml                96 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     assert_int_equal(pcmk_ticket_state(&xml, NULL), pcmk_rc_ok);
xml                97 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     pcmk__assert_validates(xml);
xml               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);
xml               119 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     free_xml(xml);
xml               125 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     xmlNode *xml = NULL;
xml               128 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     assert_int_equal(pcmk_ticket_state(&xml, "ticketC"), pcmk_rc_duplicate_id);
xml               133 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     xpath_obj = xpath_search(xml, "//" PCMK_XE_PACEMAKER_RESULT "/" PCMK_XE_TICKETS
xml               138 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c     free_xml(xml);
xml               934 lib/pengine/bundle.c            && xml_contains_remote_node(rsc->xml);
xml               938 lib/pengine/bundle.c pe__add_bundle_remote_name(pcmk_resource_t *rsc, xmlNode *xml,
xml               970 lib/pengine/bundle.c     if(xml != NULL && field != NULL) {
xml               971 lib/pengine/bundle.c         crm_xml_add(xml, field, node->details->uname);
xml              1000 lib/pengine/bundle.c     xml_obj = pcmk__xe_first_child(rsc->xml, PCMK_XE_DOCKER, NULL, NULL);
xml              1004 lib/pengine/bundle.c         xml_obj = pcmk__xe_first_child(rsc->xml, PCMK__XE_RKT, NULL, NULL);
xml              1012 lib/pengine/bundle.c             xml_obj = pcmk__xe_first_child(rsc->xml, PCMK_XE_PODMAN, NULL,
xml              1068 lib/pengine/bundle.c     xml_obj = pcmk__xe_first_child(rsc->xml, PCMK_XE_NETWORK, NULL, NULL);
xml              1113 lib/pengine/bundle.c     xml_obj = pcmk__xe_first_child(rsc->xml, PCMK_XE_STORAGE, NULL, NULL);
xml              1140 lib/pengine/bundle.c     xml_obj = pcmk__xe_first_child(rsc->xml, PCMK_XE_PRIMITIVE, NULL, NULL);
xml              1571 lib/pengine/bundle.c             out->message(out, (const char *) replica->ip->xml->name, show_opts,
xml              1576 lib/pengine/bundle.c             out->message(out, (const char *) replica->child->xml->name,
xml              1581 lib/pengine/bundle.c             out->message(out, (const char *) replica->container->xml->name,
xml              1586 lib/pengine/bundle.c             out->message(out, (const char *) replica->remote->xml->name,
xml              1715 lib/pengine/bundle.c                 out->message(out, (const char *) replica->ip->xml->name,
xml              1720 lib/pengine/bundle.c                 out->message(out, (const char *) replica->child->xml->name,
xml              1726 lib/pengine/bundle.c                 out->message(out, (const char *) replica->container->xml->name,
xml              1732 lib/pengine/bundle.c                 out->message(out, (const char *) replica->remote->xml->name,
xml              1856 lib/pengine/bundle.c                 out->message(out, (const char *) replica->ip->xml->name,
xml              1861 lib/pengine/bundle.c                 out->message(out, (const char *) replica->child->xml->name,
xml              1867 lib/pengine/bundle.c                 out->message(out, (const char *) replica->container->xml->name,
xml              1873 lib/pengine/bundle.c                 out->message(out, (const char *) replica->remote->xml->name,
xml              2018 lib/pengine/bundle.c         free_xml(replica->ip->xml);
xml              2019 lib/pengine/bundle.c         replica->ip->xml = NULL;
xml              2024 lib/pengine/bundle.c         free_xml(replica->container->xml);
xml              2025 lib/pengine/bundle.c         replica->container->xml = NULL;
xml              2030 lib/pengine/bundle.c         free_xml(replica->remote->xml);
xml              2031 lib/pengine/bundle.c         replica->remote->xml = NULL;
xml              2066 lib/pengine/bundle.c         free_xml(bundle_data->child->xml);
xml              2067 lib/pengine/bundle.c         bundle_data->child->xml = NULL;
xml               352 lib/pengine/clone.c     xmlNode *xml_obj = rsc->xml;
xml               917 lib/pengine/clone.c         out->message(out, (const char *) child_rsc->xml->name, show_opts,
xml              1053 lib/pengine/clone.c             out->message(out, (const char *) child_rsc->xml->name, show_opts,
xml              1236 lib/pengine/clone.c         free_xml(child_rsc->xml);
xml              1237 lib/pengine/clone.c         child_rsc->xml = NULL;
xml               156 lib/pengine/complex.c         pe__unpack_dataset_nvpairs(p->xml, PCMK_XE_META_ATTRIBUTES, rule_data,
xml               178 lib/pengine/complex.c         .standard = crm_element_value(rsc->xml, PCMK_XA_CLASS),
xml               179 lib/pengine/complex.c         .provider = crm_element_value(rsc->xml, PCMK_XA_PROVIDER),
xml               180 lib/pengine/complex.c         .agent = crm_element_value(rsc->xml, PCMK_XA_TYPE)
xml               199 lib/pengine/complex.c     for (xmlAttrPtr a = pcmk__xe_first_attr(rsc->xml); a != NULL; a = a->next) {
xml               206 lib/pengine/complex.c     pe__unpack_dataset_nvpairs(rsc->xml, PCMK_XE_META_ATTRIBUTES, &rule_data,
xml               246 lib/pengine/complex.c     pe__unpack_dataset_nvpairs(rsc->xml, PCMK_XE_INSTANCE_ATTRIBUTES,
xml               452 lib/pengine/complex.c     if (pcmk__xe_is(rsc->xml, PCMK__XE_PROMOTABLE_LEGACY)) {
xml               571 lib/pengine/complex.c                    && xml_contains_remote_node(rsc->xml)) {
xml               605 lib/pengine/complex.c     const char *std = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml               686 lib/pengine/complex.c         (*rsc)->xml = expanded_xml;
xml               690 lib/pengine/complex.c         (*rsc)->xml = xml_obj;
xml               698 lib/pengine/complex.c     ops = pcmk__xe_first_child((*rsc)->xml, PCMK_XE_OPERATIONS, NULL, NULL);
xml               701 lib/pengine/complex.c     (*rsc)->variant = get_resource_type((const char *) (*rsc)->xml->name);
xml               704 lib/pengine/complex.c                          id, (*rsc)->xml->name);
xml               714 lib/pengine/complex.c     value = crm_element_value((*rsc)->xml, PCMK__META_CLONE);
xml               761 lib/pengine/complex.c     if (xml_contains_remote_node((*rsc)->xml)) {
xml               909 lib/pengine/complex.c     if (pcmk__str_eq(crm_element_value((*rsc)->xml, PCMK_XA_CLASS),
xml               976 lib/pengine/complex.c     pe__unpack_dataset_nvpairs((*rsc)->xml, PCMK_XE_UTILIZATION, &rule_data,
xml              1075 lib/pengine/complex.c         free_xml(rsc->xml);
xml              1076 lib/pengine/complex.c         rsc->xml = NULL;
xml              1082 lib/pengine/complex.c         free_xml(rsc->xml);
xml              1083 lib/pengine/complex.c         rsc->xml = NULL;
xml                99 lib/pengine/failcounts.c     xmlXPathObject *xpathObj = xpath_search(rsc->xml, xpath);
xml               182 lib/pengine/group.c     xmlNode *xml_obj = rsc->xml;
xml               199 lib/pengine/group.c     clone_id = crm_element_value(rsc->xml, PCMK__META_CLONE);
xml               389 lib/pengine/group.c         out->message(out, (const char *) child_rsc->xml->name, show_opts,
xml               447 lib/pengine/group.c             out->message(out, (const char *) child_rsc->xml->name, show_opts,
xml               207 lib/pengine/native.c     const char *standard = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml               280 lib/pengine/native.c         const char *rid = pcmk__xe_id(rsc->xml);
xml               463 lib/pengine/native.c     const char *class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml               464 lib/pengine/native.c     const char *prov = crm_element_value(rsc->xml, PCMK_XA_PROVIDER);
xml               474 lib/pengine/native.c                  crm_element_value(rsc->xml, PCMK_XA_TYPE));
xml               563 lib/pengine/native.c     const char *class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml               565 lib/pengine/native.c     const char *kind = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml               578 lib/pengine/native.c         provider = crm_element_value(rsc->xml, PCMK_XA_PROVIDER);
xml               698 lib/pengine/native.c         const char *desc = crm_element_value(rsc->xml, PCMK_XA_DESCRIPTION);
xml               730 lib/pengine/native.c     const char *kind = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml               973 lib/pengine/native.c     const char *class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml               974 lib/pengine/native.c     const char *prov = crm_element_value(rsc->xml, PCMK_XA_PROVIDER);
xml              1000 lib/pengine/native.c             crm_element_value(rsc->xml, PCMK_XA_TYPE));
xml              1191 lib/pengine/native.c         const char *class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml              1192 lib/pengine/native.c         const char *kind = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml              1206 lib/pengine/native.c             const char *prov = crm_element_value(rsc->xml, PCMK_XA_PROVIDER);
xml               711 lib/pengine/pe_actions.c         .standard = crm_element_value(rsc->xml, PCMK_XA_CLASS),
xml               712 lib/pengine/pe_actions.c         .provider = crm_element_value(rsc->xml, PCMK_XA_PROVIDER),
xml               713 lib/pengine/pe_actions.c         .agent = crm_element_value(rsc->xml, PCMK_XA_TYPE),
xml               191 lib/pengine/pe_digest.c     const char *class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml                27 lib/pengine/pe_output.c         desc = crm_element_value(rsc->xml, PCMK_XA_DESCRIPTION);
xml               396 lib/pengine/pe_output.c         pcmk__xml_string(rsc->xml, pcmk__xml_fmt_pretty, xml_buf, 0);
xml              1827 lib/pengine/pe_output.c                 out->message(out, pcmk__map_element_name(rsc->xml), show_opts,
xml              1968 lib/pengine/pe_output.c                     out->message(out, pcmk__map_element_name(rsc->xml),
xml              2100 lib/pengine/pe_output.c                 out->message(out, pcmk__map_element_name(rsc->xml), show_opts,
xml              2273 lib/pengine/pe_output.c         const char *class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml              2274 lib/pengine/pe_output.c         const char *provider = crm_element_value(rsc->xml, PCMK_XA_PROVIDER);
xml              2275 lib/pengine/pe_output.c         const char *kind = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml              3071 lib/pengine/pe_output.c         x = out->message(out, pcmk__map_element_name(rsc->xml), show_opts, rsc,
xml                47 lib/pengine/remote.c xml_contains_remote_node(xmlNode *xml)
xml                51 lib/pengine/remote.c     if (xml == NULL) {
xml                55 lib/pengine/remote.c     value = crm_element_value(xml, PCMK_XA_TYPE);
xml                60 lib/pengine/remote.c     value = crm_element_value(xml, PCMK_XA_CLASS);
xml                65 lib/pengine/remote.c     value = crm_element_value(xml, PCMK_XA_PROVIDER);
xml                33 lib/pengine/unpack.c     xmlNode *xml;             // History entry XML
xml                81 lib/pengine/unpack.c static void unpack_node_lrm(pcmk_node_t *node, const xmlNode *xml,
xml              2869 lib/pengine/unpack.c unpack_node_lrm(pcmk_node_t *node, const xmlNode *xml,
xml              2875 lib/pengine/unpack.c     xml = pcmk__xe_first_child(xml, PCMK__XE_LRM, NULL, NULL);
xml              2876 lib/pengine/unpack.c     if (xml == NULL) {
xml              2879 lib/pengine/unpack.c     xml = pcmk__xe_first_child(xml, PCMK__XE_LRM_RESOURCES, NULL, NULL);
xml              2880 lib/pengine/unpack.c     if (xml == NULL) {
xml              2885 lib/pengine/unpack.c     for (const xmlNode *rsc_entry = pcmk__xe_first_child(xml,
xml              2902 lib/pengine/unpack.c         handle_orphaned_container_fillers(xml, scheduler);
xml              2939 lib/pengine/unpack.c     xmlNode *xml = NULL;
xml              2966 lib/pengine/unpack.c     xml = get_xpath_object((const char *) xpath->str, scheduler->input,
xml              2970 lib/pengine/unpack.c     if (xml && target_rc >= 0) {
xml              2974 lib/pengine/unpack.c         crm_element_value_int(xml, PCMK__XA_RC_CODE, &rc);
xml              2975 lib/pengine/unpack.c         crm_element_value_int(xml, PCMK__XA_OP_STATUS, &status);
xml              2980 lib/pengine/unpack.c     return xml;
xml              2988 lib/pengine/unpack.c     xmlNode *xml = NULL;
xml              2998 lib/pengine/unpack.c     xml = get_xpath_object((const char *) xpath->str, scheduler->input,
xml              3002 lib/pengine/unpack.c     return xml;
xml              3290 lib/pengine/unpack.c     if (get_migration_node_names(history->xml, history->node, NULL, &source,
xml              3296 lib/pengine/unpack.c     source_newer_op = non_monitor_after(history->rsc->id, source, history->xml,
xml              3318 lib/pengine/unpack.c                                                    history->xml, migrate_from,
xml              3405 lib/pengine/unpack.c     if (get_migration_node_names(history->xml, history->node, NULL, &source,
xml              3429 lib/pengine/unpack.c         && !newer_state_after_migrate(history->rsc->id, target, history->xml,
xml              3444 lib/pengine/unpack.c     } else if (!non_monitor_after(history->rsc->id, source, history->xml, true,
xml              3472 lib/pengine/unpack.c     if (get_migration_node_names(history->xml, NULL, history->node, &source,
xml              3497 lib/pengine/unpack.c                                       source_migrate_to, history->xml,
xml              3542 lib/pengine/unpack.c     crm_xml_add(history->xml, PCMK_XA_UNAME, history->node->details->uname);
xml              3543 lib/pengine/unpack.c     crm_xml_add(history->xml, PCMK__XA_RSC_ID, history->rsc->id);
xml              3544 lib/pengine/unpack.c     pcmk__xml_copy(history->rsc->cluster->failed, history->xml);
xml              3743 lib/pengine/unpack.c     *last_failure = history->xml;
xml              3745 lib/pengine/unpack.c     is_probe = pcmk_xe_is_probe(history->xml);
xml              3746 lib/pengine/unpack.c     last_change_s = last_change_str(history->xml);
xml              3873 lib/pengine/unpack.c     last_change_s = last_change_str(history->xml);
xml              3952 lib/pengine/unpack.c         && pcmk_xe_mask_probe_failure(history->xml)
xml              3981 lib/pengine/unpack.c     is_probe = pcmk_xe_is_probe(history->xml);
xml              4021 lib/pengine/unpack.c                 char *last_change_s = last_change_str(history->xml);
xml              4052 lib/pengine/unpack.c                 char *last_change_s = last_change_str(history->xml);
xml              4081 lib/pengine/unpack.c                 crm_element_value_ms(history->xml, PCMK_META_INTERVAL,
xml              4108 lib/pengine/unpack.c                 char *last_change_s = last_change_str(history->xml);
xml              4262 lib/pengine/unpack.c         && (crm_element_value_epoch(history->xml, PCMK_XA_LAST_RC_CHANGE,
xml              4284 lib/pengine/unpack.c                                                 history->xml);
xml              4301 lib/pengine/unpack.c                              pcmk__fc_default, history->xml)) {
xml              4332 lib/pengine/unpack.c         && should_clear_for_param_change(history->xml, history->task,
xml              4415 lib/pengine/unpack.c             && pcmk_xe_mask_probe_failure(history->xml))) {
xml              4551 lib/pengine/unpack.c     if ((crm_element_value_int(history->xml, PCMK__XA_OP_STATUS,
xml              4560 lib/pengine/unpack.c                          pcmk__s(crm_element_value(history->xml,
xml              4565 lib/pengine/unpack.c     if ((crm_element_value_int(history->xml, PCMK__XA_RC_CODE,
xml              4577 lib/pengine/unpack.c                          pcmk__s(crm_element_value(history->xml,
xml              4585 lib/pengine/unpack.c     history->exit_reason = crm_element_value(history->xml, PCMK_XA_EXIT_REASON);
xml              4603 lib/pengine/unpack.c         && pcmk_xe_mask_probe_failure(history->xml)
xml              4643 lib/pengine/unpack.c         crm_xml_add(history->xml, PCMK__XA_OP_RESTART_DIGEST,
xml              4676 lib/pengine/unpack.c     crm_xml_add(history->xml, PCMK_XA_UNAME, history->node->details->uname);
xml              4719 lib/pengine/unpack.c     if ((pcmk__scan_ll(crm_element_value(history->xml, PCMK_XA_LAST_RC_CHANGE),
xml              4770 lib/pengine/unpack.c         migrate_target = crm_element_value(history->xml,
xml              4814 lib/pengine/unpack.c         .xml = xml_op,
xml               558 lib/pengine/utils.c     return pcmk__xe_id(rsc->xml);
xml                73 tools/cibadmin.c print_xml_output(xmlNode * xml)
xml                75 tools/cibadmin.c     if (!xml) {
xml                77 tools/cibadmin.c     } else if (xml->type != XML_ELEMENT_NODE) {
xml                82 tools/cibadmin.c         const char *id = crm_element_value(xml, PCMK_XA_ID);
xml                84 tools/cibadmin.c         if (pcmk__xe_is(xml, PCMK__XE_XPATH_QUERY)) {
xml                87 tools/cibadmin.c             for (child = xml->children; child; child = child->next) {
xml                98 tools/cibadmin.c         pcmk__xml_string(xml, pcmk__xml_fmt_pretty, buf, 0);
xml              1826 tools/crm_mon.c handle_rsc_op(xmlNode *xml, void *userdata)
xml              1841 tools/crm_mon.c     xmlNode *n = xml;
xml              1842 tools/crm_mon.c     xmlNode * rsc_op = xml;
xml              1844 tools/crm_mon.c     if(strcmp((const char*)xml->name, PCMK__XE_LRM_RSC_OP) != 0) {
xml              1845 tools/crm_mon.c         pcmk__xe_foreach_child(xml, NULL, handle_rsc_op, (void *) node_id);
xml              1930 tools/crm_mon.c handle_op_for_node(xmlNode *xml, void *userdata)
xml              1932 tools/crm_mon.c     const char *node = crm_element_value(xml, PCMK_XA_UNAME);
xml              1935 tools/crm_mon.c         node = pcmk__xe_id(xml);
xml              1938 tools/crm_mon.c     handle_rsc_op(xml, (void *) node);
xml               548 tools/crm_node.c     xmlNode *xml = pcmk__xe_create(NULL, element);
xml               550 tools/crm_node.c     crm_xml_add(xml, PCMK_XA_UNAME, node_name);
xml               552 tools/crm_node.c         crm_xml_add_ll(xml, PCMK_XA_ID, node_id);
xml               555 tools/crm_node.c     rc = cib->cmds->remove(cib, section, xml, cib_transaction);
xml               556 tools/crm_node.c     free_xml(xml);
xml              2024 tools/crm_resource.c                 value = crm_element_value(rsc->xml, options.prop_name);
xml              2033 tools/crm_resource.c                 pe__unpack_dataset_nvpairs(rsc->xml, PCMK_XE_UTILIZATION,
xml               133 tools/crm_resource.h int update_scheduler_input(pcmk_scheduler_t *scheduler, xmlNode **xml);
xml                70 tools/crm_resource_print.c     const char *rtype = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml                71 tools/crm_resource_print.c     const char *rprov = crm_element_value(rsc->xml, PCMK_XA_PROVIDER);
xml                72 tools/crm_resource_print.c     const char *rclass = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml                86 tools/crm_resource_print.c               rsc->xml->name, rsc->id,
xml               131 tools/crm_resource_print.c     out->message(out, pcmk__map_element_name(rsc->xml), show_opts, rsc, all,
xml               163 tools/crm_resource_print.c     pcmk__output_xml_create_parent(out, (const char *) ud->rsc->xml->name,
xml               377 tools/crm_resource_print.c     const char *value = crm_element_value(rsc->xml, attr);
xml               394 tools/crm_resource_print.c     const char *value = crm_element_value(rsc->xml, attr);
xml               257 tools/crm_resource_runtime.c     crm_xml_add(rsc->xml, attr_name, attr_value);
xml               259 tools/crm_resource_runtime.c     rc = cib->cmds->replace(cib, PCMK_XE_RESOURCES, rsc->xml, cib_sync_call);
xml               412 tools/crm_resource_runtime.c                 xml_top = pcmk__xe_create(NULL, (const char *) rsc->xml->name);
xml               565 tools/crm_resource_runtime.c         pcmk__xe_remove_attr(rsc->xml, attr_name);
xml               567 tools/crm_resource_runtime.c         rc = cib->cmds->replace(cib, PCMK_XE_RESOURCES, rsc->xml, cib_options);
xml               661 tools/crm_resource_runtime.c     rsc_class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml               662 tools/crm_resource_runtime.c     rsc_provider = crm_element_value(rsc->xml, PCMK_XA_PROVIDER),
xml               663 tools/crm_resource_runtime.c     rsc_type = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml              1298 tools/crm_resource_runtime.c update_scheduler_input(pcmk_scheduler_t *scheduler, xmlNode **xml)
xml              1300 tools/crm_resource_runtime.c     int rc = pcmk__update_configured_schema(xml, false);
xml              1303 tools/crm_resource_runtime.c         scheduler->input = *xml;
xml              2260 tools/crm_resource_runtime.c     rclass = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml              2261 tools/crm_resource_runtime.c     rprov = crm_element_value(rsc->xml, PCMK_XA_PROVIDER);
xml              2262 tools/crm_resource_runtime.c     rtype = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml               535 tools/crm_shadow.c write_shadow_file(const xmlNode *xml, const char *filename, bool reset,
xml               538 tools/crm_shadow.c     int rc = pcmk__xml_write_file(xml, filename, false, NULL);