Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 14 of 14) sorted by relevance

/system/core/include/cutils/
Dlog.h84 #define CONDITION(cond) (__builtin_expect((cond)!=0, 0)) argument
88 #define ALOGV_IF(cond, ...) ((void)0) argument
90 #define ALOGV_IF(cond, ...) \
91 ( (CONDITION(cond)) \
105 #define ALOGD_IF(cond, ...) \ argument
106 ( (CONDITION(cond)) \
119 #define ALOGI_IF(cond, ...) \ argument
120 ( (CONDITION(cond)) \
133 #define ALOGW_IF(cond, ...) \ argument
134 ( (CONDITION(cond)) \
[all …]
/system/extras/tests/bionic/libc/common/
Dtest_pthread_rwlock.c97 #define TZERO(cond) \ argument
98 { int _ret = (cond); if (_ret != 0) ERROR(_ret,"%d:%s", __LINE__, #cond); }
100 #define TTRUE(cond) \ argument
101 { if (!(cond)) PANIC("%d:%s", __LINE__, #cond); }
103 #define TFALSE(cond) \ argument
104 { if (!!(cond)) PANIC("%d:%s", __LINE__, #cond); }
106 #define TEXPECT_INT(cond,val) \ argument
107 …{ int _ret = (cond); if (_ret != (val)) PANIC("%d:%s returned %d (%d expected)", __LINE__, #cond, …
Dtest_pthread_mutex.c98 #define TZERO(cond) \ argument
99 { int _ret = (cond); if (_ret != 0) ERROR(_ret,"%d:%s", __LINE__, #cond); }
101 #define TTRUE(cond) \ argument
102 { if (!(cond)) PANIC("%d:%s", __LINE__, #cond); }
104 #define TFALSE(cond) \ argument
105 { if (!!(cond)) PANIC("%d:%s", __LINE__, #cond); }
107 #define TEXPECT_INT(cond,val) \ argument
108 …{ int _ret = (cond); if (_ret != (val)) PANIC("%d:%s returned %d (%d expected)", __LINE__, #cond, …
Dtest_cpu_set.c37 #define TEST_INT_EQ(cond,exp) \ argument
39 int _cond = (cond); \
43 __FUNCTION__, __LINE__, #cond, _cond, _exp);\
47 #define T(cond) \ argument
49 if (!(cond)) {\
51 __FUNCTION__, __LINE__, #cond);\
56 #define F(cond) \ argument
58 if (!!(cond)) {\
60 __FUNCTION__, __LINE__, #cond);\
/system/core/libpixelflinger/codeflinger/
DMIPSAssembler.cpp122 cond.labelnum = 0; in reset()
151 sprintf(cond.label[i], "cond_%d", i); in init_conditional_labels()
357 if (Rd == cond.r1) { in protectConditionalOperands()
358 mMips->MOVE(R_cmp, cond.r1); in protectConditionalOperands()
359 cond.r1 = R_cmp; in protectConditionalOperands()
361 if (cond.type == CMP_COND && Rd == cond.r2) { in protectConditionalOperands()
362 mMips->MOVE(R_cmp2, cond.r2); in protectConditionalOperands()
363 cond.r2 = R_cmp2; in protectConditionalOperands()
427 ArmToMipsAssembler::B(cc^1, cond.label[++cond.labelnum]); in dataProcessing()
574 cond.type = CMP_COND; in dataProcessing()
[all …]
DMIPSAssembler.h227 } cond; variable
/system/core/sh/
Derror.c154 exverror(int cond, const char *msg, va_list ap) in exverror() argument
161 TRACE(("exverror(%d, \"", cond)); in exverror()
165 TRACE(("exverror(%d, NULL) pid=%d\n", cond, getpid())); in exverror()
171 exraise(cond); in exverror()
189 exerror(int cond, const char *msg, ...) in exerror() argument
194 exverror(cond, msg, ap); in exerror()
/system/extras/tests/bionic/libc/bionic/
Dtest_mutex.c44 #define assert(cond) do { if ( !(cond) ) panic( "%s:%d: assertion failure: %s\n", __FILE__, __LI… argument
/system/core/include/android/
Dlog.h116 void __android_log_assert(const char *cond, const char *tag,
/system/netd/
DCommandListener.h109 void sendGenericOkFail(SocketClient *cli, int cond);
134 int sendGenericOkFail(SocketClient *cli, int cond);
DCommandListener.cpp863 void CommandListener::BandwidthControlCmd::sendGenericOkFail(SocketClient *cli, int cond) { in sendGenericOkFail() argument
864 if (!cond) { in sendGenericOkFail()
1213 int CommandListener::FirewallCmd::sendGenericOkFail(SocketClient *cli, int cond) { in sendGenericOkFail() argument
1214 if (!cond) { in sendGenericOkFail()
/system/core/liblog/
Dlogd_write.c238 void __android_log_assert(const char *cond, const char *tag, in __android_log_assert() argument
253 if (cond) in __android_log_assert()
254 snprintf(buf, LOG_BUF_SIZE, "Assertion failed: %s", cond); in __android_log_assert()
/system/media/audio_utils/
Decho_reference.c62 pthread_cond_t cond; // condition signaled when data is ready to read member
279 pthread_cond_signal(&er->cond); in echo_reference_write()
335 pthread_cond_timedwait_relative_np(&er->cond, &er->lock, &ts); in echo_reference_read()
466 pthread_cond_signal(&er->cond); in echo_reference_read()
/system/core/adb/
Dsysdeps_win32.c11 #define assert(cond) do { if (!(cond)) fatal( "assertion failed '%s' on %s:%ld\n", #cond, __FILE__… argument