s1                 50 include/crm/common/strings_internal.h int pcmk__strcmp(const char *s1, const char *s2, uint32_t flags);
s1                 53 include/crm/common/strings_internal.h pcmk__str_eq(const char *s1, const char *s2, uint32_t flags)
s1                 55 include/crm/common/strings_internal.h     return pcmk__strcmp(s1, s2, flags) == 0;
s1                 83 include/crm/common/strings_internal.h #define pcmk__plural_alt(i, s1, s2) (((i) == 1)? (s1) : (s2))
s1                 60 include/crm/common/util.h int pcmk_numeric_strcasecmp(const char *s1, const char *s2);
s1                931 lib/common/strings.c pcmk_numeric_strcasecmp(const char *s1, const char *s2)
s1                933 lib/common/strings.c     while (*s1 && *s2) {
s1                934 lib/common/strings.c         if (isdigit(*s1) && isdigit(*s2)) {
s1                939 lib/common/strings.c             long num1 = strtol(s1, &end1, 10);
s1                943 lib/common/strings.c             size_t len1 = end1 - s1;
s1                955 lib/common/strings.c             s1 = end1;
s1                959 lib/common/strings.c             int lower1 = tolower(*s1);
s1                967 lib/common/strings.c             ++s1;
s1                971 lib/common/strings.c     if (!*s1 && *s2) {
s1                973 lib/common/strings.c     } else if (*s1 && !*s2) {
s1               1009 lib/common/strings.c pcmk__strcmp(const char *s1, const char *s2, uint32_t flags)
s1               1018 lib/common/strings.c         if (s1 == NULL || s2 == NULL) {
s1               1031 lib/common/strings.c             rc = regexec(r_patt, s1, 0, NULL, 0);
s1               1044 lib/common/strings.c     if (s1 == s2) {
s1               1053 lib/common/strings.c         if (s1 == NULL || s2 == NULL) {
s1               1061 lib/common/strings.c     if (s1 == NULL) {
s1               1068 lib/common/strings.c         return strcasecmp(s1, s2);
s1               1070 lib/common/strings.c         return strcmp(s1, s2);
s1                  9 lib/common/tests/strings/pcmk__strcmp_test.c     const char *s1 = "abcd";
s1                 12 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(s1, s1, pcmk__str_none), ==, 0);
s1                 13 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__str_eq(s1, s1, pcmk__str_none), ==, true);
s1                 14 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(s1, s2, pcmk__str_none), !=, 0);
s1                 15 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__str_eq(s1, s2, pcmk__str_none), ==, false);
s1                 21 lib/common/tests/strings/pcmk__strcmp_test.c     const char *s1 = "abcd";
s1                 23 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(s1, NULL, pcmk__str_null_matches), ==, 0);
s1                 24 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__str_eq(s1, NULL, pcmk__str_null_matches), ==, true);
s1                 25 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(NULL, s1, pcmk__str_null_matches), ==, 0);
s1                 26 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(s1, NULL, pcmk__str_none), >, 0);
s1                 27 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__str_eq(s1, NULL, pcmk__str_none), ==, false);
s1                 28 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(NULL, s1, pcmk__str_none), <, 0);
s1                 33 lib/common/tests/strings/pcmk__strcmp_test.c     const char *s1 = "abcd";
s1                 36 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(s1, s2, pcmk__str_none), >, 0);
s1                 37 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__str_eq(s1, s2, pcmk__str_none), ==, false);
s1                 38 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(s2, s1, pcmk__str_none), <, 0);
s1                 43 lib/common/tests/strings/pcmk__strcmp_test.c     const char *s1 = "abcd";
s1                 46 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(s1, s2, pcmk__str_casei), ==, 0);
s1                 47 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__str_eq(s1, s2, pcmk__str_casei), ==, true);
s1                 52 lib/common/tests/strings/pcmk__strcmp_test.c     const char *s1 = "abcd";
s1                 56 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(s1, NULL, pcmk__str_regex), ==, 1);
s1                 57 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(s1, "a..d", pcmk__str_regex), ==, 0);
s1                 58 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__str_eq(s1, "a..d", pcmk__str_regex), ==, true);
s1                 59 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__strcmp(s1, "xxyy", pcmk__str_regex), !=, 0);
s1                 60 lib/common/tests/strings/pcmk__strcmp_test.c     g_assert_cmpint(pcmk__str_eq(s1, "xxyy", pcmk__str_regex), ==, false);
s1                 97 libltdl/libltdl/lt__private.h #define STRNEQ(s1, s2)	(strcmp((s1), (s2)) != 0)
s1                 98 libltdl/libltdl/lt__private.h #define STREQ(s1, s2)	(strcmp((s1), (s2)) == 0)