Searched refs:cond (Results 1 - 25 of 501) sorted by relevance

1234567891011>>

/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/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/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/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_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...]
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_debug.h33 #define LOG_IF(cond, ...) \
35 if ((cond)) \
39 #define LOG_ERRNO_IF(cond, ...) \
41 if ((cond)) \
/external/valgrind/main/drd/
H A Ddrd_cond.h48 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, const Bool destroy_succeeded);
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 Ddrd_cond.c61 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
168 cond_post_destroy(const Addr cond, const Bool destroy_succeeded) 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 Dp25.cpp14 Color foo(bool cond, ConvertsToColorA ca, ConvertsToColorB cb) { argument
15 return cond? ca : cb;
/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/compiler-rt/lib/builtins/arm/
H A Daeabi_dcmp.S21 #define DEFINE_AEABI_DCMP(cond) \
24 DEFINE_COMPILERRT_FUNCTION(__aeabi_dcmp ## cond) \
26 bl SYMBOL_NAME(__ ## cond ## df2) SEPARATOR \
28 b ## cond 1f SEPARATOR \
34 END_COMPILERRT_FUNCTION(__aeabi_dcmp ## cond)
H A Daeabi_fcmp.S21 #define DEFINE_AEABI_FCMP(cond) \
24 DEFINE_COMPILERRT_FUNCTION(__aeabi_fcmp ## cond) \
26 bl SYMBOL_NAME(__ ## cond ## sf2) SEPARATOR \
28 b ## cond 1f SEPARATOR \
34 END_COMPILERRT_FUNCTION(__aeabi_fcmp ## cond)
/external/valgrind/main/helgrind/tests/
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/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/chromium_org/third_party/hwcplus/include/log/
H A Dlog.h88 #define CONDITION(cond) (__builtin_expect((cond)!=0, 0))
92 #define ALOGV_IF(cond, ...) ((void)0)
94 #define ALOGV_IF(cond, ...) \
95 ( (CONDITION(cond)) \
109 #define ALOGD_IF(cond, ...) \
110 ( (CONDITION(cond)) \
123 #define ALOGI_IF(cond, ...) \
124 ( (CONDITION(cond)) \
137 #define ALOGW_IF(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/CodeGenCXX/
H A Dthrow-expressions.cpp85 void test7(bool cond) { argument
97 cond ? throw test7 : val;
101 int &test8(bool cond) { argument
113 return cond ? val : ((throw "foo"));
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/chromium_org/third_party/boringssl/src/include/openssl/
H A Dtype_check.h79 #define OPENSSL_COMPILE_ASSERT(cond, msg) \
80 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)]
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_ports/
H A Dasm_offsets.h17 #define ct_assert(name,cond) \
19 static void assert_##name(void) {switch(0){case 0:case !!(cond):;}}

Completed in 544 milliseconds

1234567891011>>