Searched refs:PTHREAD_BARRIER_SERIAL_THREAD (Results 1 - 25 of 31) sorted by relevance

12

/external/compiler-rt/test/tsan/
H A Drace_on_barrier2.c15 if (pthread_barrier_wait(&B) == PTHREAD_BARRIER_SERIAL_THREAD)
21 if (pthread_barrier_wait(&B) == PTHREAD_BARRIER_SERIAL_THREAD)
H A Dbench.h56 if (res == PTHREAD_BARRIER_SERIAL_THREAD)
/external/google-breakpad/src/common/android/testing/
H A Dpthread_fixes.h42 #ifndef PTHREAD_BARRIER_SERIAL_THREAD
45 #define PTHREAD_BARRIER_SERIAL_THREAD 0x12345 macro
66 // waiters, unlock the mutex, then return PTHREAD_BARRIER_SERIAL_THREAD.
71 return PTHREAD_BARRIER_SERIAL_THREAD;
90 #endif // defined(PTHREAD_BARRIER_SERIAL_THREAD)
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/
H A D2-2-buildonly.c22 TEST_MACRO(PTHREAD_BARRIER_SERIAL_THREAD)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
H A D1-3.c78 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
84 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
92 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
98 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
106 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
168 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
186 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
194 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
212 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
220 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
H A D1-1.c43 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
48 } else if (rc == PTHREAD_BARRIER_SERIAL_THREAD) {
49 printf("child: get PTHREAD_BARRIER_SERIAL_THREAD\n");
113 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
118 } else if (rc == PTHREAD_BARRIER_SERIAL_THREAD) {
119 printf("main: got PTHREAD_BARRIER_SERIAL_THREAD\n");
H A D3-1.c64 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
69 } else if (rc == PTHREAD_BARRIER_SERIAL_THREAD)
70 printf("thread: get PTHREAD_BARRIER_SERIAL_THREAD\n");
144 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
149 } else if (rc == PTHREAD_BARRIER_SERIAL_THREAD)
150 printf("main: get PTHREAD_BARRIER_SERIAL_THREAD\n");
H A D3-2.c70 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
75 } else if (rc == PTHREAD_BARRIER_SERIAL_THREAD)
76 printf("thread: got PTHREAD_BARRIER_SERIAL_THREAD\n");
134 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
139 } else if (rc == PTHREAD_BARRIER_SERIAL_THREAD)
140 printf("main: got PTHREAD_BARRIER_SERIAL_THREAD\n");
H A D2-1.c10 * specifying the barrier, the constant PTHREAD_BARRIER_SERIAL_THREAD shall
22 * get PTHREAD_BARRIER_SERIAL_THREAD, all the other threads should get zero
50 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
55 } else if (rc == PTHREAD_BARRIER_SERIAL_THREAD) {
57 printf("child[%d]: get PTHREAD_BARRIER_SERIAL_THREAD\n",
107 ("Test FAILED: On %d loop, PTHREAD_BARRIER_SERIAL_THREAD "
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/
H A D4-1.c49 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
53 } else if (rc == PTHREAD_BARRIER_SERIAL_THREAD) {
54 printf("thread: got PTHREAD_BARRIER_SERIAL_THREAD\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
H A D12-1.c96 if (ret != 0 && ret != PTHREAD_BARRIER_SERIAL_THREAD)
128 if (ret != 0 && ret != PTHREAD_BARRIER_SERIAL_THREAD)
148 if (ret != 0 && ret != PTHREAD_BARRIER_SERIAL_THREAD)
162 if (ret != 0 && ret != PTHREAD_BARRIER_SERIAL_THREAD)
/external/valgrind/helgrind/tests/
H A Dbar_trivial.c24 assert(r == 0 || r == PTHREAD_BARRIER_SERIAL_THREAD);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/
H A D2-1.c52 if (rc == PTHREAD_BARRIER_SERIAL_THREAD)
53 printf("child: got PTHREAD_BARRIER_SERIAL_THREAD\n");
72 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
H A D1-2.c118 if (ret != 0 && ret != PTHREAD_BARRIER_SERIAL_THREAD) {
192 if (ret != 0 && ret != PTHREAD_BARRIER_SERIAL_THREAD) {
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cancel/
H A Dstress.c100 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
131 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D3-2.c335 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
341 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
354 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
360 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
389 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
603 PTHREAD_BARRIER_SERIAL_THREAD))
664 PTHREAD_BARRIER_SERIAL_THREAD))
674 PTHREAD_BARRIER_SERIAL_THREAD))
737 PTHREAD_BARRIER_SERIAL_THREAD))
747 PTHREAD_BARRIER_SERIAL_THREAD))
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/
H A D2-1.c165 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
170 } else if (rc == PTHREAD_BARRIER_SERIAL_THREAD) {
173 ("process %d: get PTHREAD_BARRIER_SERIAL_THREAD\n",
196 "PTHREAD_BARRIER_SERIAL_THREAD\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/
H A D2-1.c62 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD) {
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/
H A Dstress.c144 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
287 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
/external/ltp/testcases/open_posix_testsuite/functional/threads/schedule/
H A D1-1.c56 if (rc == PTHREAD_BARRIER_SERIAL_THREAD)
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_once/
H A Dstress.c125 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
/external/google-breakpad/src/common/linux/tests/
H A Dcrash_generator.cc86 if (result != 0 && result != PTHREAD_BARRIER_SERIAL_THREAD) {
312 if (result != 0 && result != PTHREAD_BARRIER_SERIAL_THREAD) {
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
H A Dstress.c190 if ((ret2 != 0) && (ret2 != PTHREAD_BARRIER_SERIAL_THREAD)) {
372 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
H A Dstress2.c297 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
382 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
H A Dstress.c297 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {
382 if ((ret != 0) && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) {

Completed in 2012 milliseconds

12