HomeSort by relevance Sort by last modified time
    Searched refs:_lock (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /external/libunwind_llvm/src/
RWMutex.hpp 39 AcquireSRWLockShared(&_lock);
43 ReleaseSRWLockShared(&_lock);
47 AcquireSRWLockExclusive(&_lock);
51 ReleaseSRWLockExclusive(&_lock);
56 SRWLOCK _lock = SRWLOCK_INIT;
63 bool lock_shared() { return pthread_rwlock_rdlock(&_lock) == 0; }
64 bool unlock_shared() { return pthread_rwlock_unlock(&_lock) == 0; }
65 bool lock() { return pthread_rwlock_wrlock(&_lock) == 0; }
66 bool unlock() { return pthread_rwlock_unlock(&_lock) == 0; }
69 pthread_rwlock_t _lock = PTHREAD_RWLOCK_INITIALIZER
    [all...]
  /external/grpc-grpc/src/python/grpcio_tests/tests/unit/
_thread_pool.py 24 self._lock = threading.Lock()
28 with self._lock:
33 with self._lock:
  /external/chromium-trace/catapult/devil/devil/utils/lazy/
weak_constant.py 21 self._lock = threading.Lock()
28 with self._lock:
31 # from holding self._lock indefinitely in the event that
  /external/toolchain-utils/automation/server/
job_group_manager.py 24 self._lock = threading.Lock()
25 self._job_group_finished = threading.Condition(self._lock)
34 with self._lock:
42 with self._lock:
46 with self._lock:
54 with self._lock:
67 with self._lock:
86 with self._lock:
job_manager.py 70 self._lock = threading.Lock()
71 self._jobs_available = threading.Condition(self._lock)
85 with self._lock:
92 with self._lock:
109 with self._lock:
129 with self._lock:
142 with self._lock:
151 with self._lock:
170 with self._lock:
machine_manager.py 30 self._lock = threading.RLock()
55 with self._lock:
68 with self._lock:
72 with self._lock:
  /external/grpc-grpc/src/python/grpcio_tests/tests/qps/
histogram.py 28 self._lock = threading.Lock()
40 with self._lock:
49 with self._lock:
58 with self._lock:
  /external/python/cpython3/Lib/
bz2.py 61 self._lock = RLock()
114 with self._lock:
163 with self._lock:
176 with self._lock:
187 with self._lock:
198 with self._lock:
213 with self._lock:
228 with self._lock:
239 with self._lock:
254 with self._lock
    [all...]
sched.py 61 self._lock = threading.RLock()
75 with self._lock:
95 with self._lock:
101 with self._lock:
130 lock = self._lock
165 with self._lock:
  /external/tensorflow/tensorflow/python/summary/writer/
writer_cache.py 38 _lock = threading.RLock() variable in class:FileWriterCache
43 with FileWriterCache._lock:
60 with FileWriterCache._lock:
  /external/toolchain-utils/crosperf/
image_checksummer.py 20 self._lock = threading.Lock()
26 with self._lock:
45 _lock = threading.Lock() variable in class:ImageChecksummer
49 with cls._lock:
58 with self._lock:
  /external/python/cpython2/Lib/multiprocessing/
synchronize.py 198 self._lock = lock or RLock()
206 return (self._lock, self._sleeping_count,
210 (self._lock, self._sleeping_count,
215 return self._lock.__enter__()
218 return self._lock.__exit__(*args)
221 self.acquire = self._lock.acquire
222 self.release = self._lock.release
230 return '<Condition(%s, %s)>' % (self._lock, num_waiters)
233 assert self._lock._semlock._is_mine(), \
240 count = self._lock._semlock._count(
    [all...]
  /external/grpc-grpc/src/python/grpcio_tests/tests/unit/framework/foundation/
_logging_pool_test.py 27 self._lock = threading.Lock()
31 with self._lock:
35 with self._lock:
  /external/tensorflow/tensorflow/python/util/
lock_util.py 120 self._lock = lock
124 self._lock.acquire(self._group_id)
128 self._lock.release(self._group_id)
  /external/toolchain-utils/crb/
machine_manager_singleton.py 32 _lock = threading.RLock() variable in class:MachineManagerSingleton
41 with cls._lock:
48 with self._lock:
73 with self._lock:
79 with self._lock:
109 with self._lock:
119 with self._lock:
127 with self._lock:
134 with self._lock:
  /device/generic/goldfish-opengl/shared/OpenglCodecCommon/
GLSharedGroup.cpp 251 android::AutoMutex _lock(m_lock);
260 android::AutoMutex _lock(m_lock);
271 android::AutoMutex _lock(m_lock);
278 android::AutoMutex _lock(m_lock);
289 android::AutoMutex _lock(m_lock);
322 android::AutoMutex _lock(m_lock);
338 android::AutoMutex _lock(m_lock);
349 android::AutoMutex _lock(m_lock);
361 android::AutoMutex _lock(m_lock);
371 android::AutoMutex _lock(m_lock)
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
fileext.h 38 mutex_t _lock; /* Lock for FLOCKFILE/FUNLOCKFILE */ member in struct:__sfileext
50 #define _LOCK(fp) (_EXT(fp)->_lock)
58 mutex_init(&_LOCK(f), NULL); \
  /external/python/cpython3/Lib/multiprocessing/
sharedctypes.py 185 self._lock = lock
188 self._lock = ctx.RLock()
189 self.acquire = self._lock.acquire
190 self.release = self._lock.release
193 return self._lock.__enter__()
196 return self._lock.__exit__(*args)
200 return synchronized, (self._obj, self._lock)
206 return self._lock
synchronize.py 213 self._lock = lock or ctx.RLock()
221 return (self._lock, self._sleeping_count,
225 (self._lock, self._sleeping_count,
230 return self._lock.__enter__()
233 return self._lock.__exit__(*args)
236 self.acquire = self._lock.acquire
237 self.release = self._lock.release
245 return '<%s(%s, %s)>' % (self.__class__.__name__, self._lock, num_waiters)
248 assert self._lock._semlock._is_mine(), \
255 count = self._lock._semlock._count(
    [all...]
  /external/webrtc/webrtc/modules/video_capture/mac/qtkit/
video_capture_qtkit_objc.mm 49 [_lock release];
57 [_lock lock];
59 [_lock unlock];
174 _lock = [[NSLock alloc] init];
231 [_lock lock];
233 [_lock unlock];
255 [_lock unlock];
video_capture_qtkit_objc.h 38 NSLock* _lock; variable
  /external/autotest/server/hosts/
ssh_multiplex.py 39 self._lock = multiprocessing.Lock()
73 with self._lock:
119 with self._lock:
123 # Assume that when this is called, _lock should be acquired, already.
140 self._lock = threading.Lock()
158 with self._lock:
file_store.py 41 self._lock = locking.FileLock(
104 functor=self._lock.write_lock,
107 # If self._lock fails to write the locking file, it'll leak an OSError
111 with self._lock:
  /external/grpc-grpc/src/python/grpcio/grpc/framework/foundation/
stream_util.py 89 self._lock = threading.Lock()
110 with self._lock:
125 with self._lock:
134 with self._lock:
142 with self._lock:
  /external/tensorflow/tensorflow/python/training/
coordinator.py 146 self._lock = threading.Lock()
201 with self._lock:
251 with self._lock:
319 with self._lock:
353 with self._lock:
385 with self._lock:
405 with self._lock:

Completed in 1898 milliseconds

1 2 3 4 5