/system/core/include/log/ |
H A D | log.h | 84 #define CONDITION(cond) (__builtin_expect((cond)!=0, 0)) 88 #define ALOGV_IF(cond, ...) ((void)0) 90 #define ALOGV_IF(cond, ...) \ 91 ( (CONDITION(cond)) \ 105 #define ALOGD_IF(cond, ...) \ 106 ( (CONDITION(cond)) \ 119 #define ALOGI_IF(cond, ...) \ 120 ( (CONDITION(cond)) \ 133 #define ALOGW_IF(cond, [all...] |
/system/extras/tests/bionic/libc/common/ |
H A D | test_pthread_rwlock.c | 97 #define TZERO(cond) \ 98 { int _ret = (cond); if (_ret != 0) ERROR(_ret,"%d:%s", __LINE__, #cond); } 100 #define TTRUE(cond) \ 101 { if (!(cond)) PANIC("%d:%s", __LINE__, #cond); } 103 #define TFALSE(cond) \ 104 { if (!!(cond)) PANIC("%d:%s", __LINE__, #cond); } 106 #define TEXPECT_INT(cond,va [all...] |
H A D | test_pthread_mutex.c | 98 #define TZERO(cond) \ 99 { int _ret = (cond); if (_ret != 0) ERROR(_ret,"%d:%s", __LINE__, #cond); } 101 #define TTRUE(cond) \ 102 { if (!(cond)) PANIC("%d:%s", __LINE__, #cond); } 104 #define TFALSE(cond) \ 105 { if (!!(cond)) PANIC("%d:%s", __LINE__, #cond); } 107 #define TEXPECT_INT(cond,va [all...] |
H A D | test_cpu_set.c | 37 #define TEST_INT_EQ(cond,exp) \ 39 int _cond = (cond); \ 43 __FUNCTION__, __LINE__, #cond, _cond, _exp);\ 47 #define T(cond) \ 49 if (!(cond)) {\ 51 __FUNCTION__, __LINE__, #cond);\ 56 #define F(cond) \ 58 if (!!(cond)) {\ 60 __FUNCTION__, __LINE__, #cond);\
|
/system/core/libpixelflinger/codeflinger/ |
H A D | MIPSAssembler.cpp | 122 cond.labelnum = 0; 151 sprintf(cond.label[i], "cond_%d", i); 357 if (Rd == cond.r1) { 358 mMips->MOVE(R_cmp, cond.r1); 359 cond.r1 = R_cmp; 361 if (cond.type == CMP_COND && Rd == cond.r2) { 362 mMips->MOVE(R_cmp2, cond.r2); 363 cond.r2 = R_cmp2; 427 ArmToMipsAssembler::B(cc^1, cond [all...] |
H A D | Arm64Assembler.cpp | 1158 uint32_t Rm, uint32_t cond) 1160 LOG_INSTR("CSEL X%d, X%d, X%d, %s\n", Rd, Rn, Rm, cc_codes[cond]); 1161 return ((0x9A << 24)|(0x1 << 23)|(Rm << 16) |(cond << 12)| (Rn << 5) | Rd); 1165 uint32_t Rm, uint32_t cond) 1167 LOG_INSTR("CSEL W%d, W%d, W%d, %s\n", Rd, Rn, Rm, cc_codes[cond]); 1168 return ((0x1A << 24)|(0x1 << 23)|(Rm << 16) |(cond << 12)| (Rn << 5) | Rd); 1157 A64_CSEL_X(uint32_t Rd, uint32_t Rn, uint32_t Rm, uint32_t cond) argument 1164 A64_CSEL_W(uint32_t Rd, uint32_t Rn, uint32_t Rm, uint32_t cond) argument
|
H A D | Arm64Assembler.h | 243 uint32_t A64_CSEL_X(uint32_t Rd, uint32_t Rn, uint32_t Rm, uint32_t cond); 244 uint32_t A64_CSEL_W(uint32_t Rd, uint32_t Rn, uint32_t Rm, uint32_t cond);
|
H A D | MIPSAssembler.h | 227 } cond; member in class:android::ArmToMipsAssembler
|
/system/extras/tests/bionic/libc/bionic/ |
H A D | test_mutex.c | 44 #define assert(cond) do { if ( !(cond) ) panic( "%s:%d: assertion failure: %s\n", __FILE__, __LINE__, #cond ); } while (0)
|
/system/core/include/android/ |
H A D | log.h | 124 void __android_log_assert(const char *cond, const char *tag,
|
/system/core/libpixelflinger/tests/arch-arm64/assembler/ |
H A D | arm64_assembler_test.cpp | 137 cond_t cond; member in struct:dataOpTest_t 158 cond_t cond; member in struct:dataTransferTest_t 450 case INSTR_ADD: a64asm->ADD(test.cond, test.setFlags, Rd,Rn,op2); break; 451 case INSTR_SUB: a64asm->SUB(test.cond, test.setFlags, Rd,Rn,op2); break; 452 case INSTR_RSB: a64asm->RSB(test.cond, test.setFlags, Rd,Rn,op2); break; 453 case INSTR_AND: a64asm->AND(test.cond, test.setFlags, Rd,Rn,op2); break; 454 case INSTR_ORR: a64asm->ORR(test.cond, test.setFlags, Rd,Rn,op2); break; 455 case INSTR_BIC: a64asm->BIC(test.cond, test.setFlags, Rd,Rn,op2); break; 456 case INSTR_MUL: a64asm->MUL(test.cond, test.setFlags, Rd,Rm,Rs); break; 457 case INSTR_MLA: a64asm->MLA(test.cond, tes [all...] |
/system/netd/server/ |
H A D | CommandListener.h | 110 void sendGenericOkFail(SocketClient *cli, int cond); 135 int sendGenericOkFail(SocketClient *cli, int cond);
|
H A D | CommandListener.cpp | 827 void CommandListener::BandwidthControlCmd::sendGenericOkFail(SocketClient *cli, int cond) { argument 828 if (!cond) { 1212 int CommandListener::FirewallCmd::sendGenericOkFail(SocketClient *cli, int cond) { argument 1213 if (!cond) {
|
/system/core/liblog/ |
H A D | logd_write_kern.c | 266 void __android_log_assert(const char *cond, const char *tag, argument 277 /* Msg not provided, log condition. N.B. Do not use cond directly as 281 if (cond) 282 snprintf(buf, LOG_BUF_SIZE, "Assertion failed: %s", cond);
|
H A D | logd_write.c | 421 void __android_log_assert(const char *cond, const char *tag, argument 432 /* Msg not provided, log condition. N.B. Do not use cond directly as 436 if (cond) 437 snprintf(buf, LOG_BUF_SIZE, "Assertion failed: %s", cond);
|
/system/media/audio_utils/ |
H A D | echo_reference.c | 64 pthread_cond_t cond; // condition signaled when data is ready to read member in struct:echo_reference 281 pthread_cond_signal(&er->cond); 347 pthread_cond_timedwait_relative_np(&er->cond, &er->lock, &ts); 349 pthread_cond_timedwait(&er->cond, &er->lock, &ts); 483 pthread_cond_signal(&er->cond);
|
/system/core/adb/ |
H A D | sysdeps_win32.c | 11 #define assert(cond) do { if (!(cond)) fatal( "assertion failed '%s' on %s:%ld\n", #cond, __FILE__, __LINE__ ); } while (0)
|