Lines Matching refs:i
50 for (int i = 0; i < byte_count; ++i) in thread_func() local
68 for (int i = 0; i < thread_count; ++i) in do_test() local
70 args[i].fp = fp; in do_test()
71 args[i].b = 'A' + i; in do_test()
72 threads[i] = xpthread_create (NULL, thread_func, args + i); in do_test()
75 for (int i = 0; i < thread_count; ++i) in do_test() local
76 xpthread_join (threads[i]); in do_test()
86 for (size_t i = 0; i < buffer_length; ++i) in do_test() local
88 if (buffer[i] < 'A' || buffer[i] >= 'A' + thread_count) in do_test()
89 FAIL_RET ("written byte at %zu out of range: %d", i, buffer[i] & 0xFF); in do_test()
90 ++counts[buffer[i] - 'A']; in do_test()
92 for (int i = 0; i < thread_count; ++i) in do_test() local
93 if (counts[i] != byte_count) in do_test()
94 FAIL_RET ("incorrect write count for thread %d: %zu (should be %d)", i, in do_test()
95 counts[i], byte_count); in do_test()