s2 142 include/crm/common/strings_internal.h int pcmk__strcmp(const char *s1, const char *s2, uint32_t flags); s2 143 include/crm/common/strings_internal.h int pcmk__numeric_strcasecmp(const char *s1, const char *s2); s2 148 include/crm/common/strings_internal.h pcmk__str_eq(const char *s1, const char *s2, uint32_t flags) s2 150 include/crm/common/strings_internal.h return pcmk__strcmp(s1, s2, flags) == 0; s2 178 include/crm/common/strings_internal.h #define pcmk__plural_alt(i, s1, s2) (((i) == 1)? (s1) : (s2)) s2 135 include/crm/common/util_compat.h int pcmk_numeric_strcasecmp(const char *s1, const char *s2); s2 1023 lib/common/strings.c pcmk__numeric_strcasecmp(const char *s1, const char *s2) s2 1025 lib/common/strings.c CRM_ASSERT((s1 != NULL) && (s2 != NULL)); s2 1027 lib/common/strings.c while (*s1 && *s2) { s2 1028 lib/common/strings.c if (isdigit(*s1) && isdigit(*s2)) { s2 1034 lib/common/strings.c long num2 = strtol(s2, &end2, 10); s2 1038 lib/common/strings.c size_t len2 = end2 - s2; s2 1050 lib/common/strings.c s2 = end2; s2 1054 lib/common/strings.c int lower2 = tolower(*s2); s2 1062 lib/common/strings.c ++s2; s2 1065 lib/common/strings.c if (!*s1 && *s2) { s2 1067 lib/common/strings.c } else if (*s1 && !*s2) { s2 1108 lib/common/strings.c pcmk__strcmp(const char *s1, const char *s2, uint32_t flags) s2 1117 lib/common/strings.c if (s1 == NULL || s2 == NULL) { s2 1124 lib/common/strings.c regcomp_rc = regcomp(&r_patt, s2, reg_flags); s2 1127 lib/common/strings.c crm_err("Bad regex '%s' for update: %s", s2, strerror(regcomp_rc)); s2 1139 lib/common/strings.c if (s1 == s2) { s2 1148 lib/common/strings.c if (s1 == NULL || s2 == NULL) { s2 1158 lib/common/strings.c } else if (s2 == NULL) { s2 1167 lib/common/strings.c if (strcmp(s1, "*") == 0 || strcmp(s2, "*") == 0) { s2 1173 lib/common/strings.c return strcasecmp(s1, s2); s2 1175 lib/common/strings.c return strcmp(s1, s2); s2 1357 lib/common/strings.c pcmk_numeric_strcasecmp(const char *s1, const char *s2) s2 1359 lib/common/strings.c return pcmk__numeric_strcasecmp(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) s2 42 maint/gnulib/lib/c-strcase.h extern int c_strcasecmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE; s2 47 maint/gnulib/lib/c-strcase.h extern int c_strncasecmp (const char *s1, const char *s2, size_t n) s2 27 maint/gnulib/lib/c-strcasecmp.c c_strcasecmp (const char *s1, const char *s2) s2 30 maint/gnulib/lib/c-strcasecmp.c register const unsigned char *p2 = (const unsigned char *) s2; s2 42 maint/gnulib/lib/c-strcaseeq.h strcaseeq9 (const char *s1, const char *s2) s2 44 maint/gnulib/lib/c-strcaseeq.h return c_strcasecmp (s1 + 9, s2 + 9) == 0; s2 48 maint/gnulib/lib/c-strcaseeq.h strcaseeq8 (const char *s1, const char *s2, char s28) s2 55 maint/gnulib/lib/c-strcaseeq.h return strcaseeq9 (s1, s2); s2 62 maint/gnulib/lib/c-strcaseeq.h strcaseeq7 (const char *s1, const char *s2, char s27, char s28) s2 69 maint/gnulib/lib/c-strcaseeq.h return strcaseeq8 (s1, s2, s28); s2 76 maint/gnulib/lib/c-strcaseeq.h strcaseeq6 (const char *s1, const char *s2, char s26, char s27, char s28) s2 83 maint/gnulib/lib/c-strcaseeq.h return strcaseeq7 (s1, s2, s27, s28); s2 90 maint/gnulib/lib/c-strcaseeq.h strcaseeq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) s2 97 maint/gnulib/lib/c-strcaseeq.h return strcaseeq6 (s1, s2, s26, s27, s28); s2 104 maint/gnulib/lib/c-strcaseeq.h strcaseeq4 (const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) s2 111 maint/gnulib/lib/c-strcaseeq.h return strcaseeq5 (s1, s2, s25, s26, s27, s28); s2 118 maint/gnulib/lib/c-strcaseeq.h strcaseeq3 (const char *s1, const char *s2, char s23, char s24, char s25, char s26, char s27, char s28) s2 125 maint/gnulib/lib/c-strcaseeq.h return strcaseeq4 (s1, s2, s24, s25, s26, s27, s28); s2 132 maint/gnulib/lib/c-strcaseeq.h strcaseeq2 (const char *s1, const char *s2, char s22, char s23, char s24, char s25, char s26, char s27, char s28) s2 139 maint/gnulib/lib/c-strcaseeq.h return strcaseeq3 (s1, s2, s23, s24, s25, s26, s27, s28); s2 146 maint/gnulib/lib/c-strcaseeq.h strcaseeq1 (const char *s1, const char *s2, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) s2 153 maint/gnulib/lib/c-strcaseeq.h return strcaseeq2 (s1, s2, s22, s23, s24, s25, s26, s27, s28); s2 160 maint/gnulib/lib/c-strcaseeq.h strcaseeq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) s2 167 maint/gnulib/lib/c-strcaseeq.h return strcaseeq1 (s1, s2, s21, s22, s23, s24, s25, s26, s27, s28); s2 173 maint/gnulib/lib/c-strcaseeq.h #define STRCASEEQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ s2 174 maint/gnulib/lib/c-strcaseeq.h strcaseeq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28) s2 178 maint/gnulib/lib/c-strcaseeq.h #define STRCASEEQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ s2 179 maint/gnulib/lib/c-strcaseeq.h (c_strcasecmp (s1, s2) == 0) s2 27 maint/gnulib/lib/c-strncasecmp.c c_strncasecmp (const char *s1, const char *s2, size_t n) s2 30 maint/gnulib/lib/c-strncasecmp.c register const unsigned char *p2 = (const unsigned char *) s2; s2 115 maint/gnulib/lib/clean-temp-simple.c const char *s2 = (const char *) x2; s2 116 maint/gnulib/lib/clean-temp-simple.c return strcmp (s1, s2) == 0; s2 779 maint/gnulib/lib/dfa.c equal (charclass const *s1, charclass const *s2) s2 783 maint/gnulib/lib/dfa.c w |= s1->w[i] ^ s2->w[i]; s2 2064 maint/gnulib/lib/dfa.c merge_constrained (position_set const *s1, position_set const *s2, s2 2069 maint/gnulib/lib/dfa.c if (m->alloc - s1->nelem < s2->nelem) s2 2073 maint/gnulib/lib/dfa.c m->elems = xpalloc (NULL, &m->alloc, s2->nelem, -1, sizeof *m->elems); s2 2076 maint/gnulib/lib/dfa.c while (i < s1->nelem || j < s2->nelem) s2 2077 maint/gnulib/lib/dfa.c if (! (j < s2->nelem) s2 2078 maint/gnulib/lib/dfa.c || (i < s1->nelem && s1->elems[i].index <= s2->elems[j].index)) s2 2080 maint/gnulib/lib/dfa.c unsigned int c = ((i < s1->nelem && j < s2->nelem s2 2081 maint/gnulib/lib/dfa.c && s1->elems[i].index == s2->elems[j].index) s2 2082 maint/gnulib/lib/dfa.c ? s2->elems[j++].constraint & c2 s2 2089 maint/gnulib/lib/dfa.c if (s2->elems[j].constraint & c2) s2 2091 maint/gnulib/lib/dfa.c m->elems[m->nelem].index = s2->elems[j].index; s2 2092 maint/gnulib/lib/dfa.c m->elems[m->nelem++].constraint = s2->elems[j].constraint & c2; s2 2101 maint/gnulib/lib/dfa.c merge (position_set const *s1, position_set const *s2, position_set *m) s2 2103 maint/gnulib/lib/dfa.c merge_constrained (s1, s2, -1, m); s2 3295 maint/gnulib/lib/dfa.c state_num s2 = state_index (d, &d->mb_follows, separate_contexts ^ CTX_ANY); s2 3298 maint/gnulib/lib/dfa.c d->mb_trans[s][d->states[s1].mb_trindex] = s2; s2 3300 maint/gnulib/lib/dfa.c return s2; s2 84 maint/gnulib/lib/filevercmp.c verrevcmp (const char *s1, size_t s1_len, const char *s2, size_t s2_len) s2 92 maint/gnulib/lib/filevercmp.c || (s2_pos < s2_len && !c_isdigit (s2[s2_pos]))) s2 95 maint/gnulib/lib/filevercmp.c int s2_c = (s2_pos == s2_len) ? 0 : order (s2[s2_pos]); s2 103 maint/gnulib/lib/filevercmp.c while (s2[s2_pos] == '0') s2 105 maint/gnulib/lib/filevercmp.c while (c_isdigit (s1[s1_pos]) && c_isdigit (s2[s2_pos])) s2 108 maint/gnulib/lib/filevercmp.c first_diff = s1[s1_pos] - s2[s2_pos]; s2 114 maint/gnulib/lib/filevercmp.c if (c_isdigit (s2[s2_pos])) s2 125 maint/gnulib/lib/filevercmp.c filevercmp (const char *s1, const char *s2) s2 134 maint/gnulib/lib/filevercmp.c int simple_cmp = strcmp (s1, s2); s2 141 maint/gnulib/lib/filevercmp.c if (!*s2) s2 145 maint/gnulib/lib/filevercmp.c if (0 == strcmp (".", s2)) s2 149 maint/gnulib/lib/filevercmp.c if (0 == strcmp ("..", s2)) s2 153 maint/gnulib/lib/filevercmp.c if (*s1 == '.' && *s2 != '.') s2 155 maint/gnulib/lib/filevercmp.c if (*s1 != '.' && *s2 == '.') s2 157 maint/gnulib/lib/filevercmp.c if (*s1 == '.' && *s2 == '.') s2 160 maint/gnulib/lib/filevercmp.c s2++; s2 165 maint/gnulib/lib/filevercmp.c s2_pos = s2; s2 169 maint/gnulib/lib/filevercmp.c s2_len = (s2_suffix ? s2_suffix : s2_pos) - s2; s2 173 maint/gnulib/lib/filevercmp.c && 0 == strncmp (s1, s2, s1_len)) s2 176 maint/gnulib/lib/filevercmp.c s2_len = s2_pos - s2; s2 179 maint/gnulib/lib/filevercmp.c result = verrevcmp (s1, s1_len, s2, s2_len); s2 40 maint/gnulib/lib/filevercmp.h int filevercmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE; s2 31 maint/gnulib/lib/fstrcmp.h extern double fstrcmp (const char *s1, const char *s2); s2 35 maint/gnulib/lib/fstrcmp.h extern double fstrcmp_bounded (const char *s1, const char *s2, s2 39 maint/gnulib/lib/fstrcmp.h #define fstrcmp(s1,s2) fstrcmp_bounded (s1, s2, 0.0) s2 1209 maint/gnulib/lib/glob.c char *const *ps2 = b; char *s2 = *ps2; s2 1211 maint/gnulib/lib/glob.c if (s1 == s2) s2 1215 maint/gnulib/lib/glob.c if (s2 == NULL) s2 1217 maint/gnulib/lib/glob.c return strcoll (s1, s2); s2 33 maint/gnulib/lib/mbmemcasecmp.c mbmemcasecmp (const char *s1, size_t n1, const char *s2, size_t n2) s2 35 maint/gnulib/lib/mbmemcasecmp.c if (s1 == s2) s2 44 maint/gnulib/lib/mbmemcasecmp.c mbi_init (iter2, s2, n2); s2 67 maint/gnulib/lib/mbmemcasecmp.c const unsigned char *s2_end = (const unsigned char *) (s2 + n2); s2 69 maint/gnulib/lib/mbmemcasecmp.c const unsigned char *p2 = (const unsigned char *) s2; s2 38 maint/gnulib/lib/mbmemcasecmp.h extern int mbmemcasecmp (const char *s1, size_t n1, const char *s2, size_t n2); s2 129 maint/gnulib/lib/mbmemcasecoll.c mbmemcasecoll (const char *s1, size_t s1len, const char *s2, size_t s2len, s2 166 maint/gnulib/lib/mbmemcasecoll.c t2len = apply_towlower (s2, s2len, t2, t2len); s2 171 maint/gnulib/lib/mbmemcasecoll.c apply_tolower (s2, t2, s2len); s2 50 maint/gnulib/lib/mbmemcasecoll.h const char *s2, size_t s2len, s2 37 maint/gnulib/lib/mbscasecmp.c mbscasecmp (const char *s1, const char *s2) s2 39 maint/gnulib/lib/mbscasecmp.c if (s1 == s2) s2 51 maint/gnulib/lib/mbscasecmp.c mbui_init (iter2, s2); s2 74 maint/gnulib/lib/mbscasecmp.c const unsigned char *p2 = (const unsigned char *) s2; s2 39 maint/gnulib/lib/mbsncasecmp.c mbsncasecmp (const char *s1, const char *s2, size_t n) s2 41 maint/gnulib/lib/mbsncasecmp.c if (s1 == s2 || n == 0) s2 53 maint/gnulib/lib/mbsncasecmp.c mbui_init (iter2, s2); s2 79 maint/gnulib/lib/mbsncasecmp.c const unsigned char *p2 = (const unsigned char *) s2; s2 36 maint/gnulib/lib/memcasecmp.c char const *s2 = vs2; s2 40 maint/gnulib/lib/memcasecmp.c unsigned char u2 = s2[i]; s2 303 maint/gnulib/lib/memcmp.c rpl_memcmp (const void *s1, const void *s2, size_t len) s2 308 maint/gnulib/lib/memcmp.c uintptr_t srcp2 = (uintptr_t) s2; s2 25 maint/gnulib/lib/memcmp2.c memcmp2 (const char *s1, size_t n1, const char *s2, size_t n2) s2 27 maint/gnulib/lib/memcmp2.c int cmp = memcmp (s1, s2, n1 <= n2 ? n1 : n2); s2 32 maint/gnulib/lib/memcmp2.h extern int memcmp2 (const char *s1, size_t n1, const char *s2, size_t n2) s2 35 maint/gnulib/lib/memcoll.c strcoll_loop (char const *s1, size_t s1size, char const *s2, size_t s2size) s2 39 maint/gnulib/lib/memcoll.c while (! (errno = 0, (diff = strcoll (s1, s2)) || errno)) s2 45 maint/gnulib/lib/memcoll.c size_t size2 = strlen (s2) + 1; s2 47 maint/gnulib/lib/memcoll.c s2 += size2; s2 66 maint/gnulib/lib/memcoll.c memcoll (char *s1, size_t s1len, char *s2, size_t s2len) s2 74 maint/gnulib/lib/memcoll.c if (s1len == s2len && memcmp (s1, s2, s1len) == 0) s2 82 maint/gnulib/lib/memcoll.c char n2 = s2[s2len]; s2 85 maint/gnulib/lib/memcoll.c s2[s2len] = '\0'; s2 87 maint/gnulib/lib/memcoll.c diff = strcoll_loop (s1, s1len + 1, s2, s2len + 1); s2 90 maint/gnulib/lib/memcoll.c s2[s2len] = n2; s2 102 maint/gnulib/lib/memcoll.c memcoll0 (char const *s1, size_t s1size, char const *s2, size_t s2size) s2 104 maint/gnulib/lib/memcoll.c if (s1size == s2size && memcmp (s1, s2, s1size) == 0) s2 110 maint/gnulib/lib/memcoll.c return strcoll_loop (s1, s1size, s2, s2size); s2 468 maint/gnulib/lib/progreloc.c const char *s2 = exeext; s2 469 maint/gnulib/lib/progreloc.c for (; *s1 != '\0'; s1++, s2++) s2 472 maint/gnulib/lib/progreloc.c unsigned char c2 = *s2; s2 58 maint/gnulib/lib/regex.c # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ s2 59 maint/gnulib/lib/regex.c __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop) s2 112 maint/gnulib/lib/relocwrapper.c const char *s2 = exeext; s2 113 maint/gnulib/lib/relocwrapper.c for (; *s1 != '\0'; s1++, s2++) s2 116 maint/gnulib/lib/relocwrapper.c unsigned char c2 = *s2; s2 905 maint/gnulib/lib/rijndael-alg-fst.c uint32_t s0, s1, s2, s3, t0, t1, t2, t3; s2 914 maint/gnulib/lib/rijndael-alg-fst.c s2 = GETU32 (pt + 8) ^ rk[2]; s2 925 maint/gnulib/lib/rijndael-alg-fst.c Te2[(s2 >> 8) & 0xff] ^ Te3[(s3) & 0xff] ^ rk[4]; s2 928 maint/gnulib/lib/rijndael-alg-fst.c Te1[(s2 >> 16) & 0xff] ^ s2 931 maint/gnulib/lib/rijndael-alg-fst.c Te0[(s2 >> 24)] ^ s2 937 maint/gnulib/lib/rijndael-alg-fst.c Te2[(s1 >> 8) & 0xff] ^ Te3[(s2) & 0xff] ^ rk[7]; s2 953 maint/gnulib/lib/rijndael-alg-fst.c s2 = s2 978 maint/gnulib/lib/rijndael-alg-fst.c s2 = s2 983 maint/gnulib/lib/rijndael-alg-fst.c PUTU32 (ct + 8, s2); s2 996 maint/gnulib/lib/rijndael-alg-fst.c uint32_t s0, s1, s2, s3, t0, t1, t2, t3; s2 1005 maint/gnulib/lib/rijndael-alg-fst.c s2 = GETU32 (ct + 8) ^ rk[2]; s2 1016 maint/gnulib/lib/rijndael-alg-fst.c Td2[(s2 >> 8) & 0xff] ^ Td3[(s1) & 0xff] ^ rk[4]; s2 1020 maint/gnulib/lib/rijndael-alg-fst.c Td2[(s3 >> 8) & 0xff] ^ Td3[(s2) & 0xff] ^ rk[5]; s2 1022 maint/gnulib/lib/rijndael-alg-fst.c Td0[(s2 >> 24)] ^ s2 1027 maint/gnulib/lib/rijndael-alg-fst.c Td1[(s2 >> 16) & 0xff] ^ s2 1044 maint/gnulib/lib/rijndael-alg-fst.c s2 = s2 1069 maint/gnulib/lib/rijndael-alg-fst.c s2 = s2 1074 maint/gnulib/lib/rijndael-alg-fst.c PUTU32 (pt + 8, s2); s2 33 maint/gnulib/lib/strcasecmp.c strcasecmp (const char *s1, const char *s2) s2 36 maint/gnulib/lib/strcasecmp.c const unsigned char *p2 = (const unsigned char *) s2; s2 35 maint/gnulib/lib/streq.h streq9 (const char *s1, const char *s2) s2 37 maint/gnulib/lib/streq.h return strcmp (s1 + 9, s2 + 9) == 0; s2 41 maint/gnulib/lib/streq.h streq8 (const char *s1, const char *s2, char s28) s2 48 maint/gnulib/lib/streq.h return streq9 (s1, s2); s2 55 maint/gnulib/lib/streq.h streq7 (const char *s1, const char *s2, char s27, char s28) s2 62 maint/gnulib/lib/streq.h return streq8 (s1, s2, s28); s2 69 maint/gnulib/lib/streq.h streq6 (const char *s1, const char *s2, char s26, char s27, char s28) s2 76 maint/gnulib/lib/streq.h return streq7 (s1, s2, s27, s28); s2 83 maint/gnulib/lib/streq.h streq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) s2 90 maint/gnulib/lib/streq.h return streq6 (s1, s2, s26, s27, s28); s2 97 maint/gnulib/lib/streq.h streq4 (const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) s2 104 maint/gnulib/lib/streq.h return streq5 (s1, s2, s25, s26, s27, s28); s2 111 maint/gnulib/lib/streq.h streq3 (const char *s1, const char *s2, char s23, char s24, char s25, char s26, char s27, char s28) s2 118 maint/gnulib/lib/streq.h return streq4 (s1, s2, s24, s25, s26, s27, s28); s2 125 maint/gnulib/lib/streq.h streq2 (const char *s1, const char *s2, char s22, char s23, char s24, char s25, char s26, char s27, char s28) s2 132 maint/gnulib/lib/streq.h return streq3 (s1, s2, s23, s24, s25, s26, s27, s28); s2 139 maint/gnulib/lib/streq.h streq1 (const char *s1, const char *s2, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) s2 146 maint/gnulib/lib/streq.h return streq2 (s1, s2, s22, s23, s24, s25, s26, s27, s28); s2 153 maint/gnulib/lib/streq.h streq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) s2 160 maint/gnulib/lib/streq.h return streq1 (s1, s2, s21, s22, s23, s24, s25, s26, s27, s28); s2 166 maint/gnulib/lib/streq.h #define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ s2 167 maint/gnulib/lib/streq.h streq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28) s2 171 maint/gnulib/lib/streq.h #define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ s2 172 maint/gnulib/lib/streq.h (strcmp (s1, s2) == 0) s2 964 maint/gnulib/lib/string.in.h _GL_EXTERN_C int mbscasecmp (const char *s1, const char *s2) s2 979 maint/gnulib/lib/string.in.h _GL_EXTERN_C int mbsncasecmp (const char *s1, const char *s2, size_t n) s2 75 maint/gnulib/lib/strings.in.h extern int strcasecmp (char const *s1, char const *s2) s2 98 maint/gnulib/lib/strings.in.h extern int strncasecmp (char const *s1, char const *s2, size_t n) s2 33 maint/gnulib/lib/strncasecmp.c strncasecmp (const char *s1, const char *s2, size_t n) s2 36 maint/gnulib/lib/strncasecmp.c register const unsigned char *p2 = (const unsigned char *) s2; s2 46 maint/gnulib/lib/strptime.c # define match_string(cs1, s2) \ s2 48 maint/gnulib/lib/strptime.c int result = __strncasecmp_l ((cs1), (s2), len, locale) == 0; \ s2 49 maint/gnulib/lib/strptime.c if (result) (s2) += len; \ s2 53 maint/gnulib/lib/strptime.c # define match_string(cs1, s2) \ s2 54 maint/gnulib/lib/strptime.c (strncasecmp ((cs1), (s2), strlen (cs1)) ? 0 : ((s2) += strlen (cs1), 1)) s2 124 maint/gnulib/lib/strptime.c # define strncasecmp(s1, s2, n) __strncasecmp (s1, s2, n) s2 47 maint/gnulib/lib/strverscmp.c __strverscmp (const char *s1, const char *s2) s2 50 maint/gnulib/lib/strverscmp.c const unsigned char *p2 = (const unsigned char *) s2; s2 326 maint/gnulib/lib/unicase.in.h const uint8_t *s2, size_t n2, s2 330 maint/gnulib/lib/unicase.in.h const uint16_t *s2, size_t n2, s2 334 maint/gnulib/lib/unicase.in.h const uint32_t *s2, size_t n2, s2 338 maint/gnulib/lib/unicase.in.h const char *s2, size_t n2, s2 371 maint/gnulib/lib/unicase.in.h const uint8_t *s2, size_t n2, s2 375 maint/gnulib/lib/unicase.in.h const uint16_t *s2, size_t n2, s2 379 maint/gnulib/lib/unicase.in.h const uint32_t *s2, size_t n2, s2 383 maint/gnulib/lib/unicase.in.h const char *s2, size_t n2, s2 27 maint/gnulib/lib/unicase/u-casecmp.h FUNC (const SRC_UNIT *s1, size_t n1, const SRC_UNIT *s2, size_t n2, s2 52 maint/gnulib/lib/unicase/u-casecmp.h norms2 = U_CASEFOLD (s2, n2, iso639_language, nf, buf2, &norms2_length); s2 28 maint/gnulib/lib/unicase/u-casecoll.h FUNC (const UNIT *s1, size_t n1, const UNIT *s2, size_t n2, s2 50 maint/gnulib/lib/unicase/u-casecoll.h U_CASEXFRM (s2, n2, iso639_language, nf, buf2, &transformed2_length); s2 122 maint/gnulib/lib/unicase/u-casemap.h const UNIT *s2 = s + count; s2 125 maint/gnulib/lib/unicase/u-casemap.h if (s2 < s_end) s2 128 maint/gnulib/lib/unicase/u-casemap.h int count2 = U_MBTOUC_UNSAFE (&uc2, s2, s_end - s2); s2 138 maint/gnulib/lib/unicase/u-casemap.h s2 += count2; s2 163 maint/gnulib/lib/unicase/u-casemap.h const UNIT *s2 = s + count; s2 167 maint/gnulib/lib/unicase/u-casemap.h if (s2 < s_end) s2 170 maint/gnulib/lib/unicase/u-casemap.h int count2 = U_MBTOUC_UNSAFE (&uc2, s2, s_end - s2); s2 179 maint/gnulib/lib/unicase/u-casemap.h s2 += count2; s2 198 maint/gnulib/lib/unicase/u-casemap.h const UNIT *s2 = s + count; s2 202 maint/gnulib/lib/unicase/u-casemap.h if (s2 < s_end) s2 205 maint/gnulib/lib/unicase/u-casemap.h int count2 = U_MBTOUC_UNSAFE (&uc2, s2, s_end - s2); s2 216 maint/gnulib/lib/unicase/u-casemap.h s2 += count2; s2 198 maint/gnulib/lib/unicase/u-ct-totitle.h const UNIT *s2 = s + count; s2 201 maint/gnulib/lib/unicase/u-ct-totitle.h if (s2 < s_end) s2 204 maint/gnulib/lib/unicase/u-ct-totitle.h int count2 = U_MBTOUC_UNSAFE (&uc2, s2, s_end - s2); s2 214 maint/gnulib/lib/unicase/u-ct-totitle.h s2 += count2; s2 239 maint/gnulib/lib/unicase/u-ct-totitle.h const UNIT *s2 = s + count; s2 243 maint/gnulib/lib/unicase/u-ct-totitle.h if (s2 < s_end) s2 246 maint/gnulib/lib/unicase/u-ct-totitle.h int count2 = U_MBTOUC_UNSAFE (&uc2, s2, s_end - s2); s2 255 maint/gnulib/lib/unicase/u-ct-totitle.h s2 += count2; s2 274 maint/gnulib/lib/unicase/u-ct-totitle.h const UNIT *s2 = s + count; s2 278 maint/gnulib/lib/unicase/u-ct-totitle.h if (s2 < s_end) s2 281 maint/gnulib/lib/unicase/u-ct-totitle.h int count2 = U_MBTOUC_UNSAFE (&uc2, s2, s_end - s2); s2 292 maint/gnulib/lib/unicase/u-ct-totitle.h s2 += count2; s2 160 maint/gnulib/lib/uninorm.in.h u8_normcmp (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2, s2 163 maint/gnulib/lib/uninorm.in.h u16_normcmp (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2, s2 166 maint/gnulib/lib/uninorm.in.h u32_normcmp (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2, s2 191 maint/gnulib/lib/uninorm.in.h u8_normcoll (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2, s2 194 maint/gnulib/lib/uninorm.in.h u16_normcoll (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2, s2 197 maint/gnulib/lib/uninorm.in.h u32_normcoll (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2, s2 27 maint/gnulib/lib/uninorm/u-normcmp.h FUNC (const UNIT *s1, size_t n1, const UNIT *s2, size_t n2, s2 47 maint/gnulib/lib/uninorm/u-normcmp.h norms2 = U_NORMALIZE (nf, s2, n2, buf2, &norms2_length); s2 27 maint/gnulib/lib/uninorm/u-normcoll.h FUNC (const UNIT *s1, size_t n1, const UNIT *s2, size_t n2, s2 47 maint/gnulib/lib/uninorm/u-normcoll.h transformed2 = U_NORMXFRM (s2, n2, nf, buf2, &transformed2_length); s2 406 maint/gnulib/lib/unistr.in.h u8_cmp (const uint8_t *s1, const uint8_t *s2, size_t n) s2 409 maint/gnulib/lib/unistr.in.h u16_cmp (const uint16_t *s1, const uint16_t *s2, size_t n) s2 412 maint/gnulib/lib/unistr.in.h u32_cmp (const uint32_t *s1, const uint32_t *s2, size_t n) s2 418 maint/gnulib/lib/unistr.in.h u8_cmp2 (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2) s2 421 maint/gnulib/lib/unistr.in.h u16_cmp2 (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2) s2 424 maint/gnulib/lib/unistr.in.h u32_cmp2 (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2) s2 589 maint/gnulib/lib/unistr.in.h u8_strcmp_gnu (const uint8_t *s1, const uint8_t *s2) s2 594 maint/gnulib/lib/unistr.in.h u8_strcmp (const uint8_t *s1, const uint8_t *s2) s2 598 maint/gnulib/lib/unistr.in.h u16_strcmp (const uint16_t *s1, const uint16_t *s2) s2 601 maint/gnulib/lib/unistr.in.h u32_strcmp (const uint32_t *s1, const uint32_t *s2) s2 609 maint/gnulib/lib/unistr.in.h u8_strcoll (const uint8_t *s1, const uint8_t *s2); s2 611 maint/gnulib/lib/unistr.in.h u16_strcoll (const uint16_t *s1, const uint16_t *s2); s2 613 maint/gnulib/lib/unistr.in.h u32_strcoll (const uint32_t *s1, const uint32_t *s2); s2 618 maint/gnulib/lib/unistr.in.h u8_strncmp (const uint8_t *s1, const uint8_t *s2, size_t n) s2 621 maint/gnulib/lib/unistr.in.h u16_strncmp (const uint16_t *s1, const uint16_t *s2, size_t n) s2 624 maint/gnulib/lib/unistr.in.h u32_strncmp (const uint32_t *s1, const uint32_t *s2, size_t n) s2 27 maint/gnulib/lib/unistr/u-cmp2.h FUNC (const UNIT *s1, size_t n1, const UNIT *s2, size_t n2) s2 29 maint/gnulib/lib/unistr/u-cmp2.h int cmp = U_CMP (s1, s2, MIN (n1, n2)); s2 28 maint/gnulib/lib/unistr/u-strcoll.h FUNC (const UNIT *s1, const UNIT *s2) s2 46 maint/gnulib/lib/unistr/u-strcoll.h sl2 = U_STRCONV_TO_ENCODING (s2, encoding, iconveh_error); s2 62 maint/gnulib/lib/unistr/u-strcoll.h result = U_STRCMP (s1, s2); s2 70 maint/gnulib/lib/unistr/u-strcoll.h result = U_STRCMP (s1, s2); s2 84 maint/gnulib/lib/unistr/u-strcoll.h sl2 = U_STRCONV_TO_ENCODING (s2, encoding, iconveh_error); s2 94 maint/gnulib/lib/unistr/u-strcoll.h result = U_STRCMP (s1, s2); s2 32 maint/gnulib/lib/unistr/u16-cmp.c u16_cmp (const uint16_t *s1, const uint16_t *s2, size_t n) s2 40 maint/gnulib/lib/unistr/u16-cmp.c uint16_t c2 = *s2++; s2 32 maint/gnulib/lib/unistr/u16-strcmp.c u16_strcmp (const uint16_t *s1, const uint16_t *s2) s2 40 maint/gnulib/lib/unistr/u16-strcmp.c uint16_t c2 = *s2++; s2 32 maint/gnulib/lib/unistr/u16-strncmp.c u16_strncmp (const uint16_t *s1, const uint16_t *s2, size_t n) s2 40 maint/gnulib/lib/unistr/u16-strncmp.c uint16_t c2 = *s2++; s2 32 maint/gnulib/lib/unistr/u32-cmp.c u32_cmp (const uint32_t *s1, const uint32_t *s2, size_t n) s2 37 maint/gnulib/lib/unistr/u32-cmp.c uint32_t uc2 = *s2++; s2 32 maint/gnulib/lib/unistr/u32-strcmp.c u32_strcmp (const uint32_t *s1, const uint32_t *s2) s2 37 maint/gnulib/lib/unistr/u32-strcmp.c uint32_t uc2 = *s2++; s2 32 maint/gnulib/lib/unistr/u32-strncmp.c u32_strncmp (const uint32_t *s1, const uint32_t *s2, size_t n) s2 37 maint/gnulib/lib/unistr/u32-strncmp.c uint32_t uc2 = *s2++; s2 124 maint/gnulib/lib/unistr/u8-chr.c uint8_t s2 = s[2]; s2 125 maint/gnulib/lib/unistr/u8-chr.c if (s2 == c2) s2 137 maint/gnulib/lib/unistr/u8-chr.c if (s2 == c1) s2 139 maint/gnulib/lib/unistr/u8-chr.c else if (s2 == c0) s2 34 maint/gnulib/lib/unistr/u8-cmp.c u8_cmp (const uint8_t *s1, const uint8_t *s2, size_t n) s2 37 maint/gnulib/lib/unistr/u8-cmp.c return n == 0 ? 0 : memcmp ((const char *) s1, (const char *) s2, n); s2 123 maint/gnulib/lib/unistr/u8-strchr.c uint8_t s2 = s[2]; s2 129 maint/gnulib/lib/unistr/u8-strchr.c if (s2 == c2) s2 144 maint/gnulib/lib/unistr/u8-strchr.c if (s2 == c1) s2 146 maint/gnulib/lib/unistr/u8-strchr.c else if (s2 == c0) s2 156 maint/gnulib/lib/unistr/u8-strchr.c s2 = s[2]; s2 161 maint/gnulib/lib/unistr/u8-strchr.c s2 = s[2]; s2 166 maint/gnulib/lib/unistr/u8-strchr.c s2 = s[2]; s2 34 maint/gnulib/lib/unistr/u8-strcmp.c u8_strcmp (const uint8_t *s1, const uint8_t *s2) s2 37 maint/gnulib/lib/unistr/u8-strcmp.c return strcmp ((const char *) s1, (const char *) s2); s2 34 maint/gnulib/lib/unistr/u8-strncmp.c u8_strncmp (const uint8_t *s1, const uint8_t *s2, size_t n) s2 37 maint/gnulib/lib/unistr/u8-strncmp.c return strncmp ((const char *) s1, (const char *) s2, n); s2 597 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n) s2 601 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n)); s2 859 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2) s2 862 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2)); s2 879 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n) s2 883 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n)); s2 899 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2) s2 902 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2)); s2 917 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n) s2 921 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n)); s2 936 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2)); s2 938 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2)); s2 957 maint/gnulib/lib/wchar.in.h (wchar_t *restrict s1, const wchar_t *restrict s2, size_t n)); s2 960 maint/gnulib/lib/wchar.in.h (wchar_t *restrict s1, const wchar_t *restrict s2, size_t n)); s2 19 maint/gnulib/lib/wcscasecmp-impl.h wcscasecmp (const wchar_t *s1, const wchar_t *s2) s2 24 maint/gnulib/lib/wcscasecmp-impl.h wchar_t wc2 = towlower (*s2++); s2 19 maint/gnulib/lib/wcscmp-impl.h wcscmp (const wchar_t *s1, const wchar_t *s2) s2 24 maint/gnulib/lib/wcscmp-impl.h wchar_t wc2 = *s2++; s2 19 maint/gnulib/lib/wcscoll-impl.h wcscoll (const wchar_t *s1, const wchar_t *s2) s2 56 maint/gnulib/lib/wcscoll-impl.h ret = wcstombs (mbbuf2, s2, sizeof (mbbuf2)); s2 63 maint/gnulib/lib/wcscoll-impl.h size_t need = wcstombs (NULL, s2, 0); s2 69 maint/gnulib/lib/wcscoll-impl.h ret = wcstombs (mbs2, s2, need + 1); s2 19 maint/gnulib/lib/wcsncasecmp-impl.h wcsncasecmp (const wchar_t *s1, const wchar_t *s2, size_t n) s2 24 maint/gnulib/lib/wcsncasecmp-impl.h wchar_t wc2 = towlower (*s2++); s2 19 maint/gnulib/lib/wcsncmp-impl.h wcsncmp (const wchar_t *s1, const wchar_t *s2, size_t n) s2 24 maint/gnulib/lib/wcsncmp-impl.h wchar_t wc2 = *s2++; s2 19 maint/gnulib/lib/wcsxfrm-impl.h wcsxfrm (wchar_t *s1, const wchar_t *s2, size_t n) s2 32 maint/gnulib/lib/wcsxfrm-impl.h ret = wcstombs (mbbuf2, s2, sizeof (mbbuf2)); s2 39 maint/gnulib/lib/wcsxfrm-impl.h size_t need = wcstombs (NULL, s2, 0); s2 45 maint/gnulib/lib/wcsxfrm-impl.h ret = wcstombs (mbs2, s2, need + 1); s2 19 maint/gnulib/lib/wmemcmp-impl.h wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n) s2 24 maint/gnulib/lib/wmemcmp-impl.h wchar_t wc2 = *s2++; s2 37 maint/gnulib/lib/xmemcoll.c char const *s2, size_t s2len) s2 44 maint/gnulib/lib/xmemcoll.c quotearg_n_style_mem (1, locale_quoting_style, s2, s2len)); s2 54 maint/gnulib/lib/xmemcoll.c xmemcoll (char *s1, size_t s1len, char *s2, size_t s2len) s2 56 maint/gnulib/lib/xmemcoll.c int diff = memcoll (s1, s1len, s2, s2len); s2 59 maint/gnulib/lib/xmemcoll.c collate_error (collation_errno, s1, s1len, s2, s2len); s2 69 maint/gnulib/lib/xmemcoll.c xmemcoll0 (char const *s1, size_t s1size, char const *s2, size_t s2size) s2 71 maint/gnulib/lib/xmemcoll.c int diff = memcoll0 (s1, s1size, s2, s2size); s2 74 maint/gnulib/lib/xmemcoll.c collate_error (collation_errno, s1, s1size - 1, s2, s2size - 1); s2 42 maint/gnulib/tests/test-array_map.c const char *s2 = x2; s2 43 maint/gnulib/tests/test-array_map.c return strcmp (s1, s2) == 0; s2 42 maint/gnulib/tests/test-avltreehash_list.c const char *s2 = x2; s2 43 maint/gnulib/tests/test-avltreehash_list.c return strcmp (s1, s2) == 0; s2 42 maint/gnulib/tests/test-hash_map.c const char *s2 = x2; s2 43 maint/gnulib/tests/test-hash_map.c return strcmp (s1, s2) == 0; s2 40 maint/gnulib/tests/test-linkedhash_list.c const char *s2 = x2; s2 41 maint/gnulib/tests/test-linkedhash_list.c return strcmp (s1, s2) == 0; s2 42 maint/gnulib/tests/test-linkedhash_map.c const char *s2 = x2; s2 43 maint/gnulib/tests/test-linkedhash_map.c return strcmp (s1, s2) == 0; s2 32 maint/gnulib/tests/test-mbmemcasecoll.c mbmemcasecoll_hard (const char *s1, size_t s1len, const char *s2, size_t s2len) s2 34 maint/gnulib/tests/test-mbmemcasecoll.c return mbmemcasecoll (s1, s1len, s2, s2len, true); s2 42 maint/gnulib/tests/test-rbtreehash_list.c const char *s2 = x2; s2 43 maint/gnulib/tests/test-rbtreehash_list.c return strcmp (s1, s2) == 0; s2 280 maint/gnulib/tests/uniname/test-uninames.c const char *s2; s2 297 maint/gnulib/tests/uniname/test-uninames.c s2 = unicode_names[i2]; s2 298 maint/gnulib/tests/uniname/test-uninames.c l2 = strlen (s2); s2 304 maint/gnulib/tests/uniname/test-uninames.c if (j2 == 0 || s2[j2-1] == ' ') s2 308 maint/gnulib/tests/uniname/test-uninames.c memcpy (buf + j1 + 1, s2 + j2, l2 - j2 + 1);