/external/libcxx/src/ |
H A D | condition_variable.cpp | 76 notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk) argument 78 __thread_local_data()->notify_all_at_thread_exit(&cond, lk.release());
|
/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/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/include/qemu/ |
H A D | thread-posix.h | 11 pthread_cond_t cond; member in struct:QemuCond 17 pthread_cond_t cond; member in struct:QemuSemaphore 27 pthread_cond_t cond; member in struct:QemuEvent
|
/external/valgrind/main/drd/tests/ |
H A D | free_is_write.c | 15 static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable 34 pthread_cond_signal(&cond); 52 while (count < THREAD_COUNT && pthread_cond_wait(&cond, &mutex) == 0)
|
/external/webrtc/src/system_wrappers/source/ |
H A D | event_posix.h | 52 pthread_cond_t cond; member in class:webrtc::EventPosix
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
H A D | WaitingThread.java | 58 private final Condition cond; field in class:WaitingThread 74 * @param cond the condition for which to wait 78 public WaitingThread(Condition cond, RouteSpecificPool pool) { argument 80 if (cond == null) { 84 this.cond = cond; 96 return this.cond; 146 // the lock would not be released on calling cond.await() below. 162 success = this.cond.awaitUntil(deadline); 164 this.cond [all...] |
/external/javassist/src/main/javassist/compiler/ast/ |
H A D | CondExpr.java | 24 public CondExpr(ASTree cond, ASTree thenp, ASTree elsep) { argument 25 super(cond, new ASTList(thenp, new ASTList(elsep)));
|
/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/valgrind/main/drd/ |
H A D | drd_clientreq.c | 411 const Addr cond = arg[1]; local 415 DRD_(cond_pre_wait)(cond, mutex); 422 const Addr cond = arg[1]; local 425 DRD_(cond_post_wait)(cond);
|
/external/chromium_org/third_party/hwcplus/src/ |
H A D | hwcplus_util.c | 68 void __android_log_assert(const char* cond, argument 80 /* Msg not provided, log condition. N.B. Do not use cond directly as 84 if (cond) 85 snprintf(buf, LOG_BUF_SIZE, "Assertion failed: %s", cond);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_flow.h | 62 LLVMValueRef cond); 131 LLVMIntPredicate cond); 145 LLVMIntPredicate cond; member in struct:lp_build_for_loop_state
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UnreachableCodeChecker.cpp | 229 const Stmt *cond = pred->getTerminatorCondition(); local 231 //assert(cond && "CFGBlock's predecessor has a terminator condition"); 234 if (!cond) 238 if (containsMacro(cond) || containsEnum(cond) 239 || containsStaticLocal(cond) || containsBuiltinOffsetOf(cond) 240 || containsStmt<UnaryExprOrTypeTraitExpr>(cond))
|
/external/clang/test/Analysis/ |
H A D | unreachable-code-path.c | 153 int cond = coin(); local 154 if (!cond) { 156 if (cond) {
|
/external/clang/test/CodeGen/ |
H A D | conditional.c | 3 float test1(int cond, float a, float b) { argument 4 return cond ? a : b; 7 double test2(int cond, float a, double b) { argument 8 return cond ? a : b;
|
/external/clang/test/CodeGenCXX/ |
H A D | blocks.cpp | 144 void test(bool cond) { argument 146 void (^b)() = (cond ? ^{ x.foo(); } : (void(^)()) 0);
|
H A D | conditional-gnu-ext.cpp | 35 _Complex int cond; local 48 int &cond() { function in namespace:radar8453812 59 foo (cond()? : rhs);
|
/external/fio/ |
H A D | mutex.c | 24 pthread_cond_destroy(&mutex->cond); 31 pthread_condattr_t cond; local 54 pthread_condattr_init(&cond); 56 pthread_condattr_setpshared(&cond, PTHREAD_PROCESS_SHARED); 58 pthread_cond_init(&mutex->cond, &cond); 66 pthread_condattr_destroy(&cond); 116 ret = pthread_cond_timedwait(&mutex->cond, &mutex->lock, &t); 155 pthread_cond_wait(&mutex->cond, &mutex->lock); 170 pthread_cond_signal(&mutex->cond); [all...] |
/external/libsepol/src/ |
H A D | avrule_block.c | 137 cond_list_t * cond) 141 result = cond_node_find(p, cond, decl->cond_list, &was_created); 136 get_decl_cond_list(policydb_t * p, avrule_decl_t * decl, cond_list_t * cond) argument
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_flow.h | 62 LLVMValueRef cond); 131 LLVMIntPredicate cond); 145 LLVMIntPredicate cond; member in struct:lp_build_for_loop_state
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/dc/ |
H A D | SDL_sysjoystick.c | 127 cont_cond_t cond,*prev_cond; local 131 if (cont_get_cond(addr,&cond)<0) return; 133 buttons = cond.buttons; 161 if (cond.joyx!=prev_cond->joyx) 162 SDL_PrivateJoystickAxis(joystick, 0, cond.joyx-128); 163 if (cond.joyy!=prev_cond->joyy) 164 SDL_PrivateJoystickAxis(joystick, 1, cond.joyy-128); 165 if (cond.rtrig!=prev_cond->rtrig) 166 SDL_PrivateJoystickAxis(joystick, 2, cond.rtrig); 167 if (cond [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dc/ |
H A D | SDL_dcevents.c | 68 mouse_cond_t cond; local 74 if ((addr = maple_first_mouse())==0 || mouse_get_cond(addr, &cond)<0) return; 76 buttons = cond.buttons^0xff; 77 if (cond.dz<0) buttons|=MOUSE_WHEELUP; 78 if (cond.dz>0) buttons|=MOUSE_WHEELDOWN; 80 if (cond.dx||cond.dy) SDL_PrivateMouseMotion(0,1,cond.dx,cond.dy);
|