match 204 daemons/controld/controld_metadata.c xmlNode *match = NULL; match 249 daemons/controld/controld_metadata.c match = first_named_child(metadata, "actions"); match 250 daemons/controld/controld_metadata.c for (match = first_named_child(match, "action"); match != NULL; match 251 daemons/controld/controld_metadata.c match = crm_next_same_xml(match)) { match 253 daemons/controld/controld_metadata.c const char *action_name = crm_element_value(match, "name"); match 271 daemons/controld/controld_metadata.c match = first_named_child(metadata, "parameters"); match 272 daemons/controld/controld_metadata.c for (match = first_named_child(match, "parameter"); match != NULL; match 273 daemons/controld/controld_metadata.c match = crm_next_same_xml(match)) { match 275 daemons/controld/controld_metadata.c const char *param_name = crm_element_value(match, "name"); match 281 daemons/controld/controld_metadata.c struct ra_param_s *p = ra_param_from_xml(match); match 388 daemons/controld/controld_schedulerd.c xmlNode *match = getXpathResult(xpathObj, lpc); match 389 daemons/controld/controld_schedulerd.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); match 390 daemons/controld/controld_schedulerd.c crm_xml_add(match, XML_NVPAIR_ATTR_VALUE, attr_value); match 158 daemons/controld/controld_te_callbacks.c xmlNode *match = getXpathResult(xpathObj, lpc); match 160 daemons/controld/controld_te_callbacks.c CRM_LOG_ASSERT(match != NULL); match 161 daemons/controld/controld_te_callbacks.c if(match == NULL) { continue; }; match 163 daemons/controld/controld_te_callbacks.c op_id = ID(match); match 172 daemons/controld/controld_te_callbacks.c const char *node = get_node_id(match); match 178 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, "Resource op removal", match); match 260 daemons/controld/controld_te_callbacks.c char *match = NULL; match 262 daemons/controld/controld_te_callbacks.c match = strstr(mutable_path, "node_state[@id=\'"); match 263 daemons/controld/controld_te_callbacks.c if (match == NULL) { match 267 daemons/controld/controld_te_callbacks.c match += strlen("node_state[@id=\'"); match 269 daemons/controld/controld_te_callbacks.c search = strchr(match, '\''); match 276 daemons/controld/controld_te_callbacks.c node_uuid = strdup(match); match 400 daemons/controld/controld_te_callbacks.c xmlNode *match = NULL; match 422 daemons/controld/controld_te_callbacks.c match = change->children; match 425 daemons/controld/controld_te_callbacks.c match = first_named_child(change, XML_DIFF_RESULT); match 426 daemons/controld/controld_te_callbacks.c if(match) { match 427 daemons/controld/controld_te_callbacks.c match = match->children; match 436 daemons/controld/controld_te_callbacks.c if (match) { match 437 daemons/controld/controld_te_callbacks.c if (match->type == XML_COMMENT_NODE) { match 441 daemons/controld/controld_te_callbacks.c name = (const char *)match->name; match 471 daemons/controld/controld_te_callbacks.c process_cib_diff(match, change, op, xpath); match 474 daemons/controld/controld_te_callbacks.c process_status_diff(match, change, op, xpath); match 477 daemons/controld/controld_te_callbacks.c process_node_state_diff(match, change, op, xpath); match 480 daemons/controld/controld_te_callbacks.c process_resource_updates(ID(match), match, change, op, xpath); match 485 daemons/controld/controld_te_callbacks.c process_resource_updates(local_node, match, change, op, xpath); match 491 daemons/controld/controld_te_callbacks.c process_lrm_resource_diff(match, local_node); match 497 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_executed)) { 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 878 daemons/fenced/fenced_commands.c xmlNode *match = getXpathResult(xpath, lpc); match 880 daemons/fenced/fenced_commands.c CRM_LOG_ASSERT(match != NULL); match 881 daemons/fenced/fenced_commands.c if(match == NULL) { continue; }; match 883 daemons/fenced/fenced_commands.c action = crm_element_value(match, "name"); match 897 daemons/fenced/fenced_commands.c if (pcmk__xe_attr_is_true(match, "automatic") || pcmk__xe_attr_is_true(match, "required")) { match 902 daemons/fenced/fenced_commands.c if (action && pcmk__xe_attr_is_true(match, "on_target")) { match 328 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->devices_list, iter->data, match 331 daemons/fenced/fenced_remote.c if (match) { match 332 daemons/fenced/fenced_remote.c op->devices_list = g_list_remove(op->devices_list, match->data); match 501 daemons/fenced/fenced_remote.c xmlNode *match = get_xpath_object("//@" F_STONITH_DELEGATE, xml, LOG_NEVER); match 503 daemons/fenced/fenced_remote.c if (match == NULL) { match 506 daemons/fenced/fenced_remote.c return crm_element_value_copy(match, F_STONITH_DELEGATE); match 779 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->automatic_list, device, match 782 daemons/fenced/fenced_remote.c if (!match) { match 797 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->automatic_list, device, match 800 daemons/fenced/fenced_remote.c if (match) { match 801 daemons/fenced/fenced_remote.c op->automatic_list = g_list_remove(op->automatic_list, match->data); match 1885 daemons/fenced/fenced_remote.c device_properties_t *match = NULL; match 1902 daemons/fenced/fenced_remote.c match = NULL; match 1903 daemons/fenced/fenced_remote.c for (iter = op->query_results; iter && !match; iter = iter->next) { match 1909 daemons/fenced/fenced_remote.c match = find_peer_device(op, peer, device->data); match 1911 daemons/fenced/fenced_remote.c if (!match) { match 460 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); match 462 daemons/fenced/pacemaker-fenced.c CRM_LOG_ASSERT(match != NULL); match 463 daemons/fenced/pacemaker-fenced.c if(match != NULL) { match 464 daemons/fenced/pacemaker-fenced.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); match 471 daemons/fenced/pacemaker-fenced.c rsc_id = crm_element_value(match, XML_ATTR_ID); match 478 daemons/fenced/pacemaker-fenced.c handle_topology_change(xmlNode *match, bool remove) match 483 daemons/fenced/pacemaker-fenced.c CRM_CHECK(match != NULL, return); match 484 daemons/fenced/pacemaker-fenced.c crm_trace("Updating %s", ID(match)); match 488 daemons/fenced/pacemaker-fenced.c char *key = stonith_level_key(match, fenced_target_by_unknown); match 490 daemons/fenced/pacemaker-fenced.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); match 495 daemons/fenced/pacemaker-fenced.c fenced_register_level(match, &desc, &result); match 507 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); match 509 daemons/fenced/pacemaker-fenced.c CRM_LOG_ASSERT(match != NULL); match 510 daemons/fenced/pacemaker-fenced.c if (match && crm_element_value(match, XML_DIFF_MARKER)) { match 513 daemons/fenced/pacemaker-fenced.c char *target = stonith_level_key(match, fenced_target_by_unknown); match 515 daemons/fenced/pacemaker-fenced.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); match 517 daemons/fenced/pacemaker-fenced.c crm_err("Invalid fencing target in element %s", ID(match)); match 520 daemons/fenced/pacemaker-fenced.c crm_err("Invalid level for %s in element %s", target, ID(match)); match 536 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); match 538 daemons/fenced/pacemaker-fenced.c handle_topology_change(match, TRUE); match 918 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpath_obj, lpc); match 920 daemons/fenced/pacemaker-fenced.c crm_log_xml_trace(match, "new constraint"); match 940 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpath_obj, lpc); match 942 daemons/fenced/pacemaker-fenced.c rsc_id = crm_element_value(match, XML_ATTR_ID); match 943 daemons/fenced/pacemaker-fenced.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); match 999 daemons/fenced/pacemaker-fenced.c xmlNode *match; match 1013 daemons/fenced/pacemaker-fenced.c match = get_xpath_object(xpath, local_cib, LOG_NEVER); match 1016 daemons/fenced/pacemaker-fenced.c return (match != NULL); match 1089 daemons/fenced/pacemaker-fenced.c xmlNode *match = first_named_child(change, XML_DIFF_RESULT); match 1091 daemons/fenced/pacemaker-fenced.c if(match) { match 1092 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 453 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); match 455 lib/common/acl.c if (!purge_xml_attributes(match) && (match == target)) { match 19 lib/common/lists.c GList *match = g_list_find_custom(result, item->data, cmp); match 21 lib/common/lists.c if (match != NULL) { match 22 lib/common/lists.c result = g_list_remove(result, match->data); match 1220 lib/common/mainloop.c mainloop_child_t *match = NULL; match 1225 lib/common/mainloop.c for (iter = child_list; iter != NULL && match == NULL; iter = iter->next) { match 1228 lib/common/mainloop.c match = child; match 1232 lib/common/mainloop.c if (match == NULL) { match 1236 lib/common/mainloop.c rc = child_kill_helper(match); match 1244 lib/common/mainloop.c match->pid); match 1254 lib/common/mainloop.c if (!child_waitpid(match, waitflags)) { match 1259 lib/common/mainloop.c child_list = g_list_remove(child_list, match); match 1260 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 1047 lib/common/schemas.c int lpc = 0, match = -1, rc = pcmk_ok; match 1060 lib/common/schemas.c match = get_schema_version(value); match 1062 lib/common/schemas.c lpc = match; match 1072 lib/common/schemas.c if (match >= max_stable_schemas) { match 1075 lib/common/schemas.c *best = match; match 1175 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 2796 lib/common/xml.c xmlNode *match = NULL; match 2798 lib/common/xml.c for (match = pcmk__xe_first_child(parent); match != NULL; match 2799 lib/common/xml.c match = pcmk__xe_next(match)) { match 2805 lib/common/xml.c if (pcmk__str_eq(name, (const char *)match->name, pcmk__str_null_matches)) { match 2806 lib/common/xml.c return match; match 2822 lib/common/xml.c xmlNode *match = pcmk__xe_next(sibling); match 2825 lib/common/xml.c while (match != NULL) { match 2826 lib/common/xml.c if (!strcmp(crm_element_name(match), name)) { match 2827 lib/common/xml.c return match; match 2829 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 450 lib/fencing/st_actions.c xmlNode *match = get_xpath_object("//@" XML_LRM_ATTR_RC, xml, LOG_NEVER); match 452 lib/fencing/st_actions.c if (match == NULL) { match 456 lib/fencing/st_actions.c match = get_xpath_object("//@" F_STONITH_RC, xml, LOG_ERR); match 458 lib/fencing/st_actions.c return match; match 562 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpathObj, lpc); match 564 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); match 565 lib/fencing/st_client.c if(match != NULL) { match 566 lib/fencing/st_client.c xmlChar *match_path = xmlGetNodePath(match); match 570 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, crm_element_value(match, XML_ATTR_ID)); match 2344 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpath, lpc); match 2346 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); match 2347 lib/fencing/st_client.c if (match == NULL) { match 2351 lib/fencing/st_client.c parameter = crm_element_value(match, "name"); match 320 lib/pacemaker/pcmk_injections.c xmlNode *match = get_xpath_object(xpath, cib_node, LOG_TRACE); match 323 lib/pacemaker/pcmk_injections.c return match; match 156 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *match = NULL; match 161 lib/pacemaker/pcmk_sched_allocate.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 162 lib/pacemaker/pcmk_sched_allocate.c if ((match != NULL) match 163 lib/pacemaker/pcmk_sched_allocate.c && (match->rsc_discover_mode != pe_discover_exclusive)) { match 164 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 681 lib/pengine/bundle.c gpointer match = g_hash_table_lookup(rsc->allowed_nodes, uname); match 683 lib/pengine/bundle.c if (match) { match 684 lib/pengine/bundle.c ((pe_node_t *) match)->weight = -INFINITY; match 685 lib/pengine/bundle.c ((pe_node_t *) match)->rsc_discover_mode = pe_discover_never; match 273 lib/pengine/native.c bool match = false; match 282 lib/pengine/native.c match = false; match 285 lib/pengine/native.c match = true; match 289 lib/pengine/native.c match = true; match 293 lib/pengine/native.c match = true; match 298 lib/pengine/native.c match = pe_base_name_eq(rsc, id); match 301 lib/pengine/native.c if (match && on_node) { match 303 lib/pengine/native.c match = false; match 307 lib/pengine/native.c if (match) { match 404 lib/pengine/status.c pe_resource_t *match = match 406 lib/pengine/status.c if (match != NULL) { match 407 lib/pengine/status.c return match; match 417 lib/pengine/status.c pe_node_t *match = pe_find_node_id(nodes, id); match 419 lib/pengine/status.c if (match) { match 420 lib/pengine/status.c return match; match 1662 lib/pengine/utils.c pe_node_t *match = NULL; match 1683 lib/pengine/utils.c match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 1684 lib/pengine/utils.c if (match == NULL) { match 1685 lib/pengine/utils.c match = pe__copy_node(node); match 1686 lib/pengine/utils.c g_hash_table_insert(rsc->allowed_nodes, (gpointer) match->details->id, match); match 1688 lib/pengine/utils.c match->weight = pcmk__add_scores(match->weight, score); match 2172 lib/pengine/utils.c pe_resource_t *match = gIter->data; match 2173 lib/pengine/utils.c const char *agent = g_hash_table_lookup(match->meta, match 2177 lib/pengine/utils.c data = pe__compare_fencing_digest(match, agent, node, data_set); match 2180 lib/pengine/utils.c crm_notice("Unfencing %s (remote): because the definition of %s changed", node->details->uname, match->id); match 2184 lib/pengine/utils.c node->details->uname, match->id); match 2190 lib/pengine/utils.c "%s:%s:%s,", match->id, agent, data->digest_all_calc); match 2194 lib/pengine/utils.c "%s:%s:%s,", match->id, agent, data->digest_secure_calc); match 575 lib/services/systemd.c const char *match = NULL; match 597 lib/services/systemd.c match = systemd_unit_extension(value.str); match 598 lib/services/systemd.c if (match == NULL) { match 613 lib/services/systemd.c if (!strcmp(match, ".service")) { match 615 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 1035 maint/gnulib/lib/regexec.c Idx match = 0; match 1084 maint/gnulib/lib/regexec.c match = 1; match 1120 maint/gnulib/lib/regexec.c || (match && !fl_longest_match) match 1143 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 1815 tools/crm_mon.c xmlNode *match = NULL; match 1822 tools/crm_mon.c match = change->children; match 1831 tools/crm_mon.c match = first_named_child(change, XML_DIFF_RESULT); match 1832 tools/crm_mon.c if(match) { match 1833 tools/crm_mon.c match = match->children; match 1837 tools/crm_mon.c if(match) { match 1838 tools/crm_mon.c name = (const char *)match->name; match 1841 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); match 1851 tools/crm_mon.c xmlNode *status = first_named_child(match, XML_CIB_TAG_STATUS); match 1866 tools/crm_mon.c for (state = pcmk__xe_first_child(match); state != NULL; match 1877 tools/crm_mon.c node = crm_element_value(match, XML_ATTR_UNAME); match 1879 tools/crm_mon.c node = ID(match); match 1881 tools/crm_mon.c handle_rsc_op(match, node); match 1884 tools/crm_mon.c node = ID(match); match 1885 tools/crm_mon.c handle_rsc_op(match, node); match 1890 tools/crm_mon.c handle_rsc_op(match, local_node); match 1896 tools/crm_mon.c handle_rsc_op(match, local_node); match 1902 tools/crm_mon.c handle_rsc_op(match, local_node); match 1906 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); match 329 tools/crm_resource.c xmlNode *match = getXpathResult(xpathObj, ndx); match 330 tools/crm_resource.c retval = g_list_insert_sorted(retval, (gpointer) ID(match), compare_id); match 170 tools/crm_rule.c xmlNode *match = NULL; match 242 tools/crm_rule.c match = getXpathResult(xpathObj, 0); match 247 tools/crm_rule.c CRM_ASSERT(match != NULL); match 248 tools/crm_rule.c CRM_ASSERT(find_expression_type(match) == time_expr); match 250 tools/crm_rule.c rc = eval_date_expression(match, effective_date, NULL);