/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/parameter-framework/upstream/utility/ |
H A D | AlwaysAssert.hpp | 36 #define ALWAYS_ASSERT_FAILURE(cond) std::terminate() 39 #define ALWAYS_ASSERT_FAILURE(cond) assert(cond) 42 #define ALWAYS_ASSERT(cond, iostr) \ 44 if (!(cond)) { \ 46 << ": Assert '" #cond "' failed: " << iostr << std::endl; \ 47 ALWAYS_ASSERT_FAILURE(cond); \
|
/external/valgrind/drd/ |
H A D | drd_cond.h | 48 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 D | drd_cond.c | 61 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/swiftshader/third_party/subzero/crosstest/ |
H A D | test_select.h | 17 v4f32 select(v4si32 cond, v4f32 val1, v4f32 val2); 18 v4si32 select(v4si32 cond, v4si32 val1, v4si32 val2); 19 v4ui32 select(v4si32 cond, v4ui32 val1, v4ui32 val2); 20 v8si16 select(v8si16 cond, v8si16 val1, v8si16 val2); 21 v8ui16 select(v8si16 cond, v8ui16 val1, v8ui16 val2); 22 v16si8 select(v16si8 cond, v16si8 val1, v16si8 val2); 23 v16ui8 select(v16si8 cond, v16ui8 val1, v16ui8 val2); 24 v4si32 select_i1(v4si32 cond, v4si32 val1, v4si32 val2); 25 v8si16 select_i1(v8si16 cond, v8si16 val1, v8si16 val2); 26 v16si8 select_i1(v16si8 cond, v16si [all...] |
/external/libevent/ |
H A D | evthread_win32.c | 130 CONDITION_VARIABLE *cond = mm_malloc(sizeof(CONDITION_VARIABLE)); local 131 if (!cond) 133 InitializeConditionVariable_fn(cond); 134 return cond; 140 CONDITION_VARIABLE *cond = cond_; local 142 mm_free(cond); 146 evthread_win32_condvar_signal(void *cond, int broadcast) argument 148 CONDITION_VARIABLE *cond = cond_; local 150 WakeAllConditionVariable_fn(cond); 152 WakeConditionVariable_fn(cond); 159 CONDITION_VARIABLE *cond = cond_; local 192 struct evthread_win32_cond *cond; local 211 struct evthread_win32_cond *cond = cond_; local 220 struct evthread_win32_cond *cond = cond_; local 235 struct evthread_win32_cond *cond = cond_; local [all...] |
H A D | evthread-internal.h | 156 #define EVTHREAD_FREE_COND(cond) \ 158 if (cond) \ 159 evthread_cond_fns_.free_condition((cond)); \ 161 /** Signal one thread waiting on cond */ 162 #define EVTHREAD_COND_SIGNAL(cond) \ 163 ( (cond) ? evthread_cond_fns_.signal_condition((cond), 0) : 0 ) 164 /** Signal all threads waiting on cond */ 165 #define EVTHREAD_COND_BROADCAST(cond) \ 166 ( (cond) [all...] |
/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/boringssl/include/openssl/ |
H A D | type_check.h | 80 #define OPENSSL_COMPILE_ASSERT(cond, msg) _Static_assert(cond, #msg) 82 #define OPENSSL_COMPILE_ASSERT(cond, msg) \ 83 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)] OPENSSL_UNUSED
|
/external/boringssl/src/include/openssl/ |
H A D | type_check.h | 80 #define OPENSSL_COMPILE_ASSERT(cond, msg) _Static_assert(cond, #msg) 82 #define OPENSSL_COMPILE_ASSERT(cond, msg) \ 83 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)] OPENSSL_UNUSED
|
/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/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
|
/external/valgrind/helgrind/tests/ |
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/lib/builtins/arm/ |
H A D | aeabi_dcmp.S | 21 #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 D | aeabi_fcmp.S | 21 #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/mesa3d/include/c11/ |
H A D | threads_win32.h | 171 static void impl_cond_do_signal(cnd_t *cond, int broadcast) argument 175 EnterCriticalSection(&cond->monitor); 176 if (cond->to_unblock != 0) { 177 if (cond->blocked == 0) { 178 LeaveCriticalSection(&cond->monitor); 182 cond->to_unblock += nsignal = cond->blocked; 183 cond->blocked = 0; 186 cond->to_unblock++; 187 cond 209 impl_cond_do_wait(cnd_t *cond, mtx_t *mtx, const xtime *xt) argument 323 cnd_broadcast(cnd_t *cond) argument 336 cnd_destroy(cnd_t *cond) argument 350 cnd_init(cnd_t *cond) argument 368 cnd_signal(cnd_t *cond) argument 381 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const xtime *xt) argument 395 cnd_wait(cnd_t *cond, mtx_t *mtx) argument [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
H A D | WaitingThread.java | 58 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/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/clang/test/CodeGenCXX/ |
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"));
|
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;
|
/external/vixl/src/aarch32/ |
H A D | disasm-aarch32.h | 103 ConditionPrinter(const ITBlock& it_block, Condition cond) argument 104 : it_block_(it_block), cond_(cond) {} 107 friend std::ostream& operator<<(std::ostream& os, ConditionPrinter cond) { argument 108 if (cond.it_block_.InITBlock() && cond.cond_.Is(al) && 109 !cond.cond_.IsNone()) { 112 return os << cond.cond_; 282 virtual DisassemblerStream& operator<<(const ConditionPrinter& cond) { argument 283 os_ << cond; local 286 virtual DisassemblerStream& operator<<(Condition cond) { argument 287 os_ << cond; local [all...] |
/external/libusb/libusb/os/ |
H A D | threads_windows.c | 111 int usbi_cond_init(usbi_cond_t *cond) argument 113 if (!cond) 115 list_init(&cond->waiters); 116 list_init(&cond->not_waiting); 120 int usbi_cond_destroy(usbi_cond_t *cond) argument 125 if(!cond) 127 if (!list_empty(&cond->waiters)) 129 list_for_each_entry_safe(pos, next_pos, &cond->not_waiting, list, struct usbi_cond_perthread) { 137 int usbi_cond_broadcast(usbi_cond_t *cond) argument 145 if (!cond) 155 usbi_cond_intwait(usbi_cond_t *cond, usbi_mutex_t *mutex, DWORD timeout_ms) argument 207 usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex) argument 212 usbi_cond_timedwait(usbi_cond_t *cond, usbi_mutex_t *mutex, const struct timeval *tv) argument [all...] |