/external/libusb/libusb/os/ |
threads_windows.h | 62 int usbi_cond_init(usbi_cond_t *cond); 63 int usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex); 64 int usbi_cond_timedwait(usbi_cond_t *cond, 66 int usbi_cond_broadcast(usbi_cond_t *cond); 67 int usbi_cond_destroy(usbi_cond_t *cond);
|
/system/nvram/core/tests/ |
gtest_stubs.h | 33 #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...] |
/external/vixl/src/aarch32/ |
macro-assembler-aarch32.h | 191 ITScope(MacroAssembler* masm, Condition* cond, bool can_use_it = false) 192 : masm_(masm), cond_(*cond), can_use_it_(can_use_it) { 207 *cond = al; 249 Condition cond, 251 (masm->*asmfn)(cond, dt_, rt_, literal); 264 Condition cond, 266 (masm->*asmfn)(cond, dt_, rt_, literal); 279 Condition cond, 281 (masm->*asmfn)(cond, rt_, literal); 293 Condition cond, [all...] |
assembler-aarch32.cc | [all...] |
/device/google/contexthub/firmware/lib/libc/ |
arm_asm.h | 66 .macro RETURN cond= 68 bx\cond lr 70 mov\cond pc, lr 81 asm(".macro RETURN cond=\n\t" 83 "bx\\cond lr\n\t" 85 "mov\\cond pc, lr\n\t"
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/ |
4-3.c | 39 pthread_cond_t cond; local 44 rc = pthread_cond_init(&cond, NULL); 50 rc = pthread_cond_init(&cond, NULL);
|
/bionic/libc/bionic/ |
pthread_cond.cpp | 136 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); local 142 atomic_init(&cond->state, init_state); 148 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); local 149 atomic_store_explicit(&cond->state, 0xdeadc04d, memory_order_relaxed); 156 static int __pthread_cond_pulse(pthread_cond_internal_t* cond, int thread_count) { 167 atomic_fetch_add_explicit(&cond->state, COND_COUNTER_STEP, memory_order_relaxed); 169 __futex_wake_ex(&cond->state, cond->process_shared(), thread_count); 173 static int __pthread_cond_timedwait(pthread_cond_internal_t* cond, pthread_mutex_t* mutex, 180 unsigned int old_state = atomic_load_explicit(&cond->state, memory_order_relaxed) 201 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); local 208 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); local [all...] |
/hardware/intel/common/libwsbm/src/ |
wsbm_driver.c | 58 n_condInit(struct _WsbmCond *cond, struct _WsbmThreadFuncs *func) 60 cond->func = func; 71 n_condNone(struct _WsbmCond *cond __attribute__ ((unused))) 77 n_condWait(struct _WsbmCond *cond __attribute__ ((unused)), struct _WsbmMutex *mutex __attribute__ ((unused))) 115 pthread_cond_t cond; member in struct:_WsbmPCond 180 p_condInit(struct _WsbmCond *cond, struct _WsbmThreadFuncs *func) 182 struct _WsbmPCond *pCond = pCondConvert(cond); 188 pthread_cond_init(&pCond->cond, NULL); 193 p_condFree(struct _WsbmCond *cond) 195 struct _WsbmPCond *pCond = pCondConvert(cond); [all...] |
/external/swiftshader/third_party/subzero/src/DartARM32/ |
assembler_arm.h | 450 void and_(Register rd, Register rn, Operand o, Condition cond = AL); 453 void eor(Register rd, Register rn, Operand o, Condition cond = AL); 456 void sub(Register rd, Register rn, Operand o, Condition cond = AL); 457 void subs(Register rd, Register rn, Operand o, Condition cond = AL); 460 void rsb(Register rd, Register rn, Operand o, Condition cond = AL); 461 void rsbs(Register rd, Register rn, Operand o, Condition cond = AL); 464 void add(Register rd, Register rn, Operand o, Condition cond = AL); 466 void adds(Register rd, Register rn, Operand o, Condition cond = AL); 469 void adc(Register rd, Register rn, Operand o, Condition cond = AL); 471 void adcs(Register rd, Register rn, Operand o, Condition cond = AL) [all...] |
/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/clang/test/CodeGenCXX/ |
microsoft-abi-eh-cleanups.cpp | 64 // WIN32: %[[cond:.*]] = load i1, i1* %[[isactive]] 65 // WIN32: br i1 %[[cond]] 71 int HasConditionalCleanup(bool cond) { 72 return (cond ? TakesTwo(A(), A()) : CouldThrow()); 94 int HasConditionalDeactivatedCleanups(bool cond) { 95 return (cond ? TakesTwo((TakeRef(A()), A()), (TakeRef(A()), A())) : CouldThrow());
|
/external/compiler-rt/test/tsan/ |
signal_cond.cc | 13 pthread_cond_t cond; variable 24 pthread_cond_wait(&cond, &mutex); 33 pthread_cond_init(&cond, 0); 45 pthread_cond_signal(&cond);
|
/hardware/qcom/msm8998/json-c/ |
debug.h | 37 #define JASSERT(cond) do {} while(0) 41 #define JASSERT(cond) do { \ 42 if (!(cond)) { \ 43 mc_error("cjson assert failure %s:%d : cond \"" __STRING(cond) "failed\n", __FILE__, __LINE__); \
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/ |
group-1.s | 4 (p6) br.cond.dptk .L37
|
/external/compiler-rt/lib/scudo/ |
scudo_termination.cpp | 34 void NORETURN CheckFailed(const char *file, int line, const char *cond, 36 Report("Sanitizer CHECK failed: %s:%d %s (%lld, %lld)\n", file, line, cond,
|
/external/valgrind/helgrind/tests/ |
cond_timedwait_invalid.c | 11 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; local 22 assert(pthread_cond_timedwait(&cond, &mutex, &abstime)==EINVAL);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
kernel.h | 32 #define MAYBE_BUILD_BUG_ON(cond) ((void)sizeof(char[1 - 2 * !!(cond)]))
|
/toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/arm/ |
objdump.exp | 32 if {![binutils_assemble $srcdir/$subdir/thumb2-cond.s tmpdir/thumb2-cond.o]} then { 37 set objfile [remote_download host tmpdir/thumb2-cond.o] 39 set objfile tmpdir/thumb2-cond.o 49 pass "thumb2-cond test1" 51 fail "thumb2-cond test1" 59 pass "thumb2-cond test2" 61 fail "thumb2-cond test2"
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
neon-cond-bad.d | 3 # error-output: neon-cond-bad.l
|
/device/google/marlin/camera/QCamera2/stack/common/ |
cam_semaphore.h | 50 pthread_cond_t cond; member in struct:__anon3531 56 PTHREAD_COND_INIT(&(s->cond)); 64 pthread_cond_signal(&(s->cond)); 73 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); 84 rc = pthread_cond_timedwait(&(s->cond), &(s->mutex), abs_timeout); 103 pthread_cond_destroy(&(s->cond));
|
/device/huawei/angler/camera/QCamera2/stack/common/ |
cam_semaphore.h | 50 pthread_cond_t cond; member in struct:__anon4158 56 PTHREAD_COND_INIT(&(s->cond)); 64 pthread_cond_signal(&(s->cond)); 73 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); 84 rc = pthread_cond_timedwait(&(s->cond), &(s->mutex), abs_timeout); 103 pthread_cond_destroy(&(s->cond));
|
/device/lge/bullhead/camera/QCamera2/stack/common/ |
cam_semaphore.h | 50 pthread_cond_t cond; member in struct:__anon4710 56 PTHREAD_COND_INIT(&(s->cond)); 64 pthread_cond_signal(&(s->cond)); 73 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); 84 rc = pthread_cond_timedwait(&(s->cond), &(s->mutex), abs_timeout); 103 pthread_cond_destroy(&(s->cond));
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
log.h | 176 #define CONDITION(cond) ((cond) != 0) 181 #define MPL_LOGV_IF(cond, fmt, ...) \ 184 #define MPL_LOGV_IF(cond, fmt, ...) \ 185 ((CONDITION(cond)) \ 204 #define MPL_LOGD_IF(cond, fmt, ...) \ 205 ((CONDITION(cond)) \ 227 #define MPL_LOGI_IF(cond, fmt, ...) \ 228 ((CONDITION(cond)) \ 245 #define MPL_LOGW_IF(cond, fmt, ...) [all...] |
/hardware/libhardware/modules/camera/3_4/ |
common.h | 30 #define HAL_LOGE_IF(cond, fmt, args...) do { \ 31 ALOGE_IF(cond, "%s:%d: " fmt, __func__, __LINE__, ##args); \ 38 #define HAL_LOGW_IF(cond, fmt, args...) do { \ 39 ALOGW_IF(cond, "%s:%d: " fmt, __func__, __LINE__, ##args); \ 46 #define HAL_LOGI_IF(cond, fmt, args...) do { \ 47 ALOGI_IF(cond, "%s:%d: " fmt, __func__, __LINE__, ##args); \
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
cam_semaphore.h | 50 pthread_cond_t cond; member in struct:__anon43791 56 PTHREAD_COND_INIT(&(s->cond)); 64 pthread_cond_signal(&(s->cond)); 73 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); 84 rc = pthread_cond_timedwait(&(s->cond), &(s->mutex), abs_timeout); 103 pthread_cond_destroy(&(s->cond));
|