pcmk__starts_with 36 include/crm/common/strings_internal.h bool pcmk__starts_with(const char *str, const char *prefix); pcmk__starts_with 183 lib/common/agents.c if (!pcmk__starts_with(param, "pcmk_")) { // Short-circuit common case pcmk__starts_with 158 lib/common/procfs.c if (pcmk__starts_with(buffer, "cpu") && isdigit(buffer[3])) { pcmk__starts_with 16 lib/common/tests/strings/pcmk__starts_with_test.c assert_false(pcmk__starts_with(NULL, "x")); pcmk__starts_with 17 lib/common/tests/strings/pcmk__starts_with_test.c assert_false(pcmk__starts_with("abc", NULL)); pcmk__starts_with 22 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("abc", "a")); pcmk__starts_with 23 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("abc", "ab")); pcmk__starts_with 24 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("abc", "abc")); pcmk__starts_with 26 lib/common/tests/strings/pcmk__starts_with_test.c assert_false(pcmk__starts_with("abc", "A")); pcmk__starts_with 27 lib/common/tests/strings/pcmk__starts_with_test.c assert_false(pcmk__starts_with("abc", "bc")); pcmk__starts_with 29 lib/common/tests/strings/pcmk__starts_with_test.c assert_false(pcmk__starts_with("", "x")); pcmk__starts_with 30 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("xyz", "")); pcmk__starts_with 54 lib/fencing/st_rhcs.c if (pcmk__starts_with(namelist[i]->d_name, RH_STONITH_PREFIX)) { pcmk__starts_with 76 lib/pengine/pe_health.c if (pcmk__starts_with((const char *) key, "#health")) { pcmk__starts_with 131 lib/pengine/pe_health.c if (pcmk__starts_with(name, "#health")) { pcmk__starts_with 92 lib/services/services_lsb.c if (!*value && pcmk__starts_with(line, prefix)) { pcmk__starts_with 133 lib/services/services_lsb.c if (pcmk__starts_with(buffer, LSB_INITSCRIPT_INFOBEGIN_TAG)) { pcmk__starts_with 169 lib/services/services_lsb.c && pcmk__starts_with(buffer, DESCRIPTION)) { pcmk__starts_with 179 lib/services/services_lsb.c if (pcmk__starts_with(buffer, "# ") pcmk__starts_with 180 lib/services/services_lsb.c || pcmk__starts_with(buffer, "#\t")) { pcmk__starts_with 207 lib/services/services_lsb.c if (pcmk__starts_with(buffer, LSB_INITSCRIPT_INFOEND_TAG)) { pcmk__starts_with 257 tools/crm_mon.c } else if (pcmk__starts_with(*s, "bans")) { pcmk__starts_with 296 tools/crm_mon.c if (pcmk__starts_with(s, "--include=")) { pcmk__starts_with 298 tools/crm_mon.c } else if (pcmk__starts_with(s, "-I=")) { pcmk__starts_with 300 tools/crm_mon.c } else if (pcmk__starts_with(s, "--exclude=")) { pcmk__starts_with 302 tools/crm_mon.c } else if (pcmk__starts_with(s, "-U=")) { pcmk__starts_with 355 tools/crm_resource_ban.c if (!pcmk__starts_with(cons_id, "cli-ban-") pcmk__starts_with 356 tools/crm_resource_ban.c && !pcmk__starts_with(cons_id, "cli-prefer-")) { pcmk__starts_with 411 tools/crm_resource_ban.c if (pcmk__starts_with(cons_id, "cli-ban-")) {