HomeSort by relevance Sort by last modified time
    Searched refs:cond (Results 26 - 50 of 577) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/skia/tests/
Test.h 46 void assertTrue(bool cond, const char desc[]) {
47 if (!cond) {
51 void assertFalse(bool cond, const char desc[]) {
52 if (cond) {
116 #define REPORTER_ASSERT(r, cond) \
118 if (!(cond)) { \
120 desc.printf("%s:%d: %s", __FILE__, __LINE__, #cond); \
125 #define REPORTER_ASSERT_MESSAGE(r, cond, message) \
127 if (!(cond)) { \
129 desc.printf("%s %s:%d: %s", message, __FILE__, __LINE__, #cond); \
    [all...]
  /external/qemu/
qemu-thread.c 2 * Wrappers around mutex/cond/thread functions
93 void qemu_cond_init(QemuCond *cond)
97 err = pthread_cond_init(&cond->cond, NULL);
102 void qemu_cond_destroy(QemuCond *cond)
106 err = pthread_cond_destroy(&cond->cond);
111 void qemu_cond_signal(QemuCond *cond)
115 err = pthread_cond_signal(&cond->cond);
    [all...]
  /external/clang/test/CXX/temp/temp.decls/temp.mem/
p1.cpp 5 static T cond; member in struct:A
9 return (cond ? value + value : value);
15 A<bool>::cond = true; member in class:A
  /external/qemu/android/utils/
assert.h 46 /* Check that 'cond' is true, and report an assertion failure otherwise */
47 #define _ANDROID_ASSERT(cond,...) \
49 if (!(cond)) { \
55 /* Check that 'cond' is boolean true (i.e. not 0), and report an assertion
125 # define AASSERT(cond,...) _ANDROID_ASSERT(cond,__VA_ARGS__)
151 # define AASSERT(cond,...) ((void)(cond), (void)0)
152 # define AASSERT_BOOL(cond,val) ((void)(cond), (void)0
    [all...]
  /frameworks/av/libvideoeditor/osal/src/
M4PSW_DebugTrace.c 39 * M4OSA_Char* cond, char* msg, M4OSA_ERR err)
55 M4OSA_Char* cond,
68 printf("Error: %li, on %s: %s\n",err,cond,msg);
70 printf("Error: %li, on %s: %s Line %lu in: %s\n",err,cond,msg,line,file);
  /external/valgrind/unittest/
thread_wrappers_win.h 100 void LockWhen(Condition cond) { Lock(); WaitLoop(cond); }
101 void ReaderLockWhen(Condition cond) { Lock(); WaitLoop(cond); }
102 void Await(Condition cond) { WaitLoop(cond); }
104 bool ReaderLockWhenWithTimeout(Condition cond, int millis)
105 { Lock(); return WaitLoopWithTimeout(cond, millis); }
106 bool LockWhenWithTimeout(Condition cond, int millis)
107 { Lock(); return WaitLoopWithTimeout(cond, millis);
    [all...]
  /external/libusb_aah/libusb/os/
threads_windows.c 84 int usbi_cond_init(usbi_cond_t *cond,
86 if(!cond) return ((errno=EINVAL));
87 list_init(&cond->waiters );
88 list_init(&cond->not_waiting);
91 int usbi_cond_destroy(usbi_cond_t *cond) {
94 if(!cond) return ((errno=EINVAL));
95 if(!list_empty(&cond->waiters)) return ((errno=EBUSY )); // (!see above!)
96 list_for_each_entry(pos, &cond->not_waiting, list, struct usbi_cond_perthread) {
106 int usbi_cond_broadcast(usbi_cond_t *cond) {
112 if(!cond) return ((errno=EINVAL))
    [all...]
threads_windows.h 75 int usbi_cond_init(usbi_cond_t *cond,
77 int usbi_cond_destroy(usbi_cond_t *cond);
78 int usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex);
79 int usbi_cond_timedwait(usbi_cond_t *cond,
82 int usbi_cond_broadcast(usbi_cond_t *cond);
83 int usbi_cond_signal(usbi_cond_t *cond);
  /external/clang/test/CodeGen/
conditional.c 3 float test1(int cond, float a, float b) {
4 return cond ? a : b;
7 double test2(int cond, float a, double b) {
8 return cond ? a : b;
  /external/qemu/distrib/sdl-1.2.15/src/joystick/dc/
SDL_sysjoystick.c 127 cont_cond_t cond,*prev_cond; local
131 if (cont_get_cond(addr,&cond)<0) return;
133 buttons = cond.buttons;
161 if (cond.joyx!=prev_cond->joyx)
162 SDL_PrivateJoystickAxis(joystick, 0, cond.joyx-128);
163 if (cond.joyy!=prev_cond->joyy)
164 SDL_PrivateJoystickAxis(joystick, 1, cond.joyy-128);
165 if (cond.rtrig!=prev_cond->rtrig)
166 SDL_PrivateJoystickAxis(joystick, 2, cond.rtrig);
167 if (cond.ltrig!=prev_cond->ltrig
    [all...]
  /external/valgrind/main/helgrind/tests/
cond_timedwait_invalid.c 11 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; local
22 assert(pthread_cond_timedwait(&cond, &mutex, &abstime)==EINVAL);
  /development/tools/yuv420sp2rgb/
debug.h 12 #define FAILIF(cond, msg...) do { \
13 if (unlikely(cond)) { \
32 #define FAILIF(cond, msg...) do { \
33 if (unlikely(cond)) { \
44 #define FAILIF_LIBELF(cond, function) \
45 FAILIF(cond, "%s(): %s\n", #function, elf_errmsg(elf_errno()));
  /external/webkit/Source/JavaScriptCore/assembler/
MacroAssemblerX86Common.h 604 Jump branchDouble(DoubleCondition cond, FPRegisterID left, FPRegisterID right)
608 if (cond & DoubleConditionBitInvert)
613 if (cond == DoubleEqual) {
618 } else if (cond == DoubleNotEqualOrUnordered) {
627 ASSERT(!(cond & DoubleConditionBitSpecial));
628 return Jump(m_assembler.jCC(static_cast<X86Assembler::Condition>(cond & ~DoubleConditionBits)));
797 Jump branch8(Condition cond, Address left, TrustedImm32 right)
800 return Jump(m_assembler.jCC(x86Condition(cond)));
803 Jump branch32(Condition cond, RegisterID left, RegisterID right)
806 return Jump(m_assembler.jCC(x86Condition(cond)));
    [all...]
MacroAssemblerARM.h 390 Jump branch8(Condition cond, Address left, TrustedImm32 right)
393 return branch32(cond, ARMRegisters::S1, right);
396 Jump branch32(Condition cond, RegisterID left, RegisterID right, int useConstantPool = 0)
399 return Jump(m_assembler.jmp(ARMCondition(cond), useConstantPool));
402 Jump branch32(Condition cond, RegisterID left, TrustedImm32 right, int useConstantPool = 0)
414 return Jump(m_assembler.jmp(ARMCondition(cond), useConstantPool));
417 Jump branch32(Condition cond, RegisterID left, Address right)
420 return branch32(cond, left, ARMRegisters::S1);
423 Jump branch32(Condition cond, Address left, RegisterID right)
426 return branch32(cond, ARMRegisters::S1, right)
    [all...]
  /external/v8/src/arm/
disasm-arm.cc 442 case 'c': { // 'cond: conditional execution
443 ASSERT(STRING_STARTS_WITH(format, "cond"));
693 Format(instr, "mul'cond's 'rn, 'rm, 'rs");
699 Format(instr, "mla'cond's 'rn, 'rm, 'rs, 'rd");
708 Format(instr, "'um'al'cond's 'rd, 'rn, 'rm, 'rs");
718 Format(instr, "'memop'cond's 'rd, ['rn], -'rm");
720 Format(instr, "'memop'cond's 'rd, ['rn], #-'off8");
726 Format(instr, "'memop'cond's 'rd, ['rn], +'rm");
728 Format(instr, "'memop'cond's 'rd, ['rn], #+'off8");
734 Format(instr, "'memop'cond's 'rd, ['rn, -'rm]'w")
    [all...]
assembler-arm.h 769 void b(int branch_offset, Condition cond = al);
770 void bl(int branch_offset, Condition cond = al);
772 void blx(Register target, Condition cond = al); // v5 and above
773 void bx(Register target, Condition cond = al); // v5 and above, plus v4t
776 void b(Label* L, Condition cond = al) {
777 b(branch_offset(L, cond == al), cond); local
779 void b(Condition cond, Label* L) { b(branch_offset(L, cond == al), cond); } local
780 void bl(Label* L, Condition cond = al) { bl(branch_offset(L, false), cond); } local
781 void bl(Condition cond, Label* L) { bl(branch_offset(L, false), cond); } local
    [all...]
  /external/qemu/tcg/arm/
tcg-target.c 342 static inline void tcg_out_bx(TCGContext *s, int cond, int rn)
344 tcg_out32(s, (cond << 28) | 0x012fff10 | rn);
347 static inline void tcg_out_b(TCGContext *s, int cond, int32_t offset)
349 tcg_out32(s, (cond << 28) | 0x0a000000 |
353 static inline void tcg_out_b_noaddr(TCGContext *s, int cond)
359 tcg_out8(s, (cond << 4) | 0x0a);
363 tcg_out8(s, (cond << 4) | 0x0a);
367 static inline void tcg_out_bl(TCGContext *s, int cond, int32_t offset)
369 tcg_out32(s, (cond << 28) | 0x0b000000 |
373 static inline void tcg_out_blx(TCGContext *s, int cond, int rn
    [all...]
  /external/clang/test/Analysis/inlining/
false-positive-suppression.c 200 void ternaryArg(char cond) {
202 derefArg(cond ? &x : getNull());
211 void ternaryArgCast(char cond) {
213 derefArgCast((char*)((unsigned)cond ? &x : getNull()));
222 void ternaryAssignment(char cond) {
224 int *p = cond ? &x : getNull();
228 int *retNull(char cond) {
230 return cond ? &x : getNull();
232 int ternaryRetNull(char cond) {
233 int *p = retNull(cond);
    [all...]
  /hardware/invensense/libsensors_iio/software/core/driver/include/
log.h 141 #define CONDITION(cond) ((cond) != 0)
146 #define MPL_LOGV_IF(cond, fmt, ...) \
149 #define MPL_LOGV_IF(cond, fmt, ...) \
150 ((CONDITION(cond)) \
164 #define MPL_LOGD_IF(cond, fmt, ...) \
165 ((CONDITION(cond)) \
182 #define MPL_LOGI_IF(cond, fmt, ...) \
183 ((CONDITION(cond)) \
200 #define MPL_LOGW_IF(cond, fmt, ...)
    [all...]
  /hardware/invensense/mlsdk/platform/include/
log.h 141 #define CONDITION(cond) ((cond) != 0)
146 #define MPL_LOGV_IF(cond, fmt, ...) \
149 #define MPL_LOGV_IF(cond, fmt, ...) \
150 ((CONDITION(cond)) \
164 #define MPL_LOGD_IF(cond, fmt, ...) \
165 ((CONDITION(cond)) \
178 #define MPL_LOGI_IF(cond, fmt, ...) \
179 ((CONDITION(cond)) \
196 #define MPL_LOGW_IF(cond, fmt, ...)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/dc/
SDL_dcevents.c 68 mouse_cond_t cond; local
74 if ((addr = maple_first_mouse())==0 || mouse_get_cond(addr, &cond)<0) return;
76 buttons = cond.buttons^0xff;
77 if (cond.dz<0) buttons|=MOUSE_WHEELUP;
78 if (cond.dz>0) buttons|=MOUSE_WHEELDOWN;
80 if (cond.dx||cond.dy) SDL_PrivateMouseMotion(0,1,cond.dx,cond.dy);
  /development/ndk/sources/android/libportable/common/include/
log_portable.h 91 # define ASSERT(cond) ALOG_ASSERT(cond, "assertion failed:(%s), file: %s, line: %d:%s", \
92 #cond, __FILE__, __LINE__, __func__);
96 # define ASSERT(cond) assert(cond)
  /external/clang/test/Sema/
warn-unused-value.c 76 void conditional_for_control_flow(int cond, int x, int y)
78 cond? y++ : x; // no-warning
79 cond? y : ++x; // no-warning
80 cond? (x |= y) : ++x; // no-warning
81 cond? y : x; // expected-warning {{expression result unused}}
  /external/qemu/distrib/sdl-1.2.15/include/
SDL_mutex.h 141 extern DECLSPEC void SDLCALL SDL_DestroyCond(SDL_cond *cond);
146 extern DECLSPEC int SDLCALL SDL_CondSignal(SDL_cond *cond);
151 extern DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond *cond);
158 extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond *cond, SDL_mutex *mut);
166 extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms);
  /prebuilts/tools/darwin-x86/sdl/include/SDL/
SDL_mutex.h 141 extern DECLSPEC void SDLCALL SDL_DestroyCond(SDL_cond *cond);
146 extern DECLSPEC int SDLCALL SDL_CondSignal(SDL_cond *cond);
151 extern DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond *cond);
158 extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond *cond, SDL_mutex *mut);
166 extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms);

Completed in 1668 milliseconds

12 3 4 5 6 7 8 91011>>