Home
last modified time | relevance | path

Searched refs:ThreadGuard (Results 1 – 7 of 7) sorted by relevance

/external/rust/android-crates-io/crates/thread_local/src/
Dthread_id.rs84 … thread_local! { static THREAD_GUARD: ThreadGuard = const { ThreadGuard { id: Cell::new(0) } }; }
87 struct ThreadGuard {
94 impl Drop for ThreadGuard {
132 … thread_local! { static THREAD_GUARD: ThreadGuard = const { ThreadGuard { id: Cell::new(0) } }; }
135 struct ThreadGuard {
142 impl Drop for ThreadGuard {
/external/rust/android-crates-io/crates/signal-hook/tests/
Diterator.rs112 struct ThreadGuard { in signals_block_wait() struct
117 impl ThreadGuard { in signals_block_wait() implementation
130 impl Drop for ThreadGuard { in signals_block_wait() implementation
136 let mut bg_thread = ThreadGuard { in signals_block_wait()
/external/cronet/tot/third_party/llvm-libc/src/test/integration/src/pthread/
Dpthread_rwlock_test.cpp320 struct ThreadGuard { struct
324 ~ThreadGuard() { in ~ThreadGuard() argument
338 static void randomized_thread_operation(SharedData *data, ThreadGuard &guard) { in randomized_thread_operation()
448 ThreadGuard guard{}; in randomized_process_operation()
/external/llvm-libc/test/integration/src/pthread/
Dpthread_rwlock_test.cpp320 struct ThreadGuard { struct
324 ~ThreadGuard() { in ~ThreadGuard() argument
338 static void randomized_thread_operation(SharedData *data, ThreadGuard &guard) { in randomized_thread_operation()
448 ThreadGuard guard{}; in randomized_process_operation()
/external/cronet/stable/third_party/llvm-libc/src/test/integration/src/pthread/
Dpthread_rwlock_test.cpp320 struct ThreadGuard { struct
324 ~ThreadGuard() { in ~ThreadGuard() argument
338 static void randomized_thread_operation(SharedData *data, ThreadGuard &guard) { in randomized_thread_operation()
448 ThreadGuard guard{}; in randomized_process_operation()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h159 bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp2682 if (isGuard(&I) && ThreadGuard(BB, cast<IntrinsicInst>(&I), BI)) in ProcessGuards()
2691 bool JumpThreadingPass::ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, in ThreadGuard() function in JumpThreadingPass