Home
last modified time | relevance | path

Searched refs:is_locked (Results 1 – 25 of 26) sorted by relevance

12

/external/python/oauth2client/tests/contrib/
Dtest_locked_file.py43 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 …]
Dtest_multistore_file.py47 def is_locked(self): member in _MockLockedFile
/external/llvm-project/libcxxabi/test/
Dguard_test_basic.pass.cpp92 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/
DCHANGELOG.md34 - `Mutex::is_locked`/`SpinMutex::is_locked`/`TicketMutex::is_locked`
/external/rust/crates/spin/src/
Dmutex.rs153 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/
Dfile_cache.py93 if f.is_locked():
106 if f.is_locked():
125 if f.is_locked():
/external/rust/crates/parking_lot_core/src/
Dword_lock.rs116 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/
Draw_fair_mutex.rs35 fn is_locked(&self) -> bool { in is_locked() method
36 self.0.is_locked() in is_locked()
Draw_mutex.rs113 fn is_locked(&self) -> bool { in is_locked() method
Draw_rwlock.rs143 fn is_locked(&self) -> bool { in is_locked() method
/external/rust/crates/spin/src/mutex/
Dticket.rs138 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()
Dspin.rs121 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/
Dlocked_file.py81 def is_locked(self): member in _Opener
215 def is_locked(self): member in LockedFile
217 return self._opener.is_locked()
Dmultistore_file.py318 if not self._file.is_locked():
/external/autotest/server/cros/
Dlockfile.py182 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/
Dunlock_notify.rs54 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
Draw_statement.rs101 if unsafe { !unlock_notify::is_locked(db, rc) } { in step()
Dinner_connection.rs225 if !unlock_notify::is_locked(self.db, rc) { in prepare()
/external/rust/crates/lock_api/src/
Dremutex.rs135 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()
Dmutex.rs62 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()
Drwlock.rs70 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/
Dcredentials_lib.py610 is_locked = self._process_lock.acquire(timeout=self._lock_timeout)
611 yield is_locked
613 if is_locked:
/external/libchrome/base/metrics/
Dfield_trial.h312 void FinalizeGroupChoiceImpl(bool is_locked);
640 static void OnGroupFinalized(bool is_locked, FieldTrial* field_trial);
Dfield_trial.cc449 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/
DCHANGELOG.md13 - Add `is_locked` method to mutex types. (#235)

12