/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
fcntl.h | 123 #define F_RDLCK 0 /* Read lock. */ 124 #define F_WRLCK 1 /* Write lock. */ 125 #define F_UNLCK 2 /* Remove lock. */ 133 # define LOCK_SH 1 /* shared lock */ 134 # define LOCK_EX 2 /* exclusive lock */ 137 # define LOCK_UN 8 /* remove lock */ 160 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ 163 __off_t l_start; /* Offset where the lock begins. */ 166 __off64_t l_start; /* Offset where the lock begins. */ 169 __pid_t l_pid; /* Process holding the lock. * [all...] |
/external/srec/portable/include/ |
ptrd.h | 94 * locking, meaning that a thread owning the monitor can call lock without 95 * blocking and will have to call unlock() as many times as lock() was called. 111 * library is shutdown, or cannot lock on mutex; ESR_INVALID_ARGUMENT if monitor is null 118 * @param monitor Handle to the monitor to lock 119 * @param fname Filename of code requesting a lock 120 * @param line Line of code requesting a lock 128 * @param monitor Handle to the monitor to lock 197 * relinquishes the lock on this object. The awakened thread will compete in 200 * reliable privilege or disadvantage in being the next thread to lock this 226 * reliable privilege or disadvantage in being the next thread to lock thi [all...] |
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
TextToSpeechWrapper.java | 28 import java.util.concurrent.locks.Lock; 108 private final Lock mLock = new ReentrantLock(); 113 mLock.lock(); 124 mLock.lock(); 143 private final Lock mLock = new ReentrantLock(); 148 mLock.lock(); 160 mLock.lock();
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
FileLockTest.java | 105 FileLock lock = new MockFileLock(null, 0, 10, true); local 106 assertNull(lock.channel()); 141 FileLock lock = new MockFileLock(null, 0, 10, true); local 142 assertTrue(lock.isShared()); 163 FileLock fileLock = readWriteChannel.lock(); 177 FileLock fileLock = fileChannel.lock(); 189 fileLock = fileChannel.lock();
|
/external/chromium/base/threading/ |
watchdog.cc | 37 AutoLock lock(lock_); 55 AutoLock lock(lock_); 66 AutoLock lock(lock_); 83 AutoLock lock(watchdog_->lock_); 132 AutoLock lock(static_lock_); 138 Lock Watchdog::static_lock_; // Lock for access of static data...
|
/external/llvm/lib/Support/Windows/ |
RWMutex.inc | 1 //= llvm/Support/Win32/Mutex.inc - Win32 Reader/Writer Mutual Exclusion Lock =// 24 // Windows has slim read-writer lock support on Vista and higher, so we 38 static VOID (WINAPI *fpInitializeSRWLock)(PSRWLOCK lock) = NULL; 39 static VOID (WINAPI *fpAcquireSRWLockExclusive)(PSRWLOCK lock) = NULL; 40 static VOID (WINAPI *fpAcquireSRWLockShared)(PSRWLOCK lock) = NULL; 41 static VOID (WINAPI *fpReleaseSRWLockExclusive)(PSRWLOCK lock) = NULL; 42 static VOID (WINAPI *fpReleaseSRWLockShared)(PSRWLOCK lock) = NULL;
|
/external/protobuf/src/google/protobuf/stubs/ |
once_unittest.cc | 70 void BlockInit() { init_blocker_.Lock(); } 88 MutexLock lock(&done_mutex_); 124 MutexLock lock(&done_mutex_); 142 MutexLock lock(&mutex_); 162 MutexLock lock(&mutex_); 166 init_blocker_.Lock(); 168 mutex_.Lock();
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
TexturesGenerator.cpp | 57 android::Mutex::Autolock lock(mRequestedOperationsLock); 83 android::Mutex::Autolock lock(mRequestedOperationsLock); 130 // Must be called from within a lock! 166 mRequestedOperationsLock.lock(); 176 mRequestedOperationsLock.lock(); 188 mRequestedOperationsLock.lock(); 200 delete oldOperation; // delete outside lock
|
MediaTexture.cpp | 87 android::Mutex::Autolock lock(m_mediaLock); 92 android::Mutex::Autolock lock(m_mediaLock); 99 android::Mutex::Autolock lock(m_mediaLock); 150 android::Mutex::Autolock lock(m_mediaLock); 206 android::Mutex::Autolock lock(m_mediaLock); 252 android::Mutex::Autolock lock(m_mediaLock); 261 android::Mutex::Autolock lock(m_mediaLock); 274 android::Mutex::Autolock lock(m_mediaLock); 287 android::Mutex::Autolock lock(m_mediaLock);
|
VideoLayerManager.cpp | 62 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); 72 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); 92 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); 120 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); 139 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); 190 m_retiredTexturesLock.lock(); 216 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); 221 // function, it is up to the public function to handle the lock for 231 m_retiredTexturesLock.lock();
|
/external/webkit/Source/WebKit/chromium/src/ |
PlatformMessagePortChannel.cpp | 159 MutexLocker lock(m_mutex); 166 MutexLocker lock(m_mutex); 173 MutexLocker lock(m_mutex); 223 MutexLocker lock(m_mutex); 232 MutexLocker lock(m_mutex); 238 MutexLocker lock(m_mutex); 247 MutexLocker lock(m_mutex);
|
/packages/apps/Email/src/com/android/email/ |
EmailConnectivityManager.java | 36 * to be available without holding a wake lock 54 // The monitor lock we use while waiting for connectivity 58 // The wake lock used while running (so we don't fall asleep during execution/callbacks) 174 // Acquire the wait lock while we work 196 // Don't hold a lock during our wait 203 // Get the lock back and check again for connectivity 209 // Make sure we always release the wait lock
|
/packages/experimental/AndroidVendorSecurityTool/src/com/google/android/googlelogin/ |
GoogleLoginServiceBlockingHelper.java | 29 import java.util.concurrent.locks.Lock; 53 private Lock mGoogleLoginServiceLock = new ReentrantLock(); 92 mGoogleLoginServiceLock.lock(); 97 mGoogleLoginServiceLock.lock(); 116 mGoogleLoginServiceLock.lock(); 137 mGoogleLoginServiceLock.lock(); 183 mGoogleLoginServiceLock.lock();
|
/external/zlib/examples/ |
gzlog.c | 35 foo.lock -- lock file for reading and writing the other files 82 All three operations are wrapped by a lock/unlock procedure. In order to 83 gain exclusive access to the log files, first a foo.lock file must be 84 exclusively created. When all operations are complete, the lock is 85 released by deleting the foo.lock file. If when attempting to create the 86 lock file, it already exists and the modify time of the lock file is more 88 lock file is considered stale and deleted, and the exclusive creation of 89 the lock file is retried. To assure that there are no false assessment 302 time_t lock; \/* last modify time of our lock file *\/ member in struct:log [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_MifULFormat.c | 52 /* 1st Lock byte value */ 54 /* 2nd Lock byte value */ 56 /* Mifare ULC dynamic lock byte address */ 62 /* Lock byte 3 value to be ORed with the existing value */ 66 /* 3rd Lock byte position after reading the block number 0x28 */ 71 /* Lock control TLVs, TYPE identifier */ 73 /* Lock control TLVs, Length expected */ 236 /* Initialise current block to the lock bits block */ 442 /* There is no lock bits to write, then write OTP bytes */ 450 /* If remaining lock bits has to be written and the data is already read * [all...] |
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.h | 132 /// The input file is not a syntactically correct OMA DRM v1 Forward Lock file. 159 * Opens a session for converting an OMA DRM v1 Forward Lock file to the internal Forward Lock file 198 * Closes a session for converting an OMA DRM v1 Forward Lock file to the internal Forward Lock 214 * Converts an open OMA DRM v1 Forward Lock file to the internal Forward Lock file format in pull 249 * Converts an OMA DRM v1 Forward Lock file to the internal Forward Lock file format in pull mode.
|
/bionic/libc/arch-sh/bionic/ |
atomics_sh.c | 46 pthread_mutex_t *lock = SWAP_LOCK(ptr); 48 pthread_mutex_lock(lock); 56 pthread_mutex_unlock(lock);
|
/dalvik/vm/alloc/ |
Heap.h | 91 * The caller must hold the heap lock as this call releases and 92 * re-acquires the heap lock. After returning, no garbage collection 93 * will be in progress and the heap lock will be held by the caller.
|
/external/chromium/base/ |
at_exit.h | 13 #include "base/synchronization/lock.h" 19 // happen at a really bad time and under the loader lock. This facility is 64 base::Lock lock_;
|
/external/chromium/chrome/browser/printing/ |
print_job_manager.h | 12 #include "base/synchronization/lock.h" 65 base::Lock lock_; 68 base::Lock enabled_lock_;
|
/external/chromium/chrome/common/ |
worker_thread_ticker.h | 11 #include "base/synchronization/lock.h" 76 // Lock to protect is_running_ and tick_handler_list_ 77 base::Lock lock_;
|
/external/dbus/bus/ |
messagebus.in | 44 [ $RETVAL -eq 0 ] && touch @EXPANDED_LOCALSTATEDIR@/lock/subsys/$servicename 57 rm -f @EXPANDED_LOCALSTATEDIR@/lock/subsys/$servicename 79 if [ -f @EXPANDED_LOCALSTATEDIR@/lock/subsys/$servicename ]; then
|
/external/elfutils/libelf/ |
elf_clone.c | 38 rwlock_rdlock (elf->lock); 64 /* Release the lock. */ 66 rwlock_unlock (elf->lock);
|
elf_readall.c | 58 rwlock_wrlock (elf->lock); 63 rwlock_unlock (elf->lock); 113 rwlock_unlock (elf->lock);
|
/external/kernel-headers/original/asm-generic/ |
fcntl.h | 96 #define LOCK_SH 1 /* shared lock */ 97 #define LOCK_EX 2 /* exclusive lock */ 100 #define LOCK_UN 8 /* remove lock */
|