match 129 daemons/controld/controld_metadata.c xmlNode *match = NULL; match 169 daemons/controld/controld_metadata.c match = first_named_child(metadata, "actions"); match 170 daemons/controld/controld_metadata.c for (match = first_named_child(match, "action"); match != NULL; match 171 daemons/controld/controld_metadata.c match = crm_next_same_xml(match)) { match 173 daemons/controld/controld_metadata.c const char *action_name = crm_element_value(match, "name"); match 191 daemons/controld/controld_metadata.c match = first_named_child(metadata, "parameters"); match 192 daemons/controld/controld_metadata.c for (match = first_named_child(match, "parameter"); match != NULL; match 193 daemons/controld/controld_metadata.c match = crm_next_same_xml(match)) { match 195 daemons/controld/controld_metadata.c const char *param_name = crm_element_value(match, "name"); match 201 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 396 daemons/controld/controld_schedulerd.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); match 397 daemons/controld/controld_schedulerd.c crm_xml_add(match, XML_NVPAIR_ATTR_VALUE, attr_value); match 160 daemons/controld/controld_te_callbacks.c xmlNode *match = getXpathResult(xpathObj, lpc); match 162 daemons/controld/controld_te_callbacks.c CRM_LOG_ASSERT(match != NULL); match 163 daemons/controld/controld_te_callbacks.c if(match == NULL) { continue; }; match 165 daemons/controld/controld_te_callbacks.c op_id = ID(match); match 177 daemons/controld/controld_te_callbacks.c const char *node = get_node_id(match); match 184 daemons/controld/controld_te_callbacks.c "Resource op removal", match); match 268 daemons/controld/controld_te_callbacks.c char *match = NULL; match 270 daemons/controld/controld_te_callbacks.c match = strstr(mutable_path, "node_state[@" XML_ATTR_ID "=\'"); match 271 daemons/controld/controld_te_callbacks.c if (match == NULL) { match 275 daemons/controld/controld_te_callbacks.c match += strlen("node_state[@" XML_ATTR_ID "=\'"); match 277 daemons/controld/controld_te_callbacks.c search = strchr(match, '\''); match 284 daemons/controld/controld_te_callbacks.c node_uuid = strdup(match); match 408 daemons/controld/controld_te_callbacks.c xmlNode *match = NULL; match 436 daemons/controld/controld_te_callbacks.c match = change->children; match 439 daemons/controld/controld_te_callbacks.c match = first_named_child(change, XML_DIFF_RESULT); match 440 daemons/controld/controld_te_callbacks.c if(match) { match 441 daemons/controld/controld_te_callbacks.c match = match->children; match 450 daemons/controld/controld_te_callbacks.c if (match) { match 451 daemons/controld/controld_te_callbacks.c if (match->type == XML_COMMENT_NODE) { match 455 daemons/controld/controld_te_callbacks.c name = (const char *)match->name; match 487 daemons/controld/controld_te_callbacks.c process_cib_diff(match, change, op, xpath); match 490 daemons/controld/controld_te_callbacks.c process_status_diff(match, change, op, xpath); match 493 daemons/controld/controld_te_callbacks.c process_node_state_diff(match, change, op, xpath); match 496 daemons/controld/controld_te_callbacks.c process_resource_updates(ID(match), match, change, op, xpath); match 501 daemons/controld/controld_te_callbacks.c process_resource_updates(local_node, match, change, op, xpath); match 507 daemons/controld/controld_te_callbacks.c process_lrm_resource_diff(match, local_node); match 513 daemons/controld/controld_te_callbacks.c process_graph_event(match, local_node); match 376 daemons/controld/controld_te_events.c pcmk__graph_action_t *match = NULL; match 383 daemons/controld/controld_te_events.c gIter != NULL && match == NULL; match 387 daemons/controld/controld_te_events.c gIter2 != NULL && match == NULL; match 390 daemons/controld/controld_te_events.c match = (pcmk__graph_action_t *) gIter2->data; match 391 daemons/controld/controld_te_events.c if (pcmk_is_set(match->flags, pcmk__graph_action_executed)) { match 392 daemons/controld/controld_te_events.c xpath_ret = xpath_search(match->xml, xpath); match 394 daemons/controld/controld_te_events.c match = NULL; match 399 daemons/controld/controld_te_events.c match = NULL; match 406 daemons/controld/controld_te_events.c if (match != NULL) { match 407 daemons/controld/controld_te_events.c crm_debug("Shutdown action %d (%s) found for node %s", match->id, match 408 daemons/controld/controld_te_events.c crm_element_value(match->xml, XML_LRM_ATTR_TASK_KEY), target); match 412 daemons/controld/controld_te_events.c return match; match 46 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, XML_ATTR_STONITH_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, XML_AGENT_ATTR_CLASS); match 184 daemons/fenced/fenced_cib.c rsc_id = crm_element_value(match, XML_ATTR_ID); match 268 daemons/fenced/fenced_cib.c xmlNode *match = getXpathResult(xpath_obj, lpc); match 270 daemons/fenced/fenced_cib.c crm_log_xml_trace(match, "new constraint"); match 290 daemons/fenced/fenced_cib.c xmlNode *match = getXpathResult(xpath_obj, lpc); match 292 daemons/fenced/fenced_cib.c rsc_id = crm_element_value(match, XML_ATTR_ID); match 293 daemons/fenced/fenced_cib.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); match 465 daemons/fenced/fenced_cib.c xmlNode *match = getXpathResult(xpathObj, lpc); match 467 daemons/fenced/fenced_cib.c CRM_LOG_ASSERT(match != NULL); match 468 daemons/fenced/fenced_cib.c if (match && crm_element_value(match, XML_DIFF_MARKER)) { match 471 daemons/fenced/fenced_cib.c char *target = stonith_level_key(match, fenced_target_by_unknown); match 473 daemons/fenced/fenced_cib.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); match 475 daemons/fenced/fenced_cib.c crm_err("Invalid fencing target in element %s", ID(match)); match 478 daemons/fenced/fenced_cib.c crm_err("Invalid level for %s in element %s", target, ID(match)); match 540 daemons/fenced/fenced_cib.c xmlNode *match = first_named_child(change, XML_DIFF_RESULT); match 542 daemons/fenced/fenced_cib.c if(match) { match 543 daemons/fenced/fenced_cib.c remove_topology_level(match->children); match 544 daemons/fenced/fenced_cib.c add_topology_level(match->children); match 942 daemons/fenced/fenced_commands.c xmlNode *match = getXpathResult(xpath, lpc); match 944 daemons/fenced/fenced_commands.c CRM_LOG_ASSERT(match != NULL); match 945 daemons/fenced/fenced_commands.c if(match == NULL) { continue; }; match 947 daemons/fenced/fenced_commands.c action = crm_element_value(match, "name"); match 961 daemons/fenced/fenced_commands.c if (pcmk__xe_attr_is_true(match, "automatic") || pcmk__xe_attr_is_true(match, "required")) { match 968 daemons/fenced/fenced_commands.c if ((action != NULL) && pcmk__xe_attr_is_true(match, "on_target")) { match 338 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->devices_list, iter->data, match 341 daemons/fenced/fenced_remote.c if (match) { match 342 daemons/fenced/fenced_remote.c op->devices_list = g_list_remove(op->devices_list, match->data); match 512 daemons/fenced/fenced_remote.c xmlNode *match = get_xpath_object("//@" F_STONITH_DELEGATE, xml, LOG_NEVER); match 514 daemons/fenced/fenced_remote.c if (match == NULL) { match 517 daemons/fenced/fenced_remote.c return crm_element_value_copy(match, F_STONITH_DELEGATE); match 799 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->automatic_list, device, match 802 daemons/fenced/fenced_remote.c if (!match) { match 817 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->automatic_list, device, match 820 daemons/fenced/fenced_remote.c if (match) { match 821 daemons/fenced/fenced_remote.c op->automatic_list = g_list_remove(op->automatic_list, match->data); match 1577 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(auto_list, device_list->data, match 1579 daemons/fenced/fenced_remote.c if (match) { match 1580 daemons/fenced/fenced_remote.c auto_list = g_list_remove(auto_list, match->data); match 2028 daemons/fenced/fenced_remote.c device_properties_t *match = NULL; match 2045 daemons/fenced/fenced_remote.c match = NULL; match 2046 daemons/fenced/fenced_remote.c for (iter = op->query_results; iter && !match; iter = iter->next) { match 2052 daemons/fenced/fenced_remote.c match = find_peer_device(op, peer, device->data, st_device_supports_none); match 2054 daemons/fenced/fenced_remote.c if (!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 215 include/crm/common/xml_internal.h bool (*match)(xmlAttrPtr, void *), match 511 lib/cib/cib_ops.c xmlNode *match = getXpathResult(xpathObj, lpc); match 512 lib/cib/cib_ops.c xmlChar *match_path = xmlGetNodePath(match); match 516 lib/cib/cib_ops.c free_xml(match); match 903 lib/cib/cib_ops.c xmlNode *match = getXpathResult(xpathObj, lpc); match 905 lib/cib/cib_ops.c if (match == NULL) { match 909 lib/cib/cib_ops.c path = xmlGetNodePath(match); match 914 lib/cib/cib_ops.c if (match == *result_cib) { match 921 lib/cib/cib_ops.c free_xml(match); match 927 lib/cib/cib_ops.c if (update_xml_child(match, input) == FALSE) { match 934 lib/cib/cib_ops.c add_node_copy(match, input); match 941 lib/cib/cib_ops.c (const char *) match->name); match 943 lib/cib/cib_ops.c copy_in_properties(shallow, match); match 951 lib/cib/cib_ops.c xmlNode *parent = match; match 980 lib/cib/cib_ops.c add_node_copy(*answer, match); match 983 lib/cib/cib_ops.c *answer = match; match 988 lib/cib/cib_ops.c xmlNode *parent = match->parent; match 990 lib/cib/cib_ops.c free_xml(match); match 243 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); match 245 lib/common/acl.c nodepriv = match->_private; match 251 lib/common/acl.c GString *path = pcmk__element_xpath(match); match 471 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); match 473 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 1203 lib/common/mainloop.c mainloop_child_t *match = NULL; match 1208 lib/common/mainloop.c for (iter = child_list; iter != NULL && match == NULL; iter = iter->next) { match 1211 lib/common/mainloop.c match = child; match 1215 lib/common/mainloop.c if (match == NULL) { match 1219 lib/common/mainloop.c rc = child_kill_helper(match); match 1227 lib/common/mainloop.c match->pid); match 1237 lib/common/mainloop.c if (!child_waitpid(match, waitflags)) { match 1242 lib/common/mainloop.c child_list = g_list_remove(child_list, match); match 1243 lib/common/mainloop.c child_free(match); match 878 lib/common/patchset.c xmlNode *match; match 921 lib/common/patchset.c xmlNode *match = NULL; match 936 lib/common/patchset.c match = search_v2_xpath(xml, xpath, position); match 937 lib/common/patchset.c crm_trace("Performing %s on %s with %p", op, xpath, match); match 939 lib/common/patchset.c if ((match == NULL) && (strcmp(op, "delete") == 0)) { match 943 lib/common/patchset.c } else if (match == NULL) { match 955 lib/common/patchset.c change_obj->match = match; match 961 lib/common/patchset.c if ((match->parent != NULL) && (match->parent->last != NULL)) { match 962 lib/common/patchset.c xmlAddNextSibling(match->parent->last, match); match 967 lib/common/patchset.c free_xml(match); match 978 lib/common/patchset.c pcmk__xe_remove_matching_attrs(match, NULL, NULL); // Remove all match 985 lib/common/patchset.c crm_xml_add(match, name, value); match 999 lib/common/patchset.c xmlNode *match = change_obj->match; match 1008 lib/common/patchset.c crm_trace("Continue performing %s on %s with %p", op, xpath, match); match 1015 lib/common/patchset.c match_child = match->children; match 1023 lib/common/patchset.c child = xmlDocCopyNode(change->children, match->doc, 1); match 1032 lib/common/patchset.c } else if (match->last) { match 1035 lib/common/patchset.c xmlAddNextSibling(match->last, child); match 1041 lib/common/patchset.c xmlAddChild(match, child); match 1049 lib/common/patchset.c if (position != pcmk__xml_position(match, pcmk__xf_skip)) { match 1053 lib/common/patchset.c if (p > pcmk__xml_position(match, pcmk__xf_skip)) { match 1057 lib/common/patchset.c CRM_ASSERT(match->parent != NULL); match 1058 lib/common/patchset.c match_child = match->parent->children; match 1066 lib/common/patchset.c match->name, position, match 1067 lib/common/patchset.c pcmk__xml_position(match, pcmk__xf_skip), match 1068 lib/common/patchset.c match->prev, (match_child? "next":"last"), match 1069 lib/common/patchset.c (match_child? match_child : match->parent->last)); match 1072 lib/common/patchset.c xmlAddPrevSibling(match_child, match); match 1075 lib/common/patchset.c CRM_ASSERT(match->parent->last != NULL); match 1076 lib/common/patchset.c xmlAddNextSibling(match->parent->last, match); match 1081 lib/common/patchset.c match->name, position); match 1084 lib/common/patchset.c if (position != pcmk__xml_position(match, pcmk__xf_skip)) { match 1086 lib/common/patchset.c match->name, ID(match), match 1087 lib/common/patchset.c pcmk__xml_position(match, pcmk__xf_skip), match 1088 lib/common/patchset.c position, match->prev); match 990 lib/common/schemas.c int lpc = 0, match = -1, rc = pcmk_ok; match 1006 lib/common/schemas.c match = get_schema_version(value); match 1008 lib/common/schemas.c lpc = match; match 1018 lib/common/schemas.c if (match >= max_stable_schemas) { match 1021 lib/common/schemas.c *best = match; match 1121 lib/common/schemas.c if (*best > match && *best) { match 498 lib/common/strings.c ends_with(const char *s, const char *match, bool as_extension) match 500 lib/common/strings.c if (pcmk__str_empty(match)) { match 511 lib/common/strings.c s = strrchr(s, match[0]); match 512 lib/common/strings.c return (s == NULL)? false : !strcmp(s, match); match 515 lib/common/strings.c mlen = strlen(match); match 517 lib/common/strings.c return ((slen >= mlen) && !strcmp(s + slen - mlen, match)); match 533 lib/common/strings.c pcmk__ends_with(const char *s, const char *match) match 535 lib/common/strings.c return ends_with(s, match, false); match 560 lib/common/strings.c pcmk__ends_with_ext(const char *s, const char *match) match 562 lib/common/strings.c return ends_with(s, match, true); match 594 lib/common/xml.c bool (*match)(xmlAttrPtr, void *), match 601 lib/common/xml.c if ((match == NULL) || match(a, user_data)) { match 2486 lib/common/xml.c xmlNode *match = NULL; match 2488 lib/common/xml.c for (match = pcmk__xe_first_child(parent); match != NULL; match 2489 lib/common/xml.c match = pcmk__xe_next(match)) { match 2495 lib/common/xml.c if (pcmk__str_eq(name, (const char *)match->name, pcmk__str_null_matches)) { match 2496 lib/common/xml.c return match; match 2512 lib/common/xml.c xmlNode *match = pcmk__xe_next(sibling); match 2514 lib/common/xml.c while (match != NULL) { match 2515 lib/common/xml.c if (pcmk__xe_is(match, (const char *) sibling->name)) { match 2516 lib/common/xml.c return match; match 2518 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 242 lib/common/xpath.c xmlNode *match = getXpathResult(xpathObj, lpc); match 244 lib/common/xpath.c CRM_LOG_ASSERT(match != NULL); match 245 lib/common/xpath.c if (match != NULL) { match 246 lib/common/xpath.c matchNodePath = (char *) xmlGetNodePath(match); match 475 lib/fencing/st_actions.c xmlNode *match = get_xpath_object("//@" XML_LRM_ATTR_RC, xml, LOG_NEVER); match 477 lib/fencing/st_actions.c if (match == NULL) { match 481 lib/fencing/st_actions.c match = get_xpath_object("//@" F_STONITH_RC, xml, LOG_ERR); match 483 lib/fencing/st_actions.c return match; match 568 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpathObj, lpc); match 570 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); match 571 lib/fencing/st_client.c if(match != NULL) { match 572 lib/fencing/st_client.c xmlChar *match_path = xmlGetNodePath(match); match 576 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, crm_element_value(match, XML_ATTR_ID)); match 2419 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpath, lpc); match 2421 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); match 2422 lib/fencing/st_client.c if (match == NULL) { match 2426 lib/fencing/st_client.c parameter = crm_element_value(match, "name"); match 355 lib/pacemaker/pcmk_injections.c xmlNode *match = get_xpath_object(xpath, cib_node, LOG_TRACE); match 358 lib/pacemaker/pcmk_injections.c return match; match 125 lib/pacemaker/pcmk_rule.c xmlNodePtr match = NULL; match 211 lib/pacemaker/pcmk_rule.c match = getXpathResult(xpath_obj, 0); match 216 lib/pacemaker/pcmk_rule.c CRM_ASSERT(match != NULL); match 217 lib/pacemaker/pcmk_rule.c CRM_ASSERT(find_expression_type(match) == time_expr); match 219 lib/pacemaker/pcmk_rule.c rc = eval_date_expression(match, scheduler->now); match 114 lib/pacemaker/pcmk_sched_constraints.c pcmk_resource_t *match = parent->fns->find_rsc(parent, id, NULL, match 117 lib/pacemaker/pcmk_sched_constraints.c if (match != NULL) { match 118 lib/pacemaker/pcmk_sched_constraints.c if (!pcmk__str_eq(match->id, id, pcmk__str_none)) { match 120 lib/pacemaker/pcmk_sched_constraints.c match = uber_parent(match); match 121 lib/pacemaker/pcmk_sched_constraints.c crm_debug("Found %s for %s", match->id, id); match 123 lib/pacemaker/pcmk_sched_constraints.c return match; match 223 lib/pacemaker/pcmk_sched_location.c pcmk_node_t *match = pe_find_node(rsc->cluster->nodes, node); match 225 lib/pacemaker/pcmk_sched_location.c if (!match) { match 228 lib/pacemaker/pcmk_sched_location.c location = pcmk__new_location(id, rsc, score_i, discovery, match); match 163 lib/pacemaker/pcmk_scheduler.c pcmk_node_t *match = NULL; match 168 lib/pacemaker/pcmk_scheduler.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 169 lib/pacemaker/pcmk_scheduler.c if ((match != NULL) match 170 lib/pacemaker/pcmk_scheduler.c && (match->rsc_discover_mode != pcmk_probe_exclusive)) { match 171 lib/pacemaker/pcmk_scheduler.c match->weight = -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 = -INFINITY; match 672 lib/pengine/bundle.c ((pcmk_node_t *) match)->rsc_discover_mode = pcmk_probe_never; match 278 lib/pengine/native.c bool match = false; match 287 lib/pengine/native.c match = false; match 290 lib/pengine/native.c match = true; match 294 lib/pengine/native.c match = true; match 298 lib/pengine/native.c match = true; match 303 lib/pengine/native.c match = pe_base_name_eq(rsc, id); match 306 lib/pengine/native.c if (match && on_node) { match 308 lib/pengine/native.c match = false; match 312 lib/pengine/native.c if (match) { match 1300 lib/pengine/pe_actions.c pcmk_resource_t *match = gIter->data; match 1301 lib/pengine/pe_actions.c const char *agent = g_hash_table_lookup(match->meta, match 1305 lib/pengine/pe_actions.c data = pe__compare_fencing_digest(match, agent, node, match 1310 lib/pengine/pe_actions.c "%s changed", pe__node_name(node), match->id); match 1317 lib/pengine/pe_actions.c pe__node_name(node), match->id); match 1322 lib/pengine/pe_actions.c match->id, ":", agent, ":", match 1325 lib/pengine/pe_actions.c match->id, ":", agent, ":", match 404 lib/pengine/status.c pcmk_resource_t *match = match 406 lib/pengine/status.c if (match != NULL) { match 407 lib/pengine/status.c return match; match 428 lib/pengine/status.c pcmk_node_t *match = NULL; match 431 lib/pengine/status.c match = pe_find_node_id(nodes, id); match 433 lib/pengine/status.c if ((match == NULL) && (uname != NULL)) { match 434 lib/pengine/status.c match = pe_find_node(nodes, uname); match 436 lib/pengine/status.c return match; match 326 lib/pengine/utils.c pcmk_node_t *match = NULL; match 347 lib/pengine/utils.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 348 lib/pengine/utils.c if (match == NULL) { match 349 lib/pengine/utils.c match = pe__copy_node(node); match 350 lib/pengine/utils.c g_hash_table_insert(rsc->allowed_nodes, (gpointer) match->details->id, match); match 352 lib/pengine/utils.c match->weight = pcmk__add_scores(match->weight, score); match 356 lib/pengine/utils.c pcmk_readable_score(match->weight)); match 581 lib/services/systemd.c const char *match = NULL; match 603 lib/services/systemd.c match = systemd_unit_extension(value.str); match 604 lib/services/systemd.c if (match == NULL) { match 619 lib/services/systemd.c if (!strcmp(match, ".service")) { match 621 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 1926 tools/crm_mon.c xmlNode *match = NULL; match 1933 tools/crm_mon.c match = change->children; match 1942 tools/crm_mon.c match = first_named_child(change, XML_DIFF_RESULT); match 1943 tools/crm_mon.c if(match) { match 1944 tools/crm_mon.c match = match->children; match 1948 tools/crm_mon.c if(match) { match 1949 tools/crm_mon.c name = (const char *)match->name; match 1952 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); match 1961 tools/crm_mon.c pcmk__xe_foreach_child(first_named_child(match, XML_CIB_TAG_STATUS), match 1965 tools/crm_mon.c pcmk__xe_foreach_child(match, NULL, handle_op_for_node, NULL); match 1968 tools/crm_mon.c node = crm_element_value(match, XML_ATTR_UNAME); match 1970 tools/crm_mon.c node = ID(match); match 1972 tools/crm_mon.c handle_rsc_op(match, (void *) node); match 1975 tools/crm_mon.c node = ID(match); match 1976 tools/crm_mon.c handle_rsc_op(match, (void *) node); match 1981 tools/crm_mon.c handle_rsc_op(match, local_node); match 1987 tools/crm_mon.c handle_rsc_op(match, local_node); match 1993 tools/crm_mon.c handle_rsc_op(match, local_node); match 1997 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); match 333 tools/crm_resource.c xmlNode *match = getXpathResult(xpathObj, ndx); match 334 tools/crm_resource.c retval = g_list_insert_sorted(retval, (gpointer) ID(match), compare_id);