/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/ |
H A D | 2-1.c | 17 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
|
H A D | 4-3.c | 39 pthread_cond_t cond; local 44 rc = pthread_cond_init(&cond, NULL); 50 rc = pthread_cond_init(&cond, NULL);
|
H A D | 3-1.c | 25 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 D | 3-1.c | 20 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 D | cond_timedwait_invalid.c | 11 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; local 22 assert(pthread_cond_timedwait(&cond, &mutex, &abstime)==EINVAL);
|
H A D | cond_timedwait_test.c | 6 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; local 13 pthread_cond_timedwait(&cond, &mutex, &now); 17 pthread_cond_destroy(&cond);
|
H A D | pth_destroy_cond.c | 6 // 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 D | coverage_test.cpp | 20 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 D | report.cpp | 20 void foo(bool cond) { argument 21 if (cond) {
|
/external/clang/test/CXX/over/over.built/ |
H A D | p25.cpp | 14 Color foo(bool cond, ConvertsToColorA ca, ConvertsToColorB cb) { argument 15 return cond? ca : cb;
|
/external/clang/test/CodeGenCXX/ |
H A D | conditional-expr-lvalue.cpp | 17 void foo(bool cond, const A &a) { argument 18 (cond ? a : a.sub()).foo();
|
H A D | expr.cpp | 35 struct s5 &f5_0(bool cond, struct s5 &a, struct s5 &b) { argument 36 return cond ? a : b;
|
H A D | throw-expressions.cpp | 85 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 D | leak_check_before_thread_started.cc | 10 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
|
H A D | guard-page.c | 11 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 D | race_on_speculative_load.cc | 8 int foo(int cond) { argument 9 if (cond)
|
H A D | signal_cond.cc | 13 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 D | threads_posix.c | 40 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 D | 4-1.c | 9 * 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 D | unit_test.c | 56 void test_check(struct test_result * result, int cond) argument 59 if (cond) {
|
/external/valgrind/none/tests/ |
H A D | pselect_alarm.c | 15 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 D | p1.cpp | 5 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 D | conditional-gnu-ext.c | 32 _Complex int cond; local
|
/external/clang/test/Parser/ |
H A D | warn-dangling-else.cpp | 50 void f(bool cond) { argument 52 if (cond)
|
/external/compiler-rt/lib/scudo/ |
H A D | scudo_termination.cpp | 34 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,
|