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               879 daemons/controld/controld_cib.c     xmlNode *xml = NULL;
xml               896 daemons/controld/controld_cib.c     xml = pcmk__xe_create(update, PCMK__XE_NODE_STATE);
xml               902 daemons/controld/controld_cib.c         pcmk__xe_set_bool_attr(xml, PCMK_XA_REMOTE_NODE, true);
xml               904 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_ID, node_id);
xml               905 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_UNAME, node_name);
xml               906 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_CRM_DEBUG_ORIGIN, __func__);
xml               909 daemons/controld/controld_cib.c     xml = pcmk__xe_create(xml, PCMK__XE_LRM);
xml               910 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_ID, node_id);
xml               913 daemons/controld/controld_cib.c     xml = pcmk__xe_create(xml, PCMK__XE_LRM_RESOURCES);
xml               916 daemons/controld/controld_cib.c     xml = pcmk__xe_create(xml, PCMK__XE_LRM_RESOURCE);
xml               917 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_ID, op->rsc_id);
xml               918 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_CLASS, rsc->standard);
xml               919 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_PROVIDER, rsc->provider);
xml               920 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_TYPE, rsc->type);
xml               928 daemons/controld/controld_cib.c         crm_xml_add_ll(xml, PCMK_OPT_SHUTDOWN_LOCK, (long long) lock_time);
xml               936 daemons/controld/controld_cib.c             crm_xml_add(xml, PCMK__META_CONTAINER, container);
xml               941 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              1148 daemons/controld/controld_execd.c lrm_op_target(const xmlNode *xml)
xml              1152 daemons/controld/controld_execd.c     if (xml) {
xml              1153 daemons/controld/controld_execd.c         target = crm_element_value(xml, PCMK__META_ON_NODE);
xml              1162 daemons/controld/controld_execd.c fail_lrm_resource(xmlNode *xml, lrm_state_t *lrm_state, const char *user_name,
xml              1167 daemons/controld/controld_execd.c     xmlNode *xml_rsc = pcmk__xe_first_child(xml, PCMK_XE_PRIMITIVE, NULL, NULL);
xml              1179 daemons/controld/controld_execd.c     op = construct_op(lrm_state, xml, pcmk__xe_id(xml_rsc), "asyncmon");
xml              1202 daemons/controld/controld_execd.c         process_lrm_event(lrm_state, op, NULL, xml);
xml              1208 daemons/controld/controld_execd.c         crm_log_xml_warn(xml, "bad input");
xml              1252 daemons/controld/controld_execd.c     xmlNode *params = pcmk__xe_first_child(input->xml, PCMK__XE_ATTRIBUTES,
xml              1341 daemons/controld/controld_execd.c         op = construct_op(lrm_state, input->xml, rsc->id, PCMK_ACTION_DELETE);
xml              1425 daemons/controld/controld_execd.c     const char *target_node = lrm_op_target(input->xml);
xml              1437 daemons/controld/controld_execd.c         synthesize_lrmd_failure(NULL, input->xml, PCMK_EXEC_NOT_CONNECTED,
xml              1457 daemons/controld/controld_execd.c     } else if (input->xml != NULL) {
xml              1458 daemons/controld/controld_execd.c         operation = crm_element_value(input->xml, PCMK_XA_OPERATION);
xml              1469 daemons/controld/controld_execd.c         fail_lrm_resource(input->xml, lrm_state, user_name, from_host,
xml              1489 daemons/controld/controld_execd.c         if (input->xml != NULL) {
xml              1491 daemons/controld/controld_execd.c             raw_target = crm_element_value(input->xml, PCMK__META_ON_NODE);
xml              1498 daemons/controld/controld_execd.c         xmlNode *xml_rsc = pcmk__xe_first_child(input->xml, PCMK_XE_PRIMITIVE,
xml              1509 daemons/controld/controld_execd.c             synthesize_lrmd_failure(lrm_state, input->xml,
xml              1522 daemons/controld/controld_execd.c                        rc, pcmk_strerror(rc), pcmk__xe_id(input->xml));
xml              1531 daemons/controld/controld_execd.c             synthesize_lrmd_failure(lrm_state, input->xml, PCMK_EXEC_ERROR,
xml              1542 daemons/controld/controld_execd.c             synthesize_lrmd_failure(lrm_state, input->xml, PCMK_EXEC_ERROR,
xml              1550 daemons/controld/controld_execd.c                 crm_log_xml_warn(input->xml, "Bad command");
xml              1589 daemons/controld/controld_execd.c                 data = new_metadata_cb_data(rsc, input->xml);
xml              1598 daemons/controld/controld_execd.c                 do_lrm_rsc_op(lrm_state, rsc, input->xml, md);
xml              2265 daemons/controld/controld_execd.c         xmlNode *xml = pcmk__xe_first_child(action_xml, PCMK_XE_PRIMITIVE, NULL,
xml              2268 daemons/controld/controld_execd.c         const char *standard = crm_element_value(xml, PCMK_XA_CLASS);
xml              2269 daemons/controld/controld_execd.c         const char *provider = crm_element_value(xml, PCMK_XA_PROVIDER);
xml              2270 daemons/controld/controld_execd.c         const char *type = crm_element_value(xml, PCMK_XA_TYPE);
xml               438 daemons/controld/controld_fencing.c             task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               441 daemons/controld/controld_fencing.c                 last_action = action->xml;
xml               444 daemons/controld/controld_fencing.c                            action->id, pcmk__xe_id(action->xml));
xml               846 daemons/controld/controld_fencing.c     target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               855 daemons/controld/controld_fencing.c         const char *uuid = crm_element_value(action->xml,
xml               972 daemons/controld/controld_fencing.c     const char *id = pcmk__xe_id(action->xml);
xml               973 daemons/controld/controld_fencing.c     const char *uuid = crm_element_value(action->xml, PCMK__META_ON_NODE_UUID);
xml               974 daemons/controld/controld_fencing.c     const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               990 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               422 daemons/controld/controld_join_dc.c     generation = join_ack->xml;
xml               528 daemons/controld/controld_join_dc.c             max_generation_xml = pcmk__xml_copy(NULL, join_ack->xml);
xml               730 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               199 daemons/controld/controld_messages.c     copy->xml = pcmk__xe_first_child(wrapper, NULL, NULL, NULL);
xml               885 daemons/controld/controld_messages.c         xmlNode *xml = pcmk__xe_create(reply_data, PCMK_XE_NODE);
xml               887 daemons/controld/controld_messages.c         crm_xml_add_ll(xml, PCMK_XA_ID, (long long) node->id); // uint32_t
xml               888 daemons/controld/controld_messages.c         crm_xml_add(xml, PCMK_XA_UNAME, node->uname);
xml               889 daemons/controld/controld_messages.c         crm_xml_add(xml, PCMK__XA_IN_CCM, node->state);
xml              1200 daemons/controld/controld_messages.c         xmlNode *xml = pcmk__xe_first_child(wrapper, NULL, NULL, NULL);
xml              1202 daemons/controld/controld_messages.c         remote_ra_process_maintenance_nodes(xml);
xml              1323 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              1359 daemons/controld/controld_remote_ra.c remote_ra_process_pseudo(xmlNode *xml)
xml              1361 daemons/controld/controld_remote_ra.c     xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE);
xml              1428 daemons/controld/controld_remote_ra.c remote_ra_process_maintenance_nodes(xmlNode *xml)
xml              1430 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               370 daemons/controld/controld_te_actions.c     pcmk__assert((action != NULL) && (action->xml != NULL));
xml               373 daemons/controld/controld_te_actions.c     on_node = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               377 daemons/controld/controld_te_actions.c                       pcmk__xe_id(action->xml), pcmk__s(task, "without task"));
xml               380 daemons/controld/controld_te_actions.c     rsc_op = action->xml;
xml               382 daemons/controld/controld_te_actions.c     task_uuid = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY);
xml               415 daemons/controld/controld_te_actions.c             .xml = rsc_op,
xml               530 daemons/controld/controld_te_actions.c     const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               531 daemons/controld/controld_te_actions.c     const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               542 daemons/controld/controld_te_actions.c     target = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE);
xml               557 daemons/controld/controld_te_actions.c         target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               579 daemons/controld/controld_te_actions.c     const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               580 daemons/controld/controld_te_actions.c     const char *id = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY);
xml               631 daemons/controld/controld_te_actions.c     const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION);
xml               642 daemons/controld/controld_te_actions.c     target = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE);
xml               655 daemons/controld/controld_te_actions.c         target = crm_element_value(action->xml, PCMK__META_ON_NODE);
xml               672 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               561 daemons/controld/controld_throttle.c throttle_update(xmlNode *xml)
xml               566 daemons/controld/controld_throttle.c     const char *from = crm_element_value(xml, PCMK__XA_SRC);
xml               568 daemons/controld/controld_throttle.c     crm_element_value_int(xml, PCMK__XA_CRM_LIMIT_MODE, &mode);
xml               569 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               425 daemons/fenced/fenced_cib.c             xmlNode *xml;
xml               427 daemons/fenced/fenced_cib.c             xml = create_device_registration_xml(
xml               436 daemons/fenced/fenced_cib.c             rc = stonith_device_register(xml, TRUE);
xml               437 daemons/fenced/fenced_cib.c             free_xml(xml);
xml               905 daemons/fenced/fenced_commands.c is_nodeid_required(xmlNode * xml)
xml               913 daemons/fenced/fenced_commands.c     if (!xml) {
xml               917 daemons/fenced/fenced_commands.c     xpath = xpath_search(xml,
xml              1676 daemons/fenced/fenced_commands.c unpack_level_request(xmlNode *xml, enum fenced_target_by *mode, char **target,
xml              1687 daemons/fenced/fenced_commands.c     if ((xml != NULL) && !pcmk__xe_is(xml, PCMK_XE_FENCING_LEVEL)) {
xml              1688 daemons/fenced/fenced_commands.c         xml = get_xpath_object("//" PCMK_XE_FENCING_LEVEL, xml, LOG_WARNING);
xml              1691 daemons/fenced/fenced_commands.c     if (xml == NULL) {
xml              1696 daemons/fenced/fenced_commands.c         local_mode = unpack_level_kind(xml);
xml              1697 daemons/fenced/fenced_commands.c         local_target = stonith_level_key(xml, local_mode);
xml              1698 daemons/fenced/fenced_commands.c         crm_element_value_int(xml, PCMK_XA_INDEX, &local_id);
xml              1717 daemons/fenced/fenced_commands.c     return xml;
xml              2313 daemons/fenced/fenced_commands.c add_action_specific_attributes(xmlNode *xml, const char *action,
xml              2321 daemons/fenced/fenced_commands.c     CRM_CHECK(xml && action && device, return);
xml              2326 daemons/fenced/fenced_commands.c         crm_xml_add_int(xml, PCMK__XA_ST_REQUIRED, 1);
xml              2334 daemons/fenced/fenced_commands.c         crm_xml_add_int(xml, PCMK__XA_ST_ACTION_TIMEOUT,
xml              2342 daemons/fenced/fenced_commands.c         crm_xml_add_int(xml, PCMK__XA_ST_DELAY_MAX, delay_max);
xml              2347 daemons/fenced/fenced_commands.c         crm_xml_add_int(xml, PCMK__XA_ST_DELAY_BASE, delay_base);
xml              2374 daemons/fenced/fenced_commands.c add_disallowed(xmlNode *xml, const char *action, const stonith_device_t *device,
xml              2380 daemons/fenced/fenced_commands.c         pcmk__xe_set_bool_attr(xml, PCMK__XA_ST_ACTION_DISALLOWED, true);
xml              2395 daemons/fenced/fenced_commands.c add_action_reply(xmlNode *xml, const char *action,
xml              2399 daemons/fenced/fenced_commands.c     xmlNode *child = pcmk__xe_create(xml, PCMK__XE_ST_DEVICE_ACTION);
xml              3214 daemons/fenced/fenced_commands.c     execute_agent_action(request->xml, &request->result);
xml              3218 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3225 daemons/fenced/fenced_commands.c     const char *call_id = crm_element_value(request->xml, PCMK__XA_ST_CALLID);
xml              3226 daemons/fenced/fenced_commands.c     const char *client_id = crm_element_value(request->xml,
xml              3230 daemons/fenced/fenced_commands.c     crm_element_value_int(request->xml, PCMK__XA_ST_TIMEOUT, &op_timeout);
xml              3244 daemons/fenced/fenced_commands.c     const char *client_id = crm_element_value(request->xml,
xml              3250 daemons/fenced/fenced_commands.c         create_remote_stonith_op(client_id, request->xml, TRUE);
xml              3254 daemons/fenced/fenced_commands.c     remove_relay_op(request->xml);
xml              3258 daemons/fenced/fenced_commands.c     dev = get_xpath_object("//@" PCMK__XE_ST_DEVICE_ACTION, request->xml,
xml              3270 daemons/fenced/fenced_commands.c     crm_log_xml_trace(request->xml, "Query");
xml              3274 daemons/fenced/fenced_commands.c     query->reply = fenced_construct_reply(request->xml, NULL, &request->result);
xml              3281 daemons/fenced/fenced_commands.c     crm_element_value_int(request->xml, PCMK__XA_ST_TIMEOUT, &timeout);
xml              3296 daemons/fenced/fenced_commands.c     flag_name = crm_element_value(request->xml, PCMK__XA_ST_NOTIFY_ACTIVATE);
xml              3303 daemons/fenced/fenced_commands.c     flag_name = crm_element_value(request->xml, PCMK__XA_ST_NOTIFY_DEACTIVATE);
xml              3322 daemons/fenced/fenced_commands.c     xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, request->xml,
xml              3332 daemons/fenced/fenced_commands.c     if (initiate_remote_stonith_op(NULL, request->xml, FALSE) == NULL) {
xml              3334 daemons/fenced/fenced_commands.c         return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3346 daemons/fenced/fenced_commands.c         fence_locally(request->xml, &request->result);
xml              3350 daemons/fenced/fenced_commands.c                                                   request->xml)) {
xml              3366 daemons/fenced/fenced_commands.c         xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, request->xml,
xml              3382 daemons/fenced/fenced_commands.c                 return fenced_construct_reply(request->xml, NULL,
xml              3400 daemons/fenced/fenced_commands.c                 client_id = crm_element_value(request->xml,
xml              3410 daemons/fenced/fenced_commands.c             op = create_remote_stonith_op(client_id, request->xml, FALSE);
xml              3412 daemons/fenced/fenced_commands.c             crm_xml_add(request->xml, PCMK__XA_ST_OP, STONITH_OP_RELAY);
xml              3413 daemons/fenced/fenced_commands.c             crm_xml_add(request->xml, PCMK__XA_ST_CLIENTID,
xml              3415 daemons/fenced/fenced_commands.c             crm_xml_add(request->xml, PCMK__XA_ST_REMOTE_OP, op->id);
xml              3416 daemons/fenced/fenced_commands.c             pcmk__cluster_send_message(node, crm_msg_stonith_ng, request->xml);
xml              3420 daemons/fenced/fenced_commands.c         } else if (initiate_remote_stonith_op(request->ipc_client, request->xml,
xml              3433 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3443 daemons/fenced/fenced_commands.c     stonith_fence_history(request->xml, &data, request->peer,
xml              3450 daemons/fenced/fenced_commands.c         reply = fenced_construct_reply(request->xml, data, &request->result);
xml              3460 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
xml              3461 daemons/fenced/fenced_commands.c     xmlNode *dev = get_xpath_object("//" PCMK__XE_ST_DEVICE_ID, request->xml,
xml              3478 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3485 daemons/fenced/fenced_commands.c     xmlNode *dev = get_xpath_object("//" PCMK__XE_ST_DEVICE_ID, request->xml,
xml              3488 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
xml              3499 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3507 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
xml              3510 daemons/fenced/fenced_commands.c         fenced_register_level(request->xml, &desc, &request->result);
xml              3512 daemons/fenced/fenced_commands.c         unpack_level_request(request->xml, NULL, NULL, NULL, &desc);
xml              3519 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3527 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
xml              3530 daemons/fenced/fenced_commands.c         fenced_unregister_level(request->xml, &desc, &request->result);
xml              3532 daemons/fenced/fenced_commands.c         unpack_level_request(request->xml, NULL, NULL, NULL, &desc);
xml              3539 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3549 daemons/fenced/fenced_commands.c     crm_element_value_int(request->xml, PCMK_XA_ID, &node_id);
xml              3550 daemons/fenced/fenced_commands.c     name = crm_element_value(request->xml, PCMK_XA_UNAME);
xml              3564 daemons/fenced/fenced_commands.c     return fenced_construct_reply(request->xml, NULL, &request->result);
xml              3712 daemons/fenced/fenced_commands.c             .xml            = message,
xml              3717 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              2163 daemons/fenced/fenced_remote.c parse_action_specific(const xmlNode *xml, const char *peer, const char *device,
xml              2168 daemons/fenced/fenced_remote.c     crm_element_value_int(xml, PCMK__XA_ST_ACTION_TIMEOUT,
xml              2176 daemons/fenced/fenced_remote.c     crm_element_value_int(xml, PCMK__XA_ST_DELAY_MAX, &props->delay_max[phase]);
xml              2183 daemons/fenced/fenced_remote.c     crm_element_value_int(xml, PCMK__XA_ST_DELAY_BASE,
xml              2194 daemons/fenced/fenced_remote.c         crm_element_value_int(xml, PCMK__XA_ST_REQUIRED, &required);
xml              2205 daemons/fenced/fenced_remote.c     if (pcmk__xe_attr_is_true(xml, PCMK__XA_ST_ACTION_DISALLOWED)) {
xml              2222 daemons/fenced/fenced_remote.c add_device_properties(const xmlNode *xml, remote_fencing_op_t *op,
xml              2235 daemons/fenced/fenced_remote.c     crm_element_value_int(xml, PCMK__XA_ST_MONITOR_VERIFIED, &verified);
xml              2243 daemons/fenced/fenced_remote.c     rc = pcmk__xe_get_flags(xml, PCMK__XA_ST_DEVICE_SUPPORT_FLAGS,
xml              2252 daemons/fenced/fenced_remote.c     parse_action_specific(xml, peer->host, device, op_requested_action(op),
xml              2254 daemons/fenced/fenced_remote.c     for (child = pcmk__xe_first_child(xml, NULL, NULL, NULL); child != NULL;
xml              2285 daemons/fenced/fenced_remote.c            const xmlNode *xml)
xml              2295 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               177 daemons/fenced/fenced_scheduler.c     agent = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml               195 daemons/fenced/fenced_scheduler.c     xml = create_device_registration_xml(pcmk__s(rsc->clone_name, rsc->id),
xml               199 daemons/fenced/fenced_scheduler.c     pcmk__assert(stonith_device_register(xml, TRUE) == pcmk_ok);
xml               200 daemons/fenced/fenced_scheduler.c     free_xml(xml);
xml               201 daemons/fenced/pacemaker-fenced.c     xmlNode *xml = NULL;
xml               209 daemons/fenced/pacemaker-fenced.c         xml = pcmk__xml_parse(data);
xml               210 daemons/fenced/pacemaker-fenced.c         if (xml == NULL) {
xml               215 daemons/fenced/pacemaker-fenced.c         crm_xml_add(xml, PCMK__XA_SRC, from);
xml               216 daemons/fenced/pacemaker-fenced.c         stonith_peer_callback(xml, NULL);
xml               219 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                58 include/crm/common/nvpair_internal.h int pcmk__xe_get_flags(const xmlNode *xml, const char *name, uint32_t *dest,
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               452 include/crm/common/xml_internal.h int pcmk__xe_get_score(const xmlNode *xml, const char *name, int *score,
xml               546 include/crm/common/xml_internal.h void pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag);
xml               569 include/crm/common/xml_internal.h pcmk__xe_foreach_child(xmlNode *xml, const char *child_element_name,
xml               570 include/crm/common/xml_internal.h                        int (*handler)(xmlNode *xml, void *userdata),
xml               573 include/crm/common/xml_internal.h bool pcmk__xml_tree_foreach(xmlNode *xml, bool (*fn)(xmlNode *, void *),
xml               588 include/crm/common/xml_internal.h pcmk__map_element_name(const xmlNode *xml)
xml               590 include/crm/common/xml_internal.h     if (xml == NULL) {
xml               592 include/crm/common/xml_internal.h     } else if (pcmk__xe_is(xml, PCMK__XE_PROMOTABLE_LEGACY)) {
xml               595 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               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     pcmk__assert((xml != NULL) && (xml->doc != NULL)
xml               661 lib/common/acl.c                  && (xml->doc->_private != NULL));
xml               663 lib/common/acl.c     if (pcmk__tracking_xml_changes(xml, false) && xml_acl_enabled(xml)) {
xml               664 lib/common/acl.c         xmlNode *parent = xml;
xml               665 lib/common/acl.c         xml_doc_private_t *docpriv = xml->doc->_private;
xml               669 lib/common/acl.c             pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied);
xml               672 lib/common/acl.c             xpath = pcmk__element_xpath(xml);
xml               692 lib/common/acl.c             xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name);
xml               705 lib/common/acl.c                 pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied);
xml               708 lib/common/acl.c                 xpath = pcmk__element_xpath(xml);
xml               716 lib/common/acl.c                                             (parent != xml)? "Parent ": "",
xml               725 lib/common/acl.c         pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_denied);
xml               728 lib/common/acl.c         xpath = pcmk__element_xpath(xml);
xml                76 lib/common/crmcommon_private.h void pcmk__xml_set_parent_flags(xmlNode *xml, uint64_t flags);
xml                79 lib/common/crmcommon_private.h void pcmk__xml_new_private_data(xmlNode *xml);
xml                82 lib/common/crmcommon_private.h void pcmk__xml_free_private_data(xmlNode *xml);
xml                88 lib/common/crmcommon_private.h bool pcmk__tracking_xml_changes(xmlNode *xml, bool lazy);
xml                91 lib/common/crmcommon_private.h int pcmk__xml_position(const xmlNode *xml,
xml               119 lib/common/crmcommon_private.h void pcmk__apply_acl(xmlNode *xml);
xml               122 lib/common/crmcommon_private.h void pcmk__apply_creation_acl(xmlNode *xml, bool check_top);
xml               142 lib/common/crmcommon_private.h void pcmk__mark_xml_node_dirty(xmlNode *xml);
xml               174 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               401 lib/common/ipc_server.c     xmlNode *xml = NULL;
xml               448 lib/common/ipc_server.c     xml = pcmk__xml_parse(text);
xml               449 lib/common/ipc_server.c     crm_log_xml_trace(xml, "[IPC received]");
xml               452 lib/common/ipc_server.c     return xml;
xml              1616 lib/common/iso8601.c                         const xmlNode *xml)
xml              1626 lib/common/iso8601.c     if (xml == NULL) {
xml              1630 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     pcmk__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               159 lib/common/nvpair.c pcmk_xml_attrs2nvpairs(const xmlNode *xml)
xml               163 lib/common/nvpair.c     for (xmlAttrPtr iter = pcmk__xe_first_attr(xml); iter != NULL;
xml               199 lib/common/nvpair.c pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml)
xml               201 lib/common/nvpair.c     g_slist_foreach(list, pcmk__nvpair_add_xml_attr, xml);
xml               410 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value)
xml               417 lib/common/nvpair.c     return crm_xml_add(xml, name, s);
xml               434 lib/common/nvpair.c crm_xml_add_timeval(xmlNode *xml, const char *name_sec, const char *name_usec,
xml               439 lib/common/nvpair.c     if (xml && name_sec && value) {
xml               440 lib/common/nvpair.c         added = crm_xml_add_ll(xml, name_sec, (long long) value->tv_sec);
xml               443 lib/common/nvpair.c             crm_xml_add_ll(xml, name_usec, (long long) value->tv_usec);
xml               535 lib/common/nvpair.c pcmk__xe_get_flags(const xmlNode *xml, const char *name, uint32_t *dest,
xml               549 lib/common/nvpair.c     if (xml == NULL) {
xml               552 lib/common/nvpair.c     value = crm_element_value(xml, name);
xml               651 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest)
xml               655 lib/common/nvpair.c     if (crm_element_value_ll(xml, name, &value_ll) < 0) {
xml               680 lib/common/nvpair.c crm_element_value_timeval(const xmlNode *xml, const char *name_sec,
xml               689 lib/common/nvpair.c     if (xml == NULL) {
xml               701 lib/common/nvpair.c     if (crm_element_value_ll(xml, name_sec, &value_i) < 0) {
xml               707 lib/common/nvpair.c     if (crm_element_value_ll(xml, name_usec, &value_i) < 0) {
xml               728 lib/common/nvpair.c pcmk__xe_get_datetime(const xmlNode *xml, const char *attr, crm_time_t **t)
xml               732 lib/common/nvpair.c     if ((t == NULL) || (*t != NULL) || (xml == NULL) || (attr == NULL)) {
xml               736 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         free_xml(*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               836 lib/common/patchset.c xml_patch_version_check(const xmlNode *xml, const xmlNode *patchset)
xml               852 lib/common/patchset.c         crm_element_value_int(xml, vfields[lpc], &(this[lpc]));
xml               928 lib/common/patchset.c apply_v1_patchset(xmlNode *xml, const xmlNode *patchset)
xml               938 lib/common/patchset.c     xmlNode *old = pcmk__xml_copy(NULL, xml);
xml               945 lib/common/patchset.c             process_v1_removals(xml, child_diff);
xml               965 lib/common/patchset.c                 process_v1_additions(NULL, xml, child_diff);
xml               977 lib/common/patchset.c     purge_v1_diff_markers(xml); // Purge prior to checking digest
xml              1139 lib/common/patchset.c apply_v2_patchset(xmlNode *xml, const xmlNode *patchset)
xml              1165 lib/common/patchset.c         match = search_v2_xpath(xml, xpath, position);
xml              1169 lib/common/patchset.c             crm_debug("No %s match for %s in %p", op, xpath, xml->doc);
xml              1173 lib/common/patchset.c             crm_err("No %s match for %s in %p", op, xpath, xml->doc);
xml              1318 lib/common/patchset.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version)
xml              1332 lib/common/patchset.c         rc = pcmk_rc2legacy(xml_patch_version_check(xml, patchset));
xml              1343 lib/common/patchset.c         pcmk__if_tracing(old = pcmk__xml_copy(NULL, xml), {});
xml              1351 lib/common/patchset.c                 rc = pcmk_rc2legacy(apply_v1_patchset(xml, patchset));
xml              1354 lib/common/patchset.c                 rc = pcmk_rc2legacy(apply_v2_patchset(xml, patchset));
xml              1364 lib/common/patchset.c         char *version = crm_element_value_copy(xml, PCMK_XA_CRM_FEATURE_SET);
xml              1366 lib/common/patchset.c         new_digest = calculate_xml_versioned_digest(xml, FALSE, TRUE, version);
xml              1374 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               572 lib/common/remote.c     xmlNode *xml = NULL;
xml               622 lib/common/remote.c     xml = pcmk__xml_parse(remote->buffer + header->payload_offset);
xml               623 lib/common/remote.c     if (xml == NULL && header->version > REMOTE_MSG_VERSION) {
xml               627 lib/common/remote.c     } else if (xml == NULL) {
xml               631 lib/common/remote.c     crm_log_xml_trace(xml, "[remote msg]");
xml               632 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              1487 lib/common/rules.c pcmk__evaluate_rules(xmlNode *xml, const pcmk_rule_input_t *rule_input,
xml              1494 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               990 lib/common/schemas.c     res = xsltApplyStylesheet(xslt, xml->doc, NULL);
xml              1031 lib/common/schemas.c     const xmlNode *xml = original_xml;
xml              1047 lib/common/schemas.c         upgrade = apply_transformation(xml, schema->transform_enter, to_logs);
xml              1054 lib/common/schemas.c             xml = upgrade;
xml              1062 lib/common/schemas.c     final = apply_transformation(xml, schema->transform, to_logs);
xml              1063 lib/common/schemas.c     if (upgrade != xml) {
xml              1121 lib/common/schemas.c get_configured_schema(const xmlNode *xml)
xml              1123 lib/common/schemas.c     const char *schema_name = crm_element_value(xml, PCMK_XA_VALIDATE_WITH);
xml              1147 lib/common/schemas.c pcmk__update_schema(xmlNode **xml, const char *max_schema_name, bool transform,
xml              1159 lib/common/schemas.c     CRM_CHECK((xml != NULL) && (*xml != NULL) && ((*xml)->doc != NULL),
xml              1175 lib/common/schemas.c     entry = get_configured_schema(*xml);
xml              1194 lib/common/schemas.c         if (!validate_with(*xml, current_schema, error_handler,
xml              1213 lib/common/schemas.c             || validate_with_silent(*xml, entry->next->data)) {
xml              1221 lib/common/schemas.c         upgrade = apply_upgrade(*xml, current_schema->schema_index, to_logs);
xml              1230 lib/common/schemas.c             free_xml(*xml);
xml              1231 lib/common/schemas.c             *xml = upgrade;
xml              1241 lib/common/schemas.c             crm_xml_add(*xml, PCMK_XA_VALIDATE_WITH, best_schema->name);
xml              1248 lib/common/schemas.c pcmk_update_configured_schema(xmlNode **xml)
xml              1250 lib/common/schemas.c     return pcmk__update_configured_schema(xml, true);
xml              1263 lib/common/schemas.c pcmk__update_configured_schema(xmlNode **xml, bool to_logs)
xml              1275 lib/common/schemas.c     CRM_CHECK(xml != NULL, return EINVAL);
xml              1277 lib/common/schemas.c     original_schema_name = crm_element_value_copy(*xml, PCMK_XA_VALIDATE_WITH);
xml              1294 lib/common/schemas.c         converted = pcmk__xml_copy(NULL, *xml);
xml              1349 lib/common/schemas.c             free_xml(*xml);
xml              1350 lib/common/schemas.c             *xml = converted;
xml              1445 lib/common/schemas.c append_href(xmlNode *xml, void *user_data)
xml              1448 lib/common/schemas.c     char *href = crm_element_value_copy(xml, "href");
xml              1463 lib/common/schemas.c     xmlNode *xml = pcmk__xml_parse(contents);
xml              1465 lib/common/schemas.c     crm_foreach_xpath_result(xml, search, append_href, list);
xml              1466 lib/common/schemas.c     free_xml(xml);
xml              1648 lib/common/schemas.c update_validation(xmlNode **xml, int *best, int max, gboolean transform,
xml              1651 lib/common/schemas.c     int rc = pcmk__update_schema(xml, get_schema_name(max), transform, to_logs);
xml              1653 lib/common/schemas.c     if ((best != NULL) && (xml != NULL) && (rc == pcmk_rc_ok)) {
xml              1654 lib/common/schemas.c         const char *schema_name = crm_element_value(*xml,
xml              1711 lib/common/schemas.c     xmlNode *xml = NULL;
xml              1724 lib/common/schemas.c     xml = xmlDocGetRootElement(doc);
xml              1725 lib/common/schemas.c     rc = pcmk__validate_xml(xml, NULL, NULL, NULL);
xml              1726 lib/common/schemas.c     free_xml(xml);
xml              1735 lib/common/schemas.c cli_config_update(xmlNode **xml, int *best_version, gboolean to_logs)
xml              1737 lib/common/schemas.c     int rc = pcmk__update_configured_schema(xml, to_logs);
xml              1740 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                37 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     xmlNode *xml = pcmk__xml_parse(CIB_XML);
xml                39 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     assert_non_null(xml);
xml                41 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     assert_null(pcmk_cib_node_shutdown(xml, NULL));
xml                43 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     free_xml(xml);
xml                49 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     xmlNode *xml = pcmk__xml_parse(CIB_XML);
xml                51 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     assert_non_null(xml);
xml                52 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     assert_null(pcmk_cib_node_shutdown(xml, "node"));
xml                53 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     assert_null(pcmk_cib_node_shutdown(xml, "node10"));
xml                54 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     free_xml(xml);
xml                60 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     xmlNode *xml = pcmk__xml_parse(CIB_XML);
xml                62 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     assert_non_null(xml);
xml                63 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c     assert_string_equal(pcmk_cib_node_shutdown(xml, "node1"), "999");
xml                64 lib/common/tests/nodes/pcmk_cib_node_shutdown_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                28 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c     xmlNode *xml = pcmk__xe_create(NULL, "element");
xml                30 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c     assert_non_null(xml);
xml                31 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c     crm_xml_add(xml, "attribute", value);
xml                34 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c     assert_int_equal(pcmk__xe_get_flags(xml, "attribute", NULL, DEFAULT_VALUE),
xml                38 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c     rc = pcmk__xe_get_flags(xml, "attribute", &flags, DEFAULT_VALUE);
xml                42 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c     free_xml(xml);
xml                50 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c     xmlNode *xml = pcmk__xe_create(NULL, "element");
xml                52 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c     assert_non_null(xml);
xml                57 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c     assert_int_equal(pcmk__xe_get_flags(xml, NULL, NULL, DEFAULT_VALUE),
xml                60 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c     rc = pcmk__xe_get_flags(xml, NULL, &flags, DEFAULT_VALUE);
xml                69 lib/common/tests/nvpair/pcmk__xe_get_flags_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                28 lib/common/tests/xml/pcmk__xe_get_score_test.c     xmlNode *xml = pcmk__xe_create(NULL, __func__);
xml                30 lib/common/tests/xml/pcmk__xe_get_score_test.c     crm_xml_add(xml, "test_attr", score_s);
xml                31 lib/common/tests/xml/pcmk__xe_get_score_test.c     rc = pcmk__xe_get_score(xml, "test_attr", &score, default_score);
xml                34 lib/common/tests/xml/pcmk__xe_get_score_test.c     free_xml(xml);
xml                41 lib/common/tests/xml/pcmk__xe_get_score_test.c     xmlNode *xml = pcmk__xe_create(NULL, __func__);
xml                45 lib/common/tests/xml/pcmk__xe_get_score_test.c     assert_int_equal(pcmk__xe_get_score(xml, NULL, &score, default_score),
xml                49 lib/common/tests/xml/pcmk__xe_get_score_test.c     free_xml(xml);
xml                71 lib/common/tests/xml/pcmk__xe_get_score_test.c     xmlNode *xml = pcmk__xe_create(NULL, __func__);
xml                73 lib/common/tests/xml/pcmk__xe_get_score_test.c     assert_int_equal(pcmk__xe_get_score(xml, "test_attr", NULL, default_score),
xml                76 lib/common/tests/xml/pcmk__xe_get_score_test.c     crm_xml_add(xml, "test_attr", "0");
xml                77 lib/common/tests/xml/pcmk__xe_get_score_test.c     assert_int_equal(pcmk__xe_get_score(xml, "test_attr", NULL, default_score),
xml                80 lib/common/tests/xml/pcmk__xe_get_score_test.c     crm_xml_add(xml, "test_attr", "foo");
xml                81 lib/common/tests/xml/pcmk__xe_get_score_test.c     assert_int_equal(pcmk__xe_get_score(xml, "test_attr", NULL, default_score),
xml                84 lib/common/tests/xml/pcmk__xe_get_score_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                45 lib/common/xml.c pcmk__xml_tree_foreach(xmlNode *xml, bool (*fn)(xmlNode *, void *),
xml                48 lib/common/xml.c     if (xml == NULL) {
xml                52 lib/common/xml.c     if (!fn(xml, user_data)) {
xml                56 lib/common/xml.c     for (xml = pcmk__xml_first_child(xml); xml != NULL;
xml                57 lib/common/xml.c          xml = pcmk__xml_next(xml)) {
xml                59 lib/common/xml.c         if (!pcmk__xml_tree_foreach(xml, fn, user_data)) {
xml                67 lib/common/xml.c pcmk__tracking_xml_changes(xmlNode *xml, bool lazy)
xml                69 lib/common/xml.c     if(xml == NULL || xml->doc == NULL || xml->doc->_private == NULL) {
xml                71 lib/common/xml.c     } else if (!pcmk_is_set(((xml_doc_private_t *)xml->doc->_private)->flags,
xml                74 lib/common/xml.c     } else if (lazy && !pcmk_is_set(((xml_doc_private_t *)xml->doc->_private)->flags,
xml                82 lib/common/xml.c pcmk__xml_set_parent_flags(xmlNode *xml, uint64_t flags)
xml                84 lib/common/xml.c     for (; xml != NULL; xml = xml->parent) {
xml                85 lib/common/xml.c         xml_node_private_t *nodepriv = xml->_private;
xml                94 lib/common/xml.c pcmk__set_xml_doc_flag(xmlNode *xml, enum xml_private_flags flag)
xml                96 lib/common/xml.c     if (xml != NULL) {
xml                97 lib/common/xml.c         xml_doc_private_t *docpriv = xml->doc->_private;
xml               105 lib/common/xml.c pcmk__mark_xml_node_dirty(xmlNode *xml)
xml               107 lib/common/xml.c     pcmk__set_xml_doc_flag(xml, pcmk__xf_dirty);
xml               108 lib/common/xml.c     pcmk__xml_set_parent_flags(xml, pcmk__xf_dirty);
xml               123 lib/common/xml.c reset_xml_node_flags(xmlNode *xml, void *user_data)
xml               125 lib/common/xml.c     xml_node_private_t *nodepriv = xml->_private;
xml               145 lib/common/xml.c mark_xml_dirty_created(xmlNode *xml, void *user_data)
xml               147 lib/common/xml.c     xml_node_private_t *nodepriv = xml->_private;
xml               164 lib/common/xml.c mark_xml_tree_dirty_created(xmlNode *xml)
xml               166 lib/common/xml.c     pcmk__assert(xml != NULL);
xml               168 lib/common/xml.c     if (!pcmk__tracking_xml_changes(xml, false)) {
xml               174 lib/common/xml.c     pcmk__mark_xml_node_dirty(xml);
xml               176 lib/common/xml.c     pcmk__xml_tree_foreach(xml, mark_xml_dirty_created, NULL);
xml               326 lib/common/xml.c pcmk__xml_new_private_data(xmlNode *xml)
xml               328 lib/common/xml.c     pcmk__xml_tree_foreach(xml, new_private_data, NULL);
xml               338 lib/common/xml.c pcmk__xml_free_private_data(xmlNode *xml)
xml               340 lib/common/xml.c     pcmk__xml_tree_foreach(xml, free_private_data, NULL);
xml               344 lib/common/xml.c xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls) 
xml               346 lib/common/xml.c     xml_accept_changes(xml);
xml               347 lib/common/xml.c     crm_trace("Tracking changes%s to %p", enforce_acls?" with ACLs":"", xml);
xml               348 lib/common/xml.c     pcmk__set_xml_doc_flag(xml, pcmk__xf_tracking);
xml               351 lib/common/xml.c             acl_source = xml;
xml               353 lib/common/xml.c         pcmk__set_xml_doc_flag(xml, pcmk__xf_acl_enabled);
xml               354 lib/common/xml.c         pcmk__unpack_acl(acl_source, xml, user);
xml               355 lib/common/xml.c         pcmk__apply_acl(xml);
xml               359 lib/common/xml.c bool xml_tracking_changes(xmlNode * xml)
xml               361 lib/common/xml.c     return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL)
xml               362 lib/common/xml.c            && pcmk_is_set(((xml_doc_private_t *)(xml->doc->_private))->flags,
xml               366 lib/common/xml.c bool xml_document_dirty(xmlNode *xml) 
xml               368 lib/common/xml.c     return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL)
xml               369 lib/common/xml.c            && pcmk_is_set(((xml_doc_private_t *)(xml->doc->_private))->flags,
xml               383 lib/common/xml.c pcmk__xml_position(const xmlNode *xml, enum xml_private_flags ignore_if_set)
xml               387 lib/common/xml.c     for (const xmlNode *cIter = xml; cIter->prev; cIter = cIter->prev) {
xml               410 lib/common/xml.c accept_attr_deletions(xmlNode *xml, void *user_data)
xml               412 lib/common/xml.c     reset_xml_node_flags(xml, NULL);
xml               413 lib/common/xml.c     pcmk__xe_remove_matching_attrs(xml, pcmk__marked_as_deleted, NULL);
xml               443 lib/common/xml.c xml_accept_changes(xmlNode * xml)
xml               448 lib/common/xml.c     if(xml == NULL) {
xml               452 lib/common/xml.c     crm_trace("Accepting changes to %p", xml);
xml               453 lib/common/xml.c     docpriv = xml->doc->_private;
xml               454 lib/common/xml.c     top = xmlDocGetRootElement(xml->doc);
xml               456 lib/common/xml.c     reset_xml_private_data(xml->doc->_private);
xml               549 lib/common/xml.c pcmk__xe_get_score(const xmlNode *xml, const char *name, int *score,
xml               554 lib/common/xml.c     CRM_CHECK((xml != NULL) && (name != NULL), return EINVAL);
xml               555 lib/common/xml.c     value = crm_element_value(xml, name);
xml               724 lib/common/xml.c pcmk__xe_remove_attr_cb(xmlNode *xml, void *user_data)
xml               728 lib/common/xml.c     pcmk__xe_remove_attr(xml, name);
xml               885 lib/common/xml.c pcmk_free_xml_subtree(xmlNode *xml)
xml               887 lib/common/xml.c     pcmk__xml_free_private_data(xml);
xml               888 lib/common/xml.c     xmlUnlinkNode(xml); // Detaches from parent and siblings
xml               889 lib/common/xml.c     xmlFreeNode(xml);   // Frees
xml              1012 lib/common/xml.c pcmk__strip_xml_text(xmlNode *xml)
xml              1014 lib/common/xml.c     xmlNode *iter = xml->children;
xml              1087 lib/common/xml.c crm_xml_set_id(xmlNode *xml, const char *format, ...)
xml              1100 lib/common/xml.c     crm_xml_add(xml, PCMK_XA_ID, id);
xml              1306 lib/common/xml.c set_attrs_flag(xmlNode *xml, enum xml_private_flags flag)
xml              1308 lib/common/xml.c     for (xmlAttr *attr = pcmk__xe_first_attr(xml); attr; attr = attr->next) {
xml              1811 lib/common/xml.c delete_xe_if_matching(xmlNode *xml, void *user_data)
xml              1815 lib/common/xml.c     if (!pcmk__xe_is(search, (const char *) xml->name)) {
xml              1824 lib/common/xml.c         const char *xml_val = crm_element_value(xml, (const char *) attr->name);
xml              1832 lib/common/xml.c     crm_log_xml_trace(xml, "delete-match");
xml              1834 lib/common/xml.c     free_xml(xml);
xml              1859 lib/common/xml.c pcmk__xe_delete_match(xmlNode *xml, xmlNode *search)
xml              1862 lib/common/xml.c     CRM_CHECK((xml != NULL) && (search != NULL), return EINVAL);
xml              1864 lib/common/xml.c     for (xml = pcmk__xe_first_child(xml, NULL, NULL, NULL); xml != NULL;
xml              1865 lib/common/xml.c          xml = pcmk__xe_next(xml)) {
xml              1867 lib/common/xml.c         if (!pcmk__xml_tree_foreach(xml, delete_xe_if_matching, search)) {
xml              1927 lib/common/xml.c replace_xe_if_matching(xmlNode *xml, void *user_data)
xml              1933 lib/common/xml.c     xml_id = pcmk__xe_id(xml);
xml              1936 lib/common/xml.c     if (!pcmk__xe_is(replace, (const char *) xml->name)) {
xml              1948 lib/common/xml.c     crm_log_xml_trace(xml, "replace-match");
xml              1950 lib/common/xml.c     replace_node(xml, replace);
xml              1974 lib/common/xml.c pcmk__xe_replace_match(xmlNode *xml, xmlNode *replace)
xml              1982 lib/common/xml.c     CRM_CHECK((xml != NULL) && (replace != NULL), return EINVAL);
xml              1984 lib/common/xml.c     for (xml = pcmk__xe_first_child(xml, NULL, NULL, NULL); xml != NULL;
xml              1985 lib/common/xml.c          xml = pcmk__xe_next(xml)) {
xml              1987 lib/common/xml.c         if (!pcmk__xml_tree_foreach(xml, replace_xe_if_matching, replace)) {
xml              2025 lib/common/xml.c update_xe_if_matching(xmlNode *xml, void *user_data)
xml              2030 lib/common/xml.c     if (!pcmk__xe_is(update, (const char *) xml->name)) {
xml              2035 lib/common/xml.c     if (!pcmk__str_eq(pcmk__xe_id(xml), pcmk__xe_id(update), pcmk__str_none)) {
xml              2040 lib/common/xml.c     crm_log_xml_trace(xml, "update-match");
xml              2042 lib/common/xml.c     pcmk__xml_update(NULL, xml, update, data->flags, false);
xml              2068 lib/common/xml.c pcmk__xe_update_match(xmlNode *xml, xmlNode *update, uint32_t flags)
xml              2082 lib/common/xml.c     CRM_CHECK((xml != NULL) && (update != NULL), return EINVAL);
xml              2084 lib/common/xml.c     if (!pcmk__xml_tree_foreach(xml, update_xe_if_matching, &data)) {
xml              2306 lib/common/xml.c pcmk__xe_foreach_child(xmlNode *xml, const char *child_element_name,
xml              2307 lib/common/xml.c                        int (*handler)(xmlNode *xml, void *userdata),
xml              2310 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               376 lib/common/xml_display.c     pcmk__assert((out != NULL) && (xml != NULL) && (xml->doc != NULL));
xml               378 lib/common/xml_display.c     docpriv = xml->doc->_private;
xml               397 lib/common/xml_display.c     temp_rc = show_xml_changes_recursive(out, xml, 0, pcmk__xml_fmt_pretty);
xml               522 lib/common/xml_display.c xml_log_changes(uint8_t log_level, const char *function, const xmlNode *xml)
xml               538 lib/common/xml_display.c     rc = pcmk__xml_show_changes(out, xml);
xml               169 lib/common/xml_io.c     xmlNode *xml = NULL;
xml               211 lib/common/xml_io.c         xml = xmlDocGetRootElement(output);
xml               212 lib/common/xml_io.c         if (xml != NULL) {
xml               219 lib/common/xml_io.c             pcmk__strip_xml_text(xml);
xml               226 lib/common/xml_io.c         if (xml != NULL) {
xml               227 lib/common/xml_io.c             crm_log_xml_info(xml, "Partial");
xml               232 lib/common/xml_io.c     return xml;
xml               247 lib/common/xml_io.c     xmlNode *xml = NULL;
xml               269 lib/common/xml_io.c         xml = xmlDocGetRootElement(output);
xml               275 lib/common/xml_io.c         if (xml != NULL) {
xml               276 lib/common/xml_io.c             crm_log_xml_info(xml, "Partial");
xml               281 lib/common/xml_io.c     return xml;
xml               596 lib/common/xml_io.c write_xml_stream(const xmlNode *xml, const char *filename, FILE *stream,
xml               604 lib/common/xml_io.c     pcmk__xml_string(xml, pcmk__xml_fmt_pretty, buffer, 0);
xml               606 lib/common/xml_io.c               crm_log_xml_info(xml, "dump-failed");
xml               610 lib/common/xml_io.c     crm_log_xml_trace(xml, "writing");
xml               662 lib/common/xml_io.c pcmk__xml_write_fd(const xmlNode *xml, const char *filename, int fd,
xml               668 lib/common/xml_io.c     CRM_CHECK((xml != NULL) && (fd > 0), return EINVAL);
xml               674 lib/common/xml_io.c     return write_xml_stream(xml, pcmk__s(filename, "unnamed file"), stream,
xml               690 lib/common/xml_io.c pcmk__xml_write_file(const xmlNode *xml, const char *filename, bool compress,
xml               696 lib/common/xml_io.c     CRM_CHECK((xml != NULL) && (filename != NULL), return EINVAL);
xml               702 lib/common/xml_io.c     return write_xml_stream(xml, filename, stream, compress, nbytes);
xml               736 lib/common/xml_io.c save_xml_to_file(const xmlNode *xml, const char *desc, const char *filename)
xml               749 lib/common/xml_io.c     pcmk__xml_write_file(xml, filename, false, NULL);
xml               778 lib/common/xml_io.c dump_xml_formatted(const xmlNode *xml)
xml               783 lib/common/xml_io.c     pcmk__xml_string(xml, pcmk__xml_fmt_pretty, buffer, 0);
xml               791 lib/common/xml_io.c dump_xml_formatted_with_text(const xmlNode *xml)
xml               796 lib/common/xml_io.c     pcmk__xml_string(xml, pcmk__xml_fmt_pretty|pcmk__xml_fmt_text, buffer, 0);
xml               804 lib/common/xml_io.c dump_xml_unformatted(const xmlNode *xml)
xml               809 lib/common/xml_io.c     pcmk__xml_string(xml, 0, buffer, 0);
xml               817 lib/common/xml_io.c write_xml_fd(const xmlNode *xml, const char *filename, int fd,
xml               821 lib/common/xml_io.c     int rc = pcmk__xml_write_fd(xml, filename, fd, compress, &nbytes);
xml               830 lib/common/xml_io.c write_xml_file(const xmlNode *xml, const char *filename, gboolean compress)
xml               833 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               396 lib/lrmd/lrmd_client.c handle_remote_msg(xmlNode *xml, lrmd_t *lrmd)
xml               401 lib/lrmd/lrmd_client.c     msg_type = crm_element_value(xml, PCMK__XA_LRMD_REMOTE_MSG_TYPE);
xml               403 lib/lrmd/lrmd_client.c         lrmd_dispatch_internal(xml, lrmd);
xml               409 lib/lrmd/lrmd_client.c             crm_element_value_int(xml, PCMK__XA_LRMD_CALLID, &reply_id);
xml               447 lib/lrmd/lrmd_client.c     xmlNode *xml = NULL;
xml               478 lib/lrmd/lrmd_client.c     xml = pcmk__remote_message_xml(native->remote);
xml               480 lib/lrmd/lrmd_client.c     if (xml == NULL) {
xml               484 lib/lrmd/lrmd_client.c     handle_remote_msg(xml, lrmd);
xml               485 lib/lrmd/lrmd_client.c     free_xml(xml);
xml               789 lib/lrmd/lrmd_client.c     xmlNode *xml = NULL;
xml               800 lib/lrmd/lrmd_client.c     rc = read_remote_reply(lrmd, timeout, global_remote_msg_id, &xml);
xml               809 lib/lrmd/lrmd_client.c         *reply = xml;
xml               811 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               756 lib/pacemaker/libpacemaker_private.h void pcmk__primitive_add_graph_meta(const pcmk_resource_t *rsc, xmlNode *xml);
xml               876 lib/pacemaker/libpacemaker_private.h void pcmk__clone_add_graph_meta(const pcmk_resource_t *rsc, xmlNode *xml);
xml              1049 lib/pacemaker/libpacemaker_private.h void pcmk__noop_add_graph_meta(const pcmk_resource_t *rsc, xmlNode *xml);
xml              1139 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               295 lib/pacemaker/pcmk_graph_consumer.c     const char *id = pcmk__xe_id(action->xml);
xml               312 lib/pacemaker/pcmk_graph_consumer.c             if (pcmk__str_eq(crm_element_value(action->xml, PCMK_XA_OPERATION),
xml               324 lib/pacemaker/pcmk_graph_consumer.c                     action->xml->name, id);
xml               349 lib/pacemaker/pcmk_graph_consumer.c                     action->xml->name, action->id, synapse->id,
xml               576 lib/pacemaker/pcmk_graph_consumer.c     action->xml = pcmk__xml_copy(NULL, xml_action);
xml               579 lib/pacemaker/pcmk_graph_consumer.c     action->params = xml2list(action->xml);
xml               851 lib/pacemaker/pcmk_graph_consumer.c     action_resource = pcmk__xe_first_child(action->xml, PCMK_XE_PRIMITIVE, NULL,
xml               853 lib/pacemaker/pcmk_graph_consumer.c     CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "invalid");
xml               857 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               592 lib/pacemaker/pcmk_injections.c     rclass = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml               593 lib/pacemaker/pcmk_injections.c     rtype = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml               594 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               250 lib/pacemaker/pcmk_output.c     xmlNode *xml = NULL;
xml               273 lib/pacemaker/pcmk_output.c     xml = pcmk__output_create_xml_node(out, PCMK_XE_RSC_ACTION,
xml               281 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               289 lib/pacemaker/pcmk_output.c         crm_xml_add(xml, PCMK_XA_NODE, destination->details->uname);
xml               293 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               300 lib/pacemaker/pcmk_output.c         crm_xml_add(xml, PCMK_XA_NODE, origin->details->uname);
xml               304 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               311 lib/pacemaker/pcmk_output.c         crm_xml_add(xml, PCMK_XA_SOURCE, origin->details->uname);
xml               315 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               323 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               330 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               338 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               348 lib/pacemaker/pcmk_output.c         pcmk__xe_set_props(xml,
xml               354 lib/pacemaker/pcmk_output.c         crm_xml_add(xml, PCMK_XA_REASON, source->reason);
xml               357 lib/pacemaker/pcmk_output.c         pcmk__xe_set_bool_attr(xml, PCMK_XA_BLOCKED, true);
xml              1036 lib/pacemaker/pcmk_output.c     xmlNode *xml = NULL;
xml              1038 lib/pacemaker/pcmk_output.c     xml = pcmk__output_create_xml_node(out, PCMK_XE_DIGESTS,
xml              1047 lib/pacemaker/pcmk_output.c         add_digest_xml(xml, "all", digests->digest_all_calc,
xml              1049 lib/pacemaker/pcmk_output.c         add_digest_xml(xml, "nonprivate", digests->digest_secure_calc,
xml              1051 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               616 lib/pacemaker/pcmk_sched_clone.c pcmk__clone_add_graph_meta(const pcmk_resource_t *rsc, xmlNode *xml)
xml               620 lib/pacemaker/pcmk_sched_clone.c     pcmk__assert(pcmk__is_clone(rsc) && (xml != NULL));
xml               623 lib/pacemaker/pcmk_sched_clone.c     crm_xml_add(xml, name, pcmk__flag_text(rsc->flags, pcmk_rsc_unique));
xml               627 lib/pacemaker/pcmk_sched_clone.c     crm_xml_add(xml, name, pcmk__flag_text(rsc->flags, pcmk_rsc_notify));
xml               631 lib/pacemaker/pcmk_sched_clone.c     crm_xml_add_int(xml, name, pe__clone_max(rsc));
xml               635 lib/pacemaker/pcmk_sched_clone.c     crm_xml_add_int(xml, name, pe__clone_node_max(rsc));
xml               643 lib/pacemaker/pcmk_sched_clone.c         crm_xml_add_int(xml, name, promoted_max);
xml               647 lib/pacemaker/pcmk_sched_clone.c         crm_xml_add_int(xml, name, promoted_node_max);
xml               654 lib/pacemaker/pcmk_sched_clone.c         crm_xml_add_int(xml, name, promoted_max);
xml               658 lib/pacemaker/pcmk_sched_clone.c         crm_xml_add_int(xml, name, promoted_node_max);
xml               241 lib/pacemaker/pcmk_sched_ordering.c get_ordering_resource(const xmlNode *xml, const char *resource_attr,
xml               247 lib/pacemaker/pcmk_sched_ordering.c     const char *rsc_id = crm_element_value(xml, resource_attr);
xml               248 lib/pacemaker/pcmk_sched_ordering.c     const char *instance_id = crm_element_value(xml, instance_attr);
xml               252 lib/pacemaker/pcmk_sched_ordering.c                          pcmk__xe_id(xml), resource_attr);
xml               259 lib/pacemaker/pcmk_sched_ordering.c                          "does not exist", pcmk__xe_id(xml), rsc_id);
xml               272 lib/pacemaker/pcmk_sched_ordering.c                              pcmk__xe_id(xml), rsc_id, instance_id);
xml               279 lib/pacemaker/pcmk_sched_ordering.c                              pcmk__xe_id(xml), rsc_id, instance_id);
xml               296 lib/pacemaker/pcmk_sched_ordering.c get_minimum_first_instances(const pcmk_resource_t *rsc, const xmlNode *xml)
xml               317 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     pcmk__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                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              1572 lib/pengine/bundle.c             out->message(out, (const char *) replica->ip->xml->name, show_opts,
xml              1577 lib/pengine/bundle.c             out->message(out, (const char *) replica->child->xml->name,
xml              1582 lib/pengine/bundle.c             out->message(out, (const char *) replica->container->xml->name,
xml              1587 lib/pengine/bundle.c             out->message(out, (const char *) replica->remote->xml->name,
xml              1716 lib/pengine/bundle.c                 out->message(out, (const char *) replica->ip->xml->name,
xml              1721 lib/pengine/bundle.c                 out->message(out, (const char *) replica->child->xml->name,
xml              1727 lib/pengine/bundle.c                 out->message(out, (const char *) replica->container->xml->name,
xml              1733 lib/pengine/bundle.c                 out->message(out, (const char *) replica->remote->xml->name,
xml              1857 lib/pengine/bundle.c                 out->message(out, (const char *) replica->ip->xml->name,
xml              1862 lib/pengine/bundle.c                 out->message(out, (const char *) replica->child->xml->name,
xml              1868 lib/pengine/bundle.c                 out->message(out, (const char *) replica->container->xml->name,
xml              1874 lib/pengine/bundle.c                 out->message(out, (const char *) replica->remote->xml->name,
xml              2019 lib/pengine/bundle.c         free_xml(replica->ip->xml);
xml              2020 lib/pengine/bundle.c         replica->ip->xml = NULL;
xml              2025 lib/pengine/bundle.c         free_xml(replica->container->xml);
xml              2026 lib/pengine/bundle.c         replica->container->xml = NULL;
xml              2031 lib/pengine/bundle.c         free_xml(replica->remote->xml);
xml              2032 lib/pengine/bundle.c         replica->remote->xml = NULL;
xml              2067 lib/pengine/bundle.c         free_xml(bundle_data->child->xml);
xml              2068 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               738 lib/pengine/complex.c         (*rsc)->xml = expanded_xml;
xml               742 lib/pengine/complex.c         (*rsc)->xml = xml_obj;
xml               750 lib/pengine/complex.c     ops = pcmk__xe_first_child((*rsc)->xml, PCMK_XE_OPERATIONS, NULL, NULL);
xml               753 lib/pengine/complex.c     (*rsc)->variant = get_resource_type((const char *) (*rsc)->xml->name);
xml               756 lib/pengine/complex.c                          id, (*rsc)->xml->name);
xml               766 lib/pengine/complex.c     value = crm_element_value((*rsc)->xml, PCMK__META_CLONE);
xml               812 lib/pengine/complex.c     if (xml_contains_remote_node((*rsc)->xml)) {
xml               948 lib/pengine/complex.c     if (pcmk__str_eq(crm_element_value((*rsc)->xml, PCMK_XA_CLASS),
xml              1015 lib/pengine/complex.c     pe__unpack_dataset_nvpairs((*rsc)->xml, PCMK_XE_UTILIZATION, &rule_data,
xml              1114 lib/pengine/complex.c         free_xml(rsc->xml);
xml              1115 lib/pengine/complex.c         rsc->xml = NULL;
xml              1121 lib/pengine/complex.c         free_xml(rsc->xml);
xml              1122 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              1828 lib/pengine/pe_output.c                 out->message(out, pcmk__map_element_name(rsc->xml), show_opts,
xml              1969 lib/pengine/pe_output.c                     out->message(out, pcmk__map_element_name(rsc->xml),
xml              2101 lib/pengine/pe_output.c                 out->message(out, pcmk__map_element_name(rsc->xml), show_opts,
xml              2274 lib/pengine/pe_output.c         const char *class = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml              2275 lib/pengine/pe_output.c         const char *provider = crm_element_value(rsc->xml, PCMK_XA_PROVIDER);
xml              2276 lib/pengine/pe_output.c         const char *kind = crm_element_value(rsc->xml, PCMK_XA_TYPE);
xml              3082 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              2902 lib/pengine/unpack.c unpack_node_lrm(pcmk_node_t *node, const xmlNode *xml,
xml              2908 lib/pengine/unpack.c     xml = pcmk__xe_first_child(xml, PCMK__XE_LRM, NULL, NULL);
xml              2909 lib/pengine/unpack.c     if (xml == NULL) {
xml              2912 lib/pengine/unpack.c     xml = pcmk__xe_first_child(xml, PCMK__XE_LRM_RESOURCES, NULL, NULL);
xml              2913 lib/pengine/unpack.c     if (xml == NULL) {
xml              2918 lib/pengine/unpack.c     for (const xmlNode *rsc_entry = pcmk__xe_first_child(xml,
xml              2935 lib/pengine/unpack.c         handle_orphaned_container_fillers(xml, scheduler);
xml              2972 lib/pengine/unpack.c     xmlNode *xml = NULL;
xml              2999 lib/pengine/unpack.c     xml = get_xpath_object((const char *) xpath->str, scheduler->input,
xml              3003 lib/pengine/unpack.c     if (xml && target_rc >= 0) {
xml              3007 lib/pengine/unpack.c         crm_element_value_int(xml, PCMK__XA_RC_CODE, &rc);
xml              3008 lib/pengine/unpack.c         crm_element_value_int(xml, PCMK__XA_OP_STATUS, &status);
xml              3013 lib/pengine/unpack.c     return xml;
xml              3021 lib/pengine/unpack.c     xmlNode *xml = NULL;
xml              3031 lib/pengine/unpack.c     xml = get_xpath_object((const char *) xpath->str, scheduler->input,
xml              3035 lib/pengine/unpack.c     return xml;
xml              3323 lib/pengine/unpack.c     if (get_migration_node_names(history->xml, history->node, NULL, &source,
xml              3329 lib/pengine/unpack.c     source_newer_op = non_monitor_after(history->rsc->id, source, history->xml,
xml              3351 lib/pengine/unpack.c                                                    history->xml, migrate_from,
xml              3438 lib/pengine/unpack.c     if (get_migration_node_names(history->xml, history->node, NULL, &source,
xml              3462 lib/pengine/unpack.c         && !newer_state_after_migrate(history->rsc->id, target, history->xml,
xml              3477 lib/pengine/unpack.c     } else if (!non_monitor_after(history->rsc->id, source, history->xml, true,
xml              3505 lib/pengine/unpack.c     if (get_migration_node_names(history->xml, NULL, history->node, &source,
xml              3530 lib/pengine/unpack.c                                       source_migrate_to, history->xml,
xml              3575 lib/pengine/unpack.c     crm_xml_add(history->xml, PCMK_XA_UNAME, history->node->details->uname);
xml              3576 lib/pengine/unpack.c     crm_xml_add(history->xml, PCMK__XA_RSC_ID, history->rsc->id);
xml              3577 lib/pengine/unpack.c     pcmk__xml_copy(history->rsc->cluster->failed, history->xml);
xml              3776 lib/pengine/unpack.c     *last_failure = history->xml;
xml              3778 lib/pengine/unpack.c     is_probe = pcmk_xe_is_probe(history->xml);
xml              3779 lib/pengine/unpack.c     last_change_s = last_change_str(history->xml);
xml              3906 lib/pengine/unpack.c     last_change_s = last_change_str(history->xml);
xml              3985 lib/pengine/unpack.c         && pcmk_xe_mask_probe_failure(history->xml)
xml              4014 lib/pengine/unpack.c     is_probe = pcmk_xe_is_probe(history->xml);
xml              4054 lib/pengine/unpack.c                 char *last_change_s = last_change_str(history->xml);
xml              4085 lib/pengine/unpack.c                 char *last_change_s = last_change_str(history->xml);
xml              4114 lib/pengine/unpack.c                 crm_element_value_ms(history->xml, PCMK_META_INTERVAL,
xml              4141 lib/pengine/unpack.c                 char *last_change_s = last_change_str(history->xml);
xml              4295 lib/pengine/unpack.c         && (crm_element_value_epoch(history->xml, PCMK_XA_LAST_RC_CHANGE,
xml              4317 lib/pengine/unpack.c                                                 history->xml);
xml              4334 lib/pengine/unpack.c                              pcmk__fc_default, history->xml)) {
xml              4365 lib/pengine/unpack.c         && should_clear_for_param_change(history->xml, history->task,
xml              4448 lib/pengine/unpack.c             && pcmk_xe_mask_probe_failure(history->xml))) {
xml              4584 lib/pengine/unpack.c     if ((crm_element_value_int(history->xml, PCMK__XA_OP_STATUS,
xml              4593 lib/pengine/unpack.c                          pcmk__s(crm_element_value(history->xml,
xml              4598 lib/pengine/unpack.c     if ((crm_element_value_int(history->xml, PCMK__XA_RC_CODE,
xml              4610 lib/pengine/unpack.c                          pcmk__s(crm_element_value(history->xml,
xml              4618 lib/pengine/unpack.c     history->exit_reason = crm_element_value(history->xml, PCMK_XA_EXIT_REASON);
xml              4636 lib/pengine/unpack.c         && pcmk_xe_mask_probe_failure(history->xml)
xml              4676 lib/pengine/unpack.c         crm_xml_add(history->xml, PCMK__XA_OP_RESTART_DIGEST,
xml              4709 lib/pengine/unpack.c     crm_xml_add(history->xml, PCMK_XA_UNAME, history->node->details->uname);
xml              4752 lib/pengine/unpack.c     if ((pcmk__scan_ll(crm_element_value(history->xml, PCMK_XA_LAST_RC_CHANGE),
xml              4803 lib/pengine/unpack.c         migrate_target = crm_element_value(history->xml,
xml              4847 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              2262 tools/crm_resource_runtime.c     rclass = crm_element_value(rsc->xml, PCMK_XA_CLASS);
xml              2263 tools/crm_resource_runtime.c     rprov = crm_element_value(rsc->xml, PCMK_XA_PROVIDER);
xml              2264 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);