Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 60) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dlock_tests.py311 cond = self.condtype()
314 cond.acquire()
315 cond.acquire()
316 cond.release()
317 cond.release()
319 cond = self.condtype(lock)
320 cond.acquire()
322 cond.release()
324 self.assertFalse(cond.acquire(False))
326 with cond:
[all …]
Dtest_multiprocessing.py642 def f(cls, cond, sleeping, woken, timeout=None): argument
643 cond.acquire()
645 cond.wait(timeout)
647 cond.release()
649 def check_invariant(self, cond): argument
653 sleepers = (cond._sleeping_count.get_value() -
654 cond._woken_count.get_value())
656 self.assertEqual(cond._wait_semaphore.get_value(), 0)
661 cond = self.Condition()
665 p = self.Process(target=self.f, args=(cond, sleeping, woken))
[all …]
/device/google/marlin/camera/QCamera2/stack/common/
Dcam_semaphore.h50 pthread_cond_t cond; member
56 PTHREAD_COND_INIT(&(s->cond)); in cam_sem_init()
64 pthread_cond_signal(&(s->cond)); in cam_sem_post()
73 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait()
84 rc = pthread_cond_timedwait(&(s->cond), &(s->mutex), abs_timeout); in cam_sem_timedwait()
103 pthread_cond_destroy(&(s->cond)); in cam_sem_destroy()
Dcam_cond.h20 #define PTHREAD_COND_INIT(cond) \ argument
28 rc = pthread_cond_init(cond, &cond_attr); \
/device/lge/bullhead/camera/QCamera2/stack/common/
Dcam_semaphore.h50 pthread_cond_t cond; member
56 PTHREAD_COND_INIT(&(s->cond)); in cam_sem_init()
64 pthread_cond_signal(&(s->cond)); in cam_sem_post()
73 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait()
84 rc = pthread_cond_timedwait(&(s->cond), &(s->mutex), abs_timeout); in cam_sem_timedwait()
103 pthread_cond_destroy(&(s->cond)); in cam_sem_destroy()
Dcam_cond.h20 #define PTHREAD_COND_INIT(cond) \ argument
28 rc = pthread_cond_init(cond, &cond_attr); \
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/include/
Dcam_semaphore.h50 pthread_cond_t cond; member
56 PTHREAD_COND_INIT(&(s->cond)); in cam_sem_init()
64 pthread_cond_signal(&(s->cond)); in cam_sem_post()
73 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait()
84 rc = pthread_cond_timedwait(&(s->cond), &(s->mutex), abs_timeout); in cam_sem_timedwait()
103 pthread_cond_destroy(&(s->cond)); in cam_sem_destroy()
Dcam_cond.h20 #define PTHREAD_COND_INIT(cond) \ argument
28 rc = pthread_cond_init(cond, &cond_attr); \
/device/huawei/angler/camera/QCamera2/stack/common/
Dcam_semaphore.h50 pthread_cond_t cond; member
56 PTHREAD_COND_INIT(&(s->cond)); in cam_sem_init()
64 pthread_cond_signal(&(s->cond)); in cam_sem_post()
73 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait()
84 rc = pthread_cond_timedwait(&(s->cond), &(s->mutex), abs_timeout); in cam_sem_timedwait()
103 pthread_cond_destroy(&(s->cond)); in cam_sem_destroy()
Dcam_cond.h20 #define PTHREAD_COND_INIT(cond) \ argument
28 rc = pthread_cond_init(cond, &cond_attr); \
/device/google/contexthub/firmware/lib/libc/
Darm_asm.h66 .macro RETURN cond=
68 bx\cond lr
70 mov\cond pc, lr
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dversionpredicate.py124 seq = [cond + " " + str(ver) for cond, ver in self.pred]
134 for cond, ver in self.pred:
135 if not compmap[cond](version, ver):
/device/linaro/bootloader/arm-trusted-firmware/include/lib/
Dcassert.h40 #define CASSERT(cond, msg) typedef char msg[(cond) ? 1 : -1] argument
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_dbg.h78 #define CDBG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ## __VA_ARGS__) argument
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_dbg.h78 #define CDBG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ## __VA_ARGS__) argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ipf/
DCpuFlushTlb.s43 br.cond.sptk LoopPredicate
55 (p6) br.cond.sptk LoopOuter
/device/linaro/bootloader/edk2/MdePkg/Library/BaseCpuLib/Ipf/
DCpuFlushTlb.s42 br.cond.sptk LoopPredicate
54 (p6) br.cond.sptk LoopOuter
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dbdb.py238 def set_break(self, filename, lineno, temporary=0, cond = None, argument
251 bp = Breakpoint(filename, lineno, temporary, cond, funcname)
460 def __init__(self, file, line, temporary=0, cond=None, funcname=None): argument
467 self.cond = cond
508 if self.cond:
509 print >>out, '\tstop only if %s' % (self.cond,)
565 if not b.cond:
580 val = eval(b.cond, frame.f_globals,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/
Dzutil.h253 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} argument
260 # define Assert(cond,msg) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dzutil.h253 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} argument
260 # define Assert(cond,msg) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dzutil.h223 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} argument
230 # define Assert(cond,msg) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/zlib/
Dzutil.h226 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} argument
233 # define Assert(cond,msg) argument
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c199 pthread_cond_init(&p_session->cond, NULL); in mm_jpegdec_session_create()
267 pthread_cond_destroy(&p_session->cond); in mm_jpegdec_session_destroy()
437 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_enable()
476 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_disable()
546 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpegdec_session_decode()
618 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpegdec_session_decode()
1014 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1038 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1042 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1045 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_dbg.h63 #define FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ## __VA_ARGS__) argument
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c203 pthread_cond_init(&p_session->cond, NULL); in mm_jpegdec_session_create()
271 pthread_cond_destroy(&p_session->cond); in mm_jpegdec_session_destroy()
443 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_enable()
482 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_disable()
552 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpegdec_session_decode()
624 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpegdec_session_decode()
1021 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1045 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1049 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1052 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()

123