HomeSort by relevance Sort by last modified time
    Searched defs:lock (Results 151 - 175 of 996) sorted by null

1 2 3 4 5 67 8 91011>>

  /art/test/123-compiler-regressions-mt/src/
Main.java 81 private Object lock = new Object(); field in class:B17689750TestMonitor
87 synchronized (lock) {
92 synchronized (lock) {
100 synchronized (lock) {
107 synchronized (lock) {
  /art/test/1902-suspend/src/art/
Test1902.java 20 public static final Object lock = new Object(); field in class:Test1902
38 lock.wait(millis);
59 synchronized (lock) {
  /art/test/1903-suspend-self/src/art/
Test1903.java 20 public static final Object lock = new Object(); field in class:Test1903
45 lock.wait(millis);
65 synchronized (lock) {
  /art/test/1906-suspend-list-me-first/src/art/
Test1906.java 20 public static final Object lock = new Object(); field in class:Test1906
27 lock.wait(millis);
41 synchronized (lock) {
  /bionic/libc/kernel/uapi/drm/
drm_sarea.h 48 struct drm_hw_lock lock; member in struct:drm_sarea
  /cts/apps/CtsVerifier/assets/scripts/power_monitors/
monsoon.py 62 def lock( device ): member in class:Power_Monitor
129 self._lockfile = Power_Monitor.lock( device )
200 lockfile = Power_Monitor.lock( dev )
  /cts/tests/app/app/src/android/app/stubs/
KeyboardShortcutsActivity.java 26 import java.util.concurrent.locks.Lock;
34 private final Lock mLock = new ReentrantLock();
47 mLock.lock();
59 mLock.lock();
72 mLock.lock();
85 mLock.lock();
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
rcslib.py 84 # XXX could be a lock or symbolic name
98 def lock(self, name_rev): member in class:RCS
99 """Set an rcs lock on NAME_REV."""
105 """Clear an rcs lock on NAME_REV."""
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
thread_atheos.h 147 * Lock support.
156 fastmutex_t *lock; local
166 lock = (fastmutex_t *) malloc(sizeof(fastmutex_t));
167 if (lock == NULL) {
173 PyOS_snprintf(name, sizeof(name), "python lock (%d)", this_lock);
176 if (fastmutex_create(name, lock) < 0) {
179 free(lock);
180 lock = NULL;
182 dprintf(("PyThread_allocate_lock()-> %p\n", lock));
183 return (PyThread_type_lock) lock;
    [all...]
thread_pth.h 14 /* A pth mutex isn't sufficient to model the Python lock type
18 * The pth_lock struct implements a Python lock as a "locked?" bit
26 /* a <cond, mutex> pair to handle an acquire of a locked lock */
86 * Lock support.
90 pth_lock *lock; local
97 lock = (pth_lock *) malloc(sizeof(pth_lock));
98 memset((void *)lock, '\0', sizeof(pth_lock));
99 if (lock) {
100 lock->locked = 0;
101 status = pth_mutex_init(&lock->mut);
    [all...]
  /device/linaro/hikey/hifi/xaf/hifi-dpf/include/
xf-core.h 42 xf_mutex_t lock; member in struct:xf_core_ro_data
  /external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
rx-ref_count.hpp 116 std::mutex lock; member in struct:rxcpp::operators::detail::ref_count::ref_count_state
148 std::unique_lock<std::mutex> guard(state->lock);
154 std::unique_lock<std::mutex> guard_unsubscribe(keepAlive->lock);
  /external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/subjects/
rx-behavior.hpp 24 mutable std::mutex lock; member in class:rxcpp::subjects::detail::behavior_observer::behavior_observer_state
34 std::unique_lock<std::mutex> guard(lock);
38 std::unique_lock<std::mutex> guard(lock);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
KeyPairGeneratorSpi.java 30 private static Object lock = new Object(); field in class:KeyPairGeneratorSpi
113 synchronized (lock)
  /external/compiler-rt/lib/builtins/
atomic.c 20 * To avoid needing a per-object lock, this code allocates an array of
22 * For operations that must be atomic on two locations, the lower lock is
49 // Platform-specific lock implementation. Falls back to spinlocks if none is
50 // defined. Each platform should define the Lock type, and corresponding
51 // lock() and unlock() functions.
58 typedef struct _usem Lock;
59 __inline static void unlock(Lock *l) {
65 __inline static void lock(Lock *l) { function
74 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} }
84 __inline static void lock(Lock *l) { function
97 __inline static void lock(Lock *l) { function
    [all...]
  /external/curl/docs/examples/
smooth-gtk-thread.c 46 pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; variable
76 pthread_mutex_lock(&lock);
99 pthread_mutex_unlock(&lock);
  /external/curl/lib/
nwlib.c 52 NXMutex_t *lock; member in struct:__anon18571
82 NX_LOCK_INFO_ALLOC(liblock, "Per-Application Data Lock", 0);
124 OutputToScreen(errorScreen, "Unable to allocate library data lock.\n");
164 NX_LOCK_INFO_ALLOC(liblock, "Application Data Lock", 0);
180 * application is calling us simultaneously, we better lock our application
182 * the lock because WE might be that other thread that was too late to
193 app_data->lock = NXMutexAlloc(0, 0, &liblock);
195 if(!app_data->tenbytes || !app_data->lock) {
196 if(app_data->lock)
197 NXMutexFree(app_data->lock);
    [all...]
  /external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
ClassTransformer.java 78 * transformation process via this lock.
82 private final static Object lock = new Object(); field in class:ClassTransformer
130 synchronized (lock) {
  /external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/
StaticClassTransformer.java 62 * transformation process via this lock.
66 private final static Object lock = new Object(); field in class:StaticClassTransformer
124 synchronized (lock) {
StaticJvmtiAgent.java 35 private static final Object lock = new Object(); field in class:StaticJvmtiAgent
83 synchronized (lock) {
  /external/grpc-grpc/test/core/iomgr/
combiner_test.cc 42 grpc_combiner* lock = grpc_combiner_create(); local
47 grpc_combiner_scheduler(lock)),
52 GRPC_COMBINER_UNREF(lock, "test_execute_one");
57 grpc_combiner* lock; member in struct:__anon23357
83 check_one, c, grpc_combiner_scheduler(args->lock)),
92 grpc_combiner_scheduler(args->lock)),
99 grpc_combiner* lock = grpc_combiner_create(); local
104 ta[i].lock = lock;
115 GRPC_COMBINER_UNREF(lock, "test_execute_many")
134 grpc_combiner* lock = grpc_combiner_create(); local
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
MoreExecutors.java 53 import java.util.concurrent.locks.Lock;
277 * Lock used whenever accessing the state variables
280 private final Lock lock = new ReentrantLock(); field in class:MoreExecutors.DirectExecutorService
283 private final Condition termination = lock.newCondition();
307 lock.lock();
311 lock.unlock();
317 lock.lock();
    [all...]
  /external/guice/core/src/com/google/inject/internal/
State.java 149 public Object lock() {
221 * Returns the shared lock for all injector data. This is a low-granularity, high-contention lock
224 Object lock(); method in interface:State
  /external/kernel-headers/original/uapi/drm/
drm_sarea.h 76 struct drm_hw_lock lock; member in struct:drm_sarea
77 /** \todo Use readers/writer lock for drm_sarea::drawable_lock */
  /external/libcap-ng/libcap-ng-0.7/utils/
captest.c 52 static int text = 0, no_child = 0, lock = 0; variable
199 printf("usage: captest [ --drop-all | --drop-caps | --id ] [ --lock ] [ --text ]\n");
211 else if (strcmp(argv[i], "--lock") == 0)
212 lock = 1;
228 if (lock)
235 if (lock)
259 if (lock)

Completed in 845 milliseconds

1 2 3 4 5 67 8 91011>>