match 208 daemons/controld/controld_metadata.c xmlNode *match = NULL; match 253 daemons/controld/controld_metadata.c match = first_named_child(metadata, "actions"); match 254 daemons/controld/controld_metadata.c for (match = first_named_child(match, "action"); match != NULL; match 255 daemons/controld/controld_metadata.c match = crm_next_same_xml(match)) { match 257 daemons/controld/controld_metadata.c const char *action_name = crm_element_value(match, "name"); match 275 daemons/controld/controld_metadata.c match = first_named_child(metadata, "parameters"); match 276 daemons/controld/controld_metadata.c for (match = first_named_child(match, "parameter"); match != NULL; match 277 daemons/controld/controld_metadata.c match = crm_next_same_xml(match)) { match 279 daemons/controld/controld_metadata.c const char *param_name = crm_element_value(match, "name"); match 285 daemons/controld/controld_metadata.c struct ra_param_s *p = ra_param_from_xml(match); match 376 daemons/controld/controld_schedulerd.c xmlNode *match = getXpathResult(xpathObj, lpc); match 377 daemons/controld/controld_schedulerd.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); match 378 daemons/controld/controld_schedulerd.c crm_xml_add(match, XML_NVPAIR_ATTR_VALUE, attr_value); match 183 daemons/controld/controld_te_callbacks.c xmlNode *match = getXpathResult(xpathObj, lpc); match 185 daemons/controld/controld_te_callbacks.c CRM_LOG_ASSERT(match != NULL); match 186 daemons/controld/controld_te_callbacks.c if(match == NULL) { continue; }; match 188 daemons/controld/controld_te_callbacks.c op_id = ID(match); match 197 daemons/controld/controld_te_callbacks.c const char *node = get_node_id(match); match 203 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, "Resource op removal", match); match 285 daemons/controld/controld_te_callbacks.c char *match = NULL; match 287 daemons/controld/controld_te_callbacks.c match = strstr(mutable_path, "node_state[@id=\'"); match 288 daemons/controld/controld_te_callbacks.c if (match == NULL) { match 292 daemons/controld/controld_te_callbacks.c match += strlen("node_state[@id=\'"); match 294 daemons/controld/controld_te_callbacks.c search = strchr(match, '\''); match 301 daemons/controld/controld_te_callbacks.c node_uuid = strdup(match); match 425 daemons/controld/controld_te_callbacks.c xmlNode *match = NULL; match 447 daemons/controld/controld_te_callbacks.c match = change->children; match 450 daemons/controld/controld_te_callbacks.c match = first_named_child(change, XML_DIFF_RESULT); match 451 daemons/controld/controld_te_callbacks.c if(match) { match 452 daemons/controld/controld_te_callbacks.c match = match->children; match 461 daemons/controld/controld_te_callbacks.c if (match) { match 462 daemons/controld/controld_te_callbacks.c if (match->type == XML_COMMENT_NODE) { match 466 daemons/controld/controld_te_callbacks.c name = (const char *)match->name; match 496 daemons/controld/controld_te_callbacks.c process_cib_diff(match, change, op, xpath); match 499 daemons/controld/controld_te_callbacks.c process_status_diff(match, change, op, xpath); match 502 daemons/controld/controld_te_callbacks.c process_node_state_diff(match, change, op, xpath); match 505 daemons/controld/controld_te_callbacks.c process_resource_updates(ID(match), match, change, op, xpath); match 510 daemons/controld/controld_te_callbacks.c process_resource_updates(local_node, match, change, op, xpath); match 516 daemons/controld/controld_te_callbacks.c process_lrm_resource_diff(match, local_node); match 522 daemons/controld/controld_te_callbacks.c process_graph_event(match, local_node); match 292 daemons/controld/controld_te_events.c crm_action_t *match = NULL; match 299 daemons/controld/controld_te_events.c gIter != NULL && match == NULL; match 303 daemons/controld/controld_te_events.c gIter2 != NULL && match == NULL; match 306 daemons/controld/controld_te_events.c match = (crm_action_t*)gIter2->data; match 307 daemons/controld/controld_te_events.c if (pcmk_is_set(match->flags, pcmk__graph_action_confirmed)) { match 308 daemons/controld/controld_te_events.c xpath_ret = xpath_search(match->xml, xpath); match 310 daemons/controld/controld_te_events.c match = NULL; match 315 daemons/controld/controld_te_events.c match = NULL; match 322 daemons/controld/controld_te_events.c if (match != NULL) { match 323 daemons/controld/controld_te_events.c crm_debug("Shutdown action %d (%s) found for node %s", match->id, match 324 daemons/controld/controld_te_events.c crm_element_value(match->xml, XML_LRM_ATTR_TASK_KEY), target); match 328 daemons/controld/controld_te_events.c return match; match 865 daemons/fenced/fenced_commands.c xmlNode *match = getXpathResult(xpath, lpc); match 867 daemons/fenced/fenced_commands.c CRM_LOG_ASSERT(match != NULL); match 868 daemons/fenced/fenced_commands.c if(match == NULL) { continue; }; match 870 daemons/fenced/fenced_commands.c on_target = crm_element_value(match, "on_target"); match 871 daemons/fenced/fenced_commands.c action = crm_element_value(match, "name"); match 884 daemons/fenced/fenced_commands.c const char *automatic = crm_element_value(match, "automatic"); match 887 daemons/fenced/fenced_commands.c const char *required = crm_element_value(match, "required"); match 326 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->devices_list, iter->data, match 329 daemons/fenced/fenced_remote.c if (match) { match 330 daemons/fenced/fenced_remote.c op->devices_list = g_list_remove(op->devices_list, match->data); match 463 daemons/fenced/fenced_remote.c xmlNode *match = get_xpath_object("//@" F_STONITH_DELEGATE, xml, LOG_NEVER); match 465 daemons/fenced/fenced_remote.c if (match == NULL) { match 468 daemons/fenced/fenced_remote.c return crm_element_value_copy(match, F_STONITH_DELEGATE); match 705 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->automatic_list, device, match 708 daemons/fenced/fenced_remote.c if (!match) { match 723 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->automatic_list, device, match 726 daemons/fenced/fenced_remote.c if (match) { match 727 daemons/fenced/fenced_remote.c op->automatic_list = g_list_remove(op->automatic_list, match->data); match 1752 daemons/fenced/fenced_remote.c device_properties_t *match = NULL; match 1769 daemons/fenced/fenced_remote.c match = NULL; match 1770 daemons/fenced/fenced_remote.c for (iter = op->query_results; iter && !match; iter = iter->next) { match 1776 daemons/fenced/fenced_remote.c match = find_peer_device(op, peer, device->data); match 1778 daemons/fenced/fenced_remote.c if (!match) { match 435 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); match 437 daemons/fenced/pacemaker-fenced.c CRM_LOG_ASSERT(match != NULL); match 438 daemons/fenced/pacemaker-fenced.c if(match != NULL) { match 439 daemons/fenced/pacemaker-fenced.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); match 446 daemons/fenced/pacemaker-fenced.c rsc_id = crm_element_value(match, XML_ATTR_ID); match 453 daemons/fenced/pacemaker-fenced.c handle_topology_change(xmlNode *match, bool remove) match 458 daemons/fenced/pacemaker-fenced.c CRM_CHECK(match != NULL, return); match 459 daemons/fenced/pacemaker-fenced.c crm_trace("Updating %s", ID(match)); match 463 daemons/fenced/pacemaker-fenced.c char *key = stonith_level_key(match, -1); match 465 daemons/fenced/pacemaker-fenced.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); match 470 daemons/fenced/pacemaker-fenced.c rc = stonith_level_register(match, &desc); match 482 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); match 484 daemons/fenced/pacemaker-fenced.c CRM_LOG_ASSERT(match != NULL); match 485 daemons/fenced/pacemaker-fenced.c if (match && crm_element_value(match, XML_DIFF_MARKER)) { match 488 daemons/fenced/pacemaker-fenced.c char *target = stonith_level_key(match, -1); match 490 daemons/fenced/pacemaker-fenced.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); match 492 daemons/fenced/pacemaker-fenced.c crm_err("Invalid fencing target in element %s", ID(match)); match 495 daemons/fenced/pacemaker-fenced.c crm_err("Invalid level for %s in element %s", target, ID(match)); match 511 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); match 513 daemons/fenced/pacemaker-fenced.c handle_topology_change(match, TRUE); match 896 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpath_obj, lpc); match 898 daemons/fenced/pacemaker-fenced.c crm_log_xml_trace(match, "new constraint"); match 918 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpath_obj, lpc); match 920 daemons/fenced/pacemaker-fenced.c rsc_id = crm_element_value(match, XML_ATTR_ID); match 921 daemons/fenced/pacemaker-fenced.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); match 977 daemons/fenced/pacemaker-fenced.c xmlNode *match; match 991 daemons/fenced/pacemaker-fenced.c match = get_xpath_object(xpath, local_cib, LOG_NEVER); match 994 daemons/fenced/pacemaker-fenced.c return (match != NULL); match 1067 daemons/fenced/pacemaker-fenced.c xmlNode *match = first_named_child(change, XML_DIFF_RESULT); match 1069 daemons/fenced/pacemaker-fenced.c if(match) { match 1070 daemons/fenced/pacemaker-fenced.c handle_topology_change(match->children, TRUE); match 37 include/crm/common/strings_internal.h bool pcmk__ends_with(const char *s, const char *match); match 38 include/crm/common/strings_internal.h bool pcmk__ends_with_ext(const char *s, const char *match); match 163 include/crm/common/xml_internal.h bool (*match)(xmlAttrPtr, void *), match 368 lib/cib/cib_ops.c xmlNode *match = getXpathResult(xpathObj, lpc); match 369 lib/cib/cib_ops.c xmlChar *match_path = xmlGetNodePath(match); match 373 lib/cib/cib_ops.c free_xml(match); match 714 lib/cib/cib_ops.c xmlNode *match = getXpathResult(xpathObj, lpc); match 716 lib/cib/cib_ops.c if (match == NULL) { match 720 lib/cib/cib_ops.c path = xmlGetNodePath(match); match 725 lib/cib/cib_ops.c if (match == *result_cib) { match 732 lib/cib/cib_ops.c free_xml(match); match 738 lib/cib/cib_ops.c if (update_xml_child(match, input) == FALSE) { match 745 lib/cib/cib_ops.c add_node_copy(match, input); match 751 lib/cib/cib_ops.c const char *tag = TYPE(match); match 754 lib/cib/cib_ops.c copy_in_properties(shallow, match); match 762 lib/cib/cib_ops.c xmlNode *parent = match; match 790 lib/cib/cib_ops.c add_node_copy(*answer, match); match 793 lib/cib/cib_ops.c *answer = match; match 797 lib/cib/cib_ops.c xmlNode *parent = match->parent; match 799 lib/cib/cib_ops.c free_xml(match); match 263 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); match 264 lib/common/acl.c char *path = xml_get_path(match); match 266 lib/common/acl.c p = match->_private; match 441 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); match 443 lib/common/acl.c if (!purge_xml_attributes(match) && (match == target)) { match 1219 lib/common/mainloop.c mainloop_child_t *match = NULL; match 1224 lib/common/mainloop.c for (iter = child_list; iter != NULL && match == NULL; iter = iter->next) { match 1227 lib/common/mainloop.c match = child; match 1231 lib/common/mainloop.c if (match == NULL) { match 1235 lib/common/mainloop.c rc = child_kill_helper(match); match 1243 lib/common/mainloop.c match->pid); match 1253 lib/common/mainloop.c if (!child_waitpid(match, waitflags)) { match 1258 lib/common/mainloop.c child_list = g_list_remove(child_list, match); match 1259 lib/common/mainloop.c child_free(match); match 1108 lib/common/patchset.c xmlNode *match; match 1151 lib/common/patchset.c xmlNode *match = NULL; match 1166 lib/common/patchset.c match = search_v2_xpath(xml, xpath, position); match 1167 lib/common/patchset.c crm_trace("Performing %s on %s with %p", op, xpath, match); match 1169 lib/common/patchset.c if ((match == NULL) && (strcmp(op, "delete") == 0)) { match 1173 lib/common/patchset.c } else if (match == NULL) { match 1185 lib/common/patchset.c change_obj->match = match; match 1191 lib/common/patchset.c if ((match->parent != NULL) && (match->parent->last != NULL)) { match 1192 lib/common/patchset.c xmlAddNextSibling(match->parent->last, match); match 1197 lib/common/patchset.c free_xml(match); match 1208 lib/common/patchset.c pcmk__xe_remove_matching_attrs(match, NULL, NULL); // Remove all match 1215 lib/common/patchset.c crm_xml_add(match, name, value); match 1229 lib/common/patchset.c xmlNode *match = change_obj->match; match 1238 lib/common/patchset.c crm_trace("Continue performing %s on %s with %p", op, xpath, match); match 1245 lib/common/patchset.c match_child = match->children; match 1253 lib/common/patchset.c child = xmlDocCopyNode(change->children, match->doc, 1); match 1258 lib/common/patchset.c } else if (match->last) { match 1261 lib/common/patchset.c xmlAddNextSibling(match->last, child); match 1267 lib/common/patchset.c xmlAddChild(match, child); match 1275 lib/common/patchset.c if (position != pcmk__xml_position(match, pcmk__xf_skip)) { match 1279 lib/common/patchset.c if (p > pcmk__xml_position(match, pcmk__xf_skip)) { match 1283 lib/common/patchset.c CRM_ASSERT(match->parent != NULL); match 1284 lib/common/patchset.c match_child = match->parent->children; match 1292 lib/common/patchset.c match->name, position, match 1293 lib/common/patchset.c pcmk__xml_position(match, pcmk__xf_skip), match 1294 lib/common/patchset.c match->prev, (match_child? "next":"last"), match 1295 lib/common/patchset.c (match_child? match_child : match->parent->last)); match 1298 lib/common/patchset.c xmlAddPrevSibling(match_child, match); match 1301 lib/common/patchset.c CRM_ASSERT(match->parent->last != NULL); match 1302 lib/common/patchset.c xmlAddNextSibling(match->parent->last, match); match 1307 lib/common/patchset.c match->name, position); match 1310 lib/common/patchset.c if (position != pcmk__xml_position(match, pcmk__xf_skip)) { match 1312 lib/common/patchset.c match->name, ID(match), match 1313 lib/common/patchset.c pcmk__xml_position(match, pcmk__xf_skip), match 1314 lib/common/patchset.c position, match->prev); match 1053 lib/common/schemas.c int lpc = 0, match = -1, rc = pcmk_ok; match 1066 lib/common/schemas.c match = get_schema_version(value); match 1068 lib/common/schemas.c lpc = match; match 1078 lib/common/schemas.c if (match >= max_stable_schemas) { match 1081 lib/common/schemas.c *best = match; match 1183 lib/common/schemas.c if (*best > match && *best) { match 501 lib/common/strings.c ends_with(const char *s, const char *match, bool as_extension) match 503 lib/common/strings.c if (pcmk__str_empty(match)) { match 514 lib/common/strings.c s = strrchr(s, match[0]); match 515 lib/common/strings.c return (s == NULL)? false : !strcmp(s, match); match 518 lib/common/strings.c mlen = strlen(match); match 520 lib/common/strings.c return ((slen >= mlen) && !strcmp(s + slen - mlen, match)); match 536 lib/common/strings.c pcmk__ends_with(const char *s, const char *match) match 538 lib/common/strings.c return ends_with(s, match, false); match 563 lib/common/strings.c pcmk__ends_with_ext(const char *s, const char *match) match 565 lib/common/strings.c return ends_with(s, match, true); match 630 lib/common/xml.c bool (*match)(xmlAttrPtr, void *), match 637 lib/common/xml.c if ((match == NULL) || match(a, user_data)) { match 2791 lib/common/xml.c xmlNode *match = NULL; match 2793 lib/common/xml.c for (match = pcmk__xe_first_child(parent); match != NULL; match 2794 lib/common/xml.c match = pcmk__xe_next(match)) { match 2800 lib/common/xml.c if (pcmk__str_eq(name, (const char *)match->name, pcmk__str_null_matches)) { match 2801 lib/common/xml.c return match; match 2817 lib/common/xml.c xmlNode *match = pcmk__xe_next(sibling); match 2820 lib/common/xml.c while (match != NULL) { match 2821 lib/common/xml.c if (!strcmp(crm_element_name(match), name)) { match 2822 lib/common/xml.c return match; match 2824 lib/common/xml.c match = pcmk__xe_next(match); match 60 lib/common/xpath.c xmlNode *match = NULL; match 75 lib/common/xpath.c match = xpathObj->nodesetval->nodeTab[index]; match 76 lib/common/xpath.c CRM_CHECK(match != NULL, return NULL); match 83 lib/common/xpath.c if (match->type == XML_DOCUMENT_NODE) { match 85 lib/common/xpath.c match = match->children; match 87 lib/common/xpath.c } else if (match->type != XML_ELEMENT_NODE match 88 lib/common/xpath.c && match->parent && match->parent->type == XML_ELEMENT_NODE) { match 90 lib/common/xpath.c match = match->parent; match 92 lib/common/xpath.c } else if (match->type != XML_ELEMENT_NODE) { match 94 lib/common/xpath.c crm_err("We only support %d not %d", XML_ELEMENT_NODE, match->type); match 95 lib/common/xpath.c match = NULL; match 97 lib/common/xpath.c return match; match 245 lib/common/xpath.c xmlNode *match = getXpathResult(xpathObj, lpc); match 247 lib/common/xpath.c CRM_LOG_ASSERT(match != NULL); match 248 lib/common/xpath.c if (match != NULL) { match 249 lib/common/xpath.c matchNodePath = (char *) xmlGetNodePath(match); match 1050 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpathObj, lpc); match 1052 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); match 1053 lib/fencing/st_client.c if(match != NULL) { match 1054 lib/fencing/st_client.c xmlChar *match_path = xmlGetNodePath(match); match 1058 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, crm_element_value(match, XML_ATTR_ID)); match 2744 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpath, lpc); match 2746 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); match 2747 lib/fencing/st_client.c if (match == NULL) { match 2751 lib/fencing/st_client.c parameter = crm_element_value(match, "name"); match 451 lib/pacemaker/pcmk_sched_allocate.c gboolean match = FALSE; match 472 lib/pacemaker/pcmk_sched_allocate.c match = TRUE; match 475 lib/pacemaker/pcmk_sched_allocate.c match = TRUE; match 480 lib/pacemaker/pcmk_sched_allocate.c match = TRUE; match 483 lib/pacemaker/pcmk_sched_allocate.c match = TRUE; match 487 lib/pacemaker/pcmk_sched_allocate.c if (match) { match 600 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 604 lib/pacemaker/pcmk_sched_allocate.c } else if ((match != NULL) match 846 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *match; match 854 lib/pacemaker/pcmk_sched_allocate.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 855 lib/pacemaker/pcmk_sched_allocate.c if (match && match->rsc_discover_mode != pe_discover_exclusive) { match 856 lib/pacemaker/pcmk_sched_allocate.c match->weight = -INFINITY; match 301 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource1->allowed_nodes, node1->details->id); match 303 lib/pacemaker/pcmk_sched_clone.c if (match == NULL || match->weight < 0) { match 311 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource2->allowed_nodes, node2->details->id); match 313 lib/pacemaker/pcmk_sched_clone.c if (match == NULL || match->weight < 0) { match 811 lib/pacemaker/pcmk_sched_clone.c pe_action_t *match = NULL; match 818 lib/pacemaker/pcmk_sched_clone.c if (match != NULL) { match 820 lib/pacemaker/pcmk_sched_clone.c match = NULL; match 823 lib/pacemaker/pcmk_sched_clone.c match = op; match 827 lib/pacemaker/pcmk_sched_clone.c return match; match 112 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *match = parent->fns->find_rsc(parent, id, NULL, match 115 lib/pacemaker/pcmk_sched_constraints.c if (match != NULL) { match 116 lib/pacemaker/pcmk_sched_constraints.c if(!pcmk__str_eq(match->id, id, pcmk__str_casei)) { match 118 lib/pacemaker/pcmk_sched_constraints.c match = uber_parent(match); match 119 lib/pacemaker/pcmk_sched_constraints.c crm_debug("Found %s for %s", match->id, id); match 121 lib/pacemaker/pcmk_sched_constraints.c return match; match 222 lib/pacemaker/pcmk_sched_location.c pe_node_t *match = pe_find_node(data_set->nodes, node); match 224 lib/pacemaker/pcmk_sched_location.c if (!match) { match 227 lib/pacemaker/pcmk_sched_location.c location = pcmk__new_location(id, rsc_lh, score_i, discovery, match, match 492 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *match = NULL; match 526 lib/pacemaker/pcmk_sched_promotable.c match = pe_find_node_id(rsc->running_on, node->details->id); match 527 lib/pacemaker/pcmk_sched_promotable.c if ((match == NULL) && (known == NULL)) { match 534 lib/pacemaker/pcmk_sched_promotable.c match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 535 lib/pacemaker/pcmk_sched_promotable.c if (match == NULL) { match 538 lib/pacemaker/pcmk_sched_promotable.c } else if (match->weight < 0) { match 540 lib/pacemaker/pcmk_sched_promotable.c rsc->id, match->details->uname, match->weight); match 228 lib/pacemaker/pcmk_sched_transition.c xmlNode *match = NULL; match 232 lib/pacemaker/pcmk_sched_transition.c match = get_xpath_object(xpath, cib_node, LOG_TRACE); match 234 lib/pacemaker/pcmk_sched_transition.c return match; match 680 lib/pengine/bundle.c gpointer match = g_hash_table_lookup(rsc->allowed_nodes, uname); match 682 lib/pengine/bundle.c if (match) { match 683 lib/pengine/bundle.c ((pe_node_t *) match)->weight = -INFINITY; match 684 lib/pengine/bundle.c ((pe_node_t *) match)->rsc_discover_mode = pe_discover_never; match 268 lib/pengine/native.c bool match = FALSE; match 277 lib/pengine/native.c match = FALSE; match 280 lib/pengine/native.c match = TRUE; match 284 lib/pengine/native.c match = TRUE; match 288 lib/pengine/native.c match = TRUE; match 293 lib/pengine/native.c match = pe_base_name_eq(rsc, id); match 296 lib/pengine/native.c if (match && on_node) { match 300 lib/pengine/native.c match = FALSE; match 304 lib/pengine/native.c if (match) { match 395 lib/pengine/status.c pe_resource_t *match = match 397 lib/pengine/status.c if (match != NULL) { match 398 lib/pengine/status.c return match; match 408 lib/pengine/status.c pe_node_t *match = pe_find_node_id(nodes, id); match 410 lib/pengine/status.c if (match) { match 411 lib/pengine/status.c return match; match 1661 lib/pengine/utils.c pe_node_t *match = NULL; match 1682 lib/pengine/utils.c match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 1683 lib/pengine/utils.c if (match == NULL) { match 1684 lib/pengine/utils.c match = pe__copy_node(node); match 1685 lib/pengine/utils.c g_hash_table_insert(rsc->allowed_nodes, (gpointer) match->details->id, match); match 1687 lib/pengine/utils.c match->weight = pe__add_scores(match->weight, score); match 2171 lib/pengine/utils.c pe_resource_t *match = gIter->data; match 2172 lib/pengine/utils.c const char *agent = g_hash_table_lookup(match->meta, match 2176 lib/pengine/utils.c data = pe__compare_fencing_digest(match, agent, node, data_set); match 2179 lib/pengine/utils.c crm_notice("Unfencing %s (remote): because the definition of %s changed", node->details->uname, match->id); match 2183 lib/pengine/utils.c node->details->uname, match->id); match 2189 lib/pengine/utils.c "%s:%s:%s,", match->id, agent, data->digest_all_calc); match 2193 lib/pengine/utils.c "%s:%s:%s,", match->id, agent, data->digest_secure_calc); match 544 lib/services/systemd.c const char *match = NULL; match 566 lib/services/systemd.c match = systemd_unit_extension(value.str); match 567 lib/services/systemd.c if (match == NULL) { match 582 lib/services/systemd.c if (!strcmp(match, ".service")) { match 584 lib/services/systemd.c unit_name = strndup(basename, match - basename); match 167 lib/services/upstart.c char *match = NULL; match 173 lib/services/upstart.c match = strstr(input, search); match 174 lib/services/upstart.c if (match == NULL) { match 177 lib/services/upstart.c crm_trace("Found: %s", match); match 178 lib/services/upstart.c match[0] = replace; match 179 lib/services/upstart.c len = strlen(match) - shuffle; match 181 lib/services/upstart.c match[lpc] = match[lpc + shuffle]; match 340 maint/gnulib/lib/argz.c char *match = strstr (arg, str); match 341 maint/gnulib/lib/argz.c if (match) match 343 maint/gnulib/lib/argz.c char *from = match + str_len; match 344 maint/gnulib/lib/argz.c size_t to_len = match - arg; match 352 maint/gnulib/lib/argz.c match = strstr (from, str); match 353 maint/gnulib/lib/argz.c if (match) match 355 maint/gnulib/lib/argz.c str_append (&to, &to_len, from, match - from); match 356 maint/gnulib/lib/argz.c from = match + str_len; match 36 maint/gnulib/lib/filevercmp.c const char *match = NULL; match 44 maint/gnulib/lib/filevercmp.c match = NULL; match 49 maint/gnulib/lib/filevercmp.c if (!match) match 50 maint/gnulib/lib/filevercmp.c match = *str; match 53 maint/gnulib/lib/filevercmp.c match = NULL; match 56 maint/gnulib/lib/filevercmp.c return match; match 349 maint/gnulib/lib/getcwd.c bool match = (MATCHING_INO (d, thisino) || mount_point); match 350 maint/gnulib/lib/getcwd.c if (! match) match 72 maint/gnulib/lib/idcache.c struct userid *match = NULL; match 78 maint/gnulib/lib/idcache.c match = tail; match 83 maint/gnulib/lib/idcache.c if (match == NULL) match 87 maint/gnulib/lib/idcache.c match = xmalloc (FLEXSIZEOF (struct userid, name, strlen (name) + 1)); match 88 maint/gnulib/lib/idcache.c match->id.u = uid; match 89 maint/gnulib/lib/idcache.c strcpy (match->name, name); match 92 maint/gnulib/lib/idcache.c match->next = user_alist; match 93 maint/gnulib/lib/idcache.c user_alist = match; match 96 maint/gnulib/lib/idcache.c return match->name[0] ? match->name : NULL; match 154 maint/gnulib/lib/idcache.c struct userid *match = NULL; match 160 maint/gnulib/lib/idcache.c match = tail; match 165 maint/gnulib/lib/idcache.c if (match == NULL) match 169 maint/gnulib/lib/idcache.c match = xmalloc (FLEXSIZEOF (struct userid, name, strlen (name) + 1)); match 170 maint/gnulib/lib/idcache.c match->id.g = gid; match 171 maint/gnulib/lib/idcache.c strcpy (match->name, name); match 174 maint/gnulib/lib/idcache.c match->next = group_alist; match 175 maint/gnulib/lib/idcache.c group_alist = match; match 178 maint/gnulib/lib/idcache.c return match->name[0] ? match->name : NULL; match 1049 maint/gnulib/lib/regexec.c Idx match = 0; match 1098 maint/gnulib/lib/regexec.c match = 1; match 1134 maint/gnulib/lib/regexec.c || (match && !fl_longest_match) match 1157 maint/gnulib/lib/regexec.c match = 1; match 812 maint/gnulib/lib/strptime.c bool match = false; match 817 maint/gnulib/lib/strptime.c match = (delta >= 0 match 822 maint/gnulib/lib/strptime.c if (! match) match 48 maint/gnulib/tests/test-regex-quote.c regmatch_t match[1]; match 52 maint/gnulib/tests/test-regex-quote.c ASSERT (regexec (®ex, literal, 1, match, 0) == 0); match 53 maint/gnulib/tests/test-regex-quote.c ASSERT (match[0].rm_so == 0); match 54 maint/gnulib/tests/test-regex-quote.c ASSERT (match[0].rm_eo == strlen (literal)); match 65 maint/gnulib/tests/test-regex-quote.c regmatch_t match[1]; match 69 maint/gnulib/tests/test-regex-quote.c ASSERT (regexec (®ex, literal, 1, match, 0) == 0); match 70 maint/gnulib/tests/test-regex-quote.c ASSERT (match[0].rm_so == 0); match 71 maint/gnulib/tests/test-regex-quote.c ASSERT (match[0].rm_eo == strlen (literal)); match 1937 tools/crm_mon.c xmlNode *match = NULL; match 1944 tools/crm_mon.c match = change->children; match 1953 tools/crm_mon.c match = first_named_child(change, XML_DIFF_RESULT); match 1954 tools/crm_mon.c if(match) { match 1955 tools/crm_mon.c match = match->children; match 1959 tools/crm_mon.c if(match) { match 1960 tools/crm_mon.c name = (const char *)match->name; match 1963 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); match 1973 tools/crm_mon.c xmlNode *status = first_named_child(match, XML_CIB_TAG_STATUS); match 1988 tools/crm_mon.c for (state = pcmk__xe_first_child(match); state != NULL; match 1999 tools/crm_mon.c node = crm_element_value(match, XML_ATTR_UNAME); match 2001 tools/crm_mon.c node = ID(match); match 2003 tools/crm_mon.c handle_rsc_op(match, node); match 2006 tools/crm_mon.c node = ID(match); match 2007 tools/crm_mon.c handle_rsc_op(match, node); match 2012 tools/crm_mon.c handle_rsc_op(match, local_node); match 2018 tools/crm_mon.c handle_rsc_op(match, local_node); match 2024 tools/crm_mon.c handle_rsc_op(match, local_node); match 2028 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); match 325 tools/crm_resource.c xmlNode *match = getXpathResult(xpathObj, ndx); match 326 tools/crm_resource.c retval = g_list_insert_sorted(retval, (gpointer) ID(match), compare_id); match 109 tools/crm_rule.c xmlNode *match = NULL; match 178 tools/crm_rule.c match = getXpathResult(xpathObj, 0); match 183 tools/crm_rule.c CRM_ASSERT(match != NULL); match 184 tools/crm_rule.c CRM_ASSERT(find_expression_type(match) == time_expr); match 186 tools/crm_rule.c rc = eval_date_expression(match, effective_date, NULL);