HomeSort by relevance Sort by last modified time
    Searched full:lock (Results 176 - 200 of 1923) sorted by null

1 2 3 4 5 6 78 91011>>

  /ndk/build/platforms/android-5/arch-x86/usr/include/linux/
lockdep.h 24 #define lockdep_init_map(lock, name, key) do { (void)(key); } while (0)
25 #define lockdep_set_class(lock, key) do { (void)(key); } while (0)
26 #define lockdep_set_class_and_name(lock, key, name) do { (void)(key); } while (0)
  /ndk/build/platforms/android-8/arch-arm/usr/include/linux/
lockdep.h 24 #define lockdep_init_map(lock, name, key) do { (void)(key); } while (0)
25 #define lockdep_set_class(lock, key) do { (void)(key); } while (0)
26 #define lockdep_set_class_and_name(lock, key, name) do { (void)(key); } while (0)
  /ndk/build/platforms/android-8/arch-x86/usr/include/linux/
lockdep.h 24 #define lockdep_init_map(lock, name, key) do { (void)(key); } while (0)
25 #define lockdep_set_class(lock, key) do { (void)(key); } while (0)
26 #define lockdep_set_class_and_name(lock, key, name) do { (void)(key); } while (0)
  /external/clearsilver/util/
dict.h 70 * the lock returned in <plock> will be associated with
71 * the returned value. Until this lock is passed to
76 * plock - place for value lock (or NULL).
77 * Output: plock - set to value lock.
89 * the lock returned in <plock> will be associated with
90 * the returned value. Until this lock is passed to
96 * plock - place for value lock (or NULL).
97 * Output: plock - set to value lock.
103 void dictReleaseLock(dictCtx dict, void *lock);
105 * Function: dictReleaseLock - release lock on value
    [all...]
  /frameworks/base/media/java/android/media/
MiniThumbFile.java 156 FileLock lock = null; local
161 lock = mChannel.lock(pos, 1 + 8, true);
178 if (lock != null) lock.release();
194 FileLock lock = null; local
208 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false);
221 if (lock != null) lock.release()
241 FileLock lock = null; local
    [all...]
  /dalvik/libcore/luni/src/main/java/java/util/
