Searched defs:cond (Results 1 - 25 of 255) sorted by relevance

1234567891011

/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dptw32_cond_check_need_init.c43 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 Dpthread_cond_destroy.c42 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 Dpthread_cond_init.c43 pthread_cond_init (pthread_cond_t * cond, const pthread_condattr_t * attr) argument
50 * cond
66 * EBUSY 'cond' is already initialized,
74 if (cond == NULL)
163 *cond = cv;
H A Dpthread_cond_signal.c46 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 Dpthread_cond_wait.c354 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/helgrind/tests/
H A Dcond_timedwait_invalid.c11 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; local
22 assert(pthread_cond_timedwait(&cond, &mutex, &abstime)==EINVAL);
H A Dpth_destroy_cond.c6 // 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/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/tests/
H A Dunit_test.c24 void test_check(struct test_result * result, int cond) argument
27 if (cond) {
/external/clang/test/CodeGenCXX/
H A Dmicrosoft-abi-exceptions.cpp52 // 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 Dconditional-expr-lvalue.cpp17 void foo(bool cond, const A &a) { argument
18 (cond ? a : a.sub()).foo();
H A Dexpr.cpp35 struct s5 &f5_0(bool cond, struct s5 &a, struct s5 &b) { argument
36 return cond ? a : b;
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Dunit_test.c24 void test_check(struct test_result * result, int cond) argument
27 if (cond) {
/external/qemu/audio/
H A Daudio_pt_int.h9 pthread_cond_t cond; member in struct:audio_pt
/external/qemu/
H A Dqemu-thread.h11 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/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprogram_parse_extra.c100 int cond = 0; local
105 cond = COND_EQ;
111 cond = COND_FL;
117 cond = COND_GE;
119 cond = COND_GT;
125 cond = COND_LE;
127 cond = COND_LT;
133 cond = COND_NE;
139 cond = COND_TR;
147 return ((cond
[all...]
/external/clang/test/CXX/over/over.built/
H A Dp25.cpp14 Color foo(bool cond, ConvertsToColorA ca, ConvertsToColorB cb) { argument
15 return cond? ca : cb;
/external/mesa3d/src/mesa/program/
H A Dprogram_parse_extra.c100 int cond = 0; local
105 cond = COND_EQ;
111 cond = COND_FL;
117 cond = COND_GE;
119 cond = COND_GT;
125 cond = COND_LE;
127 cond = COND_LT;
133 cond = COND_NE;
139 cond = COND_TR;
147 return ((cond
[all...]
/external/clang/test/CXX/temp/temp.decls/temp.mem/
H A Dp1.cpp5 static T cond; member in struct:A
9 return (cond ? value + value : value);
15 A<bool>::cond = true; member in class:A
/external/clang/test/CodeGen/
H A Dconditional-gnu-ext.c32 _Complex int cond; local
/external/clang/test/Parser/
H A Dwarn-dangling-else.cpp50 void f(bool cond) { argument
52 if (cond)
/external/clang/test/Sema/
H A Dwarn-unused-value.c76 void conditional_for_control_flow(int cond, int x, int y) argument
78 cond? y++ : x; // no-warning
79 cond? y : ++x; // no-warning
80 cond? (x |= y) : ++x; // no-warning
81 cond? y : x; // expected-warning {{expression result unused}}
/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/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)

Completed in 340 milliseconds

1234567891011