/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
assertions.h | 72 #define REQUIRE(cond) \ 73 ((void) ((cond) || \ 75 #cond, 0), 0))) 76 #define REQUIRE_ERR(cond) \ 77 ((void) ((cond) || \ 79 #cond, 1), 0))) 81 #define REQUIRE(cond) ((void) (cond)) 82 #define REQUIRE_ERR(cond) ((void) (cond)) [all...] |
/device/linaro/bootloader/arm-trusted-firmware/include/lib/ |
cassert.h | 12 * an invalid C construct if 'cond' evaluates to false. 18 #define CASSERT(cond, msg) \ 19 typedef char msg[(cond) ? 1 : -1] __unused
|
/external/compiler-rt/test/profile/Linux/ |
coverage_test.cpp | 20 void foo(bool cond) { // CHECK: 1| [[@LINE]]|void foo( 21 if (cond) { // CHECK: 1| [[@LINE]]| if (cond) {
|
/external/llvm/test/tools/llvm-cov/ |
report.cpp | 20 void foo(bool cond) { 21 if (cond) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cov/ |
report.cpp | 24 void foo(bool cond) { 25 if (cond) {
|
/external/parameter-framework/upstream/utility/ |
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/u-boot/include/linux/ |
iopoll.h | 18 * @cond: Break condition (usually involving @val) 27 #define readx_poll_timeout(op, addr, val, cond, timeout_us) \ 32 if (cond) \ 39 (cond) ? 0 : -ETIMEDOUT; \ 43 #define readb_poll_timeout(addr, val, cond, timeout_us) \ 44 readx_poll_timeout(readb, addr, val, cond, timeout_us) 46 #define readw_poll_timeout(addr, val, cond, timeout_us) \ 47 readx_poll_timeout(readw, addr, val, cond, timeout_us) 49 #define readl_poll_timeout(addr, val, cond, timeout_us) \ 50 readx_poll_timeout(readl, addr, val, cond, timeout_us [all...] |
/bionic/libc/dns/resolv/ |
res_debug.h | 24 # define Dprint(cond, args) /*empty*/ 25 # define DprintQ(cond, args, query, size) /*empty*/ 29 # define Dprint(cond, args) if (cond) {fprintf args;} else {} 30 # define DprintQ(cond, args, query, size) if (cond) {\
|
/art/test/549-checker-types-merge/src/ |
Main.java | 44 private Object testMergeNullContant(boolean cond) { 45 return cond ? null : new Main(); 51 private Object testMergeClasses(boolean cond, ClassExtendsA a, ClassExtendsB b) { 53 return cond ? a : b; 59 private Object testMergeClasses(boolean cond, ClassExtendsA a, ClassSuper b) { 61 return cond ? a : b; 67 private Object testMergeClasses(boolean cond, ClassSuper a, ClassSuper b) { 69 return cond ? a : b; 75 private Object testMergeClasses(boolean cond, ClassOtherSuper a, ClassSuper b) { 77 return cond ? a : b [all...] |
/art/test/557-checker-ref-equivalent/src/ |
Main.java | 21 private void testRedundantPhiCycle(boolean cond) { 24 if (cond) { 33 private void testLoopPhisWithNullAndCrossUses(boolean cond) { 37 if (cond) {
|
/external/boringssl/src/include/openssl/ |
type_check.h | 69 #define OPENSSL_STATIC_ASSERT(cond, msg) static_assert(cond, msg) 75 #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg)
|
/external/swiftshader/third_party/subzero/crosstest/ |
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, v16si8 val1, v16si8 val2) [all...] |
/external/u-boot/arch/arm/include/asm/ |
unified.h | 62 .macro it, cond 64 .macro itt, cond 66 .macro ite, cond 68 .macro ittt, cond 70 .macro itte, cond 72 .macro itet, cond 74 .macro itee, cond 76 .macro itttt, cond 78 .macro ittte, cond 80 .macro ittet, cond [all...] |
/art/test/540-checker-rtp-bug/src/ |
Main.java | 37 public static Final testKeepCheckCast(Object o, boolean cond) { 39 while (cond) { 41 cond = false; 55 public static void testKeepInstanceOf(Object o, boolean cond) { 57 while (cond) { 59 cond = false; 79 public static String testNoInline(Object o, boolean cond) { 81 while (cond) { 83 cond = false;
|
/external/libevent/ |
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) 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...] |
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) ? evthread_cond_fns_.signal_condition((cond), 1) : 0 [all...] |
/external/clang/test/CXX/over/over.built/ |
p25.cpp | 14 Color foo(bool cond, ConvertsToColorA ca, ConvertsToColorB cb) { 15 return cond? ca : cb;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/ |
2-1.c | 17 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
|
/external/compiler-rt/lib/builtins/arm/ |
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)
|
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/ |
threads_win32.h | 185 static void impl_cond_do_signal(cnd_t *cond, int broadcast) 189 EnterCriticalSection(&cond->monitor); 190 if (cond->to_unblock != 0) { 191 if (cond->blocked == 0) { 192 LeaveCriticalSection(&cond->monitor); 196 cond->to_unblock += nsignal = cond->blocked; 197 cond->blocked = 0; 200 cond->to_unblock++; 201 cond->blocked-- [all...] |
/external/virglrenderer/src/gallium/include/c11/ |
threads_win32.h | 171 static void impl_cond_do_signal(cnd_t *cond, int broadcast) 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->blocked-- [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
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) { 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.await() [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
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/CXX/temp/temp.decls/temp.mem/ |
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
|