match 122 daemons/controld/controld_metadata.c xmlNode *match = NULL; match 160 daemons/controld/controld_metadata.c match = pcmk__xe_first_child(metadata, PCMK_XE_ACTIONS, NULL, NULL); match 161 daemons/controld/controld_metadata.c for (match = pcmk__xe_first_child(match, PCMK_XE_ACTION, NULL, NULL); match 162 daemons/controld/controld_metadata.c match != NULL; match = pcmk__xe_next_same(match)) { match 164 daemons/controld/controld_metadata.c const char *action_name = crm_element_value(match, PCMK_XA_NAME); match 182 daemons/controld/controld_metadata.c match = pcmk__xe_first_child(metadata, PCMK_XE_PARAMETERS, NULL, NULL); match 183 daemons/controld/controld_metadata.c for (match = pcmk__xe_first_child(match, PCMK_XE_PARAMETER, NULL, NULL); match 184 daemons/controld/controld_metadata.c match != NULL; match = pcmk__xe_next_same(match)) { match 186 daemons/controld/controld_metadata.c const char *param_name = crm_element_value(match, PCMK_XA_NAME); match 192 daemons/controld/controld_metadata.c struct ra_param_s *p = ra_param_from_xml(match); match 395 daemons/controld/controld_schedulerd.c xmlNode *match = getXpathResult(xpathObj, lpc); match 397 daemons/controld/controld_schedulerd.c pcmk__xe_id(match), attr_name, attr_value); match 398 daemons/controld/controld_schedulerd.c crm_xml_add(match, PCMK_XA_VALUE, attr_value); match 167 daemons/controld/controld_te_callbacks.c xmlNode *match = getXpathResult(xpathObj, lpc); match 169 daemons/controld/controld_te_callbacks.c CRM_LOG_ASSERT(match != NULL); match 170 daemons/controld/controld_te_callbacks.c if(match == NULL) { continue; }; match 172 daemons/controld/controld_te_callbacks.c op_id = pcmk__xe_id(match); match 184 daemons/controld/controld_te_callbacks.c const char *node = get_node_id(match); match 191 daemons/controld/controld_te_callbacks.c "Resource op removal", match); match 276 daemons/controld/controld_te_callbacks.c char *match = NULL; match 278 daemons/controld/controld_te_callbacks.c match = strstr(mutable_path, PCMK__XE_NODE_STATE "[@" PCMK_XA_ID "=\'"); match 279 daemons/controld/controld_te_callbacks.c if (match == NULL) { match 283 daemons/controld/controld_te_callbacks.c match += strlen(PCMK__XE_NODE_STATE "[@" PCMK_XA_ID "=\'"); match 285 daemons/controld/controld_te_callbacks.c search = strchr(match, '\''); match 292 daemons/controld/controld_te_callbacks.c node_uuid = pcmk__str_copy(match); match 416 daemons/controld/controld_te_callbacks.c xmlNode *match = NULL; match 444 daemons/controld/controld_te_callbacks.c match = change->children; match 447 daemons/controld/controld_te_callbacks.c match = pcmk__xe_first_child(change, PCMK_XE_CHANGE_RESULT, NULL, NULL); match 448 daemons/controld/controld_te_callbacks.c if(match) { match 449 daemons/controld/controld_te_callbacks.c match = match->children; match 460 daemons/controld/controld_te_callbacks.c if (match) { match 461 daemons/controld/controld_te_callbacks.c if (match->type == XML_COMMENT_NODE) { match 465 daemons/controld/controld_te_callbacks.c name = (const char *)match->name; match 497 daemons/controld/controld_te_callbacks.c process_cib_diff(match, change, op, xpath); match 500 daemons/controld/controld_te_callbacks.c process_status_diff(match, change, op, xpath); match 503 daemons/controld/controld_te_callbacks.c process_node_state_diff(match, change, op, xpath); match 506 daemons/controld/controld_te_callbacks.c process_resource_updates(pcmk__xe_id(match), match, change, op, match 512 daemons/controld/controld_te_callbacks.c process_resource_updates(local_node, match, change, op, xpath); match 518 daemons/controld/controld_te_callbacks.c process_lrm_resource_diff(match, local_node); match 524 daemons/controld/controld_te_callbacks.c process_graph_event(match, local_node); match 383 daemons/controld/controld_te_events.c pcmk__graph_action_t *match = NULL; match 390 daemons/controld/controld_te_events.c gIter != NULL && match == NULL; match 394 daemons/controld/controld_te_events.c gIter2 != NULL && match == NULL; match 397 daemons/controld/controld_te_events.c match = (pcmk__graph_action_t *) gIter2->data; match 398 daemons/controld/controld_te_events.c if (pcmk_is_set(match->flags, pcmk__graph_action_executed)) { match 399 daemons/controld/controld_te_events.c xpath_ret = xpath_search(match->xml, xpath); match 401 daemons/controld/controld_te_events.c match = NULL; match 406 daemons/controld/controld_te_events.c match = NULL; match 413 daemons/controld/controld_te_events.c if (match != NULL) { match 414 daemons/controld/controld_te_events.c crm_debug("Shutdown action %d (%s) found for node %s", match->id, match 415 daemons/controld/controld_te_events.c crm_element_value(match->xml, PCMK__XA_OPERATION_KEY), match 420 daemons/controld/controld_te_events.c return match; match 45 daemons/fenced/fenced_cib.c xmlNode *match; match 64 daemons/fenced/fenced_cib.c match = get_xpath_object((const char *) xpath->str, local_cib, LOG_NEVER); match 67 daemons/fenced/fenced_cib.c return (match != NULL); match 71 daemons/fenced/fenced_cib.c add_topology_level(xmlNode *match) match 76 daemons/fenced/fenced_cib.c CRM_CHECK(match != NULL, return); match 78 daemons/fenced/fenced_cib.c fenced_register_level(match, &desc, &result); match 103 daemons/fenced/fenced_cib.c remove_topology_level(xmlNode *match) match 108 daemons/fenced/fenced_cib.c CRM_CHECK(match != NULL, return); match 110 daemons/fenced/fenced_cib.c key = stonith_level_key(match, fenced_target_by_unknown); match 111 daemons/fenced/fenced_cib.c crm_element_value_int(match, PCMK_XA_INDEX, &index); match 122 daemons/fenced/fenced_cib.c xmlNode *match = getXpathResult(xpathObj, lpc); match 124 daemons/fenced/fenced_cib.c remove_topology_level(match); match 125 daemons/fenced/fenced_cib.c add_topology_level(match); match 173 daemons/fenced/fenced_cib.c xmlNode *match = getXpathResult(xpathObj, lpc); match 175 daemons/fenced/fenced_cib.c CRM_LOG_ASSERT(match != NULL); match 176 daemons/fenced/fenced_cib.c if(match != NULL) { match 177 daemons/fenced/fenced_cib.c standard = crm_element_value(match, PCMK_XA_CLASS); match 184 daemons/fenced/fenced_cib.c rsc_id = crm_element_value(match, PCMK_XA_ID); match 274 daemons/fenced/fenced_cib.c xmlNode *match = getXpathResult(xpath_obj, lpc); match 276 daemons/fenced/fenced_cib.c crm_log_xml_trace(match, "new constraint"); match 302 daemons/fenced/fenced_cib.c xmlNode *match = getXpathResult(xpath_obj, lpc); match 304 daemons/fenced/fenced_cib.c rsc_id = crm_element_value(match, PCMK_XA_ID); match 305 daemons/fenced/fenced_cib.c standard = crm_element_value(match, PCMK_XA_CLASS); match 482 daemons/fenced/fenced_cib.c xmlNode *match = getXpathResult(xpathObj, lpc); match 484 daemons/fenced/fenced_cib.c CRM_LOG_ASSERT(match != NULL); match 485 daemons/fenced/fenced_cib.c if (match && crm_element_value(match, PCMK__XA_CRM_DIFF_MARKER)) { match 488 daemons/fenced/fenced_cib.c char *target = stonith_level_key(match, fenced_target_by_unknown); match 490 daemons/fenced/fenced_cib.c crm_element_value_int(match, PCMK_XA_INDEX, &index); match 493 daemons/fenced/fenced_cib.c pcmk__xe_id(match)); match 497 daemons/fenced/fenced_cib.c target, pcmk__xe_id(match)); match 566 daemons/fenced/fenced_cib.c xmlNode *match = pcmk__xe_first_child(change, match 570 daemons/fenced/fenced_cib.c if(match) { match 571 daemons/fenced/fenced_cib.c remove_topology_level(match->children); match 572 daemons/fenced/fenced_cib.c add_topology_level(match->children); match 943 daemons/fenced/fenced_commands.c xmlNode *match = getXpathResult(xpath, lpc); match 945 daemons/fenced/fenced_commands.c CRM_LOG_ASSERT(match != NULL); match 946 daemons/fenced/fenced_commands.c if(match == NULL) { continue; }; match 948 daemons/fenced/fenced_commands.c action = crm_element_value(match, PCMK_XA_NAME); match 966 daemons/fenced/fenced_commands.c if (pcmk__xe_attr_is_true(match, PCMK_XA_AUTOMATIC) match 967 daemons/fenced/fenced_commands.c || pcmk__xe_attr_is_true(match, PCMK__XA_REQUIRED)) { match 975 daemons/fenced/fenced_commands.c && pcmk__xe_attr_is_true(match, PCMK_XA_ON_TARGET)) { match 337 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->devices_list, iter->data, match 340 daemons/fenced/fenced_remote.c if (match) { match 341 daemons/fenced/fenced_remote.c op->devices_list = g_list_remove(op->devices_list, match->data); match 514 daemons/fenced/fenced_remote.c xmlNode *match = get_xpath_object("//@" PCMK__XA_ST_DELEGATE, xml, match 517 daemons/fenced/fenced_remote.c if (match == NULL) { match 520 daemons/fenced/fenced_remote.c return crm_element_value_copy(match, PCMK__XA_ST_DELEGATE); match 802 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->automatic_list, device, match 805 daemons/fenced/fenced_remote.c if (!match) { match 821 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->automatic_list, device, match 824 daemons/fenced/fenced_remote.c if (match) { match 825 daemons/fenced/fenced_remote.c op->automatic_list = g_list_remove(op->automatic_list, match->data); match 1635 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(auto_list, device_list->data, match 1637 daemons/fenced/fenced_remote.c if (match) { match 1638 daemons/fenced/fenced_remote.c auto_list = g_list_remove(auto_list, match->data); match 2110 daemons/fenced/fenced_remote.c device_properties_t *match = NULL; match 2127 daemons/fenced/fenced_remote.c match = NULL; match 2128 daemons/fenced/fenced_remote.c for (iter = op->query_results; iter && !match; iter = iter->next) { match 2134 daemons/fenced/fenced_remote.c match = find_peer_device(op, peer, device->data, st_device_supports_none); match 2136 daemons/fenced/fenced_remote.c if (!match) { match 26 include/crm/common/rules_internal.h char *pcmk__replace_submatches(const char *string, const char *match, 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 224 include/crm/common/xml_internal.h bool (*match)(xmlAttrPtr, void *), match 517 lib/cib/cib_ops.c xmlNode *match = getXpathResult(xpathObj, lpc); match 518 lib/cib/cib_ops.c xmlChar *match_path = xmlGetNodePath(match); match 522 lib/cib/cib_ops.c free_xml(match); match 805 lib/cib/cib_ops.c xmlNode *match = getXpathResult(xpathObj, lpc); match 807 lib/cib/cib_ops.c if (match == NULL) { match 811 lib/cib/cib_ops.c path = xmlGetNodePath(match); match 816 lib/cib/cib_ops.c if (match == *result_cib) { match 823 lib/cib/cib_ops.c free_xml(match); match 835 lib/cib/cib_ops.c if (pcmk__xe_update_match(match, input, flags) != pcmk_rc_ok) { match 842 lib/cib/cib_ops.c pcmk__xml_copy(match, input); match 849 lib/cib/cib_ops.c (const char *) match->name); match 851 lib/cib/cib_ops.c pcmk__xe_copy_attrs(shallow, match, pcmk__xaf_none); match 859 lib/cib/cib_ops.c xmlNode *parent = match; match 888 lib/cib/cib_ops.c pcmk__xml_copy(*answer, match); match 891 lib/cib/cib_ops.c *answer = match; match 896 lib/cib/cib_ops.c xmlNode *parent = match->parent; match 898 lib/cib/cib_ops.c free_xml(match); match 251 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); match 253 lib/common/acl.c nodepriv = match->_private; match 259 lib/common/acl.c GString *path = pcmk__element_xpath(match); match 481 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); match 483 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 1202 lib/common/mainloop.c mainloop_child_t *match = NULL; match 1207 lib/common/mainloop.c for (iter = child_list; iter != NULL && match == NULL; iter = iter->next) { match 1210 lib/common/mainloop.c match = child; match 1214 lib/common/mainloop.c if (match == NULL) { match 1218 lib/common/mainloop.c rc = child_kill_helper(match); match 1226 lib/common/mainloop.c match->pid); match 1236 lib/common/mainloop.c if (!child_waitpid(match, waitflags)) { match 1241 lib/common/mainloop.c child_list = g_list_remove(child_list, match); match 1242 lib/common/mainloop.c child_free(match); match 1106 lib/common/patchset.c xmlNode *match; match 1149 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, PCMK_VALUE_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 1209 lib/common/patchset.c pcmk__xe_remove_matching_attrs(match, NULL, NULL); // Remove all match 1216 lib/common/patchset.c crm_xml_add(match, name, value); match 1230 lib/common/patchset.c xmlNode *match = change_obj->match; match 1239 lib/common/patchset.c crm_trace("Continue performing %s on %s with %p", op, xpath, match); match 1246 lib/common/patchset.c match_child = match->children; match 1254 lib/common/patchset.c child = xmlDocCopyNode(change->children, match->doc, 1); match 1263 lib/common/patchset.c } else if (match->last) { match 1266 lib/common/patchset.c xmlAddNextSibling(match->last, child); match 1272 lib/common/patchset.c xmlAddChild(match, child); match 1280 lib/common/patchset.c if (position != pcmk__xml_position(match, pcmk__xf_skip)) { match 1284 lib/common/patchset.c if (p > pcmk__xml_position(match, pcmk__xf_skip)) { match 1288 lib/common/patchset.c CRM_ASSERT(match->parent != NULL); match 1289 lib/common/patchset.c match_child = match->parent->children; match 1297 lib/common/patchset.c match->name, position, match 1298 lib/common/patchset.c pcmk__xml_position(match, pcmk__xf_skip), match 1299 lib/common/patchset.c match->prev, (match_child? "next":"last"), match 1300 lib/common/patchset.c (match_child? match_child : match->parent->last)); match 1303 lib/common/patchset.c xmlAddPrevSibling(match_child, match); match 1306 lib/common/patchset.c CRM_ASSERT(match->parent->last != NULL); match 1307 lib/common/patchset.c xmlAddNextSibling(match->parent->last, match); match 1312 lib/common/patchset.c match->name, position); match 1315 lib/common/patchset.c if (position != pcmk__xml_position(match, pcmk__xf_skip)) { match 1317 lib/common/patchset.c match->name, pcmk__xe_id(match), match 1318 lib/common/patchset.c pcmk__xml_position(match, pcmk__xf_skip), match 1319 lib/common/patchset.c position, match->prev); match 616 lib/common/rules.c process_submatches(const char *string, const char *match, match 662 lib/common/rules.c memcpy(expansion, match + submatches[submatch].rm_so, match 685 lib/common/rules.c pcmk__replace_submatches(const char *string, const char *match, match 691 lib/common/rules.c if (pcmk__str_empty(string) || pcmk__str_empty(match)) { match 696 lib/common/rules.c if (!process_submatches(string, match, submatches, nmatches, NULL, match 705 lib/common/rules.c (void) process_submatches(string, match, submatches, nmatches, result, match 573 lib/common/strings.c ends_with(const char *s, const char *match, bool as_extension) match 575 lib/common/strings.c if (pcmk__str_empty(match)) { match 586 lib/common/strings.c s = strrchr(s, match[0]); match 587 lib/common/strings.c return (s == NULL)? false : !strcmp(s, match); match 590 lib/common/strings.c mlen = strlen(match); match 592 lib/common/strings.c return ((slen >= mlen) && !strcmp(s + slen - mlen, match)); match 608 lib/common/strings.c pcmk__ends_with(const char *s, const char *match) match 610 lib/common/strings.c return ends_with(s, match, false); match 635 lib/common/strings.c pcmk__ends_with_ext(const char *s, const char *match) match 637 lib/common/strings.c return ends_with(s, match, true); match 18 lib/common/tests/rules/pcmk__replace_submatches_test.c static const char *match = "this is a string"; match 31 lib/common/tests/rules/pcmk__replace_submatches_test.c expanded = pcmk__replace_submatches(string, match, submatches, nmatches); match 53 lib/common/tests/rules/pcmk__replace_submatches_test.c match, submatches, nmatches)); match 55 lib/common/tests/rules/pcmk__replace_submatches_test.c match, submatches, nmatches)); match 57 lib/common/tests/rules/pcmk__replace_submatches_test.c match, submatches, nmatches)); match 72 lib/common/tests/rules/pcmk__replace_submatches_test.c assert_submatch("%0", match); // %0 matches entire string match 693 lib/common/xml.c bool (*match)(xmlAttrPtr, void *), match 700 lib/common/xml.c if ((match == NULL) || match(a, user_data)) { match 2110 lib/common/xml.c for (xmlNode *match = pcmk__xe_next(node); match != NULL; match 2111 lib/common/xml.c match = pcmk__xe_next(match)) { match 2113 lib/common/xml.c if (pcmk__xe_is(match, (const char *) node->name)) { match 2114 lib/common/xml.c return 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 220 lib/common/xpath.c xmlNode *match = getXpathResult(xpathObj, lpc); match 222 lib/common/xpath.c CRM_LOG_ASSERT(match != NULL); match 223 lib/common/xpath.c if (match != NULL) { match 224 lib/common/xpath.c matchNodePath = (char *) xmlGetNodePath(match); match 471 lib/fencing/st_actions.c xmlNode *match = get_xpath_object("//@" PCMK__XA_RC_CODE, xml, LOG_NEVER); match 473 lib/fencing/st_actions.c if (match == NULL) { match 477 lib/fencing/st_actions.c match = get_xpath_object("//@" PCMK__XA_ST_RC, xml, LOG_ERR); match 479 lib/fencing/st_actions.c return match; match 570 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpathObj, lpc); match 572 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); match 573 lib/fencing/st_client.c if(match != NULL) { match 574 lib/fencing/st_client.c xmlChar *match_path = xmlGetNodePath(match); match 579 lib/fencing/st_client.c crm_element_value(match, match 2423 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpath, lpc); match 2425 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); match 2426 lib/fencing/st_client.c if (match == NULL) { match 2430 lib/fencing/st_client.c parameter = crm_element_value(match, PCMK_XA_NAME); match 380 lib/pacemaker/pcmk_injections.c xmlNode *match = get_xpath_object(xpath, cib_node, LOG_TRACE); match 383 lib/pacemaker/pcmk_injections.c return match; match 38 lib/pacemaker/pcmk_rule.c xmlNodePtr match = NULL; match 132 lib/pacemaker/pcmk_rule.c match = getXpathResult(xpath_obj, 0); match 137 lib/pacemaker/pcmk_rule.c CRM_ASSERT(match != NULL); match 138 lib/pacemaker/pcmk_rule.c CRM_ASSERT(pcmk__condition_type(match) == pcmk__condition_datetime); match 140 lib/pacemaker/pcmk_rule.c rc = pcmk__evaluate_date_expression(match, scheduler->now, NULL); match 117 lib/pacemaker/pcmk_sched_constraints.c pcmk_resource_t *match = parent->fns->find_rsc(parent, id, NULL, match 120 lib/pacemaker/pcmk_sched_constraints.c if (match != NULL) { match 121 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq(match->id, id, pcmk__str_none)) { match 123 lib/pacemaker/pcmk_sched_constraints.c match = uber_parent(match); match 124 lib/pacemaker/pcmk_sched_constraints.c crm_debug("Found %s for %s", match->id, id); match 126 lib/pacemaker/pcmk_sched_constraints.c return match; match 253 lib/pacemaker/pcmk_sched_location.c pcmk_node_t *match = pcmk_find_node(rsc->cluster, node); match 257 lib/pacemaker/pcmk_sched_location.c if (match == NULL) { match 279 lib/pacemaker/pcmk_sched_location.c location = pcmk__new_location(id, rsc, score_i, discovery, match); match 164 lib/pacemaker/pcmk_scheduler.c pcmk_node_t *match = NULL; match 169 lib/pacemaker/pcmk_scheduler.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 170 lib/pacemaker/pcmk_scheduler.c if ((match != NULL) match 171 lib/pacemaker/pcmk_scheduler.c && (match->rsc_discover_mode != pcmk_probe_exclusive)) { match 172 lib/pacemaker/pcmk_scheduler.c match->weight = -PCMK_SCORE_INFINITY; match 668 lib/pengine/bundle.c gpointer match = g_hash_table_lookup(rsc->allowed_nodes, uname); match 670 lib/pengine/bundle.c if (match) { match 671 lib/pengine/bundle.c ((pcmk_node_t *) match)->weight = -PCMK_SCORE_INFINITY; match 672 lib/pengine/bundle.c ((pcmk_node_t *) match)->rsc_discover_mode = pcmk_probe_never; match 274 lib/pengine/native.c bool match = false; match 283 lib/pengine/native.c match = false; match 286 lib/pengine/native.c match = true; match 290 lib/pengine/native.c match = true; match 294 lib/pengine/native.c match = true; match 299 lib/pengine/native.c match = pe_base_name_eq(rsc, id); match 302 lib/pengine/native.c if (match && on_node) { match 304 lib/pengine/native.c match = false; match 308 lib/pengine/native.c if (match) { match 1314 lib/pengine/pe_actions.c pcmk_resource_t *match = gIter->data; match 1315 lib/pengine/pe_actions.c const char *agent = g_hash_table_lookup(match->meta, match 1319 lib/pengine/pe_actions.c data = pe__compare_fencing_digest(match, agent, node, match 1324 lib/pengine/pe_actions.c "%s changed", pcmk__node_name(node), match->id); match 1331 lib/pengine/pe_actions.c pcmk__node_name(node), match->id); match 1336 lib/pengine/pe_actions.c match->id, ":", agent, ":", match 1339 lib/pengine/pe_actions.c match->id, ":", agent, ":", match 443 lib/pengine/status.c pcmk_resource_t *match = match 445 lib/pengine/status.c if (match != NULL) { match 446 lib/pengine/status.c return match; match 467 lib/pengine/status.c pcmk_node_t *match = NULL; match 470 lib/pengine/status.c match = pe_find_node_id(nodes, id); match 472 lib/pengine/status.c if ((match == NULL) && (uname != NULL)) { match 473 lib/pengine/status.c match = pcmk__find_node_in_list(nodes, uname); match 475 lib/pengine/status.c return match; match 325 lib/pengine/utils.c pcmk_node_t *match = NULL; match 346 lib/pengine/utils.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 347 lib/pengine/utils.c if (match == NULL) { match 348 lib/pengine/utils.c match = pe__copy_node(node); match 349 lib/pengine/utils.c g_hash_table_insert(rsc->allowed_nodes, (gpointer) match->details->id, match); match 351 lib/pengine/utils.c match->weight = pcmk__add_scores(match->weight, score); match 355 lib/pengine/utils.c pcmk__node_name(node), pcmk_readable_score(match->weight)); match 582 lib/services/systemd.c const char *match = NULL; match 604 lib/services/systemd.c match = systemd_unit_extension(value.str); match 605 lib/services/systemd.c if (match == NULL) { match 620 lib/services/systemd.c if (!strcmp(match, ".service")) { match 622 lib/services/systemd.c unit_name = strndup(basename, match - basename); match 168 lib/services/upstart.c char *match = NULL; match 174 lib/services/upstart.c match = strstr(input, search); match 175 lib/services/upstart.c if (match == NULL) { match 178 lib/services/upstart.c crm_trace("Found: %s", match); match 179 lib/services/upstart.c match[0] = replace; match 180 lib/services/upstart.c len = strlen(match) - shuffle; match 182 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 1948 tools/crm_mon.c xmlNode *match = NULL; match 1955 tools/crm_mon.c match = change->children; match 1962 tools/crm_mon.c match = pcmk__xe_first_child(change, PCMK_XE_CHANGE_RESULT, NULL, NULL); match 1963 tools/crm_mon.c if(match) { match 1964 tools/crm_mon.c match = match->children; match 1968 tools/crm_mon.c if(match) { match 1969 tools/crm_mon.c name = (const char *)match->name; match 1972 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); match 1982 tools/crm_mon.c pcmk__xe_foreach_child(pcmk__xe_first_child(match, PCMK_XE_STATUS, NULL, match 1987 tools/crm_mon.c pcmk__xe_foreach_child(match, NULL, handle_op_for_node, NULL); match 1990 tools/crm_mon.c node = crm_element_value(match, PCMK_XA_UNAME); match 1992 tools/crm_mon.c node = pcmk__xe_id(match); match 1994 tools/crm_mon.c handle_rsc_op(match, (void *) node); match 1997 tools/crm_mon.c node = pcmk__xe_id(match); match 1998 tools/crm_mon.c handle_rsc_op(match, (void *) node); match 2003 tools/crm_mon.c handle_rsc_op(match, local_node); match 2009 tools/crm_mon.c handle_rsc_op(match, local_node); match 2015 tools/crm_mon.c handle_rsc_op(match, local_node); match 2019 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); match 279 tools/crm_resource.c xmlNode *match = getXpathResult(xpathObj, ndx); match 280 tools/crm_resource.c retval = g_list_insert_sorted(retval, (gpointer) pcmk__xe_id(match),