/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/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)] \ 86 #define OPENSSL_COMPILE_ASSERT(cond, msg) \ 87 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)]
|
/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)] \ 86 #define OPENSSL_COMPILE_ASSERT(cond, msg) \ 87 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)]
|
/external/libevent/ |
H A D | evthread_win32.c | 128 CONDITION_VARIABLE *cond = mm_malloc(sizeof(CONDITION_VARIABLE)); local 129 if (!cond) 131 InitializeConditionVariable_fn(cond); 132 return cond; 138 CONDITION_VARIABLE *cond = _cond; local 140 mm_free(cond); 146 CONDITION_VARIABLE *cond = _cond; local 148 WakeAllConditionVariable_fn(cond); 150 WakeConditionVariable_fn(cond); 157 CONDITION_VARIABLE *cond local 190 struct evthread_win32_cond *cond; local 209 struct evthread_win32_cond *cond = _cond; local 218 struct evthread_win32_cond *cond = _cond; local 233 struct evthread_win32_cond *cond = _cond; local [all...] |
H A D | evthread-internal.h | 154 #define EVTHREAD_FREE_COND(cond) \ 156 if (cond) \ 157 _evthread_cond_fns.free_condition((cond)); \ 159 /** Signal one thread waiting on cond */ 160 #define EVTHREAD_COND_SIGNAL(cond) \ 161 ( (cond) ? _evthread_cond_fns.signal_condition((cond), 0) : 0 ) 162 /** Signal all threads waiting on cond */ 163 #define EVTHREAD_COND_BROADCAST(cond) \ 164 ( (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/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/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 | 102 ConditionPrinter(const ITBlock& it_block, Condition cond) argument 103 : it_block_(it_block), cond_(cond) {} 104 friend std::ostream& operator<<(std::ostream& os, ConditionPrinter cond) { argument 105 if (cond.it_block_.InITBlock() && cond.cond_.Is(al) && 106 !cond.cond_.IsNone()) { 109 return os << cond.cond_; 192 virtual DisassemblerStream& operator<<(const ConditionPrinter& cond) { argument 193 os_ << cond; local 196 virtual DisassemblerStream& operator<<(Condition cond) { argument 197 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...] |
/external/compiler-rt/test/tsan/ |
H A D | race_on_speculative_load.cc | 8 int foo(int cond) { argument 9 if (cond)
|
/external/swiftshader/src/Reactor/ |
H A D | Reactor.hpp | 20 #define For(init, cond, inc) \ 26 onceBB__ && branch(cond, bodyBB__, endBB__); \ 29 #define While(cond) For(((void*)0), cond, ((void*)0)) 37 #define Until(cond) \ 39 Nucleus::createCondBr((cond).value, end, body); \ 43 #define If(cond) \ 48 onceBB__ && branch(cond, trueBB__, falseBB__); \
|