Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 4 of 4) sorted by relevance

/lib/
Dstring.c43 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument
52 c1 = *s1++; in strncasecmp()
69 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
74 c1 = tolower(*s1++); in strcasecmp()
662 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument
664 while (*s1 && *s1 == *s2) { in sysfs_streq()
665 s1++; in sysfs_streq()
669 if (*s1 == *s2) in sysfs_streq()
671 if (!*s1 && *s2 == '\n' && !s2[1]) in sysfs_streq()
673 if (*s1 == '\n' && !s1[1] && !*s2) in sysfs_streq()
[all …]
Dtest-string_helpers.c122 struct test_string_1 s1[TEST_STRING_2_MAX_S1]; member
128 .s1 = {{
142 .s1 = {{
156 .s1 = {{
212 .s1 = {{
223 .s1 = {{
231 .s1 = {{
244 const struct test_string_1 *s1 = s2->s1; in test_string_find_match() local
257 for (i = 0; i < TEST_STRING_2_MAX_S1 && s1->out; i++, s1++) in test_string_find_match()
258 if (s1->flags == flags) in test_string_find_match()
[all …]
Drandom32.c63 state->s1 = TAUSWORTHE(state->s1, 6U, 13U, 4294967294U, 18U); in prandom_u32_state()
68 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state()
166 state->s1 = __seed(HWSEED() ^ LCG(seed), 2U); in prandom_seed_early()
167 state->s2 = __seed(HWSEED() ^ LCG(state->s1), 8U); in prandom_seed_early()
188 state->s1 = __seed(state->s1 ^ entropy, 2U); in prandom_seed()
250 state->s1 = __seed(seeds[0], 2U); in prandom_seed_full_state()
/lib/crypto/
Dsha256.c34 #define s1(x) (ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10)) macro
43 W[I] = s1(W[I-2]) + W[I-7] + s0(W[I-15]) + W[I-16]; in BLEND_OP()