pcmk__strcase_any_of 594 daemons/attrd/attrd_commands.c if (pcmk__strcase_any_of(op, PCMK__ATTRD_CMD_UPDATE, PCMK__ATTRD_CMD_UPDATE_BOTH, pcmk__strcase_any_of 523 daemons/based/based_callbacks.c if (pcmk__strcase_any_of(op, CIB_OP_MASTER, CIB_OP_SLAVE, NULL)) { pcmk__strcase_any_of 43 daemons/based/based_common.c } else if (pcmk__strcase_any_of(crm_element_name(root), XML_TAG_FRAGMENT, pcmk__strcase_any_of 166 daemons/controld/controld_based.c return !pcmk__strcase_any_of(action, CRMD_ACTION_CANCEL, CRMD_ACTION_DELETE, pcmk__strcase_any_of 228 daemons/controld/controld_execd.c if (op->params && pcmk__strcase_any_of(op->op_type, CRMD_ACTION_START, pcmk__strcase_any_of 1599 daemons/controld/controld_execd.c if (!pcmk__strcase_any_of(from_sys, CRM_SYSTEM_PENGINE, CRM_SYSTEM_TENGINE, NULL)) { pcmk__strcase_any_of 2005 daemons/controld/controld_execd.c && !pcmk__strcase_any_of(op_type, CRMD_ACTION_METADATA, CRMD_ACTION_DELETE, pcmk__strcase_any_of 2051 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 419 daemons/controld/controld_remote_ra.c if (!pcmk__strcase_any_of(cmd->action, "start", "migrate_from", NULL)) { pcmk__strcase_any_of 601 daemons/controld/controld_remote_ra.c if (op->type == lrmd_event_connect && pcmk__strcase_any_of(cmd->action, "start", pcmk__strcase_any_of 739 daemons/controld/controld_remote_ra.c if (pcmk__strcase_any_of(tmp->key, XML_RSC_ATTR_REMOTE_RA_ADDR, pcmk__strcase_any_of 454 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 501 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 530 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 259 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 637 daemons/execd/cts-exec-helper.c if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents", pcmk__strcase_any_of 933 daemons/execd/execd_commands.c && pcmk__strcase_any_of(cmd->action, "start", "stop", NULL)) { pcmk__strcase_any_of 473 daemons/execd/pacemaker-execd.c if (option && !pcmk__strcase_any_of(option, "none", "/dev/null", NULL)) { pcmk__strcase_any_of 127 daemons/fenced/fenced_commands.c if (!pcmk__strcase_any_of(action, "off", "reboot", NULL)) { pcmk__strcase_any_of 145 daemons/fenced/fenced_commands.c if (!pcmk__strcase_any_of(action, "off", "reboot", NULL)) { pcmk__strcase_any_of 1746 daemons/fenced/fenced_commands.c if (pcmk__strcase_any_of(check_type, "status", "dynamic-list", NULL)) { pcmk__strcase_any_of 2153 daemons/fenced/fenced_commands.c (pcmk__strcase_any_of(cmd->action, "list", "monitor", "status", NULL))) { pcmk__strcase_any_of 1698 daemons/fenced/fenced_remote.c if (pcmk__strcase_any_of(op->action, "off", "reboot", NULL)) { pcmk__strcase_any_of 74 lib/cib/cib_attrs.c } else if (pcmk__strcase_any_of(section, XML_CIB_TAG_OPCONFIG, XML_CIB_TAG_RSCCONFIG, pcmk__strcase_any_of 578 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 786 lib/cluster/cpg.c } else if (pcmk__strcase_any_of(text, CRM_SYSTEM_CRMD, CRM_SYSTEM_DC, NULL)) { pcmk__strcase_any_of 283 lib/common/attrd_client.c if (pcmk__strcase_any_of(name, "auto", "localhost", NULL)) { pcmk__strcase_any_of 836 lib/common/logging.c if (user != NULL && !pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 850 lib/common/logging.c } else if (!pcmk__strcase_any_of(pwent->pw_name, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 408 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 9 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("xxx", NULL), ==, false); pcmk__strcase_any_of 11 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("", NULL), ==, false); pcmk__strcase_any_of 17 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("", "xxx", "yyy", NULL), ==, false); pcmk__strcase_any_of 19 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of(NULL, "xxx", "yyy", NULL), ==, false); pcmk__strcase_any_of 25 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("xxx", "aaa", "bbb", "xxx", NULL), ==, true); pcmk__strcase_any_of 27 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("XXX", "aaa", "bbb", "xxx", NULL), ==, true); pcmk__strcase_any_of 32 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("xxx", "aaa", "bbb", NULL), ==, false); pcmk__strcase_any_of 2378 lib/common/xml.c if (pcmk__strcase_any_of(name, XML_TAG_RESOURCE_REF, XML_CIB_TAG_OBJ_REF, pcmk__strcase_any_of 2458 lib/fencing/st_client.c } else if (pcmk__strcase_any_of(entry, "on", "off", NULL)) { pcmk__strcase_any_of 467 lib/pacemaker/pcmk_sched_allocate.c } else if ((interval_ms > 0) || pcmk__strcase_any_of(task, RSC_STATUS, RSC_START, pcmk__strcase_any_of 1965 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 2127 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 1173 lib/pacemaker/pcmk_sched_clone.c if (pcmk__strcase_any_of(action->task, "notify", "notified", NULL)) { pcmk__strcase_any_of 1665 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__strcase_any_of(action_first, RSC_START, RSC_PROMOTE, NULL)) { pcmk__strcase_any_of 841 lib/pacemaker/pcmk_sched_graph.c if (pcmk__strcase_any_of(task, "stop", "demote", "migrate_from", "migrate_to", pcmk__strcase_any_of 968 lib/pacemaker/pcmk_sched_graph.c if (pcmk__strcase_any_of(fence, "off", "reboot", NULL)) { pcmk__strcase_any_of 1404 lib/pacemaker/pcmk_sched_graph.c pcmk__strcase_any_of(action->task, CRM_OP_FENCE, CRM_OP_SHUTDOWN, NULL)) { pcmk__strcase_any_of 707 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 282 lib/pacemaker/pcmk_sched_transition.c } else if (!pcmk__strcase_any_of(rclass, PCMK_RESOURCE_CLASS_OCF, PCMK_RESOURCE_CLASS_STONITH, pcmk__strcase_any_of 633 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, CRM_OP_PROBED, CRM_OP_REPROBE, NULL)) { pcmk__strcase_any_of 659 lib/pacemaker/pcmk_sched_transition.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, "none", "custom", "only-green", "progressive", pcmk__strcase_any_of 33 lib/pengine/common.c return pcmk__strcase_any_of(value, "reboot", "poweroff", "off", NULL); pcmk__strcase_any_of 39 lib/pengine/common.c return pcmk__strcase_any_of(value, "default", "utilization", "minimal", 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 975 lib/pengine/rules.c if (pcmk__strcase_any_of(op, "lt", "lte", "gt", "gte", NULL)) { pcmk__strcase_any_of 1378 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(join, CRMD_JOINSTATE_PENDING, CRMD_JOINSTATE_DOWN, NULL)) { pcmk__strcase_any_of 2215 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_START, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 2221 lib/pengine/unpack.c if (pcmk__strcase_any_of(rc, "0", "8", NULL)) { pcmk__strcase_any_of 2224 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_PROMOTE, CRMD_ACTION_DEMOTE, NULL)) { pcmk__strcase_any_of 702 lib/pengine/utils.c return !pcmk__strcase_any_of(value, "standby", "demote", "stop", NULL); pcmk__strcase_any_of 1122 lib/pengine/utils.c if (!pcmk__strcase_any_of(action->task, RSC_START, RSC_PROMOTE, NULL)) { pcmk__strcase_any_of 1166 lib/pengine/utils.c } else if (pcmk__strcase_any_of(value, "ignore", "nothing", NULL)) { pcmk__strcase_any_of 109 lib/services/services.c return pcmk__strcase_any_of(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD, pcmk__strcase_any_of 451 lib/services/upstart.c if (pcmk__strcase_any_of(op->action, "monitor", "status", NULL)) { pcmk__strcase_any_of 348 tools/crm_mon_print.c if (!pcmk__strcase_any_of(type, "ping", "pingd", NULL)) { pcmk__strcase_any_of 1840 tools/crm_resource_runtime.c } else if (pcmk__strcase_any_of(rsc_action, "force-start", "force-demote", pcmk__strcase_any_of 552 tools/crm_simulate.c if (pcmk__strcase_any_of(action->task, RSC_NOTIFY, RSC_NOTIFIED, NULL)) {