/bionic/libc/private/isc/ |
assertions.h | 69 #define REQUIRE(cond) \ 70 ((void) ((cond) || \ 72 #cond, 0), 0))) 73 #define REQUIRE_ERR(cond) \ 74 ((void) ((cond) || \ 76 #cond, 1), 0))) 78 #define REQUIRE(cond) ((void) (cond)) 79 #define REQUIRE_ERR(cond) ((void) (cond)) [all...] |
/external/clearsilver/man/man3/ |
cCreate.3 | 20 NEOERR *cCreate(pthread_cond_t *cond); 25 cond - condition variable to initialize. 28 Initializes the condition variable <cond>. 30 MT-Level: Safe for unique <cond>.
|
cDestroy.3 | 20 void cDestroy(pthread_cond_t *cond); 25 cond - condition variable to destroy. 28 Destroys the condition variable <cond> that was 31 MT-Level: Safe for unique <cond>.
|
cWait.3 | 20 NEOERR *cWait(pthread_cond_t *cond, pthread_mutex_t *mutex); 25 cond - condition variable to wait on. 27 mutex - locked mutex to protect <cond>. 30 Waits for a signal on condition variable <cond>.
|
cBroadcast.3 | 20 NEOERR *cBroadcast(pthread_cond_t *cond); 25 cond - condition variable to broadcast on. 29 variable <cond>.
|
cSignal.3 | 20 NEOERR *cSignal(pthread_cond_t *cond); 25 cond - condition variable to send signal on. 29 variable <cond>.
|
/external/qemu/distrib/sdl-1.2.12/src/thread/dc/ |
SDL_syscond.c | 44 SDL_cond *cond; local 46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 47 if ( cond ) { 48 cond->lock = SDL_CreateMutex(); 49 cond->wait_sem = SDL_CreateSemaphore(0); 50 cond->wait_done = SDL_CreateSemaphore(0); 51 cond->waiting = cond->signals = 0; 52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/generic/ |
SDL_syscond.c | 44 SDL_cond *cond; local 46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 47 if ( cond ) { 48 cond->lock = SDL_CreateMutex(); 49 cond->wait_sem = SDL_CreateSemaphore(0); 50 cond->wait_done = SDL_CreateSemaphore(0); 51 cond->waiting = cond->signals = 0; 52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/os2/ |
SDL_syscond.c | 44 SDL_cond *cond; local 46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 47 if ( cond ) { 48 cond->lock = SDL_CreateMutex(); 49 cond->wait_sem = SDL_CreateSemaphore(0); 50 cond->wait_done = SDL_CreateSemaphore(0); 51 cond->waiting = cond->signals = 0; 52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) [all...] |
/external/qemu/ |
qemu-thread.h | 11 pthread_cond_t cond; member in struct:QemuCond 28 void qemu_cond_init(QemuCond *cond); 29 void qemu_cond_signal(QemuCond *cond); 30 void qemu_cond_broadcast(QemuCond *cond); 31 void qemu_cond_wait(QemuCond *cond, QemuMutex *mutex); 32 int qemu_cond_timedwait(QemuCond *cond, QemuMutex *mutex, uint64_t msecs);
|
qemu-thread.c | 2 * Wrappers around mutex/cond/thread functions 84 void qemu_cond_init(QemuCond *cond) 88 err = pthread_cond_init(&cond->cond, NULL); 93 void qemu_cond_signal(QemuCond *cond) 97 err = pthread_cond_signal(&cond->cond); 102 void qemu_cond_broadcast(QemuCond *cond) 106 err = pthread_cond_broadcast(&cond->cond); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/pthread/ |
SDL_syscond.c | 34 pthread_cond_t cond; member in struct:SDL_cond 40 SDL_cond *cond; local 42 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 43 if ( cond ) { 44 if ( pthread_cond_init(&cond->cond, NULL) < 0 ) { 46 SDL_free(cond); 47 cond = NULL; 50 return(cond); 54 void SDL_DestroyCond(SDL_cond *cond) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/riscos/ |
SDL_syscond.c | 38 pthread_cond_t cond; member in struct:SDL_cond 44 SDL_cond *cond; local 46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 47 if ( cond ) { 48 if ( pthread_cond_init(&cond->cond, NULL) < 0 ) { 50 SDL_free(cond); 51 cond = NULL; 54 return(cond); 58 void SDL_DestroyCond(SDL_cond *cond) [all...] |
/external/webkit/JavaScriptCore/assembler/ |
MacroAssembler.h | 98 void branchPtr(Condition cond, RegisterID op1, ImmPtr imm, Label target) 100 branchPtr(cond, op1, imm).linkTo(target, this); 103 void branch32(Condition cond, RegisterID op1, RegisterID op2, Label target) 105 branch32(cond, op1, op2).linkTo(target, this); 108 void branch32(Condition cond, RegisterID op1, Imm32 imm, Label target) 110 branch32(cond, op1, imm).linkTo(target, this); 113 void branch32(Condition cond, RegisterID left, Address right, Label target) 115 branch32(cond, left, right).linkTo(target, this); 118 void branch16(Condition cond, BaseIndex left, RegisterID right, Label target) 120 branch16(cond, left, right).linkTo(target, this) [all...] |
MacroAssemblerARM.h | 362 Jump branch32(Condition cond, RegisterID left, RegisterID right, int useConstantPool = 0) 365 return Jump(m_assembler.jmp(ARMCondition(cond), useConstantPool)); 368 Jump branch32(Condition cond, RegisterID left, Imm32 right, int useConstantPool = 0) 375 return Jump(m_assembler.jmp(ARMCondition(cond), useConstantPool)); 378 Jump branch32(Condition cond, RegisterID left, Address right) 381 return branch32(cond, left, ARMRegisters::S1); 384 Jump branch32(Condition cond, Address left, RegisterID right) 387 return branch32(cond, ARMRegisters::S1, right); 390 Jump branch32(Condition cond, Address left, Imm32 right) 393 return branch32(cond, ARMRegisters::S1, right) [all...] |
MacroAssemblerX86Common.h | 438 Jump branchDouble(DoubleCondition cond, FPRegisterID left, FPRegisterID right) 442 if (cond & DoubleConditionBitInvert) 447 if (cond == DoubleEqual) { 452 } else if (cond == DoubleNotEqualOrUnordered) { 461 ASSERT(!(cond & DoubleConditionBitSpecial)); 462 return Jump(m_assembler.jCC(static_cast<X86Assembler::Condition>(cond & ~DoubleConditionBits))); 623 Jump branch32(Condition cond, RegisterID left, RegisterID right) 626 return Jump(m_assembler.jCC(x86Condition(cond))); 629 Jump branch32(Condition cond, RegisterID left, Imm32 right) 631 if (((cond == Equal) || (cond == NotEqual)) && !right.m_value [all...] |
MacroAssemblerX86_64.h | 292 void setPtr(Condition cond, RegisterID left, Imm32 right, RegisterID dest) 294 if (((cond == Equal) || (cond == NotEqual)) && !right.m_value) 298 m_assembler.setCC_r(x86Condition(cond), dest); 302 Jump branchPtr(Condition cond, RegisterID left, RegisterID right) 305 return Jump(m_assembler.jCC(x86Condition(cond))); 308 Jump branchPtr(Condition cond, RegisterID left, ImmPtr right) 311 return branchPtr(cond, left, scratchRegister); 314 Jump branchPtr(Condition cond, RegisterID left, Address right) 317 return Jump(m_assembler.jCC(x86Condition(cond))); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/pth/ |
SDL_syscond.c | 43 SDL_cond *cond; local 45 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); 46 if ( cond ) { 47 if ( pth_cond_init(&(cond->condpth_p)) < 0 ) { 49 SDL_free(cond); 50 cond = NULL; 55 return(cond); 59 void SDL_DestroyCond(SDL_cond *cond) 61 if ( cond ) { 62 SDL_free(cond); [all...] |
/external/qemu/tcg/arm/ |
tcg-target.c | 259 static inline void tcg_out_bx(TCGContext *s, int cond, int rn) 261 tcg_out32(s, (cond << 28) | 0x012fff10 | rn); 264 static inline void tcg_out_b(TCGContext *s, int cond, int32_t offset) 266 tcg_out32(s, (cond << 28) | 0x0a000000 | 270 static inline void tcg_out_b_noaddr(TCGContext *s, int cond) 273 tcg_out8(s, (cond << 4) | 0x0a); 277 tcg_out8(s, (cond << 4) | 0x0a); 281 static inline void tcg_out_bl(TCGContext *s, int cond, int32_t offset) 283 tcg_out32(s, (cond << 28) | 0x0b000000 | 288 int cond, int opc, int rd, int rn, int rm, int shift [all...] |
/external/skia/tests/ |
Test.h | 35 void assertTrue(bool cond, const char desc[]) { 36 if (!cond) { 40 void assertFalse(bool cond, const char desc[]) { 41 if (cond) { 93 #define REPORTER_ASSERT(r, cond) \ 95 if (!(cond)) { \ 97 desc.printf("%s:%d: %s", __FILE__, __LINE__, #cond); \
|
/external/bluetooth/glib/tests/ |
errorcheck-mutex-test.c | 54 GCond* cond = g_cond_new (); local 55 g_cond_wait (cond, mutex); 62 GCond* cond = g_cond_new (); local 66 g_cond_wait (cond, mutex); 73 GCond* cond = g_cond_new (); local 74 g_cond_timed_wait (cond, mutex, NULL); 81 GCond* cond = g_cond_new (); local 85 g_cond_timed_wait (cond, mutex, NULL);
|
/bionic/libc/netbsd/resolv/ |
res_debug.h | 24 # define Dprint(cond, args) /*empty*/ 25 # define DprintQ(cond, args, query, size) /*empty*/ 29 # define Dprint(cond, args) if (cond) {fprintf args;} else {} 30 # define DprintQ(cond, args, query, size) if (cond) {\
|
/external/dbus/dbus/ |
dbus-threads-internal.h | 40 void _dbus_condvar_free (DBusCondVar *cond); 41 void _dbus_condvar_wait (DBusCondVar *cond, 43 dbus_bool_t _dbus_condvar_wait_timeout (DBusCondVar *cond, 46 void _dbus_condvar_wake_one (DBusCondVar *cond); 47 void _dbus_condvar_wake_all (DBusCondVar *cond);
|
/build/tools/apriori/ |
debug.h | 10 #define FAILIF(cond, msg...) do { \ 11 if (unlikely(cond)) { \ 30 #define FAILIF(cond, msg...) do { \ 31 if (unlikely(cond)) { \ 42 #define FAILIF_LIBELF(cond, function) \ 43 FAILIF(cond, "%s(): %s\n", #function, elf_errmsg(elf_errno()));
|
/build/tools/iself/ |
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()));
|