Home
last modified time | relevance | path

Searched defs:guard (Results 1 – 25 of 63) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMonitorTestCase.java142 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/src/com/google/common/util/concurrent/
DMonitor.java419 public void enterWhen(Guard guard) throws InterruptedException { in enterWhen()
443 public void enterWhenUninterruptibly(Guard guard) { in enterWhenUninterruptibly()
471 public boolean enterWhen(Guard guard, long time, TimeUnit unit) throws InterruptedException { in enterWhen()
512 public boolean enterWhenUninterruptibly(Guard guard, long time, TimeUnit unit) { in enterWhenUninterruptibly()
567 public boolean enterIf(Guard guard) { in enterIf()
590 public boolean enterIfInterruptibly(Guard guard) throws InterruptedException { in enterIfInterruptibly()
613 public boolean enterIf(Guard guard, long time, TimeUnit unit) { in enterIf()
637 public boolean enterIfInterruptibly(Guard guard, long time, TimeUnit unit) in enterIfInterruptibly()
665 public boolean tryEnterIf(Guard guard) { in tryEnterIf()
688 public void waitFor(Guard guard) throws InterruptedException { in waitFor()
[all …]
/external/v8/src/libplatform/
Dtask-queue.cc16 base::LockGuard<base::Mutex> guard(&lock_); in ~TaskQueue() local
23 base::LockGuard<base::Mutex> guard(&lock_); in Append() local
33 base::LockGuard<base::Mutex> guard(&lock_); in GetNext() local
50 base::LockGuard<base::Mutex> guard(&lock_); in Terminate() local
Ddefault-platform.cc41 base::LockGuard<base::Mutex> guard(&lock_); in ~DefaultPlatform() local
66 base::LockGuard<base::Mutex> guard(&lock_); in SetThreadPoolSize() local
77 base::LockGuard<base::Mutex> guard(&lock_); in EnsureInitialized() local
115 base::LockGuard<base::Mutex> guard(&lock_); in PumpMessageLoop() local
144 base::LockGuard<base::Mutex> guard(&lock_); in CallOnForegroundThread() local
152 base::LockGuard<base::Mutex> guard(&lock_); in CallDelayedOnForegroundThread() local
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DHalAdaptation.cpp250 SyncEventGuard guard (gOpenCompletedEvent); in HaiOpen() local
268 SyncEventGuard guard (gOpenCompletedEvent); in BroadcomHalCallback() local
276 SyncEventGuard guard (gPostInitCompletedEvent); in BroadcomHalCallback() local
284 SyncEventGuard guard (gCloseCompletedEvent); in BroadcomHalCallback() local
293 SyncEventGuard guard (gOpenCompletedEvent); in BroadcomHalCallback() local
297 SyncEventGuard guard (gPostInitCompletedEvent); in BroadcomHalCallback() local
301 SyncEventGuard guard (gCloseCompletedEvent); in BroadcomHalCallback() local
324 SyncEventGuard guard (gCloseCompletedEvent); in HaiClose() local
338 SyncEventGuard guard (gPostInitCompletedEvent); in HaiCoreInitialized() local
/external/v8/src/
Dcancelable-task.cc39 base::LockGuard<base::Mutex> guard(&mutex_); in Register() local
54 base::LockGuard<base::Mutex> guard(&mutex_); in RemoveFinishedTask() local
63 base::LockGuard<base::Mutex> guard(&mutex_); in TryAbort() local
86 base::LockGuard<base::Mutex> guard(&mutex_); in CancelAndWait() local
/external/libcxxabi/src/
Dcxa_guard.cpp118 uint64_t guard; in get_lock() member
130 uint64_t guard; in set_lock() member
143 uint32_t guard; in get_lock() member
155 uint32_t guard; in set_lock() member
/external/compiler-rt/lib/safestack/
Dsafestack.cc95 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/valgrind/drd/
Ddrd_libstdcxx_intercepts.c69 int __cxa_guard_acquire_intercept(void *guard) in __cxa_guard_acquire_intercept()
94 void __cxa_guard_abort_release_intercept(void *guard) in __cxa_guard_abort_release_intercept()
Ddrd_load_store.c354 IRExpr* const guard/* NULL => True */) in instr_trace_mem_load()
378 IRExpr* const guard/* NULL => True */) in instr_trace_mem_store()
477 IRExpr* const guard/* NULL => True */) in instrument_load()
/external/vixl/src/vixl/a64/
Dmacro-assembler-a64.cc102 InstructionAccurateScope guard(masm_, emit_size / kInstructionSize); in Emit() local
367 MacroEmissionCheckScope guard(masm); in MoveImmediateHelper() local
508 SingleEmissionCheckScope guard(this); in B() local
516 EmissionCheckScope guard(this, 2 * kInstructionSize); in B() local
537 EmissionCheckScope guard(this, 2 * kInstructionSize); in Cbnz() local
558 EmissionCheckScope guard(this, 2 * kInstructionSize); in Cbz() local
579 EmissionCheckScope guard(this, 2 * kInstructionSize); in Tbnz() local
600 EmissionCheckScope guard(this, 2 * kInstructionSize); in Tbz() local
712 MacroEmissionCheckScope guard(this); in LogicalMacro() local
818 MacroEmissionCheckScope guard(this); in Mov() local
[all …]
/external/vulkan-validation-layers/demos/smoke/
Dgenerate-dispatch-table77 def __init__(self, name, version, guard=None, commands=[]): argument
319 def generate_header(guard): argument
352 def get_proc_addr(dispatchable, cmd, guard=None): argument
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsignal_segv_handler.cc24 void *guard; variable
/external/conscrypt/src/platform/java/org/conscrypt/
DPlatform.java281 CloseGuard guard = (CloseGuard) guardObj; in closeGuardOpen() local
286 CloseGuard guard = (CloseGuard) guardObj; in closeGuardClose() local
291 CloseGuard guard = (CloseGuard) guardObj; in closeGuardWarnIfOpen() local
/external/dbus-binding-generator/chromeos-dbus-bindings/
Dheader_generator.cc25 string guard = base::StringPrintf("____chromeos_dbus_binding__%s", in GenerateHeaderGuard() local
/external/valgrind/lackey/
Dlk_main.c367 static void instrument_detail(IRSB* sb, Op op, IRType type, IRAtom* guard) in instrument_detail()
416 IRAtom* guard; /* :: Ity_I1, or NULL=="always True" */ member
546 void addEvent_Dr_guarded ( IRSB* sb, IRAtom* daddr, Int dsize, IRAtom* guard ) in addEvent_Dr_guarded()
573 void addEvent_Dw_guarded ( IRSB* sb, IRAtom* daddr, Int dsize, IRAtom* guard ) in addEvent_Dw_guarded()
/external/conscrypt/src/compat/java/org/conscrypt/
DPlatform.java452 CloseGuard guard = (CloseGuard) guardObj; in closeGuardOpen() local
461 CloseGuard guard = (CloseGuard) guardObj; in closeGuardClose() local
470 CloseGuard guard = (CloseGuard) guardObj; in closeGuardWarnIfOpen() local
/external/clang/test/CodeGen/
D2007-09-12-PragmaPack.c24 uint32_t guard; member
/external/libvorbis/vq/
Dlatticetune.c45 int entries=-1,dim=-1,guard=1; in main() local
Dhuffbuild.c65 int i,j,k,begin,n,subn,guard=1; in main() local
/external/libnfc-nci/src/adaptation/
DNfcAdaptation.cpp185 AutoThreadMutex guard(mCondVar); in Initialize() local
273 AutoThreadMutex guard(CondVar); in Thread() local
/external/valgrind/memcheck/
Dmc_translate.c1211 static void complainIfUndefined ( MCEnv* mce, IRAtom* atom, IRExpr *guard ) in complainIfUndefined()
1432 IRAtom* atom, IRAtom* vatom, IRExpr *guard ) in do_shadow_PUT()
4626 IRAtom* addr, UInt bias, IRAtom* guard ) in expr2vbits_Load_WRK()
4761 IRAtom* guard ) in expr2vbits_Load()
4794 IRAtom* guard, in expr2vbits_Load_guarded_General()
4852 IRAtom *guard ) in expr2vbits_Load_guarded_Simple()
5022 IRAtom* guard ) in do_shadow_Store()
6582 struct { void* entry; IRExpr* guard; } member
6638 Bool check_or_add ( XArray* /*of Pair*/ pairs, IRExpr* guard, void* entry ) in check_or_add()
6672 IRExpr* guard; in MC_() local
[all …]
/external/v8/src/profiler/
Dheap-profiler.cc145 base::LockGuard<base::Mutex> guard(&profiler_mutex_); in ObjectMoveEvent() local
/external/v8/test/mjsunit/
Dtry.js60 function guard(f) { try { f(); } catch (o) { return o; } } function
/external/clang/test/Sema/
Datomic-ops.c250 atomic_flag guard = ATOMIC_FLAG_INIT; in f() local

123