/external/libxkbcommon/test/data/types/ |
D | level5 | 29 modifiers = Shift+Lock+LevelThree+LevelFive; 32 map[Lock] = Level2; 35 map[Lock+LevelThree] = Level4; 36 map[Lock+Shift+LevelThree] = Level3; 40 map[Lock+LevelFive] = Level6; 43 map[Lock+LevelThree+LevelFive] = Level8; 44 map[Lock+Shift+LevelThree+LevelFive] = Level7; 57 // Level5-Lock is implemented by using NumLock, because a real modifier 60 modifiers = Shift + Lock + LevelThree + NumLock + LevelFive; 82 // Lock has no effect [all …]
|
D | extra | 21 modifiers = Shift+Lock+LevelThree; 24 map[Lock] = Level2; 27 map[Lock+LevelThree] = Level4; 28 map[Lock+Shift+LevelThree] = Level3; 36 modifiers = Shift+Lock+LevelThree; 39 map[Lock] = Level2; 42 map[Lock+LevelThree] = Level3; 43 map[Lock+Shift+LevelThree] = Level4; 44 preserve[Lock+LevelThree] = Lock; 45 preserve[Lock+Shift+LevelThree] = Lock; [all …]
|
/external/sfntly/cpp/src/sfntly/port/ |
D | lock.cc | 23 Lock::Lock() { in Lock() function in sfntly::Lock 29 Lock::~Lock() { in ~Lock() 33 bool Lock::Try() { in Try() 40 void Lock::Acquire() { in Acquire() 44 void Lock::Unlock() { in Unlock() 50 Lock::Lock() { 54 Lock::~Lock() { 58 bool Lock::Try() { 62 void Lock::Acquire() { 66 void Lock::Unlock() {
|
D | lock.h | 37 class Lock { 39 Lock(); 40 ~Lock(); 55 NO_COPY_AND_ASSIGN(Lock); 61 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock() 70 Lock& lock_;
|
/external/llvm-project/clang/test/PCH/ |
D | thread-safety-attrs.cpp | 35 void Lock() __attribute__((exclusive_lock_function)); 118 sls_mw.mu.Lock(); in sls_fun_0() 124 sls_mu.Lock(); in sls_fun_2() 130 sls_mu.Lock(); in sls_fun_3() 136 sls_mu2.Lock(); in sls_fun_4() 142 sls_mu.Lock(); in sls_fun_5() 148 sls_mu.Lock(); in sls_fun_6() 154 sls_mu.Lock(); in sls_fun_7() 155 sls_mu2.Lock(); in sls_fun_7() 161 sls_mu.Lock(); in sls_fun_8() [all …]
|
/external/clang/test/PCH/ |
D | thread-safety-attrs.cpp | 35 void Lock() __attribute__((exclusive_lock_function)); 118 sls_mw.mu.Lock(); in sls_fun_0() 124 sls_mu.Lock(); in sls_fun_2() 130 sls_mu.Lock(); in sls_fun_3() 136 sls_mu2.Lock(); in sls_fun_4() 142 sls_mu.Lock(); in sls_fun_5() 148 sls_mu.Lock(); in sls_fun_6() 154 sls_mu.Lock(); in sls_fun_7() 155 sls_mu2.Lock(); in sls_fun_7() 161 sls_mu.Lock(); in sls_fun_8() [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-thread-safety-analysis.cpp | 13 void Lock() EXCLUSIVE_LOCK_FUNCTION(); 144 sls_mw.mu.Lock(); in sls_fun_0() 150 sls_mu.Lock(); in sls_fun_2() 156 sls_mu.Lock(); in sls_fun_3() 162 sls_mu2.Lock(); in sls_fun_4() 168 sls_mu.Lock(); in sls_fun_5() 174 sls_mu.Lock(); in sls_fun_6() 180 sls_mu.Lock(); in sls_fun_7() 181 sls_mu2.Lock(); in sls_fun_7() 187 sls_mu.Lock(); in sls_fun_8() [all …]
|
/external/libchrome/base/synchronization/ |
D | lock.h | 20 class BASE_EXPORT Lock { 24 Lock() : lock_() {} in Lock() function 25 ~Lock() {} in ~Lock() 26 void Acquire() { lock_.Lock(); } in Acquire() 38 Lock(); 39 ~Lock(); 45 lock_.Lock(); 104 DISALLOW_COPY_AND_ASSIGN(Lock); 112 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock() 116 AutoLock(Lock& lock, const AlreadyAcquired&) : lock_(lock) { in AutoLock() [all …]
|
D | lock.cc | 15 Lock::Lock() : lock_() { in Lock() function in base::Lock 18 Lock::~Lock() { in ~Lock() 22 void Lock::AssertAcquired() const { in AssertAcquired() 26 void Lock::CheckHeldAndUnmark() { in CheckHeldAndUnmark() 31 void Lock::CheckUnheldAndMark() { in CheckUnheldAndMark()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | posix_event.hpp | 42 template <typename Lock> 43 void signal(Lock& lock) in signal() 49 template <typename Lock> 50 void signal_all(Lock& lock) in signal_all() 59 template <typename Lock> 60 void unlock_and_signal_one(Lock& lock) in unlock_and_signal_one() 71 template <typename Lock> 72 bool maybe_unlock_and_signal_one(Lock& lock) in maybe_unlock_and_signal_one() 86 template <typename Lock> 87 void clear(Lock& lock) in clear() [all …]
|
/external/toolchain-utils/ |
D | file_lock_machine_test.py | 25 file_lock_machine.Machine(machine, '/tmp', auto=True).Lock(exclusive=True) 46 self.assertTrue(mach.Lock(exclusive=True)) 51 self.assertTrue(mach.Lock(exclusive=True)) 57 self.assertTrue(mach.Lock(exclusive=False)) 60 self.assertTrue(mach.Lock(exclusive=True)) 65 self.assertTrue(mach.Lock(exclusive=False)) 68 self.assertTrue(mach.Lock(exclusive=True)) 73 self.assertTrue(mach.Lock(exclusive=True)) 75 self.assertFalse(mach.Lock(exclusive=True)) 76 self.assertFalse(mach.Lock(exclusive=False)) [all …]
|
/external/llvm-project/clang-tools-extra/clangd/support/ |
D | Threading.cpp | 21 std::lock_guard<std::mutex> Lock(Mu); in notify() local 30 std::unique_lock<std::mutex> Lock(Mu); in wait() local 31 CV.wait(Lock, [this] { return Notified; }); in wait() 37 std::unique_lock<std::mutex> Lock(Mutex); in try_lock() local 50 std::unique_lock<std::mutex> Lock(Mutex); in lock() local 51 SlotsChanged.wait(Lock, [&]() { return FreeSlots > 0; }); in lock() 57 std::unique_lock<std::mutex> Lock(Mutex); in unlock() local 59 Lock.unlock(); in unlock() 67 std::unique_lock<std::mutex> Lock(Mutex); in wait() local 68 return clangd::wait(Lock, TasksReachedZero, D, in wait() [all …]
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-analysis.cpp | 32 void Lock() __attribute__((exclusive_lock_function)); 159 sls_mw.mu.Lock(); in sls_fun_0() 165 sls_mu.Lock(); in sls_fun_2() 171 sls_mu.Lock(); in sls_fun_3() 177 sls_mu2.Lock(); in sls_fun_4() 183 sls_mu.Lock(); in sls_fun_5() 189 sls_mu.Lock(); in sls_fun_6() 195 sls_mu.Lock(); in sls_fun_7() 196 sls_mu2.Lock(); in sls_fun_7() 202 sls_mu.Lock(); in sls_fun_8() [all …]
|
/external/swiftshader/src/Vulkan/Debug/ |
D | Context.cpp | 167 Lock lock() override; 195 Context::Lock Context::Impl::lock() in lock() 197 return Lock(this); in lock() 255 Context::Lock::Lock(Impl *ctx) in Lock() function in vk::dbg::Context::Lock 265 Context::Lock::Lock(Lock &&o) in Lock() function in vk::dbg::Context::Lock 271 Context::Lock::~Lock() in ~Lock() 276 Context::Lock &Context::Lock::operator=(Lock &&o) in operator =() 283 void Context::Lock::unlock() in unlock() 296 std::shared_ptr<Thread> Context::Lock::currentThread() in currentThread() 317 std::shared_ptr<Thread> Context::Lock::get(Thread::ID id) in get() [all …]
|
D | Context.hpp | 50 class Lock class in vk::dbg::Context 53 Lock(Impl *); 54 Lock(Lock &&); 55 ~Lock(); 58 Lock &operator=(Lock &&); 146 Lock(const Lock &) = delete; 147 Lock &operator=(const Lock &) = delete; 158 virtual Lock lock() = 0;
|
/external/compiler-rt/lib/builtins/ |
D | atomic.c | 58 typedef struct _usem Lock; typedef 59 __inline static void unlock(Lock *l) { in unlock() 65 __inline static void lock(Lock *l) { in lock() 74 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} }; 78 typedef OSSpinLock Lock; typedef 79 __inline static void unlock(Lock *l) { in unlock() 84 __inline static void lock(Lock *l) { in lock() 87 static Lock locks[SPINLOCK_COUNT]; // initialized to OS_SPINLOCK_INIT which is 0 90 typedef _Atomic(uintptr_t) Lock; typedef 92 __inline static void unlock(Lock *l) { in unlock() [all …]
|
/external/libxkbcommon/test/data/keymaps/ |
D | quartz.xkb | 5 virtual indicator 1 = "Caps Lock"; 6 virtual indicator 2 = "Num Lock"; 7 virtual indicator 3 = "Shift Lock"; 10 virtual indicator 6 = "Scroll Lock"; 28 modifiers= Shift+Lock; 30 map[Lock]= Level2; 90 modifiers= Shift+Lock+Control+LevelThree; 92 map[Lock]= Level2; 94 map[Shift+Lock+LevelThree]= Level3; 96 map[Lock+LevelThree]= Level4; [all …]
|
D | no-aliases.xkb | 249 indicator 1 = "Caps Lock"; 250 indicator 2 = "Num Lock"; 251 indicator 3 = "Scroll Lock"; 260 indicator 12 = "Shift Lock"; 279 modifiers= Shift+Lock; 281 map[Lock]= Level2; 342 modifiers= Shift+Lock+Control+LevelThree; 344 map[Lock]= Level2; 346 map[Shift+Lock+LevelThree]= Level3; 348 map[Lock+LevelThree]= Level4; [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | StripedBenchmark.java | 34 import java.util.concurrent.locks.Lock; 40 private static final Supplier<Lock> LOCK_SUPPLIER = 41 new Supplier<Lock>() { 43 public Lock get() { 56 Striped<Lock> get(int stripes) { in get() 62 Striped<Lock> get(int stripes) { in get() 68 Striped<Lock> get(int stripes) { in get() 73 abstract Striped<Lock> get(int stripes); in get() 76 private Striped<Lock> striped; 100 final List<Lock> locks = new ArrayList<>(numStripes); [all …]
|
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | StripedBenchmark.java | 34 import java.util.concurrent.locks.Lock; 40 private static final Supplier<Lock> LOCK_SUPPLIER = 41 new Supplier<Lock>() { 43 public Lock get() { 56 Striped<Lock> get(int stripes) { in get() 62 Striped<Lock> get(int stripes) { in get() 68 Striped<Lock> get(int stripes) { in get() 73 abstract Striped<Lock> get(int stripes); in get() 76 private Striped<Lock> striped; 100 final List<Lock> locks = new ArrayList<>(numStripes); [all …]
|
/external/llvm-project/compiler-rt/lib/builtins/ |
D | atomic.c | 60 typedef struct _usem Lock; typedef 61 __inline static void unlock(Lock *l) { in unlock() 67 __inline static void lock(Lock *l) { in lock() 77 static Lock locks[SPINLOCK_COUNT] = {[0 ... SPINLOCK_COUNT - 1] = {0, 1, 0}}; 81 typedef OSSpinLock Lock; typedef 82 __inline static void unlock(Lock *l) { OSSpinLockUnlock(l); } in unlock() 85 __inline static void lock(Lock *l) { OSSpinLockLock(l); } in lock() 86 static Lock locks[SPINLOCK_COUNT]; // initialized to OS_SPINLOCK_INIT which is 0 89 typedef _Atomic(uintptr_t) Lock; typedef 91 __inline static void unlock(Lock *l) { in unlock() [all …]
|
/external/libxkbcommon/test/data/compat/ |
D | ledcaps | 1 // Use the Caps Lock LED to show either 2 // Caps Lock, Group, or Shift Lock state. 5 indicator "Caps Lock" { 8 modifiers= Lock; 13 indicator "Caps Lock" { 20 indicator "Caps Lock" {
|
D | lednum | 1 // Use the Num Lock LED to show either 2 // Num Lock, Group, or Shift Lock state. 5 indicator "Num Lock" { 13 indicator "Num Lock" { 20 indicator "Num Lock" {
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_mutex.cc | 27 t.Lock(m); in TEST() 33 t.Lock(m); in TEST() 45 t.Lock(m); in TEST() 51 t.Lock(m); in TEST() 63 t.Lock(m); in TEST() 69 t.Lock(m); in TEST() 79 t.Lock(m); in TEST() 102 t1.Lock(m); in TEST() 105 t2.Lock(m); in TEST() 118 t1.Lock(m); in TEST() [all …]
|
/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_mutex.cpp | 26 t.Lock(m); in TEST() 32 t.Lock(m); in TEST() 44 t.Lock(m); in TEST() 50 t.Lock(m); in TEST() 62 t.Lock(m); in TEST() 68 t.Lock(m); in TEST() 78 t.Lock(m); in TEST() 101 t1.Lock(m); in TEST() 104 t2.Lock(m); in TEST() 117 t1.Lock(m); in TEST() [all …]
|