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

1234567891011>>

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/
H A D2-1.c17 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
H A D4-3.c39 pthread_cond_t cond; local
44 rc = pthread_cond_init(&cond, NULL);
50 rc = pthread_cond_init(&cond, NULL);
H A D3-1.c25 pthread_cond_t cond; local
36 rc = pthread_cond_init(&cond, &condattr);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/
H A D3-1.c20 pthread_cond_t cond; local
23 /* Initialize a cond object */
24 if ((rc = pthread_cond_init(&cond, NULL)) != 0) {
25 fprintf(stderr, "Fail to initialize cond, rc=%d\n", rc);
29 if ((rc = pthread_cond_destroy(&cond)) == 0) {
37 "Detected an attempt to destroy a cond in use\n");
40 fprintf(stderr, "The value specified by 'cond' is invalid\n");
/external/valgrind/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 Dcond_timedwait_test.c6 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; local
13 pthread_cond_timedwait(&cond, &mutex, &now);
17 pthread_cond_destroy(&cond);
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/compiler-rt/test/profile/Linux/
H A Dcoverage_test.cpp20 void foo(bool cond) { // CHECK: 1| [[@LINE]]|void foo( argument
21 if (cond) { // CHECK: 1| [[@LINE]]| if (cond) {
/external/llvm/test/tools/llvm-cov/
H A Dreport.cpp20 void foo(bool cond) { argument
21 if (cond) {
/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 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/lsan/TestCases/
H A Dleak_check_before_thread_started.cc10 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
H A Dguard-page.c11 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
25 pthread_cond_signal(&cond);
57 while (!ctxfunc_started) pthread_cond_wait(&cond, &mutex);
/external/compiler-rt/test/tsan/
H A Drace_on_speculative_load.cc8 int foo(int cond) { argument
9 if (cond)
H A Dsignal_cond.cc13 pthread_cond_t cond; variable
24 pthread_cond_wait(&cond, &mutex);
33 pthread_cond_init(&cond, 0);
45 pthread_cond_signal(&cond);
/external/libusb/libusb/os/
H A Dthreads_posix.c40 int usbi_cond_timedwait(pthread_cond_t *cond, argument
57 return pthread_cond_timedwait(cond, mutex, &timeout);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/speculative/
H A D4-1.c9 * is called on a cond that some thread is waiting, then it returns
15 * 3. Try to destroy the cond var in main
30 /* cond used by the two threads */
31 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
33 /* cond used by the two threads */
47 /* Wait on the cond var. This will not return, as nobody signals */
48 rc = pthread_cond_wait(&cond, &mutex);
77 /* Try to destroy the cond var. This should return an error */
78 rc = pthread_cond_destroy(&cond);
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Dunit_test.c56 void test_check(struct test_result * result, int cond) argument
59 if (cond) {
/external/valgrind/none/tests/
H A Dpselect_alarm.c15 static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
22 pthread_cond_signal(&cond);
47 pthread_cond_wait(&cond, &mutex);
/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);
13 extern template bool A<bool>::cond;
16 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/compiler-rt/lib/scudo/
H A Dscudo_termination.cpp34 void NORETURN CheckFailed(const char *file, int line, const char *cond, argument
36 Report("Sanitizer CHECK failed: %s:%d %s (%lld, %lld)\n", file, line, cond,

Completed in 759 milliseconds

1234567891011>>