/external/libcap/libcap/include/uapi/linux/ |
securebits.h | 6 setting is locked or not. A setting which is locked cannot be
|
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/ |
test-cmpxchg-nolock.c | 93 printk(KERN_ALERT "test results: time for locked cmpxchg\n"); 97 printk(KERN_ALERT "-> locked cmpxchg takes %llu cycles\n", time); 120 printk(KERN_ALERT "test results: time for non locked cmpxchg\n"); 124 printk(KERN_ALERT "-> non locked cmpxchg takes %llu cycles\n", time); 148 printk(KERN_ALERT "test results: time for locked add return\n"); 152 printk(KERN_ALERT "-> locked add return takes %llu cycles\n", time); 176 printk(KERN_ALERT "test results: time for non locked add return\n"); 180 printk(KERN_ALERT "-> non locked add return takes %llu cycles\n", time);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/ |
3-7.c | 13 * This test use msync to check that the page is locked. 68 ("The mapped files pages of the process are not locked.\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlockall/ |
assertions.xml | 4 call to munlockall() shall not be locked, unless there is an intervening 10 the address spaces of other processes and are locked by those processes, the
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/ |
11-1.c | 11 * the semaphore can be locked immediately. The validity of the 12 * abs_timeout need not be checked if the semaphore can be locked
|
/external/tpm2/ |
NV_WriteLock.c | 38 // If write access failed because the index is already locked, then it is 47 // can not be write-locked
|
/external/v8/src/base/platform/ |
mutex.h | 43 // locked and owned by the calling thread, and immediately. If the mutex 44 // is already locked by another thread, suspends the calling thread until 48 // Unlocks the given mutex. The mutex is assumed to be locked and owned by 53 // successfully locked. 125 // - The maximum number of times that a recursive mutex may be locked is 136 // Locks the mutex. If another thread has already locked the mutex, a call to 147 // locked by the current thread of execution, otherwise, the behavior is 152 // successfully locked.
|
/external/valgrind/drd/tests/ |
recursive_mutex.stderr.exp-linux | 8 Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. 20 Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
|
/frameworks/native/libs/gui/include/gui/ |
IProducerListener.h | 28 // producer will generally have a mutex that is locked during calls from the 30 // producer *MUST* be called only when the BufferQueue mutex is NOT locked.
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
securebits.h | 6 setting is locked or not. A setting which is locked cannot be
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
TelLiveLockedSimTest.py | 17 Test Script for Telephony Locked SIM Emergency Call Test 48 ad.log.info("SIM is not locked") 50 ad.log.info("SIM is locked") 53 #if there is no locked SIM, reboot the device and check again 59 ad.log.info("SIM is not locked") 62 ad.log.info("SIM is locked") 69 self.log.error("There is no locked SIM in this testbed") 70 abort_all_tests(self.log, "There is no locked SIM")
|
/external/autotest/frontend/afe/doctests/ |
001_rpc_test.txt | 103 >>> rpc_interface.add_host(hostname='ipaj1', locked=True, lock_reason='Locked device on creation') 111 ... 'locked': 1, 124 ... 'lock_reason': 'Locked device on creation'}] 132 ... update_data={'locked': False}) 134 >>> bool(data[0]['locked']) 137 # test already locked/unlocked failures 138 >>> rpc_interface.modify_host(id='ipaj1000', locked=False) 140 ValidationError: {'locked': u'Host ipaj1000 already unlocked.'} 141 >>> rpc_interface.modify_host(id='ipaj1000', locked=True, lock_reason='Locking a locked device' [all...] |
/external/autotest/server/cros/dynamic_suite/ |
fakes.py | 50 def __init__(self, hostname='', status='Ready', locked=False, locked_by=''): 53 self.locked = locked 60 'Locked' if self.locked else 'Unlocked', 61 ' by %s' % self.locked_by if self.locked else '')
|
/external/desugar/java/com/google/devtools/common/options/ |
OptionPriority.java | 29 private final boolean locked; field in class:OptionPriority 31 private OptionPriority(PriorityCategory priorityCategory, int index, boolean locked) { 34 this.locked = locked; 44 * returned priority would compareTo as after the current one. Does not increment locked 48 if (priority.locked) {
|
/external/libdaemon/libdaemon/ |
dpid.c | 102 int fd = -1, locked = -1; local 122 if ((locked = lock_file(fd, 1)) < 0) 161 if (locked >= 0) 218 int locked = -1; local 235 if ((locked = lock_file(fd, 1)) < 0) { 260 if (locked >= 0)
|
/external/ltp/testcases/kernel/syscalls/flock/ |
flock05.c | 105 /* Testing Shared lock on Exclusive Locked file */ 116 "exclusive locked file as expected"); 120 "an already exclusive locked file"); 128 /* Testing Exclusive lock on a Exclusive Locked file */ 137 " exclusive locked file as expected"); 141 "an exclusive locked file");
|
/external/python/cpython2/Doc/library/ |
msvcrt.rst | 33 :exc:`IOError` on failure. The locked region of the file extends from the 36 regions in a file may be locked at the same time, but may not overlap. Adjacent 43 Locks the specified bytes. If the bytes cannot be locked, the program 45 be locked, :exc:`IOError` is raised. 51 Locks the specified bytes. If the bytes cannot be locked, :exc:`IOError` is 57 Unlocks the specified bytes, which must have been previously locked.
|
/external/python/cpython3/Doc/library/ |
msvcrt.rst | 39 :exc:`OSError` on failure. The locked region of the file extends from the 42 regions in a file may be locked at the same time, but may not overlap. Adjacent 49 Locks the specified bytes. If the bytes cannot be locked, the program 51 be locked, :exc:`OSError` is raised. 57 Locks the specified bytes. If the bytes cannot be locked, :exc:`OSError` is 63 Unlocks the specified bytes, which must have been previously locked.
|
/external/autotest/client/cros/cellular/pseudomodem/ |
sim.py | 114 locked=False, 137 self._lock_enabled = locked 138 self._show_retries = locked 139 if locked: 169 if not self.locked and self._lock_enabled: 177 whether or not the SIM is locked. 217 def locked(self): member in class:SIM 218 """ @returns: True, if the SIM is locked. False, otherwise. """ 256 if self.locked: 329 if not self.locked [all...] |
/frameworks/base/core/java/android/text/method/ |
MetaKeyKeyListener.java | 51 * When key modifiers are toggled into a latched or locked state, the state 53 * meta state integer managed by the client. These latched or locked modifiers 91 * Flag that indicates that the SHIFT key is locked in CAPS mode. 95 * Flag that indicates that the ALT key is locked. 99 * Flag that indicates that the SYM key is locked. 157 * or locked meta key. 178 * or locked meta key. 197 * @return 0 if inactive, 1 if active, 2 if locked. 228 * @return 0 if inactive, 1 if active, 2 if locked. 241 // META_SELECTING is only ever set to PRESSED and can't be LOCKED, so return [all...] |
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
Camera2Focuser.java | 69 * This callback is called when auto focus completes and locked. 134 public synchronized void onAutoFocusSuccess(CaptureResult result, boolean locked) { 136 mLocked = locked; 138 if (locked) { 144 public synchronized void onAutoFocusFail(CaptureResult result, boolean locked) { 146 mLocked = locked; 148 if (locked) { 186 * lock it. If AF is already locked, return. Otherwise, initiate a full 201 * Cancel ongoing auto focus, unlock the auto-focus if it was locked, and 249 // locked, return. Otherwise, initiate a full active scan [all...] |
/external/autotest/frontend/afe/ |
admin.py | 140 locked = cleaned_data.get('locked') 142 if locked and not lock_reason: 160 list_display = ('hostname', 'platform', 'locked', 'status') 161 list_filter = ('locked', 'protection', 'status') 180 self.fields = ('hostname', 'locked', 'lock_reason', 'leased', 186 self.fields = ('hostname', 'locked', 'lock_reason', 219 locked = form.cleaned_data['locked'] 228 locked, lock_reason, labels, acls [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
ThreadSafety.h | 59 /// \enum SK_LockedSomeLoopIterations -- a mutex is locked for some but not all 61 /// \enum SK_LockedSomePredecessors -- a mutex is locked in some but not all 63 /// \enum SK_LockedAtEndOfFunction -- a mutex is still locked at the end of a 116 /// 1. a mutex is locked on an "if" branch but not the "else" branch, 118 /// 3. or when a mutex is locked but not unlocked inside a function. 123 /// locked 133 /// example, if a mutex is locked exclusively during an if branch and shared 155 /// the operation is not locked. 178 /// Warn when a function is called while an excluded mutex is locked. For 179 /// example, the mutex may be locked inside the function [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
Camera2Focuser.java | 72 * This callback is called when auto focus completes and locked. 137 public synchronized void onAutoFocusSuccess(CaptureResult result, boolean locked) { 139 mLocked = locked; 141 if (locked) { 147 public synchronized void onAutoFocusFail(CaptureResult result, boolean locked) { 149 mLocked = locked; 151 if (locked) { 189 * lock it. If AF is already locked, return. Otherwise, initiate a full 204 * Cancel ongoing auto focus, unlock the auto-focus if it was locked, and 252 // locked, return. Otherwise, initiate a full active scan [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Analysis/Analyses/ |
ThreadSafety.h | 59 /// \enum SK_LockedSomeLoopIterations -- a mutex is locked for some but not all 61 /// \enum SK_LockedSomePredecessors -- a mutex is locked in some but not all 63 /// \enum SK_LockedAtEndOfFunction -- a mutex is still locked at the end of a 116 /// 1. a mutex is locked on an "if" branch but not the "else" branch, 118 /// 3. or when a mutex is locked but not unlocked inside a function. 123 /// locked 133 /// example, if a mutex is locked exclusively during an if branch and shared 155 /// the operation is not locked. 178 /// Warn when a function is called while an excluded mutex is locked. For 179 /// example, the mutex may be locked inside the function [all...] |