/string/ |
A D | test-strstr.c | 61 check_result (impl_t *impl, const char *s1, const char *s2, in check_result() function 80 if (check_result (impl, s1, s2, exp_result) < 0) in do_one_test() 135 check_result (impl, s1, s2, exp_result); in check1() 169 check_result (impl, s1_stack, s2_stack, exp_result); in check2() 170 check_result (impl, s1_stack, s2_page_end, exp_result); in check2() 171 check_result (impl, s1_stack, s2_page_cross, exp_result); in check2() 173 check_result (impl, s1_page_end, s2_stack, exp_result); in check2() 174 check_result (impl, s1_page_end, s2_page_end, exp_result); in check2() 175 check_result (impl, s1_page_end, s2_page_cross, exp_result); in check2() 177 check_result (impl, s1_page_cross, s2_stack, exp_result); in check2() [all …]
|
A D | test-memmem.c | 60 check_result (impl_t *impl, const void *haystack, size_t haystack_len, in check_result() function 81 if (check_result (impl, haystack, haystack_len, needle, needle_len, in do_one_test() 142 check_result (impl, search_buf, sizeof search_buf_data, in check1()
|
A D | test-strcasestr.c | 62 check_result (impl_t *impl, const char *s1, const char *s2, in check_result() function 80 if (check_result (impl, s1, s2, exp_result) < 0) in do_one_test() 134 check_result (impl, s1, s2, exp_result); in check1()
|
A D | test-strncasecmp.c | 74 check_result (impl_t *impl, const char *s1, const char *s2, size_t n, in check_result() function 95 if (check_result (impl, s1, s2, n, exp_result) < 0) in do_one_test() 175 check_result (impl, s1 + off1, s2 + off2, maxoffset + 1, in do_page_tests() 289 check_result (impl, s1, s2, n, exp_result); in bz12205() 298 check_result (impl, empty_string, "", 5, 0); in bz14195()
|
A D | test-strcmp.c | 138 check_result (impl_t *impl, in check_result() function 161 if (check_result (impl, s1, s2, exp_result) < 0) in do_one_test() 329 check_result (impl, s1 + i1, s2 + i2, exp_result); in check() 356 check_result (impl, s1, s2, exp_result); in check() 390 check_result (impl, s1p, s2p, exp_result); in check2() 414 check_result (impl, s1, s2, exp_result); in check3()
|
A D | test-strncmp.c | 126 check_result (impl_t *impl, const CHAR *s1, const CHAR *s2, size_t n, in check_result() function 147 if (check_result (impl, s1, s2, n, exp_result) < 0) in do_one_test() 261 check_result (impl, s1, s2, page_size, -exp_result); in do_page_test() 262 check_result (impl, s2, s1, page_size, exp_result); in do_page_test() 381 check_result (impl, s1 + offset, s2 + offset, i, exp_result); in check1() 433 check_result (impl, s1p, s2p, s, exp_result); in check3()
|
A D | test-strchr.c | 102 check_result (impl_t *impl, const CHAR *s, int c, const CHAR *exp_res) in check_result() function 118 if (check_result (impl, s, c, exp_res) < 0) in do_one_test() 237 check_result (impl, s, c, exp_result); in check1()
|
A D | test-memcmp.c | 92 check_result (impl_t *impl, const CHAR *s1, const CHAR *s2, size_t len, in check_result() function 111 if (check_result (impl, s1, s2, len, exp_result) < 0) in do_one_test() 456 check_result (impl, s1 + i, s2 + i, len, exp_result); in check1() 479 check_result (impl, s1, s2, length, exp_result); in check2()
|