Searched defs:cond (Results 26 - 50 of 285) sorted by relevance

1234567891011>>

/external/libcxx/src/
H A Dcondition_variable.cpp76 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 DSDL_syscond.c43 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 DSDL_syscond.c34 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 DSDL_syscond.c38 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 Dthread-posix.h11 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 Dfree_is_write.c15 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 Devent_posix.h52 pthread_cond_t cond; member in class:webrtc::EventPosix
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
H A DWaitingThread.java58 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 DCondExpr.java24 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 DSDL_syscond.c44 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 DSDL_syscond.c44 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 DSDL_syscond.c44 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 Ddrd_clientreq.c411 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 Dhwcplus_util.c68 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 Dlp_bld_flow.h62 LLVMValueRef cond);
131 LLVMIntPredicate cond);
145 LLVMIntPredicate cond; member in struct:lp_build_for_loop_state
/external/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp229 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 Dunreachable-code-path.c153 int cond = coin(); local
154 if (!cond) {
156 if (cond) {
/external/clang/test/CodeGen/
H A Dconditional.c3 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 Dblocks.cpp144 void test(bool cond) { argument
146 void (^b)() = (cond ? ^{ x.foo(); } : (void(^)()) 0);
H A Dconditional-gnu-ext.cpp35 _Complex int cond; local
48 int &cond() { function in namespace:radar8453812
59 foo (cond()? : rhs);
/external/fio/
H A Dmutex.c24 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 Davrule_block.c137 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 Dlp_bld_flow.h62 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 DSDL_sysjoystick.c127 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 DSDL_dcevents.c68 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);

Completed in 5999 milliseconds

1234567891011>>