/libcore/ojluni/src/main/java/java/security/ |
Guard.java | 29 * <p> This interface represents a guard, which is an object that is used 43 public interface Guard { 50 * @param object the object being protected by the guard.
|
GuardedObject.java | 32 * <p>A GuardedObject encapsulates a target object and a Guard object, 34 * only if the Guard object allows it. 38 * {@code checkGuard} method on the Guard object that is 42 * @see Guard 54 private Guard guard; // the guard field in class:GuardedObject 57 * Constructs a GuardedObject using the specified object and guard. 58 * If the Guard object is null, then no restrictions will 63 * @param guard the Guard object that guards access to the object [all...] |
Permission.java | 34 public abstract class Permission implements Guard, java.io.Serializable {
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyGuard.java | 21 import java.security.Guard; 23 public class MyGuard implements Guard, Serializable {
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
Monitor.java | 156 * <p>This version adds some verbosity around the {@code Guard} objects, but removes that same 164 * private final Monitor.Guard valuePresent = new Monitor.Guard(monitor) { 169 * private final Monitor.Guard valueAbsent = new Monitor.Guard(monitor) { 206 // TODO(user): Change API to make it impossible to use a Guard with the "wrong" monitor, 209 // guard.lock(); 210 // try { /* monitor locked and guard satisfied here */ } 211 // finally { guard.unlock(); } 222 // guard.enter() paired with monitor.leave()? That might ge [all...] |
AbstractService.java | 31 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) { 245 // even check the guard. I don't think we care too much about this use case but it could lea [all...] |
/external/llvm/lib/IR/ |
PassRegistry.cpp | 38 sys::SmartScopedReader<true> Guard(Lock); 44 sys::SmartScopedReader<true> Guard(Lock); 54 sys::SmartScopedWriter<true> Guard(Lock); 70 sys::SmartScopedReader<true> Guard(Lock); 94 sys::SmartScopedWriter<true> Guard(Lock); 117 sys::SmartScopedWriter<true> Guard(Lock); 122 sys::SmartScopedWriter<true> Guard(Lock);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
GuardedObjectTest.java | 25 import java.security.Guard; 36 /** Null guard imposes no restriction. */ 47 /** Test real guard can both allow and deny access. */ 51 GuardedObject go = new GuardedObject(objBuffer, new Guard() {
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
spin_lock.h | 30 using Guard = std::lock_guard<SpinLock>;
|
address_space_randomization.cc | 53 subtle::SpinLock::Guard guard(x->lock);
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
PassRegistry.cpp | 75 sys::SmartScopedLock<true> Guard(*Lock); 87 sys::SmartScopedLock<true> Guard(*Lock); 94 sys::SmartScopedLock<true> Guard(*Lock); 106 sys::SmartScopedLock<true> Guard(*Lock); 123 sys::SmartScopedLock<true> Guard(*Lock); 135 sys::SmartScopedLock<true> Guard(*Lock); 163 sys::SmartScopedLock<true> Guard(*Lock); 189 sys::SmartScopedLock<true> Guard(*Lock); 195 sys::SmartScopedLock<true> Guard(*Lock);
|
/external/llvm/lib/CodeGen/ |
StackProtector.cpp | 202 /// The standard heuristic which will add a guard variable to functions that 206 /// strong heuristic will add a guard variables to functions that call alloca 283 /// Create a stack guard loading and populate whether SelectionDAG SSP is 288 if (Value *Guard = TLI->getIRStackGuard(B)) 289 return B.CreateLoad(Guard, true, "StackGuard"); 291 // Use SelectionDAG SSP handling, since there isn't an IR guard. 308 /// Insert code into the entry block that stores the stack guard 313 /// StackGuard = <stack guard> 334 /// - The prologue code loads and stores the stack guard onto the stack. 340 AllocaInst *AI = nullptr; // Place on stack that stores the stack guard [all...] |
/prebuilts/misc/common/swig/include/2.0.11/ruby/ |
director.swg | 279 struct Guard 283 Guard(pthread_mutex_t &mutex) : _mutex(&mutex) 288 ~Guard() 293 # define SWIG_GUARD(mutex) Guard _guard(mutex)
|
/prebuilts/misc/common/swig/include/2.0.11/python/ |
director.swg | 335 class Guard 340 Guard(PyThread_type_lock & mutex) : mutex_(mutex) 345 ~Guard() 350 # define SWIG_GUARD(mutex) Guard _guard(mutex)
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
MonitorBasedArrayBlockingQueue.java | 85 /** Guard for waiting takes */ 86 private final Monitor.Guard notEmpty; 88 /** Guard for waiting puts */ 89 private final Monitor.Guard notFull; 176 notEmpty = new Monitor.Guard(monitor) { 181 notFull = new Monitor.Guard(monitor) {
|
/external/llvm/include/llvm/IR/ |
ValueMap.h | 259 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);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
ValueMap.h | 266 unique_lock<typename Config::mutex_type> Guard; 268 Guard = unique_lock<typename Config::mutex_type>(*M); 279 unique_lock<typename Config::mutex_type> Guard; 281 Guard = unique_lock<typename Config::mutex_type>(*M);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 131 bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/IR/ |
ValueMap.h | 266 unique_lock<typename Config::mutex_type> Guard; 268 Guard = unique_lock<typename Config::mutex_type>(*M); 279 unique_lock<typename Config::mutex_type> Guard; 281 Guard = unique_lock<typename Config::mutex_type>(*M);
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 131 bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/IR/ |
ValueMap.h | 266 unique_lock<typename Config::mutex_type> Guard; 268 Guard = unique_lock<typename Config::mutex_type>(*M); 279 unique_lock<typename Config::mutex_type> Guard; 281 Guard = unique_lock<typename Config::mutex_type>(*M);
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 131 bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/IR/ |
ValueMap.h | 266 unique_lock<typename Config::mutex_type> Guard; 268 Guard = unique_lock<typename Config::mutex_type>(*M); 279 unique_lock<typename Config::mutex_type> Guard; 281 Guard = unique_lock<typename Config::mutex_type>(*M);
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 146 bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/IR/ |
ValueMap.h | 266 unique_lock<typename Config::mutex_type> Guard; 268 Guard = unique_lock<typename Config::mutex_type>(*M); 279 unique_lock<typename Config::mutex_type> Guard; 281 Guard = unique_lock<typename Config::mutex_type>(*M);
|