/external/webrtc/talk/media/devices/ |
gtkvideorenderer.cc | 70 ScopedGdkLock lock; local 80 ScopedGdkLock lock; local 118 ScopedGdkLock lock; local
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
spl_init.c | 106 static pthread_once_t lock = PTHREAD_ONCE_INIT; local 107 pthread_once(&lock, func); 121 static CRITICAL_SECTION lock = {(void *)((size_t)-1), -1, 0, 0, 0, 0}; local 124 EnterCriticalSection(&lock); 129 LeaveCriticalSection(&lock);
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
Mutexed.h | 62 * data.lock(); 91 * Upon creation, the mutex is locked. You can use lock()/unlock() methods to 92 * temporarily lock/unlock the mutex. Using any references to the underlying 97 * unlock() or lock() from different threads; they must be called from the thread 122 // Wait on the condition variable using lock. Must be locked. 134 inline void lock(); 152 // Lock the mutex, and create an accessor-guard (a Locked object) to access the underlying 156 inline Locked lock() { function in class:android::Mutexed 175 mLock.lock(); 194 inline void Mutexed<T>::Locked::lock() { function in class:android::Mutexed::Locked [all...] |
/frameworks/base/libs/hwui/ |
ResourceCache.cpp | 52 void ResourceCache::lock() { function in class:android::uirenderer::ResourceCache 53 mLock.lock();
|
/frameworks/compile/libbcc/lib/ |
FileBase.cpp | 131 bool FileBase::lock(enum LockModeEnum pMode, function in class:FileBase 148 // Determine the lock operation (2nd argument) to the flock(). 165 // Here we got a lock but we need to check whether the mFD still 168 // mapped when we were trying to obtain the lock on the file.
|
/hardware/qcom/display/msm8960/libgralloc/ |
gr.h | 70 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } 75 inline void lock() { pthread_mutex_lock(&mutex); } function in class:Locker
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
FileChannelLockingTest.java | 87 // Cannot acquire an exclusive lock on a read-only file channel 89 readOnlyChannel.lock(); 90 fail("Acquiring a full exclusive lock on a read only channel should fail."); 95 // Cannot get a shared lock on a write-only file channel. 97 writeOnlyChannel.lock(1, 10, true); 98 fail("Acquiring a shared lock on a write-only channel should fail."); 105 // Acquire an exclusive lock across the entire file. 106 FileLock flock = readWriteChannel.lock(); 113 // Cannot lock negative positions 115 readOnlyChannel.lock(-1, 10, true) 189 FileLock lock = readOnlyChannel.tryLock(10, 788, true); local [all...] |
/libcore/ojluni/src/main/java/java/io/ |
Writer.java | 69 protected Object lock; field in class:Writer 76 this.lock = this; 83 * @param lock 86 protected Writer(Object lock) { 87 if (lock == null) { 90 this.lock = lock; 108 synchronized (lock) { 181 synchronized (lock) {
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
AsynchronousFileChannel.java | 67 * <li><p> A region of a file may be {@link #lock <i>locked</i>} against 389 * Acquires a lock on the given region of this channel's file. 391 * <p> This method initiates an operation to acquire a lock on the given 393 * completion handler that is invoked when the lock is acquired (or the 399 * underlying file. Lock regions are fixed in size; if a locked region 401 * region then the new portion of the file will not be covered by the lock. 402 * If a file is expected to grow in size and a lock on the entire file is 405 * {@link #lock(Object,CompletionHandler)} method simply locks a region 406 * of size {@link Long#MAX_VALUE}. If a lock that overlaps the requested 408 * been invoked to lock an overlapping region and that operation has no 457 public abstract <A> void lock(long position, method in class:AsynchronousFileChannel 491 public final <A> void lock(A attachment, method in class:AsynchronousFileChannel 532 public abstract Future<FileLock> lock(long position, long size, boolean shared); method in class:AsynchronousFileChannel 556 public final Future<FileLock> lock() { method in class:AsynchronousFileChannel [all...] |
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
SelectorProvider.java | 71 private static final Object lock = new Object(); field in class:SelectorProvider 165 synchronized (lock) {
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 39 /// Releases and removes the lock 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 54 /// Attempts to release the lock. If the lock is held by the current 55 /// thread, the lock is released allowing other threads to acquire th 99 bool lock() { function in class:llvm::sys::SmartMutex [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
stdio-lock.h | 1 /* Thread package specific definitions of stream lock type. NPTL version. 23 #include <bits/libc-lock.h> 30 typedef struct { int lock; int cnt; void *owner; } _IO_lock_t; member in struct:__anon62320 45 lll_lock ((_name).lock, LLL_PRIVATE); \ 57 if (lll_trylock ((_name).lock) == 0) \ 75 lll_unlock ((_name).lock, LLL_PRIVATE); \ 111 #endif /* bits/stdio-lock.h */
|