Lines Matching refs:pos
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()
128 for (i = 0; i < pos; ++i) in do_test()
130 s[pos] = random () & BIG_CHAR; in do_test()
131 if (STRCHR (acc, s[pos])) in do_test()
132 s[pos] = '\0'; in do_test()
135 for (i = pos + 1; i < pos + 10; ++i) in do_test()
141 do_one_test (impl, s, acc, pos); in do_test()
147 size_t i, j, n, align, pos, alen, len; in do_random_tests() local
159 pos = 0; in do_random_tests()
161 pos = random () & 511; in do_random_tests()
162 if (pos + align >= 511) in do_random_tests()
163 pos = 510 - align - (random () & 7); in do_random_tests()
177 j = (pos > len ? pos : len) + align + 64; in do_random_tests()
185 else if (i == pos + align) in do_random_tests()
191 else if (i < align || i > pos + 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()