/system/logging/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/logging/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_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 …]
|
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 …]
|
/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/chre/chpp/platform/linux/include/chpp/platform/ |
D | platform_condition_variable.h | 32 pthread_cond_t cond; // Condition variable member 36 pthread_cond_init(&cv->cond, NULL); in chppConditionVariableInit() 41 pthread_cond_destroy(&cv->cond); in chppConditionVariableDeinit() 46 return pthread_cond_wait(&cv->cond, &mutex->lock) == 0; in chppConditionVariableWait() 59 return pthread_cond_timedwait(&cv->cond, &mutex->lock, &now) == 0; in chppConditionVariableTimedWait() 64 pthread_cond_signal(&cv->cond); in chppConditionVariableSignal()
|
D | platform_notifier.h | 30 pthread_cond_t cond; // Condition variable member
|
/system/chre/chpp/include/chpp/ |
D | macros.h | 103 #define CHPP_STATIC_ASSERT4(cond, var) typedef char var[(!!(cond)) * 2 - 1] 104 #define CHPP_STATIC_ASSERT3(cond, line) \ 105 CHPP_STATIC_ASSERT4(cond, static_assertion_at_line_##line) 106 #define CHPP_STATIC_ASSERT2(cond, line) CHPP_STATIC_ASSERT3(cond, line) 107 #define CHPP_STATIC_ASSERT(cond, msg) CHPP_STATIC_ASSERT2(cond, __LINE__)
|
/system/chre/std_overrides/include/ |
D | assert.h | 20 #define assert(cond) ((void)0) argument 22 #define assert(cond) \ argument 24 if (!(cond)) { \
|
/system/chre/chpp/platform/linux/ |
D | notifier.c | 36 pthread_cond_init(¬ifier->cond, NULL); in chppPlatformNotifierInit() 40 pthread_cond_destroy(¬ifier->cond); in chppPlatformNotifierDeinit() 58 pthread_cond_wait(¬ifier->cond, ¬ifier->mutex.lock); in chppPlatformNotifierWait() 86 pthread_cond_timedwait(¬ifier->cond, ¬ifier->mutex.lock, &absTime); in chppPlatformNotifierTimedWait() 102 pthread_cond_signal(¬ifier->cond); in chppPlatformNotifierSignal()
|
/system/logging/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/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/netd/server/ |
D | NdcDispatcher.h | 115 void sendGenericOkFail(NdcClient* cli, int cond) const; 134 int sendGenericOkFail(NdcClient* cli, int cond) const; 147 int sendGenericOkFail(NdcClient* cli, int cond) const;
|
/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/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; \
|
D | Benchmark_throughput.cpp | 40 #define ASSERT_TRUE(cond) \ argument 42 if (!(cond)) {\ 43 cerr << __func__ << ":" << __LINE__ << " condition:" << #cond << " failed\n" << endl; \
|
/system/extras/simpleperf/scripts/ |
D | simpleperf_report_lib.py | 48 def _check(cond: bool, failmsg: str): 49 if not cond: 330 cond: bool = self._SetLogSeverityFunc(self.getInstance(), _char_pt(log_level)) 331 _check(cond, 'Failed to set log level') 335 cond: bool = self._SetSymfsFunc(self.getInstance(), _char_pt(symfs_dir)) 336 _check(cond, 'Failed to set symbols directory') 340 cond: bool = self._SetRecordFileFunc(self.getInstance(), _char_pt(record_file)) 341 _check(cond, 'Failed to set record file') 373 cond: bool = self._SetKallsymsFileFunc(self.getInstance(), _char_pt(kallsym_file)) 374 _check(cond, 'Failed to set kallsyms file')
|
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 28 #define ASSERT_TRUE(cond) \ argument 30 if (!(cond)) { \ 31 cerr << __func__ << "( " << getpid() << "):" << __LINE__ << " condition:" << #cond \
|
/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/logging/liblog/include/android/ |
D | log.h | 140 void __android_log_assert(const char* cond, const char* tag, const char* fmt, ...)
|