s1 142 include/crm/common/strings_internal.h int pcmk__strcmp(const char *s1, const char *s2, uint32_t flags); s1 143 include/crm/common/strings_internal.h int pcmk__numeric_strcasecmp(const char *s1, const char *s2); s1 148 include/crm/common/strings_internal.h pcmk__str_eq(const char *s1, const char *s2, uint32_t flags) s1 150 include/crm/common/strings_internal.h return pcmk__strcmp(s1, s2, flags) == 0; s1 178 include/crm/common/strings_internal.h #define pcmk__plural_alt(i, s1, s2) (((i) == 1)? (s1) : (s2)) s1 128 include/crm/common/util_compat.h int pcmk_numeric_strcasecmp(const char *s1, const char *s2); s1 1023 lib/common/strings.c pcmk__numeric_strcasecmp(const char *s1, const char *s2) s1 1025 lib/common/strings.c CRM_ASSERT((s1 != NULL) && (s2 != NULL)); s1 1027 lib/common/strings.c while (*s1 && *s2) { s1 1028 lib/common/strings.c if (isdigit(*s1) && isdigit(*s2)) { s1 1033 lib/common/strings.c long num1 = strtol(s1, &end1, 10); s1 1037 lib/common/strings.c size_t len1 = end1 - s1; s1 1049 lib/common/strings.c s1 = end1; s1 1053 lib/common/strings.c int lower1 = tolower(*s1); s1 1061 lib/common/strings.c ++s1; s1 1065 lib/common/strings.c if (!*s1 && *s2) { s1 1067 lib/common/strings.c } else if (*s1 && !*s2) { s1 1108 lib/common/strings.c pcmk__strcmp(const char *s1, const char *s2, uint32_t flags) s1 1117 lib/common/strings.c if (s1 == NULL || s2 == NULL) { s1 1129 lib/common/strings.c rc = regexec(&r_patt, s1, 0, NULL, 0); s1 1139 lib/common/strings.c if (s1 == s2) { s1 1148 lib/common/strings.c if (s1 == NULL || s2 == NULL) { s1 1156 lib/common/strings.c if (s1 == NULL) { s1 1167 lib/common/strings.c if (strcmp(s1, "*") == 0 || strcmp(s2, "*") == 0) { s1 1173 lib/common/strings.c return strcasecmp(s1, s2); s1 1175 lib/common/strings.c return strcmp(s1, s2); s1 1357 lib/common/strings.c pcmk_numeric_strcasecmp(const char *s1, const char *s2) s1 1359 lib/common/strings.c return pcmk__numeric_strcasecmp(s1, s2); s1 16 lib/common/tests/strings/pcmk__strcmp_test.c const char *s1 = "abcd"; s1 19 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s1, s1, pcmk__str_none), 0); s1 20 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, s1, pcmk__str_none)); s1 21 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_not_equal(pcmk__strcmp(s1, s2, pcmk__str_none), 0); s1 22 lib/common/tests/strings/pcmk__strcmp_test.c assert_false(pcmk__str_eq(s1, s2, pcmk__str_none)); s1 28 lib/common/tests/strings/pcmk__strcmp_test.c const char *s1 = "abcd"; s1 30 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s1, NULL, pcmk__str_null_matches), 0); s1 31 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, NULL, pcmk__str_null_matches)); s1 32 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(NULL, s1, pcmk__str_null_matches), 0); s1 33 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(s1, NULL, pcmk__str_none) > 0); s1 34 lib/common/tests/strings/pcmk__strcmp_test.c assert_false(pcmk__str_eq(s1, NULL, pcmk__str_none)); s1 35 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(NULL, s1, pcmk__str_none) < 0); s1 40 lib/common/tests/strings/pcmk__strcmp_test.c const char *s1 = "abcd"; s1 43 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(s1, s2, pcmk__str_none) > 0); s1 44 lib/common/tests/strings/pcmk__strcmp_test.c assert_false(pcmk__str_eq(s1, s2, pcmk__str_none)); s1 45 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(s2, s1, pcmk__str_none) < 0); s1 50 lib/common/tests/strings/pcmk__strcmp_test.c const char *s1 = "abcd"; s1 53 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s1, s2, pcmk__str_casei), 0); s1 54 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, s2, pcmk__str_casei)); s1 59 lib/common/tests/strings/pcmk__strcmp_test.c const char *s1 = "abcd"; s1 63 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(s1, NULL, pcmk__str_regex) > 0); s1 64 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s1, "a..d", pcmk__str_regex), 0); s1 65 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, "a..d", pcmk__str_regex)); s1 66 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_not_equal(pcmk__strcmp(s1, "xxyy", pcmk__str_regex), 0); s1 67 lib/common/tests/strings/pcmk__strcmp_test.c assert_false(pcmk__str_eq(s1, "xxyy", pcmk__str_regex)); 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) s1 42 maint/gnulib/lib/c-strcase.h extern int c_strcasecmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE; s1 47 maint/gnulib/lib/c-strcase.h extern int c_strncasecmp (const char *s1, const char *s2, size_t n) s1 27 maint/gnulib/lib/c-strcasecmp.c c_strcasecmp (const char *s1, const char *s2) s1 29 maint/gnulib/lib/c-strcasecmp.c register const unsigned char *p1 = (const unsigned char *) s1; s1 42 maint/gnulib/lib/c-strcaseeq.h strcaseeq9 (const char *s1, const char *s2) s1 44 maint/gnulib/lib/c-strcaseeq.h return c_strcasecmp (s1 + 9, s2 + 9) == 0; s1 48 maint/gnulib/lib/c-strcaseeq.h strcaseeq8 (const char *s1, const char *s2, char s28) s1 50 maint/gnulib/lib/c-strcaseeq.h if (CASEEQ (s1[8], s28)) s1 55 maint/gnulib/lib/c-strcaseeq.h return strcaseeq9 (s1, s2); s1 62 maint/gnulib/lib/c-strcaseeq.h strcaseeq7 (const char *s1, const char *s2, char s27, char s28) s1 64 maint/gnulib/lib/c-strcaseeq.h if (CASEEQ (s1[7], s27)) s1 69 maint/gnulib/lib/c-strcaseeq.h return strcaseeq8 (s1, s2, s28); s1 76 maint/gnulib/lib/c-strcaseeq.h strcaseeq6 (const char *s1, const char *s2, char s26, char s27, char s28) s1 78 maint/gnulib/lib/c-strcaseeq.h if (CASEEQ (s1[6], s26)) s1 83 maint/gnulib/lib/c-strcaseeq.h return strcaseeq7 (s1, s2, s27, s28); s1 90 maint/gnulib/lib/c-strcaseeq.h strcaseeq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) s1 92 maint/gnulib/lib/c-strcaseeq.h if (CASEEQ (s1[5], s25)) s1 97 maint/gnulib/lib/c-strcaseeq.h return strcaseeq6 (s1, s2, s26, s27, s28); s1 104 maint/gnulib/lib/c-strcaseeq.h strcaseeq4 (const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) s1 106 maint/gnulib/lib/c-strcaseeq.h if (CASEEQ (s1[4], s24)) s1 111 maint/gnulib/lib/c-strcaseeq.h return strcaseeq5 (s1, s2, s25, s26, s27, s28); s1 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) s1 120 maint/gnulib/lib/c-strcaseeq.h if (CASEEQ (s1[3], s23)) s1 125 maint/gnulib/lib/c-strcaseeq.h return strcaseeq4 (s1, s2, s24, s25, s26, s27, s28); s1 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) s1 134 maint/gnulib/lib/c-strcaseeq.h if (CASEEQ (s1[2], s22)) s1 139 maint/gnulib/lib/c-strcaseeq.h return strcaseeq3 (s1, s2, s23, s24, s25, s26, s27, s28); s1 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) s1 148 maint/gnulib/lib/c-strcaseeq.h if (CASEEQ (s1[1], s21)) s1 153 maint/gnulib/lib/c-strcaseeq.h return strcaseeq2 (s1, s2, s22, s23, s24, s25, s26, s27, s28); s1 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) s1 162 maint/gnulib/lib/c-strcaseeq.h if (CASEEQ (s1[0], s20)) s1 167 maint/gnulib/lib/c-strcaseeq.h return strcaseeq1 (s1, s2, s21, s22, s23, s24, s25, s26, s27, s28); s1 173 maint/gnulib/lib/c-strcaseeq.h #define STRCASEEQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ s1 174 maint/gnulib/lib/c-strcaseeq.h strcaseeq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28) s1 178 maint/gnulib/lib/c-strcaseeq.h #define STRCASEEQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ s1 179 maint/gnulib/lib/c-strcaseeq.h (c_strcasecmp (s1, s2) == 0) s1 27 maint/gnulib/lib/c-strncasecmp.c c_strncasecmp (const char *s1, const char *s2, size_t n) s1 29 maint/gnulib/lib/c-strncasecmp.c register const unsigned char *p1 = (const unsigned char *) s1; s1 114 maint/gnulib/lib/clean-temp-simple.c const char *s1 = (const char *) x1; s1 116 maint/gnulib/lib/clean-temp-simple.c return strcmp (s1, s2) == 0; s1 779 maint/gnulib/lib/dfa.c equal (charclass const *s1, charclass const *s2) s1 783 maint/gnulib/lib/dfa.c w |= s1->w[i] ^ s2->w[i]; s1 2064 maint/gnulib/lib/dfa.c merge_constrained (position_set const *s1, position_set const *s2, s1 2069 maint/gnulib/lib/dfa.c if (m->alloc - s1->nelem < s2->nelem) s1 2072 maint/gnulib/lib/dfa.c m->alloc = s1->nelem; s1 2076 maint/gnulib/lib/dfa.c while (i < s1->nelem || j < s2->nelem) s1 2078 maint/gnulib/lib/dfa.c || (i < s1->nelem && s1->elems[i].index <= s2->elems[j].index)) s1 2080 maint/gnulib/lib/dfa.c unsigned int c = ((i < s1->nelem && j < s2->nelem s1 2081 maint/gnulib/lib/dfa.c && s1->elems[i].index == s2->elems[j].index) s1 2084 maint/gnulib/lib/dfa.c m->elems[m->nelem].index = s1->elems[i].index; s1 2085 maint/gnulib/lib/dfa.c m->elems[m->nelem++].constraint = s1->elems[i++].constraint | c; s1 2101 maint/gnulib/lib/dfa.c merge (position_set const *s1, position_set const *s2, position_set *m) s1 2103 maint/gnulib/lib/dfa.c merge_constrained (s1, s2, -1, m); s1 3245 maint/gnulib/lib/dfa.c state_num s1 = s; s1 3260 maint/gnulib/lib/dfa.c if (d->states[s1].mb_trindex < 0) s1 3275 maint/gnulib/lib/dfa.c d->states[s1].mb_trindex = d->mb_trcount++; s1 3286 maint/gnulib/lib/dfa.c else if (d->mb_trans[s][d->states[s1].mb_trindex] >= 0) s1 3287 maint/gnulib/lib/dfa.c return d->mb_trans[s][d->states[s1].mb_trindex]; s1 3290 maint/gnulib/lib/dfa.c copy (&d->states[s1].mbps, &d->mb_follows); s1 3292 maint/gnulib/lib/dfa.c merge (&d->states[s1].mbps, &d->states[s].elems, &d->mb_follows); s1 3298 maint/gnulib/lib/dfa.c d->mb_trans[s][d->states[s1].mb_trindex] = s2; s1 3394 maint/gnulib/lib/dfa.c state_num s = 0, s1 = 0; s1 3432 maint/gnulib/lib/dfa.c s1 = s; s1 3450 maint/gnulib/lib/dfa.c s1 = t[*p++]; s1 3451 maint/gnulib/lib/dfa.c t = trans[s1]; s1 3455 maint/gnulib/lib/dfa.c s = s1; s1 3456 maint/gnulib/lib/dfa.c s1 = tmp; /* swap */ s1 3461 maint/gnulib/lib/dfa.c while (t[*p] == s1) s1 3472 maint/gnulib/lib/dfa.c s = build_state (s1, d, p[-1]); s1 3475 maint/gnulib/lib/dfa.c else if ((char *) p <= end && p[-1] == eol && 0 <= d->newlines[s1]) s1 3482 maint/gnulib/lib/dfa.c s = (allow_nl ? d->newlines[s1] s1 3504 maint/gnulib/lib/dfa.c s1 = s; s1 84 maint/gnulib/lib/filevercmp.c verrevcmp (const char *s1, size_t s1_len, const char *s2, size_t s2_len) s1 91 maint/gnulib/lib/filevercmp.c while ((s1_pos < s1_len && !c_isdigit (s1[s1_pos])) s1 94 maint/gnulib/lib/filevercmp.c int s1_c = (s1_pos == s1_len) ? 0 : order (s1[s1_pos]); s1 101 maint/gnulib/lib/filevercmp.c while (s1[s1_pos] == '0') s1 105 maint/gnulib/lib/filevercmp.c while (c_isdigit (s1[s1_pos]) && c_isdigit (s2[s2_pos])) s1 108 maint/gnulib/lib/filevercmp.c first_diff = s1[s1_pos] - s2[s2_pos]; s1 112 maint/gnulib/lib/filevercmp.c if (c_isdigit (s1[s1_pos])) s1 125 maint/gnulib/lib/filevercmp.c filevercmp (const char *s1, const char *s2) s1 134 maint/gnulib/lib/filevercmp.c int simple_cmp = strcmp (s1, s2); s1 139 maint/gnulib/lib/filevercmp.c if (!*s1) s1 143 maint/gnulib/lib/filevercmp.c if (0 == strcmp (".", s1)) s1 147 maint/gnulib/lib/filevercmp.c if (0 == strcmp ("..", s1)) s1 153 maint/gnulib/lib/filevercmp.c if (*s1 == '.' && *s2 != '.') s1 155 maint/gnulib/lib/filevercmp.c if (*s1 != '.' && *s2 == '.') s1 157 maint/gnulib/lib/filevercmp.c if (*s1 == '.' && *s2 == '.') s1 159 maint/gnulib/lib/filevercmp.c s1++; s1 164 maint/gnulib/lib/filevercmp.c s1_pos = s1; s1 168 maint/gnulib/lib/filevercmp.c s1_len = (s1_suffix ? s1_suffix : s1_pos) - s1; s1 173 maint/gnulib/lib/filevercmp.c && 0 == strncmp (s1, s2, s1_len)) s1 175 maint/gnulib/lib/filevercmp.c s1_len = s1_pos - s1; s1 179 maint/gnulib/lib/filevercmp.c result = verrevcmp (s1, s1_len, s2, s2_len); s1 40 maint/gnulib/lib/filevercmp.h int filevercmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE; s1 31 maint/gnulib/lib/fstrcmp.h extern double fstrcmp (const char *s1, const char *s2); s1 35 maint/gnulib/lib/fstrcmp.h extern double fstrcmp_bounded (const char *s1, const char *s2, s1 39 maint/gnulib/lib/fstrcmp.h #define fstrcmp(s1,s2) fstrcmp_bounded (s1, s2, 0.0) s1 1208 maint/gnulib/lib/glob.c char *const *ps1 = a; char *s1 = *ps1; s1 1211 maint/gnulib/lib/glob.c if (s1 == s2) s1 1213 maint/gnulib/lib/glob.c if (s1 == NULL) s1 1217 maint/gnulib/lib/glob.c return strcoll (s1, s2); s1 33 maint/gnulib/lib/mbmemcasecmp.c mbmemcasecmp (const char *s1, size_t n1, const char *s2, size_t n2) s1 35 maint/gnulib/lib/mbmemcasecmp.c if (s1 == s2) s1 43 maint/gnulib/lib/mbmemcasecmp.c mbi_init (iter1, s1, n1); s1 66 maint/gnulib/lib/mbmemcasecmp.c const unsigned char *s1_end = (const unsigned char *) (s1 + n1); s1 68 maint/gnulib/lib/mbmemcasecmp.c const unsigned char *p1 = (const unsigned char *) s1; s1 38 maint/gnulib/lib/mbmemcasecmp.h extern int mbmemcasecmp (const char *s1, size_t n1, const char *s2, size_t n2); s1 129 maint/gnulib/lib/mbmemcasecoll.c mbmemcasecoll (const char *s1, size_t s1len, const char *s2, size_t s2len, s1 165 maint/gnulib/lib/mbmemcasecoll.c t1len = apply_towlower (s1, s1len, t1, t1len); s1 170 maint/gnulib/lib/mbmemcasecoll.c apply_tolower (s1, t1, s1len); s1 49 maint/gnulib/lib/mbmemcasecoll.h extern int mbmemcasecoll (const char *s1, size_t s1len, s1 37 maint/gnulib/lib/mbscasecmp.c mbscasecmp (const char *s1, const char *s2) s1 39 maint/gnulib/lib/mbscasecmp.c if (s1 == s2) s1 50 maint/gnulib/lib/mbscasecmp.c mbui_init (iter1, s1); s1 73 maint/gnulib/lib/mbscasecmp.c const unsigned char *p1 = (const unsigned char *) s1; s1 39 maint/gnulib/lib/mbsncasecmp.c mbsncasecmp (const char *s1, const char *s2, size_t n) s1 41 maint/gnulib/lib/mbsncasecmp.c if (s1 == s2 || n == 0) s1 52 maint/gnulib/lib/mbsncasecmp.c mbui_init (iter1, s1); s1 78 maint/gnulib/lib/mbsncasecmp.c const unsigned char *p1 = (const unsigned char *) s1; s1 35 maint/gnulib/lib/memcasecmp.c char const *s1 = vs1; s1 39 maint/gnulib/lib/memcasecmp.c unsigned char u1 = s1[i]; s1 303 maint/gnulib/lib/memcmp.c rpl_memcmp (const void *s1, const void *s2, size_t len) s1 307 maint/gnulib/lib/memcmp.c uintptr_t srcp1 = (uintptr_t) s1; s1 25 maint/gnulib/lib/memcmp2.c memcmp2 (const char *s1, size_t n1, const char *s2, size_t n2) s1 27 maint/gnulib/lib/memcmp2.c int cmp = memcmp (s1, s2, n1 <= n2 ? n1 : n2); s1 32 maint/gnulib/lib/memcmp2.h extern int memcmp2 (const char *s1, size_t n1, const char *s2, size_t n2) s1 35 maint/gnulib/lib/memcoll.c strcoll_loop (char const *s1, size_t s1size, char const *s2, size_t s2size) s1 39 maint/gnulib/lib/memcoll.c while (! (errno = 0, (diff = strcoll (s1, s2)) || errno)) s1 44 maint/gnulib/lib/memcoll.c size_t size1 = strlen (s1) + 1; s1 46 maint/gnulib/lib/memcoll.c s1 += size1; s1 66 maint/gnulib/lib/memcoll.c memcoll (char *s1, size_t s1len, char *s2, size_t s2len) s1 74 maint/gnulib/lib/memcoll.c if (s1len == s2len && memcmp (s1, s2, s1len) == 0) s1 81 maint/gnulib/lib/memcoll.c char n1 = s1[s1len]; s1 84 maint/gnulib/lib/memcoll.c s1[s1len] = '\0'; s1 87 maint/gnulib/lib/memcoll.c diff = strcoll_loop (s1, s1len + 1, s2, s2len + 1); s1 89 maint/gnulib/lib/memcoll.c s1[s1len] = n1; s1 102 maint/gnulib/lib/memcoll.c memcoll0 (char const *s1, size_t s1size, char const *s2, size_t s2size) s1 104 maint/gnulib/lib/memcoll.c if (s1size == s2size && memcmp (s1, s2, s1size) == 0) s1 110 maint/gnulib/lib/memcoll.c return strcoll_loop (s1, s1size, s2, s2size); s1 2801 maint/gnulib/lib/mini-gmp.c mpz_t tu, tv, s0, s1, t0, t1; s1 2832 maint/gnulib/lib/mini-gmp.c mpz_init (s1); s1 2880 maint/gnulib/lib/mini-gmp.c mpz_setbit (s1, vz); s1 2906 maint/gnulib/lib/mini-gmp.c mpz_add (s0, s0, s1); s1 2910 maint/gnulib/lib/mini-gmp.c mpz_mul_2exp (s1, s1, shift); s1 2916 maint/gnulib/lib/mini-gmp.c mpz_add (s1, s0, s1); s1 2937 maint/gnulib/lib/mini-gmp.c mpz_divexact (s1, v, tv); s1 2938 maint/gnulib/lib/mini-gmp.c mpz_abs (s1, s1); s1 2947 maint/gnulib/lib/mini-gmp.c mpz_sub (s0, s0, s1); s1 2956 maint/gnulib/lib/mini-gmp.c mpz_add (s1, s0, s1); s1 2957 maint/gnulib/lib/mini-gmp.c if (mpz_cmpabs (s0, s1) > 0) s1 2959 maint/gnulib/lib/mini-gmp.c mpz_swap (s0, s1); s1 2976 maint/gnulib/lib/mini-gmp.c mpz_clear (s1); s1 467 maint/gnulib/lib/progreloc.c const char *s1 = argv0 + argv0_len - exeext_len; s1 469 maint/gnulib/lib/progreloc.c for (; *s1 != '\0'; s1++, s2++) s1 471 maint/gnulib/lib/progreloc.c unsigned char c1 = *s1; s1 58 maint/gnulib/lib/regex.c # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ s1 59 maint/gnulib/lib/regex.c __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop) s1 111 maint/gnulib/lib/relocwrapper.c const char *s1 = filename + filename_len - exeext_len; s1 113 maint/gnulib/lib/relocwrapper.c for (; *s1 != '\0'; s1++, s2++) s1 115 maint/gnulib/lib/relocwrapper.c unsigned char c1 = *s1; s1 905 maint/gnulib/lib/rijndael-alg-fst.c uint32_t s0, s1, s2, s3, t0, t1, t2, t3; s1 913 maint/gnulib/lib/rijndael-alg-fst.c s1 = GETU32 (pt + 4) ^ rk[1]; s1 924 maint/gnulib/lib/rijndael-alg-fst.c Te1[(s1 >> 16) & 0xff] ^ s1 927 maint/gnulib/lib/rijndael-alg-fst.c Te0[(s1 >> 24)] ^ s1 933 maint/gnulib/lib/rijndael-alg-fst.c Te2[(s0 >> 8) & 0xff] ^ Te3[(s1) & 0xff] ^ rk[6]; s1 937 maint/gnulib/lib/rijndael-alg-fst.c Te2[(s1 >> 8) & 0xff] ^ Te3[(s2) & 0xff] ^ rk[7]; s1 949 maint/gnulib/lib/rijndael-alg-fst.c s1 = s1 972 maint/gnulib/lib/rijndael-alg-fst.c s1 = s1 977 maint/gnulib/lib/rijndael-alg-fst.c PUTU32 (ct + 4, s1); s1 996 maint/gnulib/lib/rijndael-alg-fst.c uint32_t s0, s1, s2, s3, t0, t1, t2, t3; s1 1004 maint/gnulib/lib/rijndael-alg-fst.c s1 = GETU32 (ct + 4) ^ rk[1]; s1 1016 maint/gnulib/lib/rijndael-alg-fst.c Td2[(s2 >> 8) & 0xff] ^ Td3[(s1) & 0xff] ^ rk[4]; s1 1018 maint/gnulib/lib/rijndael-alg-fst.c Td0[(s1 >> 24)] ^ s1 1023 maint/gnulib/lib/rijndael-alg-fst.c Td1[(s1 >> 16) & 0xff] ^ s1 1028 maint/gnulib/lib/rijndael-alg-fst.c Td2[(s1 >> 8) & 0xff] ^ Td3[(s0) & 0xff] ^ rk[7]; s1 1040 maint/gnulib/lib/rijndael-alg-fst.c s1 = s1 1063 maint/gnulib/lib/rijndael-alg-fst.c s1 = s1 1068 maint/gnulib/lib/rijndael-alg-fst.c PUTU32 (pt + 4, s1); s1 33 maint/gnulib/lib/strcasecmp.c strcasecmp (const char *s1, const char *s2) s1 35 maint/gnulib/lib/strcasecmp.c const unsigned char *p1 = (const unsigned char *) s1; s1 35 maint/gnulib/lib/streq.h streq9 (const char *s1, const char *s2) s1 37 maint/gnulib/lib/streq.h return strcmp (s1 + 9, s2 + 9) == 0; s1 41 maint/gnulib/lib/streq.h streq8 (const char *s1, const char *s2, char s28) s1 43 maint/gnulib/lib/streq.h if (s1[8] == s28) s1 48 maint/gnulib/lib/streq.h return streq9 (s1, s2); s1 55 maint/gnulib/lib/streq.h streq7 (const char *s1, const char *s2, char s27, char s28) s1 57 maint/gnulib/lib/streq.h if (s1[7] == s27) s1 62 maint/gnulib/lib/streq.h return streq8 (s1, s2, s28); s1 69 maint/gnulib/lib/streq.h streq6 (const char *s1, const char *s2, char s26, char s27, char s28) s1 71 maint/gnulib/lib/streq.h if (s1[6] == s26) s1 76 maint/gnulib/lib/streq.h return streq7 (s1, s2, s27, s28); s1 83 maint/gnulib/lib/streq.h streq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) s1 85 maint/gnulib/lib/streq.h if (s1[5] == s25) s1 90 maint/gnulib/lib/streq.h return streq6 (s1, s2, s26, s27, s28); s1 97 maint/gnulib/lib/streq.h streq4 (const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) s1 99 maint/gnulib/lib/streq.h if (s1[4] == s24) s1 104 maint/gnulib/lib/streq.h return streq5 (s1, s2, s25, s26, s27, s28); s1 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) s1 113 maint/gnulib/lib/streq.h if (s1[3] == s23) s1 118 maint/gnulib/lib/streq.h return streq4 (s1, s2, s24, s25, s26, s27, s28); s1 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) s1 127 maint/gnulib/lib/streq.h if (s1[2] == s22) s1 132 maint/gnulib/lib/streq.h return streq3 (s1, s2, s23, s24, s25, s26, s27, s28); s1 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) s1 141 maint/gnulib/lib/streq.h if (s1[1] == s21) s1 146 maint/gnulib/lib/streq.h return streq2 (s1, s2, s22, s23, s24, s25, s26, s27, s28); s1 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) s1 155 maint/gnulib/lib/streq.h if (s1[0] == s20) s1 160 maint/gnulib/lib/streq.h return streq1 (s1, s2, s21, s22, s23, s24, s25, s26, s27, s28); s1 166 maint/gnulib/lib/streq.h #define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ s1 167 maint/gnulib/lib/streq.h streq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28) s1 171 maint/gnulib/lib/streq.h #define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ s1 172 maint/gnulib/lib/streq.h (strcmp (s1, s2) == 0) s1 964 maint/gnulib/lib/string.in.h _GL_EXTERN_C int mbscasecmp (const char *s1, const char *s2) s1 979 maint/gnulib/lib/string.in.h _GL_EXTERN_C int mbsncasecmp (const char *s1, const char *s2, size_t n) s1 75 maint/gnulib/lib/strings.in.h extern int strcasecmp (char const *s1, char const *s2) s1 98 maint/gnulib/lib/strings.in.h extern int strncasecmp (char const *s1, char const *s2, size_t n) s1 33 maint/gnulib/lib/strncasecmp.c strncasecmp (const char *s1, const char *s2, size_t n) s1 35 maint/gnulib/lib/strncasecmp.c register const unsigned char *p1 = (const unsigned char *) s1; s1 124 maint/gnulib/lib/strptime.c # define strncasecmp(s1, s2, n) __strncasecmp (s1, s2, n) s1 47 maint/gnulib/lib/strverscmp.c __strverscmp (const char *s1, const char *s2) s1 49 maint/gnulib/lib/strverscmp.c const unsigned char *p1 = (const unsigned char *) s1; s1 325 maint/gnulib/lib/unicase.in.h u8_casecmp (const uint8_t *s1, size_t n1, s1 329 maint/gnulib/lib/unicase.in.h u16_casecmp (const uint16_t *s1, size_t n1, s1 333 maint/gnulib/lib/unicase.in.h u32_casecmp (const uint32_t *s1, size_t n1, s1 337 maint/gnulib/lib/unicase.in.h ulc_casecmp (const char *s1, size_t n1, s1 370 maint/gnulib/lib/unicase.in.h u8_casecoll (const uint8_t *s1, size_t n1, s1 374 maint/gnulib/lib/unicase.in.h u16_casecoll (const uint16_t *s1, size_t n1, s1 378 maint/gnulib/lib/unicase.in.h u32_casecoll (const uint32_t *s1, size_t n1, s1 382 maint/gnulib/lib/unicase.in.h ulc_casecoll (const char *s1, size_t n1, s1 27 maint/gnulib/lib/unicase/u-casecmp.h FUNC (const SRC_UNIT *s1, size_t n1, const SRC_UNIT *s2, size_t n2, s1 45 maint/gnulib/lib/unicase/u-casecmp.h norms1 = U_CASEFOLD (s1, n1, iso639_language, nf, buf1, &norms1_length); s1 28 maint/gnulib/lib/unicase/u-casecoll.h FUNC (const UNIT *s1, size_t n1, const UNIT *s2, size_t n2, s1 42 maint/gnulib/lib/unicase/u-casecoll.h U_CASEXFRM (s1, n1, iso639_language, nf, buf1, &transformed1_length); s1 160 maint/gnulib/lib/uninorm.in.h u8_normcmp (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2, s1 163 maint/gnulib/lib/uninorm.in.h u16_normcmp (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2, s1 166 maint/gnulib/lib/uninorm.in.h u32_normcmp (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2, s1 191 maint/gnulib/lib/uninorm.in.h u8_normcoll (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2, s1 194 maint/gnulib/lib/uninorm.in.h u16_normcoll (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2, s1 197 maint/gnulib/lib/uninorm.in.h u32_normcoll (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2, s1 27 maint/gnulib/lib/uninorm/u-normcmp.h FUNC (const UNIT *s1, size_t n1, const UNIT *s2, size_t n2, s1 40 maint/gnulib/lib/uninorm/u-normcmp.h norms1 = U_NORMALIZE (nf, s1, n1, buf1, &norms1_length); s1 27 maint/gnulib/lib/uninorm/u-normcoll.h FUNC (const UNIT *s1, size_t n1, const UNIT *s2, size_t n2, s1 40 maint/gnulib/lib/uninorm/u-normcoll.h transformed1 = U_NORMXFRM (s1, n1, nf, buf1, &transformed1_length); s1 406 maint/gnulib/lib/unistr.in.h u8_cmp (const uint8_t *s1, const uint8_t *s2, size_t n) s1 409 maint/gnulib/lib/unistr.in.h u16_cmp (const uint16_t *s1, const uint16_t *s2, size_t n) s1 412 maint/gnulib/lib/unistr.in.h u32_cmp (const uint32_t *s1, const uint32_t *s2, size_t n) s1 418 maint/gnulib/lib/unistr.in.h u8_cmp2 (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2) s1 421 maint/gnulib/lib/unistr.in.h u16_cmp2 (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2) s1 424 maint/gnulib/lib/unistr.in.h u32_cmp2 (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2) s1 589 maint/gnulib/lib/unistr.in.h u8_strcmp_gnu (const uint8_t *s1, const uint8_t *s2) s1 594 maint/gnulib/lib/unistr.in.h u8_strcmp (const uint8_t *s1, const uint8_t *s2) s1 598 maint/gnulib/lib/unistr.in.h u16_strcmp (const uint16_t *s1, const uint16_t *s2) s1 601 maint/gnulib/lib/unistr.in.h u32_strcmp (const uint32_t *s1, const uint32_t *s2) s1 609 maint/gnulib/lib/unistr.in.h u8_strcoll (const uint8_t *s1, const uint8_t *s2); s1 611 maint/gnulib/lib/unistr.in.h u16_strcoll (const uint16_t *s1, const uint16_t *s2); s1 613 maint/gnulib/lib/unistr.in.h u32_strcoll (const uint32_t *s1, const uint32_t *s2); s1 618 maint/gnulib/lib/unistr.in.h u8_strncmp (const uint8_t *s1, const uint8_t *s2, size_t n) s1 621 maint/gnulib/lib/unistr.in.h u16_strncmp (const uint16_t *s1, const uint16_t *s2, size_t n) s1 624 maint/gnulib/lib/unistr.in.h u32_strncmp (const uint32_t *s1, const uint32_t *s2, size_t n) s1 27 maint/gnulib/lib/unistr/u-cmp2.h FUNC (const UNIT *s1, size_t n1, const UNIT *s2, size_t n2) s1 29 maint/gnulib/lib/unistr/u-cmp2.h int cmp = U_CMP (s1, s2, MIN (n1, n2)); s1 28 maint/gnulib/lib/unistr/u-strcoll.h FUNC (const UNIT *s1, const UNIT *s2) s1 43 maint/gnulib/lib/unistr/u-strcoll.h sl1 = U_STRCONV_TO_ENCODING (s1, encoding, iconveh_error); s1 62 maint/gnulib/lib/unistr/u-strcoll.h result = U_STRCMP (s1, s2); s1 70 maint/gnulib/lib/unistr/u-strcoll.h result = U_STRCMP (s1, s2); s1 94 maint/gnulib/lib/unistr/u-strcoll.h result = U_STRCMP (s1, s2); s1 32 maint/gnulib/lib/unistr/u16-cmp.c u16_cmp (const uint16_t *s1, const uint16_t *s2, size_t n) s1 39 maint/gnulib/lib/unistr/u16-cmp.c uint16_t c1 = *s1++; s1 32 maint/gnulib/lib/unistr/u16-strcmp.c u16_strcmp (const uint16_t *s1, const uint16_t *s2) s1 39 maint/gnulib/lib/unistr/u16-strcmp.c uint16_t c1 = *s1++; s1 32 maint/gnulib/lib/unistr/u16-strncmp.c u16_strncmp (const uint16_t *s1, const uint16_t *s2, size_t n) s1 39 maint/gnulib/lib/unistr/u16-strncmp.c uint16_t c1 = *s1++; s1 32 maint/gnulib/lib/unistr/u32-cmp.c u32_cmp (const uint32_t *s1, const uint32_t *s2, size_t n) s1 36 maint/gnulib/lib/unistr/u32-cmp.c uint32_t uc1 = *s1++; s1 32 maint/gnulib/lib/unistr/u32-strcmp.c u32_strcmp (const uint32_t *s1, const uint32_t *s2) s1 36 maint/gnulib/lib/unistr/u32-strcmp.c uint32_t uc1 = *s1++; s1 32 maint/gnulib/lib/unistr/u32-strncmp.c u32_strncmp (const uint32_t *s1, const uint32_t *s2, size_t n) s1 36 maint/gnulib/lib/unistr/u32-strncmp.c uint32_t uc1 = *s1++; s1 85 maint/gnulib/lib/unistr/u8-chr.c uint8_t s1 = s[1]; s1 86 maint/gnulib/lib/unistr/u8-chr.c if (s1 == c1) s1 96 maint/gnulib/lib/unistr/u8-chr.c if (s1 == c0) s1 34 maint/gnulib/lib/unistr/u8-cmp.c u8_cmp (const uint8_t *s1, const uint8_t *s2, size_t n) s1 37 maint/gnulib/lib/unistr/u8-cmp.c return n == 0 ? 0 : memcmp ((const char *) s1, (const char *) s2, n); s1 79 maint/gnulib/lib/unistr/u8-strchr.c uint8_t s1 = s[1]; s1 85 maint/gnulib/lib/unistr/u8-strchr.c if (s1 == c1) s1 95 maint/gnulib/lib/unistr/u8-strchr.c if (s1 == c0) s1 103 maint/gnulib/lib/unistr/u8-strchr.c s1 = s[1]; s1 108 maint/gnulib/lib/unistr/u8-strchr.c s1 = s[1]; s1 34 maint/gnulib/lib/unistr/u8-strcmp.c u8_strcmp (const uint8_t *s1, const uint8_t *s2) s1 37 maint/gnulib/lib/unistr/u8-strcmp.c return strcmp ((const char *) s1, (const char *) s2); s1 34 maint/gnulib/lib/unistr/u8-strncmp.c u8_strncmp (const uint8_t *s1, const uint8_t *s2, size_t n) s1 37 maint/gnulib/lib/unistr/u8-strncmp.c return strncmp ((const char *) s1, (const char *) s2, n); s1 597 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n) s1 601 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n)); s1 859 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2) s1 862 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2)); s1 879 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n) s1 883 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n)); s1 899 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2) s1 902 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2)); s1 917 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n) s1 921 maint/gnulib/lib/wchar.in.h (const wchar_t *s1, const wchar_t *s2, size_t n)); s1 936 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2)); s1 938 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2)); s1 957 maint/gnulib/lib/wchar.in.h (wchar_t *restrict s1, const wchar_t *restrict s2, size_t n)); s1 960 maint/gnulib/lib/wchar.in.h (wchar_t *restrict s1, const wchar_t *restrict s2, size_t n)); s1 19 maint/gnulib/lib/wcscasecmp-impl.h wcscasecmp (const wchar_t *s1, const wchar_t *s2) s1 23 maint/gnulib/lib/wcscasecmp-impl.h wchar_t wc1 = towlower (*s1++); s1 19 maint/gnulib/lib/wcscmp-impl.h wcscmp (const wchar_t *s1, const wchar_t *s2) s1 23 maint/gnulib/lib/wcscmp-impl.h wchar_t wc1 = *s1++; s1 19 maint/gnulib/lib/wcscoll-impl.h wcscoll (const wchar_t *s1, const wchar_t *s2) s1 33 maint/gnulib/lib/wcscoll-impl.h ret = wcstombs (mbbuf1, s1, sizeof (mbbuf1)); s1 40 maint/gnulib/lib/wcscoll-impl.h size_t need = wcstombs (NULL, s1, 0); s1 46 maint/gnulib/lib/wcscoll-impl.h ret = wcstombs (mbs1, s1, need + 1); s1 19 maint/gnulib/lib/wcsncasecmp-impl.h wcsncasecmp (const wchar_t *s1, const wchar_t *s2, size_t n) s1 23 maint/gnulib/lib/wcsncasecmp-impl.h wchar_t wc1 = towlower (*s1++); s1 19 maint/gnulib/lib/wcsncmp-impl.h wcsncmp (const wchar_t *s1, const wchar_t *s2, size_t n) s1 23 maint/gnulib/lib/wcsncmp-impl.h wchar_t wc1 = *s1++; s1 19 maint/gnulib/lib/wcsxfrm-impl.h wcsxfrm (wchar_t *s1, const wchar_t *s2, size_t n) s1 53 maint/gnulib/lib/wcsxfrm-impl.h result = strxfrm ((char *)s1, mbs2, n); s1 70 maint/gnulib/lib/wcsxfrm-impl.h wchar_t *wcp = s1 + n; s1 71 maint/gnulib/lib/wcsxfrm-impl.h char *cp = (char *)s1 + n; s1 73 maint/gnulib/lib/wcsxfrm-impl.h while (wcp > s1) s1 19 maint/gnulib/lib/wmemcmp-impl.h wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n) s1 23 maint/gnulib/lib/wmemcmp-impl.h wchar_t wc1 = *s1++; s1 36 maint/gnulib/lib/xmemcoll.c char const *s1, size_t s1len, s1 43 maint/gnulib/lib/xmemcoll.c quotearg_n_style_mem (0, locale_quoting_style, s1, s1len), s1 54 maint/gnulib/lib/xmemcoll.c xmemcoll (char *s1, size_t s1len, char *s2, size_t s2len) s1 56 maint/gnulib/lib/xmemcoll.c int diff = memcoll (s1, s1len, s2, s2len); s1 59 maint/gnulib/lib/xmemcoll.c collate_error (collation_errno, s1, s1len, s2, s2len); s1 69 maint/gnulib/lib/xmemcoll.c xmemcoll0 (char const *s1, size_t s1size, char const *s2, size_t s2size) s1 71 maint/gnulib/lib/xmemcoll.c int diff = memcoll0 (s1, s1size, s2, s2size); s1 74 maint/gnulib/lib/xmemcoll.c collate_error (collation_errno, s1, s1size - 1, s2, s2size - 1); s1 41 maint/gnulib/tests/test-array_map.c const char *s1 = x1; s1 43 maint/gnulib/tests/test-array_map.c return strcmp (s1, s2) == 0; s1 41 maint/gnulib/tests/test-avltreehash_list.c const char *s1 = x1; s1 43 maint/gnulib/tests/test-avltreehash_list.c return strcmp (s1, s2) == 0; s1 41 maint/gnulib/tests/test-hash_map.c const char *s1 = x1; s1 43 maint/gnulib/tests/test-hash_map.c return strcmp (s1, s2) == 0; s1 62 maint/gnulib/tests/test-ignore-value.c static struct s s1; s1 63 maint/gnulib/tests/test-ignore-value.c return s1; s1 39 maint/gnulib/tests/test-linkedhash_list.c const char *s1 = x1; s1 41 maint/gnulib/tests/test-linkedhash_list.c return strcmp (s1, s2) == 0; s1 41 maint/gnulib/tests/test-linkedhash_map.c const char *s1 = x1; s1 43 maint/gnulib/tests/test-linkedhash_map.c return strcmp (s1, s2) == 0; s1 32 maint/gnulib/tests/test-mbmemcasecoll.c mbmemcasecoll_hard (const char *s1, size_t s1len, const char *s2, size_t s2len) s1 34 maint/gnulib/tests/test-mbmemcasecoll.c return mbmemcasecoll (s1, s1len, s2, s2len, true); s1 41 maint/gnulib/tests/test-rbtreehash_list.c const char *s1 = x1; s1 43 maint/gnulib/tests/test-rbtreehash_list.c return strcmp (s1, s2) == 0; s1 279 maint/gnulib/tests/uniname/test-uninames.c const char *s1; s1 295 maint/gnulib/tests/uniname/test-uninames.c s1 = unicode_names[i1]; s1 296 maint/gnulib/tests/uniname/test-uninames.c l1 = strlen (s1); s1 302 maint/gnulib/tests/uniname/test-uninames.c if (j1 == l1 || s1[j1] == ' ') s1 306 maint/gnulib/tests/uniname/test-uninames.c memcpy (buf, s1, j1);