/external/python/oauth2client/tests/contrib/ |
D | test_locked_file.py | 43 self.assertFalse(instance.is_locked()) 45 self.assertTrue(instance.is_locked()) 77 self.assertTrue(instance.is_locked()) 92 self.assertTrue(instance.is_locked()) 102 self.assertFalse(instance.is_locked()) 125 self.assertFalse(instance.is_locked()) 143 self.assertFalse(instance.is_locked()) 162 self.assertTrue(instance.is_locked()) 174 self.assertFalse(instance.is_locked()) 233 self.assertEqual(instance.is_locked(), opener.is_locked()) [all …]
|
D | test_multistore_file.py | 47 def is_locked(self): member in _MockLockedFile
|
/external/llvm-project/libcxxabi/test/ |
D | guard_test_basic.pass.cpp | 92 assert(!is_locked); in lock() 93 is_locked = true; in lock() 97 assert(is_locked); in unlock() 98 is_locked = false; in unlock() 103 bool is_locked = false; member
|
/external/rust/crates/spin/ |
D | CHANGELOG.md | 34 - `Mutex::is_locked`/`SpinMutex::is_locked`/`TicketMutex::is_locked`
|
/external/rust/crates/spin/src/ |
D | mutex.rs | 153 pub fn is_locked(&self) -> bool { in is_locked() method 154 self.inner.is_locked() in is_locked() 312 fn is_locked(&self) -> bool { in is_locked() method 313 self.inner.is_locked() in is_locked()
|
/external/python/google-api-python-client/googleapiclient/discovery_cache/ |
D | file_cache.py | 93 if f.is_locked(): 106 if f.is_locked(): 125 if f.is_locked():
|
/external/rust/crates/parking_lot_core/src/ |
D | word_lock.rs | 116 if !state.is_locked() { in lock_slow() 229 if state.is_locked() { in unlock_slow() 290 fn is_locked(self) -> bool; in is_locked() method 298 fn is_locked(self) -> bool { in is_locked() method
|
/external/rust/crates/parking_lot/src/ |
D | raw_fair_mutex.rs | 35 fn is_locked(&self) -> bool { in is_locked() method 36 self.0.is_locked() in is_locked()
|
D | raw_mutex.rs | 113 fn is_locked(&self) -> bool { in is_locked() method
|
D | raw_rwlock.rs | 143 fn is_locked(&self) -> bool { in is_locked() method
|
/external/rust/crates/spin/src/mutex/ |
D | ticket.rs | 138 pub fn is_locked(&self) -> bool { in is_locked() method 465 fn is_locked() { in is_locked() function 467 assert!(!mutex.is_locked()); in is_locked() 469 assert!(mutex.is_locked()); in is_locked() 471 assert!(!mutex.is_locked()); in is_locked()
|
D | spin.rs | 121 pub fn is_locked(&self) -> bool { in is_locked() method 145 while self.is_locked() { in lock() 313 fn is_locked(&self) -> bool { in is_locked() method 314 Self::is_locked(self) in is_locked()
|
/external/python/oauth2client/oauth2client/contrib/ |
D | locked_file.py | 81 def is_locked(self): member in _Opener 215 def is_locked(self): member in LockedFile 217 return self._opener.is_locked()
|
D | multistore_file.py | 318 if not self._file.is_locked():
|
/external/autotest/server/cros/ |
D | lockfile.py | 182 def is_locked(self): member in LockBase 273 def is_locked(self): member in LinkFileLock 279 return (self.is_locked() and
|
/external/rust/crates/rusqlite/src/ |
D | unlock_notify.rs | 54 pub unsafe fn is_locked(db: *mut ffi::sqlite3, rc: c_int) -> bool { in is_locked() function 91 pub unsafe fn is_locked(_db: *mut ffi::sqlite3, _rc: c_int) -> bool { in is_locked() function
|
D | raw_statement.rs | 101 if unsafe { !unlock_notify::is_locked(db, rc) } { in step()
|
D | inner_connection.rs | 225 if !unlock_notify::is_locked(self.db, rc) { in prepare()
|
/external/rust/crates/lock_api/src/ |
D | remutex.rs | 135 pub fn is_locked(&self) -> bool { in is_locked() method 136 self.mutex.is_locked() in is_locked() 332 pub fn is_locked(&self) -> bool { in is_locked() method 333 self.raw.is_locked() in is_locked()
|
D | mutex.rs | 62 fn is_locked(&self) -> bool { in is_locked() method 240 pub fn is_locked(&self) -> bool { in is_locked() method 241 self.raw.is_locked() in is_locked()
|
D | rwlock.rs | 70 fn is_locked(&self) -> bool { in is_locked() method 494 pub fn is_locked(&self) -> bool { in is_locked() method 495 self.raw.is_locked() in is_locked()
|
/external/python/apitools/apitools/base/py/ |
D | credentials_lib.py | 610 is_locked = self._process_lock.acquire(timeout=self._lock_timeout) 611 yield is_locked 613 if is_locked:
|
/external/libchrome/base/metrics/ |
D | field_trial.h | 312 void FinalizeGroupChoiceImpl(bool is_locked); 640 static void OnGroupFinalized(bool is_locked, FieldTrial* field_trial);
|
D | field_trial.cc | 449 void FieldTrial::FinalizeGroupChoiceImpl(bool is_locked) { in FinalizeGroupChoiceImpl() argument 460 FieldTrialList::OnGroupFinalized(is_locked, this); in FinalizeGroupChoiceImpl() 1011 void FieldTrialList::OnGroupFinalized(bool is_locked, FieldTrial* field_trial) { in OnGroupFinalized() argument 1014 if (is_locked) { in OnGroupFinalized()
|
/external/rust/crates/parking_lot/ |
D | CHANGELOG.md | 13 - Add `is_locked` method to mutex types. (#235)
|