Lines Matching refs:len
106 do_test (size_t align, size_t pos, size_t len) in do_test() argument
112 if ((align + pos + 10) * sizeof (CHAR) >= page_size || len > 240 || ! len) in do_test()
118 for (i = 0; i < len; ++i) in do_test()
126 acc[len] = '\0'; in do_test()
129 s[i] = acc[random () % len]; in do_test()
147 size_t i, j, n, align, pos, alen, len; in do_random_tests() local
164 len = random () & 511; in do_random_tests()
165 if (len + align >= 512) in do_random_tests()
166 len = 511 - align - (random () & 7); in do_random_tests()
177 j = (pos > len ? pos : len) + align + 64; in do_random_tests()
183 if (i == len + align) in do_random_tests()
199 (CHAR *) acc) != (pos < len ? pos : len)) in do_random_tests()
202 n, impl->name, align, acc, alen, pos, len, in do_random_tests()
204 (pos < len ? pos : len)); in do_random_tests()