/external/qemu/distrib/sdl-1.2.15/src/thread/dc/ |
H A D | SDL_syscond.c | 44 SDL_cond *cond; local 46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 47 if ( cond ) { 48 cond->lock = SDL_CreateMutex(); 49 cond->wait_sem = SDL_CreateSemaphore(0); 50 cond->wait_done = SDL_CreateSemaphore(0); 51 cond->waiting = cond->signals = 0; 52 if ( ! cond->lock || ! cond 63 SDL_DestroyCond(SDL_cond *cond) argument 80 SDL_CondSignal(SDL_cond *cond) argument 104 SDL_CondBroadcast(SDL_cond *cond) argument 157 SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) argument 212 SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/thread/generic/ |
H A D | SDL_syscond.c | 44 SDL_cond *cond; local 46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 47 if ( cond ) { 48 cond->lock = SDL_CreateMutex(); 49 cond->wait_sem = SDL_CreateSemaphore(0); 50 cond->wait_done = SDL_CreateSemaphore(0); 51 cond->waiting = cond->signals = 0; 52 if ( ! cond->lock || ! cond 63 SDL_DestroyCond(SDL_cond *cond) argument 80 SDL_CondSignal(SDL_cond *cond) argument 104 SDL_CondBroadcast(SDL_cond *cond) argument 157 SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) argument 212 SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/ |
H A D | SDL_syscond.c | 44 SDL_cond *cond; local 46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 47 if ( cond ) { 48 cond->lock = SDL_CreateMutex(); 49 cond->wait_sem = SDL_CreateSemaphore(0); 50 cond->wait_done = SDL_CreateSemaphore(0); 51 cond->waiting = cond->signals = 0; 52 if ( ! cond->lock || ! cond 63 SDL_DestroyCond(SDL_cond *cond) argument 80 SDL_CondSignal(SDL_cond *cond) argument 104 SDL_CondBroadcast(SDL_cond *cond) argument 157 SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) argument 212 SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/ |
H A D | SDL_syscond.c | 34 pthread_cond_t cond; member in struct:SDL_cond 40 SDL_cond *cond; local 42 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 43 if ( cond ) { 44 if ( pthread_cond_init(&cond->cond, NULL) < 0 ) { 46 SDL_free(cond); 47 cond = NULL; 50 return(cond); 54 void SDL_DestroyCond(SDL_cond *cond) argument 63 SDL_CondSignal(SDL_cond *cond) argument 81 SDL_CondBroadcast(SDL_cond *cond) argument 98 SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) argument 140 SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/ |
H A D | SDL_syscond.c | 38 pthread_cond_t cond; member in struct:SDL_cond 44 SDL_cond *cond; local 46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 47 if ( cond ) { 48 if ( pthread_cond_init(&cond->cond, NULL) < 0 ) { 50 SDL_free(cond); 51 cond = NULL; 54 return(cond); 58 void SDL_DestroyCond(SDL_cond *cond) argument 67 SDL_CondSignal(SDL_cond *cond) argument 85 SDL_CondBroadcast(SDL_cond *cond) argument 102 SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) argument 144 SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/thread/pth/ |
H A D | SDL_syscond.c | 43 SDL_cond *cond; local 45 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 46 if ( cond ) { 47 if ( pth_cond_init(&(cond->condpth_p)) < 0 ) { 49 SDL_free(cond); 50 cond = NULL; 55 return(cond); 59 void SDL_DestroyCond(SDL_cond *cond) argument 61 if ( cond ) { 62 SDL_free(cond); 67 SDL_CondSignal(SDL_cond *cond) argument 85 SDL_CondBroadcast(SDL_cond *cond) argument 122 SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) argument 149 SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) argument [all...] |
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | ptw32_cond_check_need_init.c | 43 ptw32_cond_check_need_init (pthread_cond_t * cond) argument 61 if (*cond == PTHREAD_COND_INITIALIZER) 63 result = pthread_cond_init (cond, NULL); 65 else if (*cond == NULL)
|
H A D | pthread_cond_destroy.c | 42 pthread_cond_destroy (pthread_cond_t * cond) argument 50 * cond 110 * EINVAL 'cond' is invalid, 111 * EBUSY 'cond' is in use, 122 if (cond == NULL || *cond == NULL) 127 if (*cond != PTHREAD_COND_INITIALIZER) 132 cv = *cond; 179 *cond = NULL; 230 if (*cond [all...] |
H A D | pthread_cond_signal.c | 46 ptw32_cond_unblock (pthread_cond_t * cond, int unblockAll) argument 71 if (cond == NULL || *cond == NULL) 76 cv = *cond; 153 pthread_cond_signal (pthread_cond_t * cond) argument 164 * cond 182 * EINVAL 'cond' is invalid, 190 return (ptw32_cond_unblock (cond, 0)); 195 pthread_cond_broadcast (pthread_cond_t * cond) argument 203 * cond [all...] |
H A D | pthread_cond_wait.c | 354 ptw32_cond_timedwait (pthread_cond_t * cond, argument 361 if (cond == NULL || *cond == NULL) 372 if (*cond == PTHREAD_COND_INITIALIZER) 374 result = ptw32_cond_check_need_init (cond); 382 cv = *cond; 454 pthread_cond_wait (pthread_cond_t * cond, pthread_mutex_t * mutex) argument 463 * on 'cond'. When 'cond' is signaled, the mutex 467 * cond 512 pthread_cond_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex, const struct timespec *abstime) argument [all...] |
/external/valgrind/main/drd/ |
H A D | drd_cond.h | 48 struct cond_info* DRD_(cond_get)(const Addr cond); 49 void DRD_(cond_pre_init)(const Addr cond); 50 void DRD_(cond_post_destroy)(const Addr cond); 51 void DRD_(cond_pre_wait)(const Addr cond, const Addr mutex); 52 void DRD_(cond_post_wait)(const Addr cond); 53 void DRD_(cond_pre_signal)(const Addr cond); 54 void DRD_(cond_pre_broadcast)(const Addr cond);
|
H A D | drd_cond.c | 61 void DRD_(cond_initialize)(struct cond_info* const p, const Addr cond) argument 63 tl_assert(cond != 0); 64 tl_assert(p->a1 == cond); 118 static struct cond_info* cond_get_or_allocate(const Addr cond) argument 122 tl_assert(offsetof(DrdClientobj, cond) == 0); 123 p = &(DRD_(clientobj_get)(cond, ClientCondvar)->cond); 127 if (DRD_(clientobj_present)(cond, cond + 1)) 129 wrong_type(cond); 138 cond_get(const Addr cond) argument 145 cond_pre_init(const Addr cond) argument 169 cond_post_destroy(const Addr cond) argument 207 cond_pre_wait(const Addr cond, const Addr mutex) argument 269 cond_post_wait(const Addr cond) argument 338 not_initialized(Addr const cond) argument 349 cond_pre_signal(Addr const cond) argument 373 cond_pre_broadcast(Addr const cond) argument [all...] |
/external/clang/test/CXX/over/over.built/ |
H A D | p25.cpp | 14 Color foo(bool cond, ConvertsToColorA ca, ConvertsToColorB cb) { argument 15 return cond? ca : cb;
|
/external/valgrind/main/helgrind/tests/ |
H A D | pth_destroy_cond.c | 6 // the guest application wrongly destroys a cond var being waited 9 pthread_cond_t cond; variable 17 pthread_cond_signal(&cond); 18 pthread_cond_destroy(&cond); // ERROR!!! 26 pthread_cond_init(&cond, NULL); 31 pthread_cond_wait(&cond, &mutex);
|
/external/qemu/ |
H A D | qemu-thread.h | 11 pthread_cond_t cond; member in struct:QemuCond 29 void qemu_cond_init(QemuCond *cond); 30 void qemu_cond_destroy(QemuCond *cond); 31 void qemu_cond_signal(QemuCond *cond); 32 void qemu_cond_broadcast(QemuCond *cond); 33 void qemu_cond_wait(QemuCond *cond, QemuMutex *mutex); 34 int qemu_cond_timedwait(QemuCond *cond, QemuMutex *mutex, uint64_t msecs);
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
H A D | WaitingThread.java | 53 private final Condition cond; field in class:WaitingThread 69 * @param cond the condition for which to wait 73 public WaitingThread(Condition cond, RouteSpecificPool pool) { argument 75 if (cond == null) { 79 this.cond = cond; 91 return this.cond; 141 // the lock would not be released on calling cond.await() below. 157 success = this.cond.awaitUntil(deadline); 159 this.cond [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.mem/ |
H A D | p1.cpp | 5 static T cond; member in struct:A 9 return (cond ? value + value : value); 15 A<bool>::cond = true; member in class:A
|
/external/marisa-trie/tests/ |
H A D | assert.h | 7 #define ASSERT(cond) (void)((!!(cond)) || \ 8 (printf("%d: Assertion `%s' failed.\n", __LINE__, #cond), exit(-1), 0))
|
/external/marisa-trie/v0_1_5/tests/ |
H A D | assert.h | 7 #define ASSERT(cond) (void)((!!(cond)) || \ 8 (printf("%d: Assertion `%s' failed.\n", __LINE__, #cond), exit(-1), 0))
|
/external/clang/test/CodeGenCXX/ |
H A D | microsoft-abi-exceptions.cpp | 52 // WIN32: %[[cond:.*]] = load i1* %[[isactive]] 53 // WIN32: br i1 %[[cond]] 59 int HasConditionalCleanup(bool cond) { argument 60 return (cond ? TakesTwo(A(), A()) : CouldThrow()); 80 int HasConditionalDeactivatedCleanups(bool cond) { argument 81 return (cond ? TakesTwo((TakeRef(A()), A()), (TakeRef(A()), A())) : CouldThrow());
|
H A D | conditional-expr-lvalue.cpp | 17 void foo(bool cond, const A &a) { argument 18 (cond ? a : a.sub()).foo();
|
H A D | expr.cpp | 35 struct s5 &f5_0(bool cond, struct s5 &a, struct s5 &b) { argument 36 return cond ? a : b;
|
/external/compiler-rt/lib/arm/ |
H A D | aeabi_dcmp.S | 21 #define DEFINE_AEABI_DCMP(cond) \ 24 DEFINE_COMPILERRT_FUNCTION(__aeabi_dcmp ## cond) \ 26 bl SYMBOL_NAME(__ ## cond ## df2) SEPARATOR \ 28 b ## cond 1f SEPARATOR \
|
H A D | aeabi_fcmp.S | 21 #define DEFINE_AEABI_FCMP(cond) \ 24 DEFINE_COMPILERRT_FUNCTION(__aeabi_fcmp ## cond) \ 26 bl SYMBOL_NAME(__ ## cond ## sf2) SEPARATOR \ 28 b ## cond 1f SEPARATOR \
|
/external/libvpx/libvpx/vpx_ports/ |
H A D | asm_offsets.h | 17 #define ct_assert(name,cond) \ 19 static void assert_##name(void) {switch(0){case 0:case !!(cond):;}}
|