Home
last modified time | relevance | path

Searched refs:Guard (Results 1 – 25 of 73) sorted by relevance

123

/external/guava/guava/src/com/google/common/util/concurrent/
DMonitor.java291 public abstract static class Guard { class in Monitor
301 Guard next;
303 protected Guard(Monitor monitor) { in Guard() method in Monitor.Guard
332 private Guard activeGuards = null;
419 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()
[all …]
DAbstractService.java31 import com.google.common.util.concurrent.Monitor.Guard;
99 private final Guard isStartable = new Guard(monitor) {
105 private final Guard isStoppable = new Guard(monitor) {
111 private final Guard hasReachedRunning = new Guard(monitor) {
117 private final Guard isStopped = new Guard(monitor) {
DServiceManager.java441 final Monitor.Guard awaitHealthGuard = new Monitor.Guard(monitor) {
454 final Monitor.Guard stoppedGuard = new Monitor.Guard(monitor) {
/external/llvm/lib/IR/
DPassRegistry.cpp38 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
44 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
54 sys::SmartScopedWriter<true> Guard(Lock); in registerPass() local
70 sys::SmartScopedReader<true> Guard(Lock); in enumerateWith() local
94 sys::SmartScopedWriter<true> Guard(Lock); in registerAnalysisGroup() local
117 sys::SmartScopedWriter<true> Guard(Lock); in addRegistrationListener() local
122 sys::SmartScopedWriter<true> Guard(Lock); in removeRegistrationListener() local
/external/swiftshader/third_party/LLVM/lib/VMCore/
DPassRegistry.cpp75 sys::SmartScopedLock<true> Guard(*Lock); in ~PassRegistry() local
87 sys::SmartScopedLock<true> Guard(*Lock); in getPassInfo() local
94 sys::SmartScopedLock<true> Guard(*Lock); in getPassInfo() local
106 sys::SmartScopedLock<true> Guard(*Lock); in registerPass() local
123 sys::SmartScopedLock<true> Guard(*Lock); in unregisterPass() local
135 sys::SmartScopedLock<true> Guard(*Lock); in enumerateWith() local
163 sys::SmartScopedLock<true> Guard(*Lock); in registerAnalysisGroup() local
189 sys::SmartScopedLock<true> Guard(*Lock); in addRegistrationListener() local
195 sys::SmartScopedLock<true> Guard(*Lock); in removeRegistrationListener() local
/external/llvm/lib/CodeGen/
DStackProtector.cpp288 if (Value *Guard = TLI->getIRStackGuard(B)) in getStackGuard() local
289 return B.CreateLoad(Guard, true, "StackGuard"); in getStackGuard()
371 LoadInst *Guard = B.CreateLoad(AI, true, "Guard"); in InsertStackProtectors() local
372 CallInst *Call = B.CreateCall(GuardCheck, {Guard}); in InsertStackProtectors()
426 Value *Guard = getStackGuard(TLI, M, B); in InsertStackProtectors() local
428 Value *Cmp = B.CreateICmpEQ(Guard, LI2); in InsertStackProtectors()
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp39 MutexGuard Guard(Lock); in clearAnnotationCache() local
44 MutexGuard Guard(Lock); in cacheAnnotationFromMD() local
70 MutexGuard Guard(Lock); in cacheAnnotationFromMD() local
104 MutexGuard Guard(Lock); in findOneNVVMAnnotation() local
118 MutexGuard Guard(Lock); in findAllNVVMAnnotation() local
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedArrayBlockingQueue.java86 private final Monitor.Guard notEmpty;
89 private final Monitor.Guard notFull;
176 notEmpty = new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue()
181 notFull = new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue()
DMonitorBasedPriorityBlockingQueue.java97 private final Monitor.Guard notEmpty =
98 new Monitor.Guard(monitor) {
/external/llvm/include/llvm/IR/
DValueMap.h259 unique_lock<typename Config::mutex_type> Guard;
261 Guard = unique_lock<typename Config::mutex_type>(*M);
271 unique_lock<typename Config::mutex_type> Guard;
273 Guard = unique_lock<typename Config::mutex_type>(*M);
/external/v8/src/base/platform/
Dplatform-solaris.cc158 bool VirtualMemory::Guard(void* address) { in Guard() function in v8::base::VirtualMemory
159 OS::Guard(address, OS::CommitPageSize()); in Guard()
Dplatform-macos.cc199 bool VirtualMemory::Guard(void* address) { in Guard() function in v8::base::VirtualMemory
200 OS::Guard(address, OS::CommitPageSize()); in Guard()
Dplatform-aix.cc203 bool VirtualMemory::Guard(void* address) { in Guard() function in v8::base::VirtualMemory
204 OS::Guard(address, OS::CommitPageSize()); in Guard()
Dplatform-freebsd.cc206 bool VirtualMemory::Guard(void* address) { in Guard() function in v8::base::VirtualMemory
207 OS::Guard(address, OS::CommitPageSize()); in Guard()
Dplatform-qnx.cc263 bool VirtualMemory::Guard(void* address) { in Guard() function in v8::base::VirtualMemory
264 OS::Guard(address, OS::CommitPageSize()); in Guard()
Dplatform-openbsd.cc237 bool VirtualMemory::Guard(void* address) { in Guard() function in v8::base::VirtualMemory
238 OS::Guard(address, OS::CommitPageSize()); in Guard()
Dplatform-linux.cc279 bool VirtualMemory::Guard(void* address) { in Guard() function in v8::base::VirtualMemory
281 OS::Guard(address, OS::CommitPageSize()); in Guard()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DSignals.inc226 unique_lock<SmartMutex<true>> Guard(*SignalsMutex);
233 Guard.unlock();
239 Guard.unlock();
259 sys::SmartScopedLock<true> Guard(*SignalsMutex);
265 sys::SmartScopedLock<true> Guard(*SignalsMutex);
275 sys::SmartScopedLock<true> Guard(*SignalsMutex);
285 sys::SmartScopedLock<true> Guard(*SignalsMutex);
/external/llvm/lib/Support/Unix/
DSignals.inc226 unique_lock<SmartMutex<true>> Guard(*SignalsMutex);
233 Guard.unlock();
239 Guard.unlock();
259 sys::SmartScopedLock<true> Guard(*SignalsMutex);
265 sys::SmartScopedLock<true> Guard(*SignalsMutex);
275 sys::SmartScopedLock<true> Guard(*SignalsMutex);
285 sys::SmartScopedLock<true> Guard(*SignalsMutex);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMonitorTestCase.java35 public class TestGuard extends Monitor.Guard {
226 .setDefault(Monitor.Guard.class, new TestGuard(true)) in testNulls()
/external/pdfium/third_party/base/allocator/partition_allocator/
Dspin_lock.h30 using Guard = std::lock_guard<SpinLock>;
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp525 Address Guard) { in GenerateCXXGlobalInitFunc() argument
534 if (Guard.isValid()) { in GenerateCXXGlobalInitFunc()
537 llvm::Value *GuardVal = Builder.CreateLoad(Guard); in GenerateCXXGlobalInitFunc()
547 Builder.CreateStore(llvm::ConstantInt::get(GuardVal->getType(),1), Guard); in GenerateCXXGlobalInitFunc()
/external/llvm/tools/llvm-cov/
DCodeCoverage.cpp129 std::unique_lock<std::mutex> Guard{DeferredMessagesLock}; in deferError() local
134 std::unique_lock<std::mutex> Guard{DeferredMessagesLock}; in deferWarning() local
139 std::unique_lock<std::mutex> Guard{DeferredMessagesLock}; in consumeDeferredMessages() local
166 std::unique_lock<std::mutex> Guard{LoadedSourceFilesLock}; in getSourceFile() local
/external/clang/utils/TableGen/
DNeonEmitter.cpp293 std::string Guard; member in __anone254340e0111::Intrinsic
326 StringRef Guard, bool IsUnavailable, bool BigEndianSafe) in Intrinsic() argument
328 CK(CK), Body(Body), Guard(Guard.str()), IsUnavailable(IsUnavailable), in Intrinsic()
364 std::string getGuard() const { return Guard; } in getGuard()
423 if (Guard != Other.Guard) in operator <()
424 return Guard < Other.Guard; in operator <()
1918 std::string Guard = R->getValueAsString("ArchGuard"); in createIntrinsic() local
1956 Guard, IsUnavailable, BigEndianSafe); in createIntrinsic()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp249 unique_lock<sys::Mutex> Guard(*FunctionsLock); in callExternalFunction() local
256 Guard.unlock(); in callExternalFunction()
274 Guard.unlock(); in callExternalFunction()

123