/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | MonitorTestCase.java | 142 TestGuard guard = new TestGuard(true); in testEnterWhen_initiallyTrue() local 143 thread1.callAndAssertReturns(enterWhen(), guard); in testEnterWhen_initiallyTrue() local 147 TestGuard guard = new TestGuard(false); in testEnterWhen_initiallyFalse() local 148 thread1.callAndAssertWaits(enterWhen(), guard); in testEnterWhen_initiallyFalse() local 156 TestGuard guard = new TestGuard(true); in testEnterWhen_alreadyOccupied() local 158 thread1.callAndAssertBlocks(enterWhen(), guard); in testEnterWhen_alreadyOccupied() local 164 TestGuard guard = new TestGuard(true); in testEnterIf_initiallyTrue() local 170 TestGuard guard = new TestGuard(false); in testEnterIf_initiallyFalse() local 176 TestGuard guard = new TestGuard(true); in testEnterIf_alreadyOccupied() local 178 thread1.callAndAssertBlocks(enterIf(), guard); in testEnterIf_alreadyOccupied() local [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | MonitorTestCase.java | 142 TestGuard guard = new TestGuard(true); in testEnterWhen_initiallyTrue() local 143 thread1.callAndAssertReturns(enterWhen(), guard); in testEnterWhen_initiallyTrue() local 149 TestGuard guard = new TestGuard(false); in testEnterWhen_initiallyFalse() local 150 thread1.callAndAssertWaits(enterWhen(), guard); in testEnterWhen_initiallyFalse() local 158 TestGuard guard = new TestGuard(true); in testEnterWhen_alreadyOccupied() local 160 thread1.callAndAssertBlocks(enterWhen(), guard); in testEnterWhen_alreadyOccupied() local 166 TestGuard guard = new TestGuard(true); in testEnterIf_initiallyTrue() local 172 TestGuard guard = new TestGuard(false); in testEnterIf_initiallyFalse() local 178 TestGuard guard = new TestGuard(true); in testEnterIf_alreadyOccupied() local 180 thread1.callAndAssertBlocks(enterIf(), guard); in testEnterIf_alreadyOccupied() local [all …]
|
/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | Monitor.java | 432 public void enterWhen(Guard guard) throws InterruptedException { in enterWhen() 462 public boolean enterWhen(Guard guard, long time, TimeUnit unit) throws InterruptedException { in enterWhen() 514 public void enterWhenUninterruptibly(Guard guard) { in enterWhenUninterruptibly() 542 public boolean enterWhenUninterruptibly(Guard guard, long time, TimeUnit unit) { in enterWhenUninterruptibly() 608 public boolean enterIf(Guard guard) { in enterIf() 632 public boolean enterIf(Guard guard, long time, TimeUnit unit) { in enterIf() 657 public boolean enterIfInterruptibly(Guard guard) throws InterruptedException { in enterIfInterruptibly() 681 public boolean enterIfInterruptibly(Guard guard, long time, TimeUnit unit) in enterIfInterruptibly() 709 public boolean tryEnterIf(Guard guard) { in tryEnterIf() 734 public void waitFor(Guard guard) throws InterruptedException { in waitFor() [all …]
|
/external/v8/src/libplatform/ |
D | task-queue.cc | 19 base::MutexGuard guard(&lock_); in ~TaskQueue() local 25 base::MutexGuard guard(&lock_); in Append() local 34 base::MutexGuard guard(&lock_); in GetNext() local 51 base::MutexGuard guard(&lock_); in Terminate() local 60 base::MutexGuard guard(&lock_); in BlockUntilQueueEmptyForTesting() local
|
D | default-job.cc | 48 base::MutexGuard guard(&mutex_); in NotifyConcurrencyIncrease() local 98 base::MutexGuard guard(&mutex_); in Join() local 110 base::MutexGuard guard(&mutex_); in Join() local 117 base::MutexGuard guard(&mutex_); in CancelAndWait() local 126 base::MutexGuard guard(&mutex_); in CancelAndDetach() local 131 base::MutexGuard guard(&mutex_); in IsActive() local 137 base::MutexGuard guard(&mutex_); in CanRunFirstTask() local 153 base::MutexGuard guard(&mutex_); in DidRunTask() local 213 base::MutexGuard guard(&mutex_); in UpdatePriority() local
|
D | default-foreground-task-runner.cc | 30 base::MutexGuard guard(&lock_); in Terminate() local 48 base::MutexGuard guard(&lock_); in PostTask() local 68 base::MutexGuard guard(&lock_); in PostDelayedTask() local 74 base::MutexGuard guard(&lock_); in PostNonNestableDelayedTask() local 80 base::MutexGuard guard(&lock_); in PostIdleTask() local 91 base::MutexGuard guard(&lock_); in PostNonNestableTask() local 108 const base::MutexGuard& guard) { in MoveExpiredDelayedTasks() 120 base::MutexGuard guard(&lock_); in PopTaskFromQueue() local 163 base::MutexGuard guard(&lock_); in PopTaskFromIdleQueue() local
|
D | delayed-task-queue.cc | 18 base::MutexGuard guard(&lock_); in ~DelayedTaskQueue() local 28 base::MutexGuard guard(&lock_); in Append() local 39 base::MutexGuard guard(&lock_); in AppendDelayed() local 47 base::MutexGuard guard(&lock_); in GetNext() local 98 base::MutexGuard guard(&lock_); in Terminate() local
|
D | default-platform.cc | 107 base::MutexGuard guard(&lock_); in ~DefaultPlatform() local 124 base::MutexGuard guard(&lock_); in EnsureBackgroundTaskRunnerInitialized() local 136 base::MutexGuard guard(&lock_); in SetTimeFunctionForTesting() local 147 base::MutexGuard guard(&lock_); in PumpMessageLoop() local 166 base::MutexGuard guard(&lock_); in RunIdleTasks() local 186 base::MutexGuard guard(&lock_); in GetForegroundTaskRunner() local 254 base::MutexGuard guard(&lock_); in NotifyIsolateShutdown() local
|
D | default-worker-threads-task-runner.cc | 27 base::MutexGuard guard(&lock_); in Terminate() local 35 base::MutexGuard guard(&lock_); in PostTask() local 42 base::MutexGuard guard(&lock_); in PostDelayedTask() local
|
/external/v8/src/heap/ |
D | safepoint.cc | 79 base::MutexGuard guard(&local_heap->state_mutex_); in EnterFromThread() local 88 base::MutexGuard guard(&local_heap->state_mutex_); in EnterFromThread() local 94 base::MutexGuard guard(&mutex_); in Arm() local 100 base::MutexGuard guard(&mutex_); in Disarm() local 107 base::MutexGuard guard(&mutex_); in Wait() local 120 base::MutexGuard guard(&local_heaps_mutex_); in ContainsLocalHeap() local 132 base::MutexGuard guard(&local_heaps_mutex_); in ContainsAnyLocalHeap() local
|
D | collection-barrier.cc | 16 base::MutexGuard guard(&mutex_); in ResumeThreadsAwaitingCollection() local 22 base::MutexGuard guard(&mutex_); in ShutdownRequested() local 47 base::MutexGuard guard(&mutex_); in AwaitCollectionBackground() local 62 base::MutexGuard guard(&mutex_); in StopTimeToCollectionTimer() local 92 base::MutexGuard guard(&mutex_); in BlockUntilCollected() local
|
D | index-generator.cc | 12 base::MutexGuard guard(&lock_); in IndexGenerator() local 18 base::MutexGuard guard(&lock_); in GetNext() local 41 base::MutexGuard guard(&lock_); in GiveBack() local
|
/external/v8/include/cppgc/ |
D | cross-thread-persistent.h | 47 PersistentRegionLock guard; in PersistentBase() local 97 PersistentRegionLock guard; variable 109 PersistentRegionLock guard; variable 117 PersistentRegionLock guard; variable 223 PersistentRegionLock guard; in Assign() local 235 PersistentRegionLock guard; in Assign() local
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/ |
D | swap.pass.cpp | 127 DisableAllocationGuard guard; in main() local 138 DisableAllocationGuard guard; in main() local 146 DisableAllocationGuard guard; in main() local 154 DisableAllocationGuard guard; in main() local 163 DisableAllocationGuard guard; in main() local 174 DisableAllocationGuard guard; in main() local 185 DisableAllocationGuard guard; in main() local
|
/external/v8/src/tasks/ |
D | cancelable-task.cc | 35 base::MutexGuard guard(&mutex_); in Register() local 52 base::MutexGuard guard(&mutex_); in RemoveFinishedTask() local 61 base::MutexGuard guard(&mutex_); in TryAbort() local 82 base::MutexGuard guard(&mutex_); in CancelAndWait() local 106 base::MutexGuard guard(&mutex_); in TryAbortAll() local
|
/external/perfetto/test/cts/producer/jni/ |
D | fake_producer_jni.cc | 67 std::lock_guard<std::mutex> guard(g_mutex); in ListenAndRespond() local 78 std::lock_guard<std::mutex> guard(g_mutex); in Java_android_perfetto_producer_ProducerActivity_quitTaskRunner() local 87 std::lock_guard<std::mutex> guard(g_mutex); in Java_android_perfetto_producer_ProducerIsolatedService_quitTaskRunner() local 95 std::lock_guard<std::mutex> guard(g_mutex); in Java_android_perfetto_producer_ProducerService_quitTaskRunner() local
|
/external/v8/src/base/ |
D | bounded-page-allocator.cc | 31 MutexGuard guard(&mutex_); in AllocatePages() local 83 MutexGuard guard(&mutex_); in FreePages() local 109 MutexGuard guard(&mutex_); in ReleasePages() local 115 MutexGuard guard(&mutex_); in ReleasePages() local
|
/external/v8/src/wasm/ |
D | wasm-engine.cc | 85 base::MutexGuard guard(mutex_); in DeregisterTask() local 402 base::MutexGuard guard(&mutex_); in ~WasmEngine() local 418 base::MutexGuard guard(&mutex_); in ~WasmEngine() local 835 base::MutexGuard guard(&mutex_); in GetOrCreateTurboStatistics() local 843 base::MutexGuard guard(&mutex_); in DumpAndResetTurboStatistics() local 852 base::MutexGuard guard(&mutex_); in GetCodeTracer() local 867 base::MutexGuard guard(&mutex_); in CreateAsyncCompileJob() local 874 base::MutexGuard guard(&mutex_); in RemoveCompileJob() local 883 base::MutexGuard guard(&mutex_); in HasRunningCompileJob() local 896 base::MutexGuard guard(&mutex_); in DeleteCompileJobsOnContext() local [all …]
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/subjects/ |
D | rx-subject.hpp | 128 std::unique_lock<std::mutex> guard(b->state->lock); in has_observers() local 134 std::unique_lock<std::mutex> guard(b->state->lock); in add() local 143 std::unique_lock<std::mutex> guard(b->state->lock); in add() local 181 std::unique_lock<std::mutex> guard(b->state->lock); in on_next() local 195 std::unique_lock<std::mutex> guard(b->state->lock); in on_error() local 214 std::unique_lock<std::mutex> guard(b->state->lock); in on_completed() local
|
/external/compiler-rt/lib/safestack/ |
D | safestack.cc | 95 static inline void *unsafe_stack_alloc(size_t size, size_t guard) { in unsafe_stack_alloc() 102 static inline void unsafe_stack_setup(void *start, size_t size, size_t guard) { in unsafe_stack_setup() 176 size_t guard = 0; in INTERCEPTOR() local 214 size_t guard = 4096; in __safestack_init() local
|
/external/v8/src/debug/wasm/gdb-server/ |
D | gdb-server-thread.cc | 40 v8::base::MutexGuard guard(&mutex_); in CleanupThread() local 104 v8::base::MutexGuard guard(&mutex_); in Stop() local
|
/external/libcxxabi/src/ |
D | cxa_guard.cpp | 122 uint64_t guard; in get_lock() member 132 uint64_t guard; in set_lock() member 145 uint32_t guard; in get_lock() member 155 uint32_t guard; in set_lock() member
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | random.cc | 50 subtle::SpinLock::Guard guard(x->lock); in GetRandomContext() local 83 subtle::SpinLock::Guard guard(x->lock); in RandomValue() local 89 subtle::SpinLock::Guard guard(x->lock); in SetMmapSeedForTesting() local
|
/external/perfetto/src/base/ |
D | watchdog_posix.cc | 109 std::lock_guard<std::mutex> guard(mutex_); in Start() local 126 std::lock_guard<std::mutex> guard(mutex_); in SetMemoryLimit() local 136 std::lock_guard<std::mutex> guard(mutex_); in SetCpuLimit() local 154 std::unique_lock<std::mutex> guard(mutex_); in ThreadMain() local
|
/external/v8/src/handles/ |
D | persistent-handles.cc | 106 base::MutexGuard guard(&persistent_handles_mutex_); in Add() local 115 base::MutexGuard guard(&persistent_handles_mutex_); in Remove() local 126 base::MutexGuard guard(&persistent_handles_mutex_); in Iterate() local
|