Searched refs:s2 (Results 1 – 3 of 3) sorted by relevance
/lib/ |
D | string.c | 43 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument 53 c2 = *s2++; in strncasecmp() 69 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 75 c2 = tolower(*s2++); in strcasecmp() 662 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument 664 while (*s1 && *s1 == *s2) { in sysfs_streq() 666 s2++; 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 …]
|
D | test-string_helpers.c | 241 static __init const char *test_string_find_match(const struct test_string_2 *s2, in test_string_find_match() argument 244 const struct test_string_1 *s1 = s2->s1; in test_string_find_match() 248 return s2->in; in test_string_find_match() 276 const struct test_string_2 *s2, in test_string_escape() argument 289 for (; s2->in; s2++) { in test_string_escape() 301 out = test_string_find_match(s2, flags); in test_string_escape() 306 len = strlen(s2->in); in test_string_escape() 307 memcpy(&in[p], s2->in, len); in test_string_escape()
|
D | random32.c | 64 state->s2 = TAUSWORTHE(state->s2, 2U, 27U, 4294967288U, 2U); in prandom_u32_state() 68 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state() 167 state->s2 = __seed(HWSEED() ^ LCG(state->s1), 8U); in prandom_seed_early() 168 state->s3 = __seed(HWSEED() ^ LCG(state->s2), 16U); in prandom_seed_early() 251 state->s2 = __seed(seeds[1], 8U); in prandom_seed_full_state()
|