/external/chromium_org/net/disk_cache/ |
file_lock.cc | 11 void Barrier() { 13 // VS uses memory barrier semantics for volatiles. 25 Barrier(); 37 Barrier(); 43 Barrier();
|
/art/runtime/ |
barrier.cc | 17 #include "barrier.h" 24 Barrier::Barrier(int count) 26 lock_("GC barrier lock"), 27 condition_("GC barrier condition", lock_) { 30 void Barrier::Pass(Thread* self) { 35 void Barrier::Wait(Thread* self) { 39 void Barrier::Init(Thread* self, int count) { 44 void Barrier::Increment(Thread* self, int delta) { 52 void Barrier::SetCountLocked(Thread* self, int count) [all...] |
barrier.h | 26 class Barrier { 28 explicit Barrier(int count); 29 virtual ~Barrier(); 31 // Pass through the barrier, decrements the count but does not block. 34 // Wait on the barrier, decrement the count. 47 // Counter, when this reaches 0 all people blocked on the barrier are signalled.
|
barrier_test.cc | 17 #include "barrier.h" 30 CheckWaitTask(Barrier* barrier, AtomicInteger* count1, AtomicInteger* count2, 32 : barrier_(barrier), 38 LOG(INFO) << "Before barrier 1 " << *self; 42 LOG(INFO) << "Before barrier 2 " << *self; 45 LOG(INFO) << "After barrier 2 " << *self; 53 Barrier* const barrier_; 66 // Check that barrier wait and barrier increment work [all...] |
thread_pool.h | 23 #include "barrier.h" 123 Barrier creation_barier_;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
Barrier.java | 30 /**A very simple barrier wait. Once a thread has requested a 31 * wait on the barrier with waitForRelease, it cannot fool the 32 * barrier into releasing by "hitting" the barrier multiple times-- 35 public class Barrier { 39 public Barrier(int t) { 47 // The final thread to reach barrier resets barrier and 59 /** What to do when everyone reaches barrier */
|
/frameworks/base/libs/hwui/thread/ |
Barrier.h | 25 class Barrier { 27 Barrier(Condition::WakeUpType type = Condition::WAKE_UP_ALL) : mType(type), mOpened(false) { } 28 ~Barrier() { }
|
Future.h | 22 #include "Barrier.h" 51 Barrier mBarrier;
|
/frameworks/native/services/surfaceflinger/ |
Barrier.h | 26 class Barrier 29 inline Barrier() : state(CLOSED) { } 30 inline ~Barrier() { }
|
MessageQueue.h | 30 #include "Barrier.h" 49 void wait() const { barrier.wait(); } 57 mutable Barrier barrier; member in class:android::MessageBase
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
NFAConversionThread.java | 30 import org.antlr.misc.Barrier; 38 Barrier barrier; field in class:NFAConversionThread 40 Barrier barrier, 45 this.barrier = barrier; 58 barrier.waitForRelease();
|
/external/valgrind/main/drd/tests/ |
pth_barrier_reinit.stderr.exp | 2 Barrier reinitialization: barrier 0x........ 5 barrier 0x........ was first observed at:
|
bar_bad.stderr.exp | 3 initialise a barrier with zero count 4 pthread_barrier_init: 'count' argument is zero: barrier 0x........ 9 initialise a barrier twice 10 Barrier reinitialization: barrier 0x........ 13 barrier 0x........ was first observed at: 18 initialise a barrier which has threads waiting on it 19 Barrier reinitialization: barrier 0x........ 22 barrier 0x........ was first observed at [all...] |
tsan_thread_wrappers_pthread.h | 554 class Barrier{ 556 explicit Barrier(int n_threads) {CHECK(0 == pthread_barrier_init(&b_, 0, n_threads));} 557 ~Barrier() {CHECK(0 == pthread_barrier_destroy(&b_));} 559 // helgrind 3.3.0 does not have an interceptor for barrier.
|
bar_bad_xml.stderr.exp | 32 initialise a barrier with zero count 37 <what>pthread_barrier_init: 'count' argument is zero: barrier 0x........</what> 59 initialise a barrier twice 64 <what>Barrier reinitialization: barrier 0x........</what> 84 <what>barrier</what> 108 initialise a barrier which has threads waiting on it 113 <what>Barrier reinitialization: barrier 0x........</what> 133 <what>barrier</what [all...] |
tsan_unittest.cpp | 967 // test16: FP. Barrier (emulated by CV), 2 threads. {{{1 1007 // ANNOTATE_EXPECT_RACE(&GLOB, "test16. FP. Fixed by MSMProp1 + Barrier support."); 1019 // test17: FP. Barrier (emulated by CV), 3 threads. {{{1 1041 // ANNOTATE_EXPECT_RACE(&GLOB, "test17. FP. Fixed by MSMProp1 + Barrier support."); 7544 Barrier *barrier[ITERATIONS]; member in namespace:test506 [all...] |
/external/valgrind/unittest/ |
thread_wrappers_pthread.h | 364 class Barrier{ 366 explicit Barrier(int n_threads) {CHECK(0 == pthread_barrier_init(&b_, 0, n_threads));} 367 ~Barrier() {CHECK(0 == pthread_barrier_destroy(&b_));} 369 // helgrind 3.3.0 does not have an interceptor for barrier.
|
racecheck_unittest.cc | 671 // test16: FP. Barrier (emulated by CV), 2 threads. {{{1 711 // ANNOTATE_EXPECT_RACE(&GLOB, "test16. FP. Fixed by MSMProp1 + Barrier support."); 723 // test17: FP. Barrier (emulated by CV), 3 threads. {{{1 6662 Barrier *barrier; member in namespace:StressTests_ManyAccesses 7213 Barrier *barrier[ITERATIONS]; member in namespace:test506 [all...] |
/external/llvm/include/llvm/MC/ |
MCInstrDesc.h | 105 Barrier, 221 return Flags & (1 << MCID::Barrier);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_thread.py | 157 class Barrier: 185 self.bar = Barrier(NUMTASKS) 197 # barrier before the others are all out 208 verbose_print("task %s leaving barrier" % ident)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_thread.py | 157 class Barrier: 185 self.bar = Barrier(NUMTASKS) 197 # barrier before the others are all out 208 verbose_print("task %s leaving barrier" % ident)
|
/external/llvm/lib/CodeGen/ |
ScheduleDAGInstrs.cpp | 198 /// list of instructions being scheduled to scheduling barrier by adding 211 // If it's a call or a barrier, add dependencies on the defs and uses of 640 SDep Dep(SUa, isNormalMemory ? SDep::MayAliasMem : SDep::Barrier); 800 I->second->addPred(SDep(SU, SDep::Barrier)); 805 SDep Dep(SU, SDep::Barrier); 810 // Add SU to the barrier chain. 812 BarrierChain->addPred(SDep(SU, SDep::Barrier)); 814 // This is a barrier event that acts as a pivotal node in the DAG, [all...] |
/art/runtime/gc/collector/ |
mark_sweep.h | 21 #include "barrier.h" 237 Barrier& GetBarrier() { 446 UniquePtr<Barrier> gc_barrier_;
|
/external/llvm/include/llvm/CodeGen/ |
ScheduleDAG.h | 65 Barrier, ///< An unknown scheduling barrier.
|
MachineInstr.h | 357 return hasProperty(MCID::Barrier, Type); [all...] |