Searched refs:barrier (Results 1 - 25 of 206) sorted by relevance

123456789

/external/clang/test/OpenMP/
H A Dbarrier_messages.cpp5 #pragma omp barrier
7 #pragma omp barrier untied // expected-error {{unexpected OpenMP clause 'untied' in directive '#pragma omp barrier'}}
8 #pragma omp barrier unknown // expected-warning {{extra tokens at the end of '#pragma omp barrier' are ignored}}
10 #pragma omp barrier // expected-error {{'#pragma omp barrier' cannot be an immediate substatement}}
12 #pragma omp barrier
15 #pragma omp barrier // expected-error {{'#pragma omp barrier' canno
[all...]
/external/google-breakpad/src/common/android/testing/
H A Dpthread_fixes.h53 int pthread_barrier_init(pthread_barrier_t* barrier, argument
56 barrier->count = count;
57 pthread_mutex_init(&barrier->mutex, NULL);
58 pthread_cond_init(&barrier->cond, NULL);
62 int pthread_barrier_wait(pthread_barrier_t* barrier) { argument
64 pthread_mutex_lock(&barrier->mutex);
67 if (--barrier->count == 0) {
68 // First thread to reach the barrier
69 pthread_cond_broadcast(&barrier->cond);
70 pthread_mutex_unlock(&barrier
83 pthread_barrier_destroy(pthread_barrier_t *barrier) argument
[all...]
/external/valgrind/drd/tests/
H A Dpth_barrier_race.c19 static pthread_barrier_t* barrier; variable
24 pthread_barrier_wait(barrier);
32 barrier = (pthread_barrier_t *) malloc(sizeof(*barrier));
33 pthread_barrier_init(barrier, NULL, 2);
37 pthread_barrier_wait(barrier);
43 pthread_barrier_destroy(barrier);
44 free(barrier);
/external/autotest/client/bin/self-test/tests/
H A DNNN-filter7 ???-barrier-unordered-*)
9 # of arrivals at the barrier, so we need to order the output
11 $0 XXX-barrier-ordered | sort
13 ???-barrier-*)
16 /barrier: .* calling master/ { next }
17 /barrier: .* remaining: / { next }
/external/compiler-rt/test/tsan/
H A Dsleep_sync2.cc8 barrier_wait(&barrier);
13 barrier_init(&barrier, 2);
17 barrier_wait(&barrier);
H A Dstack_race.cc5 barrier_wait(&barrier);
11 barrier_init(&barrier, 2);
16 barrier_wait(&barrier);
H A Dthread_detach.c5 barrier_wait(&barrier);
10 barrier_init(&barrier, 2);
13 barrier_wait(&barrier);
H A Dthread_detach2.c12 barrier_wait(&barrier);
17 barrier_init(&barrier, 2);
22 barrier_wait(&barrier);
H A Dthread_leak3.c5 barrier_wait(&barrier);
10 barrier_init(&barrier, 2);
13 barrier_wait(&barrier);
H A Dmop1.c15 barrier_wait(&barrier);
16 barrier_wait(&barrier);
23 barrier_wait(&barrier);
28 barrier_init(&barrier, 2);
32 barrier_wait(&barrier);
H A Dthread_name2.cc15 barrier_wait(&barrier);
23 barrier_wait(&barrier);
28 barrier_init(&barrier, 3);
33 barrier_wait(&barrier);
H A Datomic_free.cc6 barrier_wait(&barrier);
11 barrier_init(&barrier, 2);
15 barrier_wait(&barrier);
H A Datomic_free2.cc5 barrier_wait(&barrier);
11 barrier_init(&barrier, 2);
16 barrier_wait(&barrier);
H A Dglobal_race.cc7 barrier_wait(&barrier);
13 barrier_init(&barrier, 2);
18 barrier_wait(&barrier);
H A Dglobal_race2.cc7 barrier_wait(&barrier);
13 barrier_init(&barrier, 2);
18 barrier_wait(&barrier);
H A Dglobal_race3.cc12 barrier_wait(&barrier);
18 barrier_init(&barrier, 2);
23 barrier_wait(&barrier);
H A Dhalt_on_error.cc7 barrier_wait(&barrier);
13 barrier_init(&barrier, 2);
18 barrier_wait(&barrier);
H A Dheap_race.cc9 barrier_wait(&barrier);
14 barrier_init(&barrier, 2);
18 barrier_wait(&barrier);
H A Dmalloc_stack.cc7 barrier_wait(&barrier);
14 barrier_init(&barrier, 2);
18 barrier_wait(&barrier);
H A Dpthread_atfork_deadlock.c12 barrier_wait(&barrier);
23 barrier_init(&barrier, 2);
28 barrier_wait(&barrier);
H A Drace_on_mutex2.c7 barrier_wait(&barrier);
12 barrier_init(&barrier, 2);
17 barrier_wait(&barrier);
H A Drace_on_puts.cc8 barrier_wait(&barrier);
13 barrier_wait(&barrier);
19 barrier_init(&barrier, 2);
/external/autotest/client/common_lib/
H A Dbarrier.py1 from autotest_lib.client.common_lib.base_barrier import listen_server, barrier namespace
7 barrier = utils.import_site_symbol( variable
8 __file__, _SITE_MODULE_NAME, 'barrier', barrier)
/external/compiler-rt/test/tsan/Darwin/
H A Dsymbolizer-atos.cc8 barrier_wait(&barrier);
14 barrier_init(&barrier, 2);
19 barrier_wait(&barrier);
H A Dsymbolizer-dladdr.cc8 barrier_wait(&barrier);
14 barrier_init(&barrier, 2);
19 barrier_wait(&barrier);

Completed in 255 milliseconds

123456789