Searched refs:cond (Results 1 - 25 of 45) sorted by relevance

12

/system/nvram/messages/include/nvram/messages/
H A Dcompiler.h31 #define NVRAM_CHECK(cond) if (!(cond)) abort()
/system/core/include/log/
H A Dlog_radio.h66 #define RLOGV_IF(cond, ...) ((void)0)
68 #define RLOGV_IF(cond, ...) \
69 ((__predict_false(cond)) \
86 #define RLOGD_IF(cond, ...) \
87 ((__predict_false(cond)) \
103 #define RLOGI_IF(cond, ...) \
104 ((__predict_false(cond)) \
120 #define RLOGW_IF(cond, ...) \
121 ((__predict_false(cond)) \
137 #define RLOGE_IF(cond,
[all...]
H A Dlog_system.h64 #define SLOGV_IF(cond, ...) ((void)0)
66 #define SLOGV_IF(cond, ...) \
67 ((__predict_false(cond)) \
84 #define SLOGD_IF(cond, ...) \
85 ((__predict_false(cond)) \
101 #define SLOGI_IF(cond, ...) \
102 ((__predict_false(cond)) \
118 #define SLOGW_IF(cond, ...) \
119 ((__predict_false(cond)) \
135 #define SLOGE_IF(cond,
[all...]
H A Dlog_main.h64 #define android_vprintLog(prio, cond, tag, ...) \
99 #define android_printAssert(cond, tag, ...) \
100 __android_log_assert(cond, tag, \
111 #define LOG_ALWAYS_FATAL_IF(cond, ...) \
112 ((__predict_false(cond)) \
113 ? ((void)android_printAssert(#cond, LOG_TAG, ##__VA_ARGS__)) \
130 #define LOG_FATAL_IF(cond, ...) ((void)0)
139 #define LOG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ##__VA_ARGS__)
152 #define ALOG_ASSERT(cond,
[all...]
/system/core/liblog/include/log/
H A Dlog_radio.h66 #define RLOGV_IF(cond, ...) ((void)0)
68 #define RLOGV_IF(cond, ...) \
69 ((__predict_false(cond)) \
86 #define RLOGD_IF(cond, ...) \
87 ((__predict_false(cond)) \
103 #define RLOGI_IF(cond, ...) \
104 ((__predict_false(cond)) \
120 #define RLOGW_IF(cond, ...) \
121 ((__predict_false(cond)) \
137 #define RLOGE_IF(cond,
[all...]
H A Dlog_system.h64 #define SLOGV_IF(cond, ...) ((void)0)
66 #define SLOGV_IF(cond, ...) \
67 ((__predict_false(cond)) \
84 #define SLOGD_IF(cond, ...) \
85 ((__predict_false(cond)) \
101 #define SLOGI_IF(cond, ...) \
102 ((__predict_false(cond)) \
118 #define SLOGW_IF(cond, ...) \
119 ((__predict_false(cond)) \
135 #define SLOGE_IF(cond,
[all...]
H A Dlog_main.h64 #define android_vprintLog(prio, cond, tag, ...) \
99 #define android_printAssert(cond, tag, ...) \
100 __android_log_assert(cond, tag, \
111 #define LOG_ALWAYS_FATAL_IF(cond, ...) \
112 ((__predict_false(cond)) \
113 ? ((void)android_printAssert(#cond, LOG_TAG, ##__VA_ARGS__)) \
130 #define LOG_FATAL_IF(cond, ...) ((void)0)
139 #define LOG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ##__VA_ARGS__)
152 #define ALOG_ASSERT(cond,
[all...]
/system/core/liblog/include_vndk/log/
H A Dlog_radio.h66 #define RLOGV_IF(cond, ...) ((void)0)
68 #define RLOGV_IF(cond, ...) \
69 ((__predict_false(cond)) \
86 #define RLOGD_IF(cond, ...) \
87 ((__predict_false(cond)) \
103 #define RLOGI_IF(cond, ...) \
104 ((__predict_false(cond)) \
120 #define RLOGW_IF(cond, ...) \
121 ((__predict_false(cond)) \
137 #define RLOGE_IF(cond,
[all...]
H A Dlog_main.h64 #define android_vprintLog(prio, cond, tag, ...) \
99 #define android_printAssert(cond, tag, ...) \
100 __android_log_assert(cond, tag, \
111 #define LOG_ALWAYS_FATAL_IF(cond, ...) \
112 ((__predict_false(cond)) \
113 ? ((void)android_printAssert(#cond, LOG_TAG, ##__VA_ARGS__)) \
130 #define LOG_FATAL_IF(cond, ...) ((void)0)
139 #define LOG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ##__VA_ARGS__)
152 #define ALOG_ASSERT(cond,
[all...]
/system/nvram/core/tests/
H A Dgtest_stubs.h33 #define ASSERT_MSG(cond) \
34 if (!(cond)) { \
36 fprintf(stderr, "Assertion failed: " #cond "\n"); \
39 #define ASSERT_TRUE(cond) ASSERT_MSG(cond)
42 #define EXPECT_MSG(cond) \
43 if (!(cond)) { \
45 fprintf(stderr, "Expectation failed: " #cond "\n"); \
47 #define EXPECT_TRUE(cond) EXPECTED_MSG(cond)
[all...]
/system/core/libpixelflinger/codeflinger/
H A DMIPS64Assembler.cpp96 cond.labelnum = 0;
125 sprintf(cond.label[i], "cond_%d", i);
180 cond.type = SBIT_COND;
182 cond.type = CMP_COND;
184 cond.r1 = R1;
185 cond.r2 = R2;
339 if (Rd == cond.r1) {
340 mMips->MOVE(R_cmp, cond.r1);
341 cond.r1 = R_cmp;
343 if (cond
[all...]
H A DMIPSAssembler.cpp117 cond.labelnum = 0;
146 sprintf(cond.label[i], "cond_%d", i);
352 if (Rd == cond.r1) {
353 mMips->MOVE(R_cmp, cond.r1);
354 cond.r1 = R_cmp;
356 if (cond.type == CMP_COND && Rd == cond.r2) {
357 mMips->MOVE(R_cmp2, cond.r2);
358 cond.r2 = R_cmp2;
422 ArmToMipsAssembler::B(cc^1, cond
[all...]
/system/tools/hidl/utils/
H A DFormatter.cpp74 Formatter &Formatter::sIf(const std::string &cond, std::function<void(void)> block) { argument
75 (*this) << "if (" << cond << ") ";
79 Formatter &Formatter::sElseIf(const std::string &cond, std::function<void(void)> block) { argument
80 (*this) << " else if (" << cond << ") ";
109 Formatter &Formatter::sWhile(const std::string &cond, std::function<void(void)> block) { argument
110 (*this) << "while (" << cond << ") ";
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/
H A Dkernel.h51 #define BUG_ON(cond) do { if(cond) { } } while(0)
54 #define BUG_ON(cond) assert(! (cond))
/system/extras/simpleperf/scripts/
H A Dsimpleperf_report_lib.py187 cond = self._SetLogSeverityFunc(self.getInstance(), _char_pt(log_level))
188 self._check(cond, "Failed to set log level")
192 cond = self._SetSymfsFunc(self.getInstance(), _char_pt(symfs_dir))
193 self._check(cond, "Failed to set symbols directory")
197 cond = self._SetRecordFileFunc(self.getInstance(), _char_pt(record_file))
198 self._check(cond, "Failed to set record file")
205 cond = self._SetKallsymsFileFunc(self.getInstance(), _char_pt(kallsym_file))
206 self._check(cond, "Failed to set kallsyms file")
247 def _check(self, cond, failmsg):
248 if not cond
[all...]
/system/tools/hidl/utils/include/hidl-util/
H A DFormatter.h78 Formatter &sIf(const std::string &cond, std::function<void(void)> block);
79 Formatter &sElseIf(const std::string &cond, std::function<void(void)> block);
102 Formatter &sWhile(const std::string &cond, std::function<void(void)> block);
/system/core/include/android/
H A Dlog.h135 void __android_log_assert(const char* cond, const char* tag, const char* fmt,
/system/core/liblog/include/android/
H A Dlog.h135 void __android_log_assert(const char* cond, const char* tag, const char* fmt,
/system/core/liblog/include_vndk/android/
H A Dlog.h135 void __android_log_assert(const char* cond, const char* tag, const char* fmt,
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/
H A Dkernel.h60 #define BUG_ON(cond) do { if (cond) {} } while (0)
62 #define BUG_ON(cond) assert(!(cond))
/system/core/libpixelflinger/tests/arch-mips64/assembler/
H A Dmips64_assembler_test.cpp146 cond_t cond; member in struct:dataOpTest_t
165 cond_t cond; member in struct:dataTransferTest_t
411 case INSTR_ADD: a64asm->ADD(test.cond, test.setFlags, Rd,Rn,op2); break;
412 case INSTR_SUB: a64asm->SUB(test.cond, test.setFlags, Rd,Rn,op2); break;
413 case INSTR_RSB: a64asm->RSB(test.cond, test.setFlags, Rd,Rn,op2); break;
414 case INSTR_AND: a64asm->AND(test.cond, test.setFlags, Rd,Rn,op2); break;
415 case INSTR_ORR: a64asm->ORR(test.cond, test.setFlags, Rd,Rn,op2); break;
416 case INSTR_BIC: a64asm->BIC(test.cond, test.setFlags, Rd,Rn,op2); break;
417 case INSTR_MUL: a64asm->MUL(test.cond, test.setFlags, Rd,Rm,Rs); break;
418 case INSTR_MLA: a64asm->MLA(test.cond, tes
[all...]
/system/netd/server/
H A DCommandListener.h99 void sendGenericOkFail(SocketClient *cli, int cond);
127 int sendGenericOkFail(SocketClient *cli, int cond);
146 int sendGenericOkFail(SocketClient *cli, int cond);
/system/tools/hidl/test/
H A DFooCallback.cpp80 bool cond; local
83 while ((cond = ((!invokeInfo[0].invoked ||
105 "invoked? %d, %d, %d; leftToWaitNs = %" PRId64 "; cond = %d",
107 leftToWaitNs, cond);
/system/core/libpixelflinger/tests/arch-arm64/assembler/
H A Darm64_assembler_test.cpp136 cond_t cond; member in struct:dataOpTest_t
157 cond_t cond; member in struct:dataTransferTest_t
449 case INSTR_ADD: a64asm->ADD(test.cond, test.setFlags, Rd,Rn,op2); break;
450 case INSTR_SUB: a64asm->SUB(test.cond, test.setFlags, Rd,Rn,op2); break;
451 case INSTR_RSB: a64asm->RSB(test.cond, test.setFlags, Rd,Rn,op2); break;
452 case INSTR_AND: a64asm->AND(test.cond, test.setFlags, Rd,Rn,op2); break;
453 case INSTR_ORR: a64asm->ORR(test.cond, test.setFlags, Rd,Rn,op2); break;
454 case INSTR_BIC: a64asm->BIC(test.cond, test.setFlags, Rd,Rn,op2); break;
455 case INSTR_MUL: a64asm->MUL(test.cond, test.setFlags, Rd,Rm,Rs); break;
456 case INSTR_MLA: a64asm->MLA(test.cond, tes
[all...]
/system/chre/host/msm/daemon/
H A Dchre_daemon.cc66 pthread_cond_t cond; member in struct:reverse_monitor_thread_data
204 pthread_cond_wait(&thread_data->cond, &thread_data->mutex);
227 } else if ((ret = pthread_cond_init(&data->cond, NULL)) != 0) {
317 pthread_cond_signal(&reverse_monitor.cond);

Completed in 427 milliseconds

12