Lines Matching refs:i
48 volatile int i = 0; in thread_function() local
54 if ((float) i != f || (double) i != d) in thread_function()
56 printf ("unexpected value: i(%d) f(%f) d(%f)\n", i, f, d); in thread_function()
60 if (i == 100) in thread_function()
62 i = 0; in thread_function()
67 i++; in thread_function()
83 int i; in do_test() local
86 for (i = 0; i < count; ++i) in do_test()
87 if (pthread_create (&th[i], NULL, thread_function, 0) != 0) in do_test()
89 printf ("creation of thread %d failed\n", i); in do_test()
93 for (i = 0 ; i < 1000000 ; i++) in do_test()
95 if (prctl (PR_SET_FP_MODE, mode[i % 6]) != 0 in do_test()
105 for (i = 0; i < count; ++i) in do_test()
108 if (pthread_join (th[i], &v) != 0) in do_test()
110 printf ("join of thread %d failed\n", i); in do_test()
115 printf ("join %d successful, but child failed\n", i); in do_test()
119 printf ("join %d successful\n", i); in do_test()