/system/core/liblog/include_vndk/log/ |
D | log_main.h | 87 #define android_vprintLog(prio, cond, tag, ...) \ argument 122 #define android_printAssert(cond, tag, ...) \ argument 123 __android_log_assert(cond, tag, \ 134 #define LOG_ALWAYS_FATAL_IF(cond, ...) \ argument 135 ((__predict_false(cond)) ? (__FAKE_USE_VA_ARGS(__VA_ARGS__), \ 136 ((void)android_printAssert(#cond, LOG_TAG, ##__VA_ARGS__))) \ 153 #define LOG_FATAL_IF(cond, ...) __FAKE_USE_VA_ARGS(__VA_ARGS__) argument 162 #define LOG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ##__VA_ARGS__) argument 175 #define ALOG_ASSERT(cond, ...) LOG_FATAL_IF(!(cond), ##__VA_ARGS__) argument 214 #define ALOGV_IF(cond, ...) __FAKE_USE_VA_ARGS(__VA_ARGS__) argument [all …]
|
D | log_radio.h | 64 #define RLOGV_IF(cond, ...) ((void)0) argument 66 #define RLOGV_IF(cond, ...) \ argument 67 ((__predict_false(cond)) \ 84 #define RLOGD_IF(cond, ...) \ argument 85 ((__predict_false(cond)) \ 101 #define RLOGI_IF(cond, ...) \ argument 102 ((__predict_false(cond)) \ 118 #define RLOGW_IF(cond, ...) \ argument 119 ((__predict_false(cond)) \ 135 #define RLOGE_IF(cond, ...) \ argument [all …]
|
D | log_system.h | 62 #define SLOGV_IF(cond, ...) ((void)0) argument 64 #define SLOGV_IF(cond, ...) \ argument 65 ((__predict_false(cond)) \ 82 #define SLOGD_IF(cond, ...) \ argument 83 ((__predict_false(cond)) \ 99 #define SLOGI_IF(cond, ...) \ argument 100 ((__predict_false(cond)) \ 116 #define SLOGW_IF(cond, ...) \ argument 117 ((__predict_false(cond)) \ 133 #define SLOGE_IF(cond, ...) \ argument [all …]
|
/system/core/liblog/include/log/ |
D | log_main.h | 87 #define android_vprintLog(prio, cond, tag, ...) \ argument 122 #define android_printAssert(cond, tag, ...) \ argument 123 __android_log_assert(cond, tag, \ 134 #define LOG_ALWAYS_FATAL_IF(cond, ...) \ argument 135 ((__predict_false(cond)) ? (__FAKE_USE_VA_ARGS(__VA_ARGS__), \ 136 ((void)android_printAssert(#cond, LOG_TAG, ##__VA_ARGS__))) \ 153 #define LOG_FATAL_IF(cond, ...) __FAKE_USE_VA_ARGS(__VA_ARGS__) argument 162 #define LOG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ##__VA_ARGS__) argument 175 #define ALOG_ASSERT(cond, ...) LOG_FATAL_IF(!(cond), ##__VA_ARGS__) argument 214 #define ALOGV_IF(cond, ...) __FAKE_USE_VA_ARGS(__VA_ARGS__) argument [all …]
|
D | log_radio.h | 64 #define RLOGV_IF(cond, ...) ((void)0) argument 66 #define RLOGV_IF(cond, ...) \ argument 67 ((__predict_false(cond)) \ 84 #define RLOGD_IF(cond, ...) \ argument 85 ((__predict_false(cond)) \ 101 #define RLOGI_IF(cond, ...) \ argument 102 ((__predict_false(cond)) \ 118 #define RLOGW_IF(cond, ...) \ argument 119 ((__predict_false(cond)) \ 135 #define RLOGE_IF(cond, ...) \ argument [all …]
|
D | log_system.h | 62 #define SLOGV_IF(cond, ...) ((void)0) argument 64 #define SLOGV_IF(cond, ...) \ argument 65 ((__predict_false(cond)) \ 82 #define SLOGD_IF(cond, ...) \ argument 83 ((__predict_false(cond)) \ 99 #define SLOGI_IF(cond, ...) \ argument 100 ((__predict_false(cond)) \ 116 #define SLOGW_IF(cond, ...) \ argument 117 ((__predict_false(cond)) \ 133 #define SLOGE_IF(cond, ...) \ argument [all …]
|
/system/nvram/core/tests/ |
D | gtest_stubs.h | 33 #define ASSERT_MSG(cond) \ argument 34 if (!(cond)) { \ 36 fprintf(stderr, "Assertion failed: " #cond "\n"); \ 39 #define ASSERT_TRUE(cond) ASSERT_MSG(cond) argument 42 #define EXPECT_MSG(cond) \ argument 43 if (!(cond)) { \ 45 fprintf(stderr, "Expectation failed: " #cond "\n"); \ 47 #define EXPECT_TRUE(cond) EXPECTED_MSG(cond) argument
|
/system/core/libpixelflinger/codeflinger/ |
D | MIPS64Assembler.cpp | 97 cond.labelnum = 0; in reset() 126 sprintf(cond.label[i], "cond_%d", i); in init_conditional_labels() 181 cond.type = SBIT_COND; in set_condition() 183 cond.type = CMP_COND; in set_condition() 185 cond.r1 = R1; in set_condition() 186 cond.r2 = R2; in set_condition() 336 if (Rd == cond.r1) { in protectConditionalOperands() 337 mMips->MOVE(R_cmp, cond.r1); in protectConditionalOperands() 338 cond.r1 = R_cmp; in protectConditionalOperands() 340 if (cond.type == CMP_COND && Rd == cond.r2) { in protectConditionalOperands() [all …]
|
D | MIPSAssembler.cpp | 120 cond.labelnum = 0; in reset() 149 sprintf(cond.label[i], "cond_%d", i); in init_conditional_labels() 351 if (Rd == cond.r1) { in protectConditionalOperands() 352 mMips->MOVE(R_cmp, cond.r1); in protectConditionalOperands() 353 cond.r1 = R_cmp; in protectConditionalOperands() 355 if (cond.type == CMP_COND && Rd == cond.r2) { in protectConditionalOperands() 356 mMips->MOVE(R_cmp2, cond.r2); in protectConditionalOperands() 357 cond.r2 = R_cmp2; in protectConditionalOperands() 421 ArmToMipsAssembler::B(cc^1, cond.label[++cond.labelnum]); in dataProcessing() 568 cond.type = CMP_COND; in dataProcessing() [all …]
|
/system/core/liblog/ |
D | README.md | 23 ALOGV_IF(cond, format, ...) 24 SLOGV_IF(cond, format, ...) 25 RLOGV_IF(cond, format, ...) 30 ALOGD_IF(cond, format, ...) 31 SLOGD_IF(cond, format, ...) 32 RLOGD_IF(cond, format, ...) 37 ALOGI_IF(cond, format, ...) 38 SLOGI_IF(cond, format, ...) 39 RLOGI_IF(cond, format, ...) 44 ALOGW_IF(cond, format, ...) [all …]
|
/system/nvram/messages/include/nvram/messages/ |
D | compiler.h | 31 #define NVRAM_CHECK(cond) if (!(cond)) abort() argument
|
/system/extras/simpleperf/scripts/ |
D | simpleperf_report_lib.py | 46 def _check(cond, failmsg): argument 47 if not cond: 279 cond = self._SetLogSeverityFunc(self.getInstance(), _char_pt(log_level)) 280 _check(cond, 'Failed to set log level') 284 cond = self._SetSymfsFunc(self.getInstance(), _char_pt(symfs_dir)) 285 _check(cond, 'Failed to set symbols directory') 289 cond = self._SetRecordFileFunc(self.getInstance(), _char_pt(record_file)) 290 _check(cond, 'Failed to set record file') 312 cond = self._SetKallsymsFileFunc(self.getInstance(), _char_pt(kallsym_file)) 313 _check(cond, 'Failed to set kallsyms file')
|
/system/core/libpixelflinger/tests/arch-arm64/assembler/ |
D | arm64_assembler_test.cpp | 136 cond_t cond; member 157 cond_t cond; member 449 case INSTR_ADD: a64asm->ADD(test.cond, test.setFlags, Rd,Rn,op2); break; in dataOpTest() 450 case INSTR_SUB: a64asm->SUB(test.cond, test.setFlags, Rd,Rn,op2); break; in dataOpTest() 451 case INSTR_RSB: a64asm->RSB(test.cond, test.setFlags, Rd,Rn,op2); break; in dataOpTest() 452 case INSTR_AND: a64asm->AND(test.cond, test.setFlags, Rd,Rn,op2); break; in dataOpTest() 453 case INSTR_ORR: a64asm->ORR(test.cond, test.setFlags, Rd,Rn,op2); break; in dataOpTest() 454 case INSTR_BIC: a64asm->BIC(test.cond, test.setFlags, Rd,Rn,op2); break; in dataOpTest() 455 case INSTR_MUL: a64asm->MUL(test.cond, test.setFlags, Rd,Rm,Rs); break; in dataOpTest() 456 case INSTR_MLA: a64asm->MLA(test.cond, test.setFlags, Rd,Rm,Rs,Rn); break; in dataOpTest() [all …]
|
/system/tools/hidl/host_utils/ |
D | Formatter.cpp | 81 Formatter& Formatter::sIf(const std::string& cond, const std::function<void(void)>& block) { in sIf() argument 82 (*this) << "if (" << cond << ") "; in sIf() 86 Formatter& Formatter::sElseIf(const std::string& cond, const std::function<void(void)>& block) { in sElseIf() argument 87 (*this) << " else if (" << cond << ") "; in sElseIf() 116 Formatter& Formatter::sWhile(const std::string& cond, const std::function<void(void)>& block) { in sWhile() argument 117 (*this) << "while (" << cond << ") "; in sWhile()
|
/system/tools/hidl/test/hidl_test/ |
D | FooCallback.cpp | 80 bool cond; in reportResults() local 83 while ((cond = ((!invokeInfo[0].invoked || in reportResults() 107 leftToWaitNs, cond); in reportResults()
|
/system/netd/server/ |
D | NdcDispatcher.h | 115 void sendGenericOkFail(NdcClient* cli, int cond) const; 134 int sendGenericOkFail(NdcClient* cli, int cond) const; 154 int sendGenericOkFail(NdcClient* cli, int cond) const;
|
/system/tools/hidl/host_utils/include/hidl-util/ |
D | Formatter.h | 117 Formatter& sIf(const std::string& cond, const std::function<void(void)>& block); 118 Formatter& sElseIf(const std::string& cond, const std::function<void(void)>& block); 141 Formatter& sWhile(const std::string& cond, const std::function<void(void)>& block);
|
/system/libhwbinder/vts/performance/ |
D | Latency.cpp | 29 #define ASSERT(cond) \ argument 31 if (!(cond)) { \ 32 cerr << __func__ << ":" << __LINE__ << " condition:" << #cond << " failed\n" << endl; \ 39 int cond = (stat); \ 40 ASSERT(cond); \
|
D | PerfTest.cpp | 26 #define ASSERT(cond) \ argument 28 if (!(cond)) { \ 29 cerr << __func__ << ":" << __LINE__ << " condition:" << #cond << " failed\n" << endl; \
|
/system/chre/host/msm/daemon/ |
D | chre_daemon.cc | 104 pthread_cond_t cond; member 135 pthread_cond_t cond; member 377 pthread_cond_signal(&lpmaEnableThread.cond); in setLpmaState() 387 pthread_cond_signal(&lpmaEnableThread.cond); in onStHalServiceDeath() 512 pthread_cond_wait(&state->cond, &state->mutex); in chreLpmaEnableThread() 566 } else if ((ret = pthread_cond_init(&data->cond, NULL)) != 0) { in initLpmaEnableThread() 915 pthread_cond_wait(&thread_data->cond, &thread_data->mutex); in chre_reverse_monitor_thread() 938 } else if ((ret = pthread_cond_init(&data->cond, NULL)) != 0) { in init_reverse_monitor() 1032 pthread_cond_signal(&reverse_monitor.cond); in main()
|
/system/bt/btif/include/ |
D | btif_common.h | 39 #define ASSERTC(cond, msg, val) \ argument 41 if (!(cond)) { \
|
/system/core/adb/ |
D | sysdeps_test.cpp | 237 static std::condition_variable &cond = *new std::condition_variable; in TEST() local 244 cond.notify_one(); in TEST() 249 cond.wait(lock); in TEST()
|
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 27 #define ASSERT_TRUE(cond) \ argument 29 if (!(cond)) {\ 30 …cerr << __func__ << "( " << getpid() << "):" << __LINE__ << " condition:" << #cond << " failed\n" …
|
/system/core/fastboot/fuzzy_fastboot/ |
D | extensions.cpp | 70 bool XMLAssert(bool cond, const tinyxml2::XMLElement* elem, const char* msg) { in XMLAssert() argument 71 if (!cond) { in XMLAssert() 74 return !cond; in XMLAssert()
|
/system/bt/stack/btm/ |
D | btm_devctl.cc | 721 uint8_t cond; in BTM_EnableTestMode() local 727 cond = HCI_DO_AUTO_ACCEPT_CONNECT; in BTM_EnableTestMode() 729 HCI_FILTER_COND_NEW_DEVICE, &cond, sizeof(cond)); in BTM_EnableTestMode()
|