/string/ |
A D | tst-strxfrm.c | 15 size_t r; in test() local 33 r = strxfrm (buf, string, bufsize); in test() 35 if (r != l) in test() 38 locale, r, l); in test() 44 r = strxfrm_l (buf, string, bufsize, loc); in test() 46 if (r != l) in test() 49 locale, r, l); in test()
|
A D | strsignal.c | 36 int r; in strsignal() local 39 r = __asprintf (&tls_internal->strsignal_buf, _("Real-time signal %d"), in strsignal() 43 r = __asprintf (&tls_internal->strsignal_buf, _("Unknown signal %d"), in strsignal() 46 if (r == -1) in strsignal()
|
A D | test-strcspn.c | 55 const CHAR *r, *str = s; in SIMPLE_STRCSPN() local 59 for (r = rej; *r != '\0'; ++r) in SIMPLE_STRCSPN() 60 if (*r == c) in SIMPLE_STRCSPN()
|
A D | test-strcasecmp.c | 123 long r; in do_random_tests() local 193 r = CALL (impl, (char *) (p1 + align1), (char *) (p2 + align2)); in do_random_tests() 196 asm ("" : "=g" (r) : "0" (r)); in do_random_tests() 197 if ((r == 0 && result) in do_random_tests() 198 || (r < 0 && result >= 0) in do_random_tests() 199 || (r > 0 && result <= 0)) in do_random_tests() 202 n, impl->name, align1, align2, len1, len2, pos, r, result, p1, p2); in do_random_tests()
|
A D | test-strspn.c | 61 const CHAR *r, *str = s; in SIMPLE_STRSPN() local 66 for (r = acc; *r != '\0'; ++r) in SIMPLE_STRSPN() 67 if (*r == c) in SIMPLE_STRSPN() 69 if (*r == '\0') in SIMPLE_STRSPN()
|
A D | test-strncasecmp.c | 186 long r; in do_random_tests() local 256 r = CALL (impl, (char *) (p1 + align1), (char *) (p2 + align2), in do_random_tests() 260 asm ("" : "=g" (r) : "0" (r)); in do_random_tests() 261 if ((r == 0 && result) in do_random_tests() 262 || (r < 0 && result >= 0) in do_random_tests() 263 || (r > 0 && result <= 0)) in do_random_tests() 266 n, impl->name, align1, align2, len1, len2, pos, r, result, p1, p2); in do_random_tests()
|
A D | test-rawmemchr.c | 118 size_t r = random (); in do_random_tests() local 119 if ((r & 31) == 0) in do_random_tests() 120 len = ~(uintptr_t) (p + align) - ((r >> 5) & 31); in do_random_tests()
|
A D | test-strpbrk.c | 69 const CHAR *r; in SIMPLE_STRPBRK() local 73 for (r = rej; *r != '\0'; ++r) in SIMPLE_STRPBRK() 74 if (*r == c) in SIMPLE_STRPBRK()
|
A D | Versions | 34 # r* 53 # r*
|
A D | test-strcmp.c | 280 int r = CALL (impl, (CHAR *) (p1 + align1), (CHAR *) (p2 + align2)); in do_random_tests() local 283 asm ("" : "=g" (r) : "0" (r)); in do_random_tests() 284 if ((r == 0 && result) in do_random_tests() 285 || (r < 0 && result >= 0) in do_random_tests() 286 || (r > 0 && result <= 0)) in do_random_tests() 289 …n, impl->name, (size_t) (p1 + align1) & 63, (size_t) (p1 + align2) & 63, len1, len2, pos, r, resul… in do_random_tests()
|
A D | test-strncmp.c | 271 long r; in do_random_tests() local 344 r = CALL (impl, (CHAR *) (p1 + align1), (CHAR *) (p2 + align2), size); in do_random_tests() 347 asm ("" : "=g" (r) : "0" (r)); in do_random_tests() 348 if ((r == 0 && result) in do_random_tests() 349 || (r < 0 && result >= 0) in do_random_tests() 350 || (r > 0 && result <= 0)) in do_random_tests() 353 n, impl->name, align1, align2, len1, len2, pos, size, r, result, p1, p2); in do_random_tests()
|
A D | test-memset.c | 102 CHAR *r = s, *end = s + n; in SIMPLE_MEMSET() local 103 while (r < end) in SIMPLE_MEMSET() 104 *r++ = c; in SIMPLE_MEMSET()
|
A D | test-memchr.c | 179 size_t r = random (); in do_random_tests() local 180 if ((r & 31) == 0) in do_random_tests() 181 len = ~(uintptr_t) (p + align) - ((r >> 5) & 31); in do_random_tests()
|
A D | test-memcmp.c | 151 long r; in do_random_tests() local 199 r = CALL (impl, (CHAR *) p1 + align1, (const CHAR *) p2 + align2, in do_random_tests() 201 if (BAD_RESULT(r, result)) in do_random_tests() 204 … n, impl->name, align1 * CHARBYTES & 63, align2 * CHARBYTES & 63, len, pos, r, result, p1, p2); in do_random_tests()
|