/external/ppp/pppd/ |
utils.c | 893 /* Procedures for locking the serial device using a lock file. */ 896 #define LOCK_DIR "/var/lock" 901 #define LOCK_DIR "/var/spool/lock" 909 * lock - create a lock file for the named device 912 lock(dev) function 927 error("Can't create lock file %s", lock_file); 943 error("Can't lock %s: not a character device", dev); 970 error("Can't create lock file %s: %m", lock_file); 974 /* Read the lock file to find out who has the device locked. * [all...] |
/external/qemu/audio/ |
winaudio.c | 73 case MMSYSERR_NOMEM: reason="unable to allocate or lock memory"; break;
94 CRITICAL_SECTION lock;
member in struct:WinAudioOut 115 EnterCriticalSection( &s->lock );
118 LeaveCriticalSection( &s->lock );
167 InitializeCriticalSection( &s->lock );
264 EnterCriticalSection( &s->lock );
266 LeaveCriticalSection( &s->lock );
308 EnterCriticalSection( &s->lock );
312 LeaveCriticalSection( &s->lock );
345 CRITICAL_SECTION lock;
member in struct:WinAudioIn [all...] |
/external/qemu/ |
posix-aio-compat.c | 62 static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; variable 320 mutex_lock(&lock); 324 ret = cond_timedwait(&cond, &lock, &ts); 334 mutex_unlock(&lock); 353 mutex_lock(&lock); 356 mutex_unlock(&lock); 363 mutex_unlock(&lock); 388 mutex_lock(&lock); 392 mutex_unlock(&lock); 400 mutex_lock(&lock); [all...] |
/external/stlport/src/details/ |
fstream_win32io.cpp | 118 CRITICAL_SECTION lock; member in struct:ioinfo
|
/external/zlib/src/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...] |
/frameworks/av/services/camera/libcameraservice/api1/ |
CameraClient.cpp | 101 // this lock should never be NULL 102 Mutex* lock = mCameraService->getClientLockById(mCameraId); local 103 lock->lock(); 105 // client will not be accessed from callback. should unlock to prevent dead-lock in disconnect 106 lock->unlock(); 148 status_t CameraClient::lock() { function in class:android::CameraClient 150 LOG1("lock (pid %d)", callingPid); 151 Mutex::Autolock lock(mLock); 153 // lock camera to this client if the the camera is unlocke 697 Mutex* lock = getClientLockFromCookie(user); local 722 Mutex* lock = getClientLockFromCookie(user); local 760 Mutex* lock = getClientLockFromCookie(user); local [all...] |
/frameworks/base/core/java/android/security/ |
IKeystoreService.java | 197 public int lock() throws RemoteException { method in class:IKeystoreService.Stub.Proxy 569 public int lock() throws RemoteException; method in interface:IKeystoreService
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
VariableSpeed.java | 53 private final Object lock = new Object(); field in class:VariableSpeed 54 @GuardedBy("lock") private MediaPlayerDataSource mDataSource; 55 @GuardedBy("lock") private boolean mIsPrepared; 56 @GuardedBy("lock") private boolean mHasDuration; 57 @GuardedBy("lock") private boolean mHasStartedPlayback; 58 @GuardedBy("lock") private CountDownLatch mEngineInitializedLatch; 59 @GuardedBy("lock") private CountDownLatch mPlaybackFinishedLatch; 60 @GuardedBy("lock") private boolean mHasBeenReleased = true; 61 @GuardedBy("lock") private boolean mIsReadyToReUse = true; 62 @GuardedBy("lock") private boolean mSkipCompletionReport [all...] |
/hardware/libhardware/tests/hwc/ |
cnativewindow.c | 63 pthread_mutex_t lock; member in struct:CNativeWindow 135 pthread_mutex_lock(&win->lock); 138 pthread_cond_wait(&win->cvar, &win->lock); 146 pthread_mutex_unlock(&win->lock); 242 pthread_mutex_lock(&win->lock); 247 pthread_mutex_unlock(&win->lock); 257 pthread_mutex_lock(&win->lock); 259 pthread_mutex_unlock(&win->lock); 543 pthread_mutex_init(&win->lock, NULL);
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg.h | 55 pthread_mutex_t lock; member in struct:__anon31438 72 pthread_mutex_t lock; member in struct:__anon31440 104 pthread_mutex_t lock; member in struct:__anon31442 143 pthread_mutex_t lock; /* job lock */ member in struct:__anon31446 159 pthread_mutex_t job_lock; /* job lock */
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMX3A.cpp | 84 Mutex::Autolock lock(m3ASettingsUpdateLock); 285 OMX_BOOL lock = OMX_FALSE; local 291 lock = OMX_TRUE; 299 if (mParameters3A.ExposureLock != lock) 301 mParameters3A.ExposureLock = lock; 302 CAMHAL_LOGDB("ExposureLock %d", lock); 310 OMX_BOOL lock = OMX_FALSE; local 316 lock = OMX_TRUE; 323 if (mParameters3A.WhiteBalanceLock != lock) 325 mParameters3A.WhiteBalanceLock = lock; 1302 OMX_IMAGE_CONFIG_LOCKTYPE lock; local 1334 OMX_IMAGE_CONFIG_LOCKTYPE lock; local 1366 OMX_IMAGE_CONFIG_LOCKTYPE lock; local 1397 OMX_IMAGE_CONFIG_LOCKTYPE lock; local [all...] |
/hardware/ti/omap4xxx/ |
heaptracker.c | 92 static pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; variable 188 pthread_rwlock_wrlock(&lock); 195 pthread_rwlock_unlock(&lock); 203 pthread_rwlock_wrlock(&lock); 206 pthread_rwlock_unlock(&lock); 323 pthread_rwlock_wrlock(&lock); 327 pthread_rwlock_unlock(&lock); 534 num_checked = check_list(last, &lock);
|
/libcore/luni/src/main/java/java/net/ |
DatagramSocket.java | 55 private Object lock = new Object(); field in class:DatagramSocket 482 synchronized (lock) {
|
/libcore/luni/src/main/java/java/nio/ |
FileChannelImpl.java | 133 // FileChannel uses Long.MAX_VALUE to mean "lock the whole file" where POSIX uses 0. 159 public final FileLock lock(long position, long size, boolean shared) throws IOException { method in class:FileChannelImpl 181 * Non-API method to release a given lock on a file channel. Assumes that 182 * the lock will mark itself invalid after successful unlocking. 184 public void release(FileLock lock) throws IOException { 190 flock.l_start = lock.position(); 191 flock.l_len = translateLockLength(lock.size()); 198 removeLock(lock); 538 * Add a new pending lock to the manager. Throws an exception if the lock [all...] |
/ndk/sources/cxx-stl/stlport/src/details/ |
fstream_win32io.cpp | 118 CRITICAL_SECTION lock; member in struct:ioinfo
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/tr1/ |
shared_ptr.h | 676 _M_ptr = __r.lock().get(); 688 _M_ptr = __r.lock().get(); 703 lock() const // never throws function in class:std::tr1::__weak_ptr 953 lock() const // never throws function in class:std::tr1::weak_ptr
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
timer.h | 86 spinlock_t lock; member in struct:snd_timer
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
timer.h | 86 spinlock_t lock; member in struct:snd_timer
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/mmc/ |
host.h | 107 spinlock_t lock; member in struct:mmc_host
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/mmc/ |
host.h | 107 spinlock_t lock; member in struct:mmc_host
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/mmc/ |
host.h | 107 spinlock_t lock; member in struct:mmc_host
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/mmc/ |
host.h | 107 spinlock_t lock; member in struct:mmc_host
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/mmc/ |
host.h | 107 spinlock_t lock; member in struct:mmc_host
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/mmc/ |
host.h | 107 spinlock_t lock; member in struct:mmc_host
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/mmc/ |
host.h | 107 spinlock_t lock; member in struct:mmc_host
|