TimerTask.java 28 /* Lock object for synchronization. It's also used by Timer class. */
29 final Object lock = new Object(); field in class:TimerTask
51 synchronized (lock) {
60 synchronized (lock) {
72 synchronized (lock) {
93 synchronized (lock) {
108 synchronized (lock) {
  /system/core/adb/
usb_linux_client.c 37 adb_mutex_t lock; member in struct:usb_handle
52 adb_mutex_lock(&usb->lock);
54 adb_cond_wait(&usb->notify, &usb->lock);
55 adb_mutex_unlock(&usb->lock);
120 adb_mutex_init(&h->lock, 0);
143 adb_mutex_lock(&h->lock);
149 adb_mutex_unlock(&h->lock);
  /dalvik/libcore/nio/src/main/java/java/nio/channels/
FileChannel.java 55 * <li>lock ranges of bytes associated with the file,</li>
161 * Obtains an exclusive lock on this file.
163 * This is a convenience method for acquiring a maximum length lock on a
165 * {@code fileChannel.lock(0L, Long.MAX_VALUE, false);}
167 * @return the lock object representing the locked file area.
173 * either a lock is already held that overlaps this lock
174 * request, or another thread is waiting to acquire a lock that
178 * the lock.
181 * to acquire the lock
186 public final FileLock lock() throws IOException { method in class:FileChannel
252 public abstract FileLock lock(long position, long size, boolean shared) method in class:FileChannel
    [all...]
  /external/webkit/JavaScriptCore/runtime/
JSLock.cpp 35 // Acquire this mutex before accessing lock-related data.
48 // Lock nesting count.
65 lock(m_lockBehavior);
68 void JSLock::lock(JSLockBehavior lockBehavior) function in class:JSC::JSLock
106 void JSLock::lock(ExecState* exec) function in class:JSC::JSLock
108 lock(exec->globalData().isSharedInstance ? LockForReal : SilenceAssertionsOnly);
126 // We lock the context when a thread enters, and unlock it when it leaves.
189 // It is necessary to drop even "unreal" locks, because having a non-zero lock count
190 // will prevent a real lock from being taken.
200 JSLock::lock(m_lockBehavior)
    [all...]
  /dalvik/libcore/concurrent/src/main/java/java/util/concurrent/locks/
Condition.java 16 * combining them with the use of arbitrary {@link Lock} implementations.
17 * Where a {@code Lock} replaces the use of {@code synchronized} methods
26 * must be protected, so a lock of some form is associated with the
28 * is that it <em>atomically</em> releases the associated lock and
31 * <p>A {@code Condition} instance is intrinsically bound to a lock.
32 * To obtain a {@code Condition} instance for a particular {@link Lock}
33 * instance use its {@link Lock#newCondition newCondition()} method.
47 * <b>final Lock lock = new ReentrantLock();</b>
48 * final Condition notFull = <b>lock.newCondition(); </b
    [all...]
  /dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
CyclicBarrier.java 108 * using the barrier - due to the non-deterministic way the lock
119 /** The lock for guarding barrier entry */
120 private final ReentrantLock lock = new ReentrantLock(); field in class:CyclicBarrier
122 private final Condition trip = lock.newCondition();
139 * Called only while holding lock.
151 * Called only while holding lock.
165 final ReentrantLock lock = this.lock; local
166 lock.lock();
410 final ReentrantLock lock = this.lock; local
429 final ReentrantLock lock = this.lock; local
446 final ReentrantLock lock = this.lock; local
    [all...]
  /dalvik/libcore/support/src/test/java/tests/support/
Support_StringWriter.java 29 * <code>lock</code> used to synchronize access to this Writer.
34 lock = buf;
40 * the <code>lock</code> used to synchronize access to this Writer.
45 lock = buf;
79 synchronized (lock) {
93 synchronized (lock) {
117 synchronized (lock) {
136 synchronized (lock) {
151 synchronized (lock) {
174 synchronized (lock) {
    [all...]
  /external/webkit/WebCore/bindings/js/
ScriptFunctionCall.cpp 73 JSLock lock(SilenceAssertionsOnly);
79 JSLock lock(SilenceAssertionsOnly);
85 JSLock lock(SilenceAssertionsOnly);
96 JSLock lock(SilenceAssertionsOnly);
102 JSLock lock(SilenceAssertionsOnly);
108 JSLock lock(SilenceAssertionsOnly);
114 JSLock lock(SilenceAssertionsOnly);
120 JSLock lock(SilenceAssertionsOnly);
133 JSLock lock(SilenceAssertionsOnly);
171 JSLock lock(SilenceAssertionsOnly)
    [all...]
  /external/webkit/WebCore/dom/default/
PlatformMessagePortChannel.cpp 156 MutexLocker lock(m_mutex);
164 MutexLocker lock(m_mutex);
170 MutexLocker lock(m_mutex);
176 MutexLocker lock(m_mutex);
185 MutexLocker lock(m_mutex);
195 MutexLocker lock(m_mutex);
202 MutexLocker lock(m_mutex);
218 MutexLocker lock(m_mutex);
227 MutexLocker lock(m_mutex);
233 MutexLocker lock(m_mutex)
    [all...]
  /external/webkit/WebKit/mac/Misc/
WebCoreStatistics.mm 59 JSLock lock(SilenceAssertionsOnly);
65 JSLock lock(SilenceAssertionsOnly);
71 JSLock lock(SilenceAssertionsOnly);
77 JSLock lock(SilenceAssertionsOnly);
83 JSLock lock(SilenceAssertionsOnly);
98 JSLock lock(SilenceAssertionsOnly);
163 JSLock lock(SilenceAssertionsOnly);
169 JSLock lock(SilenceAssertionsOnly);
196 JSLock lock(SilenceAssertionsOnly);
236 JSLock lock(SilenceAssertionsOnly)
    [all...]
  /system/core/libcutils/
atomic.c 169 " lock; cmpxchg %%ecx, (%%edx);"
210 pthread_mutex_t* lock = SWAP_LOCK(addr); local
212 pthread_mutex_lock(lock);
217 pthread_mutex_unlock(lock);
224 pthread_mutex_t* lock = SWAP_LOCK(addr); local
226 pthread_mutex_lock(lock);
234 pthread_mutex_unlock(lock);
240 pthread_mutex_t* lock = SWAP_LOCK(addr); local
242 pthread_mutex_lock(lock);
244 pthread_mutex_unlock(lock);
    [all...]
  /external/bluetooth/glib/docs/reference/glib/tmpl/
threads.sgml 652 Tries to lock @mutex. If @mutex is already locked by another
679 for @mutex, it will be woken and can lock @mutex itself.
849 there. #G_LOCK_DEFINE defines a lock. It can appear anywhere variable
854 variable you intent to protect with the lock. Look at our
878 @name: the name of the lock.
887 @name: the name of the lock.
893 This declares a lock, that is defined with #G_LOCK_DEFINE in another module.
896 @name: the name of the lock.
902 Works like g_mutex_lock(), but for a lock defined with #G_LOCK_DEFINE.
905 @name: the name of the lock
    [all...]
  /dalvik/vm/compiler/codegen/arm/Thumb2/
Gen.c 167 * Handle simple case (thin lock) inline. If it's complicated, bail
168 * out to the heavyweight lock/unlock routines. We'll use dedicated
170 * to bail to dvm[Lock/Unlock]Object(self, object)
172 * r0 -> self pointer [arg0 for dvm[Lock/Unlock]Object
173 * r1 -> object [arg1 for dvm[Lock/Unlock]Object
174 * r2 -> intial contents of object->lock, later result of strex
176 * r7 -> temp to hold new lock value [unlock only]
179 * The result of the strex is 0 if we acquire the lock.
181 * See comments in Sync.c for the layout of the lock word.
184 * simple case is thin lock, held by no-one. For monitor exit
    [all...]
  /external/srec/portable/src/UNIX/
PFileSystemUNIXImpl.c 74 /* Have STDERR and STDOUT share the same lock */
78 CHKLOG(rc, PtrdMonitorDestroy(impl->Interface.lock));
79 impl->Interface.lock = ((PANSIFileImpl*) PSTDOUT)->Interface.lock;
118 /* stdout, stderr share the same lock, only one of them should destroy it */
121 impl->lock = NULL;
  /external/webkit/WebCore/platform/haiku/
ClipboardHaiku.cpp 52 if (be_clipboard->Lock()) {
66 if (be_clipboard->Lock()) {
78 if (be_clipboard->Lock()) {
95 if (be_clipboard->Lock()) {
117 if (be_clipboard->Lock()) {
199 if (be_clipboard->Lock()) {
  /system/extras/tests/bionic/libc/bionic/
test_cond.c 36 static pthread_mutex_t lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER; variable
42 pthread_mutex_lock(&lock);
44 pthread_cond_wait(&wait, &lock);
46 pthread_mutex_unlock(&lock);
56 pthread_mutex_lock(&lock);
60 pthread_mutex_unlock(&lock);
  /external/dbus/bus/
messagebus.in 34 [ $RETVAL -eq 0 ] && touch @EXPANDED_LOCALSTATEDIR@/lock/subsys/$servicename
47 rm -f @EXPANDED_LOCALSTATEDIR@/lock/subsys/$servicename
69 if [ -f @EXPANDED_LOCALSTATEDIR@/lock/subsys/$servicename ]; then
  /external/elfutils/
configure.ac 167 #define lock_lock(lock) ((void) (lock))
169 #define rwlock_init(lock) ((void) (lock))
170 #define rwlock_fini(lock) ((void) (lock))
171 #define rwlock_rdlock(lock) ((void) (lock))
172 #define rwlock_wrlock(lock) ((void) (lock))
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
LinearLayoutWithDefaultTouchRecepient.java 30 * that a wider range of touch events than just the lock pattern widget can kick
31 * off a lock pattern if the finger is eventually dragged into the bounds of the
32 * lock pattern view.
  /bionic/libc/kernel/common/linux/
mempool.h 23 spinlock_t lock; member in struct:mempool_s

Completed in 124 milliseconds

1 2 3 4 5 6 78 91011>>