Home
last modified time | relevance | path

Searched refs:exp_len (Results 1 – 5 of 5) sorted by relevance

/glibc-2.36/string/
Dtest-strnlen.c59 do_one_test (impl_t *impl, const CHAR *s, size_t maxlen, size_t exp_len) in do_one_test() argument
62 if (len != exp_len) in do_one_test()
65 len, exp_len); in do_one_test()
189 size_t i, exp_len, start_offset, offset; in do_page_tests() local
203 exp_len = last_offset - offset; in do_page_tests()
211 do_one_test (impl, (CHAR *) (s + offset), page_size, exp_len); in do_page_tests()
212 do_one_test (impl, (CHAR *) (s + offset), exp_len + 1, exp_len); in do_page_tests()
213 do_one_test (impl, (CHAR *) (s + offset), exp_len, exp_len); in do_page_tests()
214 if (exp_len > 0) in do_page_tests()
215 do_one_test (impl, (CHAR *) (s + offset), exp_len - 1, exp_len - 1); in do_page_tests()
[all …]
Dtest-strlen.c63 do_one_test (impl_t *impl, const CHAR *s, size_t exp_len) in do_one_test() argument
66 if (len != exp_len) in do_one_test()
69 len, exp_len); in do_one_test()
/glibc-2.36/benchtests/
Dbench-strlen.c49 do_one_test (json_ctx_t *json_ctx, impl_t *impl, const CHAR *s, size_t exp_len) in do_one_test() argument
54 if (len != exp_len) in do_one_test()
57 len, exp_len); in do_one_test()
Dbench-strnlen.c54 size_t exp_len) in do_one_test() argument
59 if (len != exp_len) in do_one_test()
62 exp_len); in do_one_test()
/glibc-2.36/posix/
Dwordexp.c1548 size_t exp_len; in parse_param() local
1553 expanded = w_newword (&exp_len, &exp_maxl); in parse_param()
1583 expanded = w_addchar (expanded, &exp_len, in parse_param()
1593 error = parse_dollars (&expanded, &exp_len, &exp_maxl, p, in parse_param()
1609 if (quoted || exp_len) in parse_param()
1613 error = parse_tilde (&expanded, &exp_len, &exp_maxl, p, in parse_param()
1629 expanded = w_addchar (expanded, &exp_len, &exp_maxl, '\\'); in parse_param()
1636 expanded = w_addchar (expanded, &exp_len, &exp_maxl, *p); in parse_param()