Searched defs:barrier (Results 1 - 20 of 20) sorted by relevance

/external/qemu/
H A Dqemu-barrier.h7 /* Compiler barrier */
8 #define barrier() asm volatile("" ::: "memory") macro
/external/valgrind/main/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);
H A Dtsan_unittest.cpp1982 Barrier barrier(N_threads);
1989 barrier.Block();
3481 // Iterate N_iter times, block on barrier after each iteration.
3482 // This way Helgrind will create new segments after each barrier.
3565 // Iterate N_iter times, block on barrier after each iteration.
3566 // This way Helgrind will create new segments after each barrier.
3760 Barrier barrier(4);
3764 barrier.Block();
3787 Barrier barrier(4);
3791 barrier
7544 Barrier *barrier[ITERATIONS]; member in namespace:test506
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DNFAConversionThread.java38 Barrier barrier; field in class:NFAConversionThread
40 Barrier barrier,
45 this.barrier = barrier;
58 barrier.waitForRelease();
39 NFAConversionThread(Grammar grammar, Barrier barrier, int i, int j) argument
/external/kernel-headers/original/linux/
H A Dcompiler-gcc.h8 /* Optimization barrier */
10 #define barrier() __asm__ __volatile__("": : :"memory") macro
H A Dcompiler.h65 /* Optimization barrier */
66 #ifndef barrier
67 # define barrier() __memory_barrier() macro
H A Drcupdate.h108 struct rcu_head barrier; member in struct:rcu_data
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
H A DDataCommandConsolidator.java63 * Data consolidation barrier: consolidates all data contents into the last data command in the
66 private void barrier() { method in class:DataCommandConsolidator
92 * Block exit: acts as a conditional barrier only to data contained within the block.
97 barrier();
109 barrier();
119 barrier();
124 barrier();
129 barrier();
134 barrier();
139 barrier();
[all...]
/external/chromium/base/third_party/dynamic_annotations/
H A Ddynamic_annotations.c62 const char *file, int line, const volatile void *barrier, long count,
65 const char *file, int line, const volatile void *barrier) {}
67 const char *file, int line, const volatile void *barrier) {}
69 const char *file, int line, const volatile void *barrier) {}
61 AnnotateBarrierInit( const char *file, int line, const volatile void *barrier, long count, long reinitialization_allowed) argument
64 AnnotateBarrierWaitBefore( const char *file, int line, const volatile void *barrier) argument
66 AnnotateBarrierWaitAfter( const char *file, int line, const volatile void *barrier) argument
68 AnnotateBarrierDestroy( const char *file, int line, const volatile void *barrier) argument
/external/valgrind/main/drd/
H A Ddrd_barrier.c40 /** Information associated with one thread participating in a barrier. */
105 * Initialize the structure *p with the specified client-side barrier address,
106 * barrier object size and number of participants in each barrier.
110 const Addr barrier,
116 tl_assert(barrier != 0);
118 tl_assert(p->a1 == barrier);
134 p->oset[i] = VG_(OSetGen_Create)(0, 0, VG_(malloc), "drd.barrier.bi.1",
162 "Destruction of barrier that is being waited"
187 * Look up the client-side barrier addres
109 barrier_initialize(struct barrier_info* const p, const Addr barrier, const BarrierT barrier_type, const Word count) argument
192 barrier_get_or_allocate(const Addr barrier, const BarrierT barrier_type, const Word count) argument
213 barrier_get(const Addr barrier) argument
226 barrier_init(const Addr barrier, const BarrierT barrier_type, const Word count, const Bool reinitialization) argument
289 barrier_destroy(const Addr barrier, const BarrierT barrier_type) argument
328 barrier_pre_wait(const DrdThreadId tid, const Addr barrier, const BarrierT barrier_type) argument
403 barrier_post_wait(const DrdThreadId tid, const Addr barrier, const BarrierT barrier_type, const Bool waited, const Bool serializing) argument
[all...]
H A Ddrd_clientobj.h122 Word count; // Participant count in a barrier wait.
123 Word pre_iteration; // pre barrier completion count modulo two.
124 Word post_iteration; // post barrier completion count modulo two.
125 Word pre_waiters_left; // number of waiters left for a complete barrier.
126 Word post_waiters_left; // number of waiters left for a complete barrier.
127 OSet* oset[2]; // Per-thread barrier information for the latest
128 // two barrier iterations.
151 struct barrier_info barrier; member in union:drd_clientobj
H A Ddrd_error.h147 Addr barrier; member in struct:__anon15040
H A Ddrd_pthread_intercepts.c919 int pthread_barrier_init_intercept(pthread_barrier_t* barrier, argument
927 barrier, pthread_barrier, count, 0, 0);
928 CALL_FN_W_WWW(ret, fn, barrier, attr, count);
930 barrier, pthread_barrier, 0, 0, 0);
935 (pthread_barrier_t* barrier, const pthread_barrierattr_t* attr,
936 unsigned count), (barrier, attr, count));
939 int pthread_barrier_destroy_intercept(pthread_barrier_t* barrier) argument
945 barrier, pthread_barrier, 0, 0, 0);
946 CALL_FN_W_W(ret, fn, barrier);
948 barrier, pthread_barrie
956 pthread_barrier_wait_intercept(pthread_barrier_t* barrier) argument
[all...]
/external/v8/src/
H A Dplatform-win32.cc119 int barrier = 0; local
120 __asm__ __volatile__("xchgl %%eax,%0 ":"=r" (barrier));
/external/valgrind/main/helgrind/
H A Dhg_main.c2801 static Bar* map_barrier_to_Bar_lookup_or_alloc ( void* barrier ) {
2804 if (VG_(lookupFM)( map_barrier_to_Bar, &key, &val, (UWord)barrier )) {
2805 tl_assert(key == (UWord)barrier);
2809 VG_(addToFM)( map_barrier_to_Bar, (UWord)barrier, (UWord)bar );
2814 static void map_barrier_to_Bar_delete ( void* barrier ) {
2817 if (VG_(delFromFM)( map_barrier_to_Bar, &keyW, &valW, (UWord)barrier )) {
2819 tl_assert(keyW == (UWord)barrier);
2826 void* barrier,
2835 "(tid=%d, barrier=%p, count=%lu, resizable=%lu)\n",
2836 (Int)tid, (void*)barrier, coun
2825 evh__HG_PTHREAD_BARRIER_INIT_PRE( ThreadId tid, void* barrier, UWord count, UWord resizable ) argument
3045 evh__HG_PTHREAD_BARRIER_RESIZE_PRE( ThreadId tid, void* barrier, UWord newcount ) argument
[all...]
/external/kernel-headers/original/asm-mips/pci/
H A Dbridge.h809 u64 barrier:1; member in struct:ate_u::ate_s
/external/valgrind/unittest/
H A Dracecheck_unittest.cc1671 Barrier barrier(N_threads);
1678 barrier.Block();
3354 // Iterate N_iter times, block on barrier after each iteration.
3355 // This way Helgrind will create new segments after each barrier.
3427 // Iterate N_iter times, block on barrier after each iteration.
3428 // This way Helgrind will create new segments after each barrier.
3571 Barrier barrier(4);
3575 barrier.Block();
3598 Barrier barrier(4);
3602 barrier
6662 Barrier *barrier; member in namespace:StressTests_ManyAccesses
7213 Barrier *barrier[ITERATIONS]; member in namespace:test506
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.jobs_3.5.1.R36x_v20100824.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.p2.repository_2.0.1.R36x_v20100823.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...

Completed in 660 milliseconds