pcmk__strcase_any_of 668 daemons/attrd/attrd_commands.c if (pcmk__strcase_any_of(op, PCMK__ATTRD_CMD_UPDATE, PCMK__ATTRD_CMD_UPDATE_BOTH, pcmk__strcase_any_of 535 daemons/based/based_callbacks.c if (pcmk__strcase_any_of(op, CIB_OP_MASTER, CIB_OP_SLAVE, NULL)) { 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 183 daemons/controld/controld_based.c return !pcmk__strcase_any_of(action, CRMD_ACTION_CANCEL, CRMD_ACTION_DELETE, pcmk__strcase_any_of 227 daemons/controld/controld_execd.c if (op->params && pcmk__strcase_any_of(op->op_type, CRMD_ACTION_START, pcmk__strcase_any_of 1604 daemons/controld/controld_execd.c if (!pcmk__strcase_any_of(from_sys, CRM_SYSTEM_PENGINE, CRM_SYSTEM_TENGINE, NULL)) { pcmk__strcase_any_of 2020 daemons/controld/controld_execd.c && !pcmk__strcase_any_of(op_type, CRMD_ACTION_METADATA, CRMD_ACTION_DELETE, pcmk__strcase_any_of 2066 daemons/controld/controld_execd.c if (pcmk__strcase_any_of(operation, CRMD_ACTION_START, CRMD_ACTION_STOP, NULL)) { pcmk__strcase_any_of 379 daemons/controld/controld_messages.c if (pcmk__strcase_any_of(task, CRM_OP_NODE_INFO, pcmk__strcase_any_of 416 daemons/controld/controld_messages.c } else if (originated_locally && !pcmk__strcase_any_of(sys_from, CRM_SYSTEM_PENGINE, pcmk__strcase_any_of 427 daemons/controld/controld_remote_ra.c if (!pcmk__strcase_any_of(cmd->action, "start", "migrate_from", NULL)) { pcmk__strcase_any_of 611 daemons/controld/controld_remote_ra.c if (op->type == lrmd_event_connect && pcmk__strcase_any_of(cmd->action, "start", pcmk__strcase_any_of 752 daemons/controld/controld_remote_ra.c if (pcmk__strcase_any_of(tmp->key, XML_RSC_ATTR_REMOTE_RA_ADDR, pcmk__strcase_any_of 484 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 531 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 560 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 302 daemons/controld/controld_te_utils.c } else if (pcmk__strcase_any_of(kind, XML_CIB_TAG_STATE, XML_CIB_TAG_NODE, NULL)) { pcmk__strcase_any_of 624 daemons/execd/cts-exec-helper.c if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents", pcmk__strcase_any_of 843 daemons/execd/execd_commands.c && pcmk__strcase_any_of(cmd->action, "start", "stop", NULL)) { pcmk__strcase_any_of 2537 daemons/fenced/fenced_commands.c (pcmk__strcase_any_of(cmd->action, "list", "monitor", "status", NULL))) { pcmk__strcase_any_of 90 lib/cib/cib_attrs.c } else if (pcmk__strcase_any_of(section, XML_CIB_TAG_OPCONFIG, XML_CIB_TAG_RSCCONFIG, pcmk__strcase_any_of 693 lib/cib/cib_attrs.c if (pcmk__strcase_any_of(scope, "reboot", XML_CIB_TAG_STATUS, NULL)) { pcmk__strcase_any_of 231 lib/cib/cib_client.c if (pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 1063 lib/cluster/cpg.c } else if (pcmk__strcase_any_of(text, CRM_SYSTEM_CRMD, CRM_SYSTEM_DC, NULL)) { pcmk__strcase_any_of 281 lib/common/attrd_client.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 939 lib/common/logging.c if (user != NULL && !pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 952 lib/common/logging.c } else if (!pcmk__strcase_any_of(pwent->pw_name, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 409 lib/common/options.c return pcmk__strcase_any_of(value, "stop", "freeze", "ignore", "demote", "suicide", NULL); pcmk__strcase_any_of 149 lib/common/output.c if (pcmk__strcase_any_of(entry->fmt_name, "default", out->fmt_name, NULL)) { pcmk__strcase_any_of 20 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("xxx", NULL)); pcmk__strcase_any_of 22 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("", NULL)); pcmk__strcase_any_of 28 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("", "xxx", "yyy", NULL)); pcmk__strcase_any_of 30 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of(NULL, "xxx", "yyy", NULL)); pcmk__strcase_any_of 36 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 38 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 43 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("xxx", "aaa", "bbb", NULL)); pcmk__strcase_any_of 2398 lib/common/xml.c if (pcmk__strcase_any_of(name, XML_TAG_RESOURCE_REF, XML_CIB_TAG_OBJ_REF, pcmk__strcase_any_of 2112 lib/fencing/st_client.c } else if (pcmk__strcase_any_of(entry, "on", "off", NULL)) { pcmk__strcase_any_of 574 lib/pacemaker/pcmk_graph_producer.c || pcmk__strcase_any_of(action->task, CRM_OP_FENCE, CRM_OP_SHUTDOWN, pcmk__strcase_any_of 374 lib/pacemaker/pcmk_injections.c } else if (!pcmk__strcase_any_of(rclass, pcmk__strcase_any_of 1646 lib/pacemaker/pcmk_sched_actions.c || pcmk__strcase_any_of(task, RSC_STATUS, RSC_START, pcmk__strcase_any_of 1199 lib/pacemaker/pcmk_sched_clone.c if (pcmk__strcase_any_of(action->task, "notify", "notified", NULL)) { pcmk__strcase_any_of 693 lib/pacemaker/pcmk_sched_native.c return pcmk__strcase_any_of(name, RSC_STOP, RSC_START, RSC_DEMOTE, RSC_PROMOTE, NULL); pcmk__strcase_any_of 199 lib/pacemaker/pcmk_sched_ordering.c if (pcmk__strcase_any_of(first, RSC_START, RSC_PROMOTE, pcmk__strcase_any_of 200 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 343 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 627 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(task, "cancel", "stop", "demote", "migrate_from", pcmk__strcase_any_of 79 lib/pacemaker/pcmk_simulate.c if (pcmk__strcase_any_of(action->task, RSC_NOTIFY, RSC_NOTIFIED, pcmk__strcase_any_of 547 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 490 lib/pengine/common.c } else if (pcmk__strcase_any_of(role, RSC_ROLE_UNPROMOTED_S, pcmk__strcase_any_of 493 lib/pengine/common.c } else if (pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 258 lib/pengine/complex.c || pcmk__strcase_any_of(role, RSC_ROLE_STARTED_S, RSC_ROLE_UNPROMOTED_S, pcmk__strcase_any_of 65 lib/pengine/pe_output.c if (!pcmk__strcase_any_of(type, "ping", "pingd", NULL)) { pcmk__strcase_any_of 128 lib/pengine/rules.c } else if (pcmk__strcase_any_of(attr, CRM_ATTR_UNAME, CRM_ATTR_KIND, CRM_ATTR_ID, NULL)) { pcmk__strcase_any_of 899 lib/pengine/rules.c if (pcmk__strcase_any_of(op, "lt", "lte", "gt", "gte", NULL)) { pcmk__strcase_any_of 1437 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(join, CRMD_JOINSTATE_PENDING, CRMD_JOINSTATE_DOWN, NULL)) { pcmk__strcase_any_of 2283 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_START, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 2289 lib/pengine/unpack.c if (pcmk__strcase_any_of(rc, "0", "8", NULL)) { pcmk__strcase_any_of 2292 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_PROMOTE, CRMD_ACTION_DEMOTE, NULL)) { pcmk__strcase_any_of 769 lib/pengine/utils.c return !pcmk__strcase_any_of(value, "standby", "demote", "stop", NULL); pcmk__strcase_any_of 813 lib/pengine/utils.c || !pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 836 lib/pengine/utils.c || !pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 1195 lib/pengine/utils.c if (!pcmk__strcase_any_of(action->task, RSC_START, RSC_PROMOTE, NULL)) { pcmk__strcase_any_of 1239 lib/pengine/utils.c } else if (pcmk__strcase_any_of(value, "ignore", "nothing", 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 563 lib/services/upstart.c if (pcmk__strcase_any_of(op->action, "monitor", "status", NULL)) { pcmk__strcase_any_of 519 tools/crm_attribute.c if (!pcmk__strcase_any_of(options.type, XML_CIB_TAG_CRMCONFIG, XML_CIB_TAG_TICKETS, pcmk__strcase_any_of 985 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(host, node->details->uname, node->details->id, NULL)) { pcmk__strcase_any_of 1734 tools/crm_resource_runtime.c } else if (pcmk__strcase_any_of(rsc_action, "force-start", "force-stop", pcmk__strcase_any_of 1844 tools/crm_resource_runtime.c if (!pcmk__strcase_any_of(class, PCMK_RESOURCE_CLASS_OCF, pcmk__strcase_any_of 1889 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(rsc_action, "force-start", "force-demote",