Searched defs:cond (Results 1 - 25 of 285) 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/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/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/clang/test/CodeGenCXX/
H A Dconditional-expr-lvalue.cpp17 void foo(bool cond, const A &a) { argument
18 (cond ? a : a.sub()).foo();
H A Dmicrosoft-abi-exceptions.cpp64 // WIN32: %[[cond:.*]] = load i1* %[[isactive]]
65 // WIN32: br i1 %[[cond]]
71 int HasConditionalCleanup(bool cond) { argument
72 return (cond ? TakesTwo(A(), A()) : CouldThrow());
94 int HasConditionalDeactivatedCleanups(bool cond) { argument
95 return (cond ? TakesTwo((TakeRef(A()), A()), (TakeRef(A()), A())) : CouldThrow());
H A Dexpr.cpp35 struct s5 &f5_0(bool cond, struct s5 &a, struct s5 &b) { argument
36 return cond ? a : b;
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"));
/external/compiler-rt/test/tsan/
H A Drace_on_speculative_load.cc9 int foo(int cond) { argument
10 if (cond)
/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/chromium_org/v8/test/cctest/compiler/
H A Dtest-branch-combine.cc55 Node* cond = p0; local
57 cond = m.Word32Equal(cond, m.Int32Constant(0));
59 m.Branch(cond, &blocka, &blockb);
315 Node* cond = w.MakeNode(m, a, b);
316 if (invert) cond = m->Word32Equal(cond, m->Int32Constant(0));
317 m->Return(cond);
340 Node* cond = w.MakeNode(m, a, b);
341 if (invert) 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/compiler-rt/test/lsan/TestCases/
H A Dhigh_allocator_contention.cc15 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
21 while (!go) pthread_cond_wait(&cond, &mutex);
44 pthread_cond_broadcast(&cond);
/external/fio/
H A Dmutex.h11 pthread_cond_t cond; member in struct:fio_mutex

Completed in 323 milliseconds

1234567891011>>