pcmk__strcase_any_of 45 daemons/based/based_common.c } else if (pcmk__strcase_any_of(crm_element_name(root), XML_TAG_FRAGMENT, pcmk__strcase_any_of 225 daemons/controld/controld_execd.c if (op->params && pcmk__strcase_any_of(op->op_type, CRMD_ACTION_START, pcmk__strcase_any_of 1220 daemons/controld/controld_execd.c if (!pcmk__strcase_any_of(from_sys, CRM_SYSTEM_PENGINE, CRM_SYSTEM_TENGINE, NULL)) { pcmk__strcase_any_of 1706 daemons/controld/controld_execd.c if (pcmk__strcase_any_of(operation, CRMD_ACTION_START, CRMD_ACTION_STOP, NULL)) { pcmk__strcase_any_of 381 daemons/controld/controld_messages.c if (pcmk__strcase_any_of(task, CRM_OP_NODE_INFO, pcmk__strcase_any_of 419 daemons/controld/controld_messages.c } else if (originated_locally && !pcmk__strcase_any_of(sys_from, CRM_SYSTEM_PENGINE, pcmk__strcase_any_of 513 daemons/controld/controld_remote_ra.c if (!pcmk__strcase_any_of(cmd->action, "start", "migrate_from", NULL)) { pcmk__strcase_any_of 698 daemons/controld/controld_remote_ra.c if (op->type == lrmd_event_connect && pcmk__strcase_any_of(cmd->action, "start", pcmk__strcase_any_of 839 daemons/controld/controld_remote_ra.c if (pcmk__strcase_any_of(tmp->key, XML_RSC_ATTR_REMOTE_RA_ADDR, pcmk__strcase_any_of 531 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 589 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 627 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 561 daemons/execd/cts-exec-helper.c if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents", pcmk__strcase_any_of 847 daemons/execd/execd_commands.c && pcmk__strcase_any_of(cmd->action, "start", "stop", NULL)) { pcmk__strcase_any_of 2769 daemons/fenced/fenced_commands.c (pcmk__strcase_any_of(cmd->action, "list", "monitor", "status", NULL))) { pcmk__strcase_any_of 76 lib/cib/cib_attrs.c } else if (pcmk__strcase_any_of(section, XML_CIB_TAG_OPCONFIG, XML_CIB_TAG_RSCCONFIG, pcmk__strcase_any_of 718 lib/cib/cib_attrs.c if (pcmk__strcase_any_of(scope, "reboot", XML_CIB_TAG_STATUS, NULL)) { pcmk__strcase_any_of 438 lib/cib/cib_client.c if (pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 1065 lib/cluster/cpg.c } else if (pcmk__strcase_any_of(text, CRM_SYSTEM_CRMD, CRM_SYSTEM_DC, NULL)) { pcmk__strcase_any_of 41 lib/common/attrs.c if (name == NULL || pcmk__strcase_any_of(name, "auto", "localhost", NULL)) { pcmk__strcase_any_of 23 lib/common/health.c return pcmk__strcase_any_of(value, pcmk__strcase_any_of 965 lib/common/logging.c if (user != NULL && !pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 978 lib/common/logging.c } else if (!pcmk__strcase_any_of(pwent->pw_name, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 207 lib/common/options.c return pcmk__strcase_any_of(value, "stop", "freeze", "ignore", "demote", "suicide", NULL); pcmk__strcase_any_of 200 lib/common/output.c if (pcmk__strcase_any_of(entry->fmt_name, "default", out->fmt_name, NULL)) { pcmk__strcase_any_of 16 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("xxx", NULL)); pcmk__strcase_any_of 18 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("", NULL)); pcmk__strcase_any_of 24 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("", "xxx", "yyy", NULL)); pcmk__strcase_any_of 26 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of(NULL, "xxx", "yyy", NULL)); pcmk__strcase_any_of 32 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__strcase_any_of("xxx", "aaa", "bbb", "xxx", NULL)); pcmk__strcase_any_of 34 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__strcase_any_of("XXX", "aaa", "bbb", "xxx", NULL)); pcmk__strcase_any_of 39 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("xxx", "aaa", "bbb", NULL)); pcmk__strcase_any_of 2123 lib/common/xml.c if (pcmk__strcase_any_of(name, XML_TAG_RESOURCE_REF, XML_CIB_TAG_OBJ_REF, pcmk__strcase_any_of 2163 lib/fencing/st_client.c } else if (pcmk__strcase_any_of(entry, "on", "off", NULL)) { pcmk__strcase_any_of 530 lib/pacemaker/pcmk_graph_producer.c || pcmk__strcase_any_of(action->task, CRM_OP_FENCE, CRM_OP_SHUTDOWN, pcmk__strcase_any_of 407 lib/pacemaker/pcmk_injections.c } else if (!pcmk__strcase_any_of(rclass, pcmk__strcase_any_of 61 lib/pacemaker/pcmk_resource.c && pcmk__strcase_any_of(task, RSC_STATUS, pcmk__strcase_any_of 1808 lib/pacemaker/pcmk_sched_actions.c || pcmk__strcase_any_of(task, RSC_STATUS, RSC_START, pcmk__strcase_any_of 1262 lib/pacemaker/pcmk_sched_instances.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_NOTIFY, pcmk__strcase_any_of 200 lib/pacemaker/pcmk_sched_ordering.c if (pcmk__strcase_any_of(first, RSC_START, RSC_PROMOTE, pcmk__strcase_any_of 189 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 337 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 621 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(task, "cancel", "stop", "demote", "migrate_from", pcmk__strcase_any_of 77 lib/pacemaker/pcmk_simulate.c if (pcmk__strcase_any_of(action->task, RSC_NOTIFY, RSC_NOTIFIED, pcmk__strcase_any_of 546 lib/pacemaker/pcmk_simulate.c if (pcmk__strcase_any_of(operation, "delete", RSC_METADATA, NULL)) { pcmk__strcase_any_of 26 lib/pengine/common.c return pcmk__strcase_any_of(value, "default", "utilization", "minimal", pcmk__strcase_any_of 486 lib/pengine/common.c } else if (pcmk__strcase_any_of(role, RSC_ROLE_UNPROMOTED_S, pcmk__strcase_any_of 489 lib/pengine/common.c } else if (pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 237 lib/pengine/complex.c || pcmk__strcase_any_of(role, RSC_ROLE_STARTED_S, RSC_ROLE_UNPROMOTED_S, pcmk__strcase_any_of 428 lib/pengine/pe_actions.c return !pcmk__strcase_any_of(value, "standby", "demote", "stop", NULL); pcmk__strcase_any_of 471 lib/pengine/pe_actions.c || !pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 494 lib/pengine/pe_actions.c || !pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 752 lib/pengine/pe_actions.c if (!pcmk__strcase_any_of(action->task, RSC_START, RSC_PROMOTE, NULL)) { pcmk__strcase_any_of 796 lib/pengine/pe_actions.c } else if (pcmk__strcase_any_of(value, "ignore", PCMK__VALUE_NOTHING, pcmk__strcase_any_of 78 lib/pengine/pe_output.c if (!pcmk__strcase_any_of(type, "ping", "pingd", NULL)) { pcmk__strcase_any_of 793 lib/pengine/rules.c if (pcmk__strcase_any_of(op, "lt", "lte", "gt", "gte", NULL)) { pcmk__strcase_any_of 1457 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(join, CRMD_JOINSTATE_PENDING, CRMD_JOINSTATE_DOWN, NULL)) { pcmk__strcase_any_of 2335 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_START, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 2341 lib/pengine/unpack.c if (pcmk__strcase_any_of(rc, "0", "8", NULL)) { pcmk__strcase_any_of 2344 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_PROMOTE, CRMD_ACTION_DEMOTE, NULL)) { pcmk__strcase_any_of 111 lib/services/services.c return pcmk__strcase_any_of(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD, pcmk__strcase_any_of 566 lib/services/upstart.c if (pcmk__strcase_any_of(op->action, "monitor", "status", NULL)) { pcmk__strcase_any_of 756 tools/crm_attribute.c if (!pcmk__strcase_any_of(options.type, XML_CIB_TAG_CRMCONFIG, XML_CIB_TAG_TICKETS, pcmk__strcase_any_of 1099 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(host, node->details->uname, node->details->id, NULL)) { pcmk__strcase_any_of 1861 tools/crm_resource_runtime.c } else if (pcmk__strcase_any_of(rsc_action, "force-start", "force-stop", pcmk__strcase_any_of 1971 tools/crm_resource_runtime.c if (!pcmk__strcase_any_of(class, PCMK_RESOURCE_CLASS_OCF, pcmk__strcase_any_of 2016 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(rsc_action, "force-start", "force-demote",