Searched refs:cond (Results 51 - 75 of 927) sorted by relevance

1234567891011>>

/external/libevent/include/event2/
H A Dthread.h150 void (*free_condition)(void *cond);
152 * threads waiting on 'cond' should be woken; otherwise, only on one
157 int (*signal_condition)(void *cond, int broadcast);
168 int (*wait_condition)(void *cond, void *lock,
/external/libusb/libusb/os/
H A Dthreads_posix.h42 #define usbi_cond_init(cond) pthread_cond_init((cond), NULL)
53 int usbi_cond_timedwait(pthread_cond_t *cond,
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_validate.cpp33 #define fsv_assert(cond) \
34 if (!(cond)) { \
37 fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, #cond); \
/external/valgrind/none/tests/
H A Dppoll_alarm.c14 static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
21 pthread_cond_signal(&cond);
46 pthread_cond_wait(&cond, &mutex);
H A Dpselect_alarm.c15 static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
22 pthread_cond_signal(&cond);
47 pthread_cond_wait(&cond, &mutex);
/external/valgrind/none/tests/s390x/
H A Dtest.h16 #define TEST(cond) do { if (cond) SAY(#cond); } while (0)
/external/libcxx/test/libcxx/experimental/filesystem/class.path/path.itr/
H A Diterator_db.pass.cpp18 #define _LIBCPP_ASSERT(cond, msg) ((cond) ? ((void)0) : throw 42)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/
H A D3-1.c25 pthread_cond_t cond; local
36 rc = pthread_cond_init(&cond, &condattr);
/external/mesa3d/include/c11/
H A Dthreads_posix.h103 cnd_broadcast(cnd_t *cond) argument
105 assert(cond != NULL);
106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error;
111 cnd_destroy(cnd_t *cond) argument
113 assert(cond);
114 pthread_cond_destroy(cond);
119 cnd_init(cnd_t *cond) argument
121 assert(cond != NULL);
122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error;
127 cnd_signal(cnd_t *cond) argument
135 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const xtime *xt) argument
155 cnd_wait(cnd_t *cond, mtx_t *mtx) argument
[all...]
/external/v8/src/arm/
H A Dassembler-arm.h793 void b(int branch_offset, Condition cond = al);
794 void bl(int branch_offset, Condition cond = al);
796 void blx(Register target, Condition cond = al); // v5 and above
797 void bx(Register target, Condition cond = al); // v5 and above, plus v4t
800 void b(Label* L, Condition cond = al);
801 void b(Condition cond, Label* L) { b(L, cond); }
802 void bl(Label* L, Condition cond = al);
803 void bl(Condition cond, Label* L) { bl(L, cond); }
[all...]
/external/vixl/src/aarch32/
H A Dmacro-assembler-aarch32.cc223 void MacroAssembler::HandleOutOfBoundsImmediate(Condition cond, argument
228 mov(cond, tmp, imm & 0xffff);
234 mvn(cond, tmp, ~imm);
240 mvn(cond, tmp, ~imm);
245 mov(cond, tmp, imm & 0xffff);
246 movt(cond, tmp, imm >> 16);
251 Condition cond,
265 ITScope it_scope(this, &cond, guard);
296 sub(cond, scratch, base, sub_pc_offset);
307 add(cond, scratc
250 MemOperandComputationHelper( Condition cond, Register scratch, Register base, uint32_t offset, uint32_t extra_offset_mask) argument
950 Delegate(InstructionType type, InstructionCondSizeRL instruction, Condition cond, EncodingSize size, Register rd, Location* location) argument
974 GenerateSplitInstruction( InstructionCondSizeRROp instruction, Condition cond, Register rd, Register rn, uint32_t imm, uint32_t mask) argument
997 Delegate(InstructionType type, InstructionCondSizeRROp instruction, Condition cond, EncodingSize size, Register rd, Register rn, const Operand& operand) argument
1312 Delegate(InstructionType type, InstructionCondDtSSop instruction, Condition cond, DataType dt, SRegister rd, const SOperand& operand) argument
1343 Delegate(InstructionType type, InstructionCondDtDDop instruction, Condition cond, DataType dt, DRegister rd, const DOperand& operand) argument
1489 Delegate(InstructionType type, InstructionCondDtQQop instruction, Condition cond, DataType dt, QRegister rd, const QOperand& operand) argument
1634 Delegate(InstructionType type, InstructionCondRL instruction, Condition cond, Register rt, Location* location) argument
1673 Delegate(InstructionType type, InstructionCondRRL instruction, Condition cond, Register rt, Register rt2, Location* location) argument
1697 Delegate(InstructionType type, InstructionCondSizeRMop instruction, Condition cond, EncodingSize size, Register rd, const MemOperand& operand) argument
1894 Delegate(InstructionType type, InstructionCondRRMop instruction, Condition cond, Register rt, Register rt2, const MemOperand& operand) argument
2091 Delegate(InstructionType type, InstructionCondDtSMop instruction, Condition cond, DataType dt, SRegister rd, const MemOperand& operand) argument
2164 Delegate(InstructionType type, InstructionCondDtDMop instruction, Condition cond, DataType dt, DRegister rd, const MemOperand& operand) argument
2237 Delegate(InstructionType type, InstructionCondMsrOp instruction, Condition cond, MaskedSpecialRegister spec_reg, const Operand& operand) argument
2259 Delegate(InstructionType type, InstructionCondDtDL instruction, Condition cond, DataType dt, DRegister rd, Location* location) argument
2282 Delegate(InstructionType type, InstructionCondDtSL instruction, Condition cond, DataType dt, SRegister rd, Location* location) argument
[all...]
/external/clang/test/CodeGen/
H A Dconditional-gnu-ext.c32 _Complex int cond; local
/external/clang/test/SemaCXX/
H A Dexpression-traits.cpp518 void expr_cond(bool cond) argument
520 // 5.16 Conditional operator [expr.cond]
530 ASSERT_RVALUE(cond ? throw 1 : (void)0);
531 ASSERT_RVALUE(cond ? (void)0 : throw 1);
532 ASSERT_RVALUE(cond ? throw 1 : 0);
533 ASSERT_RVALUE(cond ? 0 : throw 1);
534 ASSERT_LVALUE(cond ? throw 1 : classLvalue);
535 ASSERT_LVALUE(cond ? classLvalue : throw 1);
540 ASSERT_RVALUE(cond ? (void)1 : (void)0);
541 ASSERT_RVALUE(cond
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/speculative/
H A D4-1.c9 * Test that EBUSY is returned when pthread_cond_destroy() is called on a cond
25 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
40 rc = pthread_cond_wait(&cond, &mutex);
61 if (pthread_cond_signal(&cond)) {
88 rc = pthread_cond_destroy(&cond);
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Dunit_test.h43 void test_check(struct test_result * result, int cond);
/external/valgrind/drd/tests/
H A Dpth_cond_destroy_busy.stderr.exp2 destruction of condition variable being waited upon: cond 0x........
5 cond 0x........ was first observed at:
/external/strace/tests/
H A Dnlattr_inet_diag_req_v2.c115 static const struct inet_diag_hostcond cond = { local
120 char buf[sizeof(op) + sizeof(cond)];
123 const unsigned int plen = sizeof(cond) - 1 > DEFAULT_STRLEN ?
125 memcpy(buf + sizeof(op), &pattern, sizeof(cond));
141 memcpy(buf + sizeof(op), &cond, sizeof(cond));
148 PRINT_FIELD_U(", ", cond, prefix_len);
149 PRINT_FIELD_U(", ", cond, port);
165 static const struct inet_diag_hostcond cond = { local
172 char buf[sizeof(op) + sizeof(cond)
216 static const struct inet_diag_hostcond cond = { local
[all...]
/external/strace/tests-m32/
H A Dnlattr_inet_diag_req_v2.c115 static const struct inet_diag_hostcond cond = { local
120 char buf[sizeof(op) + sizeof(cond)];
123 const unsigned int plen = sizeof(cond) - 1 > DEFAULT_STRLEN ?
125 memcpy(buf + sizeof(op), &pattern, sizeof(cond));
141 memcpy(buf + sizeof(op), &cond, sizeof(cond));
148 PRINT_FIELD_U(", ", cond, prefix_len);
149 PRINT_FIELD_U(", ", cond, port);
165 static const struct inet_diag_hostcond cond = { local
172 char buf[sizeof(op) + sizeof(cond)
216 static const struct inet_diag_hostcond cond = { local
[all...]
/external/strace/tests-mx32/
H A Dnlattr_inet_diag_req_v2.c115 static const struct inet_diag_hostcond cond = { local
120 char buf[sizeof(op) + sizeof(cond)];
123 const unsigned int plen = sizeof(cond) - 1 > DEFAULT_STRLEN ?
125 memcpy(buf + sizeof(op), &pattern, sizeof(cond));
141 memcpy(buf + sizeof(op), &cond, sizeof(cond));
148 PRINT_FIELD_U(", ", cond, prefix_len);
149 PRINT_FIELD_U(", ", cond, port);
165 static const struct inet_diag_hostcond cond = { local
172 char buf[sizeof(op) + sizeof(cond)
216 static const struct inet_diag_hostcond cond = { local
[all...]
/external/tensorflow/tensorflow/core/kernels/
H A Dcwise_op_select.cc41 const Tensor* cond; variable
44 OP_REQUIRES_OK(ctx, ctx->input("condition", &cond));
48 if (TensorShapeUtils::IsScalar(cond->shape())) {
49 ComputeScalar(ctx, cond, then, else_);
53 bool broadcasting = (TensorShapeUtils::IsVector(cond->shape()) &&
57 ComputeBroadcasting(ctx, cond, then, else_);
59 ComputeElementwise(ctx, cond, then, else_);
64 void ComputeBroadcasting(OpKernelContext* ctx, const Tensor* cond, argument
68 ctx, TensorShapeUtils::IsVector(cond->shape()),
69 errors::InvalidArgument("'cond' mus
111 ComputeElementwise(OpKernelContext* ctx, const Tensor* cond, const Tensor* then, const Tensor* else_) argument
124 ComputeScalar(OpKernelContext* ctx, const Tensor* cond, const Tensor* then, const Tensor* else_) argument
212 operator ()(const Device& d, typename TTypes<T>::Flat out, TTypes<bool>::ConstScalar cond, typename TTypes<T>::ConstFlat then_flat, typename TTypes<T>::ConstFlat else_flat) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_thread.h151 #define pipe_condvar_init(cond) \
152 cnd_init(&(cond))
154 #define pipe_condvar_destroy(cond) \
155 cnd_destroy(&(cond))
157 #define pipe_condvar_wait(cond, mutex) \
158 cnd_wait(&(cond), &(mutex))
160 #define pipe_condvar_signal(cond) \
161 cnd_signal(&(cond))
163 #define pipe_condvar_broadcast(cond) \
164 cnd_broadcast(&(cond))
250 pipe_condvar cond; member in struct:__anon16059
[all...]
/external/valgrind/VEX/priv/
H A Dguest_s390_helpers.c1848 ULong cond, cc_op; local
1860 cond = cond_expr->Iex.Const.con->Ico.U64;
1863 vassert(cond <= 15);
1868 | cond | 8 | 4 | 2 | 1 |
1877 cc == 0 --> cc_dep1 == cc_dep2 (cond == 8)
1878 cc == 1 --> cc_dep1 < cc_dep2 (cond == 4)
1879 cc == 2 --> cc_dep1 > cc_dep2 (cond == 2)
1881 Because cc == 3 cannot occur the rightmost bit of cond is
1884 if (cond == 8 || cond
[all...]
/external/python/cpython2/Lib/test/
H A Dlock_tests.py323 cond = self.condtype()
326 cond.acquire()
327 cond.acquire()
328 cond.release()
329 cond.release()
331 cond = self.condtype(lock)
332 cond.acquire()
334 cond.release()
336 self.assertFalse(cond.acquire(False))
338 with cond
[all...]
/external/python/cpython2/Doc/includes/
H A Dmp_benchmarks.py60 def pipe_func(c, cond, iterations):
62 cond.acquire()
63 cond.notify()
64 cond.release()
73 cond = multiprocessing.Condition()
81 args=(d, cond, iterations))
82 cond.acquire()
84 cond.wait()
85 cond.release()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
H A DCollationDataBuilder.java201 ConditionalCE32 cond = getConditionalCE32ForCE32(oldCE32);
202 cond.builtCE32 = Collation.NO_CE32;
203 cond.ce32 = ce32;
206 ConditionalCE32 cond;
214 cond = getConditionalCE32(index);
216 cond = getConditionalCE32ForCE32(oldCE32);
217 cond.builtCE32 = Collation.NO_CE32;
224 // invariant: context > cond.context
225 int next = cond.next;
227 // Append a new ConditionalCE32 after cond
636 copyContractionsFromBaseCE32(StringBuilder context, int c, int ce32, ConditionalCE32 cond) argument
[all...]

Completed in 1762 milliseconds

1234567891011>>