s2                151 include/crm/common/strings_internal.h int pcmk__strcmp(const char *s1, const char *s2, uint32_t flags);
s2                152 include/crm/common/strings_internal.h int pcmk__numeric_strcasecmp(const char *s1, const char *s2);
s2                174 include/crm/common/strings_internal.h pcmk__str_eq(const char *s1, const char *s2, uint32_t flags)
s2                176 include/crm/common/strings_internal.h     return pcmk__strcmp(s1, s2, flags) == 0;
s2                204 include/crm/common/strings_internal.h #define pcmk__plural_alt(i, s1, s2) (((i) == 1)? (s1) : (s2))
s2               1079 lib/common/strings.c pcmk__numeric_strcasecmp(const char *s1, const char *s2)
s2               1081 lib/common/strings.c     pcmk__assert((s1 != NULL) && (s2 != NULL));
s2               1083 lib/common/strings.c     while (*s1 && *s2) {
s2               1084 lib/common/strings.c         if (isdigit(*s1) && isdigit(*s2)) {
s2               1090 lib/common/strings.c             long num2 = strtol(s2, &end2, 10);
s2               1094 lib/common/strings.c             size_t len2 = end2 - s2;
s2               1106 lib/common/strings.c             s2 = end2;
s2               1110 lib/common/strings.c             int lower2 = tolower(*s2);
s2               1118 lib/common/strings.c             ++s2;
s2               1121 lib/common/strings.c     if (!*s1 && *s2) {
s2               1123 lib/common/strings.c     } else if (*s1 && !*s2) {
s2               1164 lib/common/strings.c pcmk__strcmp(const char *s1, const char *s2, uint32_t flags)
s2               1173 lib/common/strings.c         if (s1 == NULL || s2 == NULL) {
s2               1180 lib/common/strings.c         regcomp_rc = regcomp(&r_patt, s2, reg_flags);
s2               1183 lib/common/strings.c             crm_err("Bad regex '%s' for update: %s", s2, strerror(regcomp_rc));
s2               1195 lib/common/strings.c     if (s1 == s2) {
s2               1204 lib/common/strings.c         if (s1 == NULL || s2 == NULL) {
s2               1214 lib/common/strings.c     } else if (s2 == NULL) {
s2               1223 lib/common/strings.c         if (strcmp(s1, "*") == 0 || strcmp(s2, "*") == 0) {
s2               1229 lib/common/strings.c         return strcasecmp(s1, s2);
s2               1231 lib/common/strings.c         return strcmp(s1, s2);
s2                 17 lib/common/tests/strings/pcmk__strcmp_test.c     const char *s2 = "wxyz";
s2                 21 lib/common/tests/strings/pcmk__strcmp_test.c     assert_int_not_equal(pcmk__strcmp(s1, s2, pcmk__str_none), 0);
s2                 22 lib/common/tests/strings/pcmk__strcmp_test.c     assert_false(pcmk__str_eq(s1, s2, pcmk__str_none));
s2                 41 lib/common/tests/strings/pcmk__strcmp_test.c     const char *s2 = "ABCD";
s2                 43 lib/common/tests/strings/pcmk__strcmp_test.c     assert_true(pcmk__strcmp(s1, s2, pcmk__str_none) > 0);
s2                 44 lib/common/tests/strings/pcmk__strcmp_test.c     assert_false(pcmk__str_eq(s1, s2, pcmk__str_none));
s2                 45 lib/common/tests/strings/pcmk__strcmp_test.c     assert_true(pcmk__strcmp(s2, s1, pcmk__str_none) < 0);
s2                 51 lib/common/tests/strings/pcmk__strcmp_test.c     const char *s2 = "ABCD";
s2                 53 lib/common/tests/strings/pcmk__strcmp_test.c     assert_int_equal(pcmk__strcmp(s1, s2, pcmk__str_casei), 0);
s2                 54 lib/common/tests/strings/pcmk__strcmp_test.c     assert_true(pcmk__str_eq(s1, s2, pcmk__str_casei));
s2                 60 lib/common/tests/strings/pcmk__strcmp_test.c     const char *s2 = "ABCD";
s2                 68 lib/common/tests/strings/pcmk__strcmp_test.c     assert_int_equal(pcmk__strcmp(s2, "a..d", pcmk__str_regex|pcmk__str_casei), 0);
s2                 69 lib/common/tests/strings/pcmk__strcmp_test.c     assert_true(pcmk__str_eq(s2, "a..d", pcmk__str_regex|pcmk__str_casei));
s2                 70 lib/common/tests/strings/pcmk__strcmp_test.c     assert_int_not_equal(pcmk__strcmp(s2, "a..d", pcmk__str_regex), 0);
s2                 71 lib/common/tests/strings/pcmk__strcmp_test.c     assert_false(pcmk__str_eq(s2, "a..d", pcmk__str_regex));
s2                 72 lib/common/tests/strings/pcmk__strcmp_test.c     assert_true(pcmk__strcmp(s2, "*ab", pcmk__str_regex) > 0);
s2                 97 libltdl/libltdl/lt__private.h #define STRNEQ(s1, s2)	(strcmp((s1), (s2)) != 0)
s2                 98 libltdl/libltdl/lt__private.h #define STREQ(s1, s2)	(strcmp((s1), (s2)) == 0)