HomeSort by relevance Sort by last modified time
    Searched refs:Lock (Results 1 - 25 of 1513) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Library/
Library.c 18 // Lock Stuff
21 Initialize a basic mutual exclusion lock. Each lock
24 multiprocessor support, acquiring the lock only consists
27 @param Lock The EFI_LOCK structure to initialize
29 @retval EFI_SUCCESS Lock Owned.
30 @retval EFI_ACCESS_DENIED Reentrant Lock Acquisition, Lock not Owned.
35 IN EFI_LOCK *Lock
38 ASSERT (Lock != NULL);
    [all...]
  /external/syslinux/gnu-efi/gnu-efi-3.0/lib/
lock.c 7 lock.c
25 IN OUT FLOCK *Lock,
32 Initialize a basic mutual exclusion lock. Each lock
35 multiprocessor support, acquiring the lock only consists
38 Note on a debug build the lock is acquired and released
43 Lock - The FLOCK structure to initialize
45 Priority - The task priority level of the lock
50 An initialized F Lock structure.
54 Lock->Tpl = Priority
    [all...]
  /external/sfntly/cpp/src/sfntly/port/
lock.cc 17 #include "sfntly/port/lock.h"
23 Lock::Lock() {
29 Lock::~Lock() {
33 bool Lock::Try() {
40 void Lock::Acquire() {
44 void Lock::Unlock() {
50 Lock::Lock() {
    [all...]
lock.h 37 class Lock {
39 Lock();
40 ~Lock();
42 // If the lock is not held, take it and return true. If the lock is already
46 // Take the lock, blocking until it is available if necessary.
49 // Release the lock. This must only be called by the lock's holder: after
50 // a successful call to Try, or a call to Lock.
55 NO_COPY_AND_ASSIGN(Lock);
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
Lock.c 14 Lock.c
27 IN OUT EFI_LOCK *Lock,
34 Initialize a basic mutual exclusion lock. Each lock
37 multiprocessor support, acquiring the lock only consists
41 lock usage.
45 Lock - The EFI_LOCK structure to initialize
47 Priority - The task priority level of the lock
52 An initialized Efi Lock structure.
56 Lock->Tpl = Priority;
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/
Lock.c 14 Lock.c
33 IN OUT EFI_LOCK *Lock,
40 Initialize a basic mutual exclusion lock. Each lock
43 multiprocessor support, acquiring the lock only consists
47 lock usage.
51 Lock - The EFI_LOCK structure to initialize
53 Priority - The task priority level of the lock
58 An initialized Efi Lock structure.
62 Lock->Tpl = Priority;
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ipf/
Lock.c 14 Lock.c
36 IN OUT EFI_LOCK *Lock,
43 Initialize a basic mutual exclusion lock. There is
49 Lock - The EFI_LOCK structure to initialize
56 An initialized Efi Lock structure.
60 Lock->Tpl = Priority;
61 Lock->OwnerTpl = 0;
62 Lock->Lock = 0;
67 IN EFI_LOCK *Lock
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/
Lock.c 14 Lock.c
33 IN OUT EFI_LOCK *Lock,
40 Initialize a basic mutual exclusion lock. Each lock
43 multiprocessor support, acquiring the lock only consists
47 lock usage.
51 Lock - The EFI_LOCK structure to initialize
53 Priority - The task priority level of the lock
58 An initialized Efi Lock structure.
62 Lock->Tpl = Priority;
    [all...]
  /external/libchrome/base/synchronization/
lock.cc 5 // This file is used for debugging assertion support. The Lock class
9 #include "base/synchronization/lock.h"
15 Lock::Lock() : lock_() {
18 Lock::~Lock() {
22 void Lock::AssertAcquired() const {
26 void Lock::CheckHeldAndUnmark() {
31 void Lock::CheckUnheldAndMark() {
lock.h 20 class BASE_EXPORT Lock {
24 Lock() : lock_() {}
25 ~Lock() {}
26 void Acquire() { lock_.Lock(); }
29 // If the lock is not held, take it and return true. If the lock is already
31 // by a thread already holding the lock (what happens is undefined and an
38 Lock();
39 ~Lock();
42 // a thread attempts to acquire the lock a second time (while already holdin
    [all...]
  /libcore/ojluni/src/main/java/java/util/concurrent/locks/
ReadWriteLock.java 40 * Lock locks}, one for read-only operations and one for writing.
41 * The {@linkplain #readLock read lock} may be held simultaneously
43 * The {@linkplain #writeLock write lock} is exclusive.
47 * (as specified in the {@link Lock} interface) also hold with respect
49 * acquiring the read lock will see all updates made upon previous
50 * release of the write lock.
52 * <p>A read-write lock allows for a greater level of concurrency in
53 * accessing shared data than that permitted by a mutual exclusion lock.
59 * lock will lead to performance improvements over the use of a mutual
60 * exclusion lock. In practice this increase in concurrency will only be full
    [all...]
  /external/syslinux/gnu-efi/gnu-efi-3.0/lib/runtime/
rtlock.c 7 lock.c
29 IN FLOCK *Lock
36 lock, and then acquires ownership of the lock.
40 Lock - The lock to acquire
44 Lock owned
50 Lock->OwnerTpl = uefi_call_wrapper(BS->RaiseTPL, 1, Lock->Tpl);
55 Lock->OwnerTpl = LibRuntimeRaiseTPL(Lock->Tpl)
    [all...]
  /external/clang/test/SemaCXX/
operator-arrow-temporary.cpp 8 template<int x> struct Lock {
9 ~Lock() { int a[x]; } // expected-error {{declared as an array with a negative size}}
14 Lock<-1> operator->();
17 // Make sure we try to instantiate the destructor for Lock here
  /toolchain/binutils/binutils-2.27/gold/
gold-threads.h 28 // Lock
29 // A simple lock class.
41 // The interface for the implementation of a Lock.
60 // A simple lock class.
62 class Lock
65 Lock();
67 ~Lock();
69 // Acquire the lock.
74 // Release the lock.
81 Lock(const Lock&)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
dmo.h 25 #define Lock DMOLock
29 #undef Lock
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
posix_event.hpp 42 template <typename Lock>
43 void signal(Lock& lock)
45 this->signal_all(lock);
49 template <typename Lock>
50 void signal_all(Lock& lock)
52 ASIO_ASSERT(lock.locked());
53 (void)lock;
59 template <typename Lock>
    [all...]
  /external/compiler-rt/test/tsan/
mutex_annotations.cc 21 void Lock() {
36 m.Lock();
40 m.Lock();
  /device/google/cuttlefish_common/common/vsoc/lib/
lock_guard.h 19 #include "common/vsoc/shm/lock.h"
29 template <typename Lock>
32 explicit LockGuard(Lock* lock) : lock_(lock) {
33 lock_->Lock();
51 Lock* lock_;
56 using Lock = ::vsoc::layout::GuestAndHostLock;
59 LockGuard(Lock* lock, RegionView* region) : lock_(lock), region_(region)
    [all...]
  /external/clang/test/PCH/
thread-safety-attrs.cpp 35 void Lock() __attribute__((exclusive_lock_function));
64 // The universal lock, written "*", allows checking to be selectively turned
118 sls_mw.mu.Lock();
124 sls_mu.Lock();
130 sls_mu.Lock();
136 sls_mu2.Lock();
142 sls_mu.Lock();
148 sls_mu.Lock();
154 sls_mu.Lock();
155 sls_mu2.Lock();
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
CycleDetectingLockFactoryBenchmark.java 23 import java.util.concurrent.locks.Lock;
36 private Lock[] plainLocks;
37 private Lock[] detectingLocks;
43 this.plainLocks = new Lock[lockNestingDepth];
47 this.detectingLocks = new Lock[lockNestingDepth];
49 detectingLocks[i] = factory.newReentrantLock("Lock" + i);
61 private void lockAndUnlock(Lock lock, int reps) {
63 lock.lock();
79 locks[j].lock(); method
    [all...]
StripedBenchmark.java 35 import java.util.concurrent.locks.Lock;
43 private static final Supplier<Lock> LOCK_SUPPLIER = new Supplier<Lock>() {
44 @Override public Lock get() {
54 @Override Striped<Lock> get(int stripes) {
55 return Striped.lock(stripes);
59 @Override Striped<Lock> get(int stripes) {
60 return new Striped.SmallLazyStriped<Lock>(stripes, LOCK_SUPPLIER);
64 @Override Striped<Lock> get(int stripes) {
65 return new Striped.LargeLazyStriped<Lock>(stripes, LOCK_SUPPLIER)
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/race/testdata/
mutex_test.go 19 mu.Lock()
25 mu.Lock()
41 mu.Lock()
47 mu.Lock()
62 mu1.Lock()
68 mu2.Lock()
84 mu.Lock()
90 mu.Lock()
104 mu.Lock()
111 mu.Lock()
    [all...]
  /prebuilts/go/linux-x86/src/runtime/race/testdata/
mutex_test.go 19 mu.Lock()
25 mu.Lock()
41 mu.Lock()
47 mu.Lock()
62 mu1.Lock()
68 mu2.Lock()
84 mu.Lock()
90 mu.Lock()
104 mu.Lock()
111 mu.Lock()
    [all...]
  /external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
destructor.pass.cpp 25 typedef std::unique_lock<std::mutex> Lock;
32 Lock lk(m);
40 Lock lk(m);
51 Lock lk(m);
  /external/libmojo/mojo/public/cpp/bindings/lib/
may_auto_lock.h 10 #include "base/synchronization/lock.h"
15 // Similar to base::AutoLock, except that it does nothing if |lock| passed into
19 explicit MayAutoLock(base::Optional<base::Lock>* lock)
20 : lock_(lock->has_value() ? &lock->value() : nullptr) {
33 base::Lock* lock_;
37 // Similar to base::AutoUnlock, except that it does nothing if |lock| passed
41 explicit MayAutoUnlock(base::Optional<base::Lock>* lock)
    [all...]

Completed in 1138 milliseconds

1 2 3 4 5 6 7 8 91011>>