Searched refs:cond (Results 251 - 275 of 927) sorted by relevance

<<11121314151617181920>>

/external/protobuf/src/google/protobuf/stubs/
H A Dtemplate_util.h95 // if_<cond, A, B> is a compile time evaluation of cond.
96 // if_<>::type contains A if cond is true, B otherwise.
97 template<bool cond, typename A, typename B>
/external/selinux/libsepol/include/sepol/policydb/
H A Dexpand.h75 cond_av_list_t ** cond, cond_av_list_t ** other,
/external/selinux/libsepol/tests/
H A Dlibsepol-tests.c21 #include "test-cond.h"
63 DECLARE_SUITE(cond);
/external/swiftshader/src/OpenGL/compiler/
H A DIntermTraverse.cpp289 if(cond)
291 cond->traverse(it);
296 if(cond)
298 cond->traverse(it);
/external/swiftshader/third_party/subzero/pydir/
H A Dif.py20 argparser.add_argument('--cond', choices={'true', 'false'} , required=False,
41 if args.cond == 'true' and set(args.need) <= set(args.have):
/external/syslinux/gnu-efi/gnu-efi-3.0/gnuefi/
H A Dcrt0-efi-ia64.S53 (p6) br.cond.sptk.few .exit // no ->
/external/tensorflow/tensorflow/cc/ops/
H A Dwhile_loop.cc90 // Creates the condition subgraph defined by `cond`.
91 Status CreateCond(const Scope& scope, const CondGraphBuilderFn& cond, argument
93 // The control dependency is for constants in the cond graph, and other ops
98 // TODO(skyewm): the control dep will be added to all nodes in the cond graph.
102 scope.NewSubScope("cond").WithControlDependencies(inputs[0]);
104 TF_RETURN_IF_ERROR(cond(cond_scope, inputs, &raw_cond_out));
110 "BuildWhileLoop: 'cond' argument must return a boolean output, got ",
159 // +---->| cond subgraph | |
173 const CondGraphBuilderFn& cond,
197 TF_RETURN_IF_ERROR(CreateCond(scope, cond, merge_output
172 BuildWhileLoop(const Scope& scope, const std::vector<Output>& inputs, const CondGraphBuilderFn& cond, const BodyGraphBuilderFn& body, const string& frame_name, OutputList* outputs, bool create_while_ctx, Output* cond_output) argument
[all...]
/external/tensorflow/tensorflow/contrib/py2tf/utils/
H A Dmultiple_dispatch.py38 Tensor, tf.cond will be used. Otherwise, a standard Python if statement will
42 return control_flow_ops.cond(condition, true_fn, false_fn)
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
H A Dlinear_operator_full_matrix_test.py88 cond = np.linalg.cond(matrix)
89 self.assertTrue(np.isfinite(cond))
90 self.assertGreater(cond, 1e12)
/external/tensorflow/tensorflow/python/ops/
H A Dcontrol_flow_ops_test.py202 def cond(it, _): function in function:SwitchTestCase.testIndexedSlicesGradient
211 cond, body, [constant_op.constant(0),
227 def cond(it, _): function in function:SwitchTestCase.testResourceReadInLoop
236 cond, body, [constant_op.constant(0),
249 def cond(it, _): function in function:SwitchTestCase.doTestIndexedSlicesGradientInCondInWhileLoop
254 cost = control_flow_ops.cond(
260 cond, body, [constant_op.constant(0),
295 def cond(i, _): function in function:SwitchTestCase.testIndexedSlicesWithShapeGradientInWhileLoop
303 _, outputs = control_flow_ops.while_loop(cond, body,
322 def cond( function in function:SwitchTestCase.testIndexedSlicesWithDynamicShapeGradientInWhileLoop
[all...]
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qir.h178 /* Jumps to block->successor[0] if the qinst->cond (as a
204 uint8_t cond; member in struct:qinst
748 qir_SEL(struct vc4_compile *c, uint8_t cond, struct qreg src0, struct qreg src1) argument
752 qir_MOV_dest(c, t, src0)->cond = cond;
852 qir_MOV_cond(struct vc4_compile *c, uint8_t cond, argument
856 mov->cond = cond;
861 qir_BRANCH(struct vc4_compile *c, uint8_t cond) argument
864 inst->cond
[all...]
H A Dvc4_qpu_emit.c63 set_last_cond_add(struct qblock *block, uint32_t cond) argument
65 *last_inst(block) = qpu_set_cond_add(*last_inst(block), cond);
69 set_last_cond_mul(struct qblock *block, uint32_t cond) argument
71 *last_inst(block) = qpu_set_cond_mul(*last_inst(block), cond);
473 set_last_cond_mul(block, qinst->cond);
523 queue(block, (qpu_branch(qinst->cond, 0) |
560 set_last_cond_mul(block, qinst->cond);
565 set_last_cond_add(block, qinst->cond);
573 assert(qinst->cond == QPU_COND_ALWAYS ||
/external/fio/
H A Dworkqueue.c114 pthread_cond_signal(&sw->cond);
195 pthread_cond_wait(&sw->cond, &sw->lock);
218 pthread_cond_destroy(&sw->cond);
245 pthread_cond_signal(&sw->cond);
278 ret = mutex_cond_init_pshared(&sw->lock, &sw->cond);
/external/valgrind/VEX/priv/
H A Dguest_amd64_helpers.c842 ULong amd64g_calculate_condition ( ULong/*AMD64Condcode*/ cond, argument
851 ULong inv = cond & 1;
855 tab_cond[cc_op][cond]++;
860 switch (cond) {
913 cond, cc_op, cc_dep1, cc_dep2, cc_ndep );
1044 IRExpr *cond, *cc_op, *cc_dep1, *cc_dep2; local
1046 cond = args[0];
1053 if (isU64(cc_op, AMD64G_CC_OP_ADDQ) && isU64(cond, AMD64CondZ)) {
1063 if (isU64(cc_op, AMD64G_CC_OP_ADDL) && isU64(cond, AMD64CondO)) {
1091 if (isU64(cc_op, AMD64G_CC_OP_SUBQ) && isU64(cond, AMD64Cond
[all...]
H A Dhost_amd64_defs.c159 const HChar* showAMD64CondCode ( AMD64CondCode cond )
161 switch (cond) {
677 AMD64Instr* AMD64Instr_Call ( AMD64CondCode cond, Addr64 target, Int regparms, argument
681 i->Ain.Call.cond = cond;
691 AMD64CondCode cond, Bool toFastEP ) {
696 i->Ain.XDirect.cond = cond;
701 AMD64CondCode cond ) {
706 i->Ain.XIndir.cond
690 AMD64Instr_XDirect( Addr64 dstGA, AMD64AMode* amRIP, AMD64CondCode cond, Bool toFastEP ) argument
709 AMD64Instr_XAssisted( HReg dstGA, AMD64AMode* amRIP, AMD64CondCode cond, IRJumpKind jk ) argument
720 AMD64Instr_CMov64( AMD64CondCode cond, HReg src, HReg dst ) argument
729 AMD64Instr_CLoad( AMD64CondCode cond, UChar szB, AMD64AMode* addr, HReg dst ) argument
740 AMD64Instr_CStore( AMD64CondCode cond, UChar szB, HReg src, AMD64AMode* addr ) argument
779 AMD64Instr_Set64( AMD64CondCode cond, HReg dst ) argument
913 AMD64Instr_SseCStore( AMD64CondCode cond, HReg src, AMD64AMode* addr ) argument
924 AMD64Instr_SseCLoad( AMD64CondCode cond, AMD64AMode* addr, HReg dst ) argument
989 AMD64Instr_SseCMov( AMD64CondCode cond, HReg src, HReg dst ) argument
[all...]
/external/vixl/test/aarch32/
H A Dtest-assembler-cond-rdlow-rnlow-operand-immediate-zero-t32.cc65 Condition cond; member in struct:vixl::aarch32::__anon30027::Operands
162 #include "aarch32/traces/assembler-cond-rdlow-rnlow-operand-immediate-zero-rsbs-t32.h"
168 typedef void (MacroAssembler::*Fn)(Condition cond,
183 Condition cond = kTests[i].operands.cond; local
197 (masm.*instruction)(cond, rd, rn, op);
H A Dtest-assembler-cond-rdlow-rnlow-rmlow-t32.cc65 Condition cond; member in struct:vixl::aarch32::__anon30029::Operands
162 #include "aarch32/traces/assembler-cond-rdlow-rnlow-rmlow-muls-t32.h"
168 typedef void (MacroAssembler::*Fn)(Condition cond,
183 Condition cond = kTests[i].operands.cond; local
196 (masm.*instruction)(cond, rd, rn, rm);
/external/v8/src/arm64/
H A Dmacro-assembler-arm64.h280 Condition cond);
284 Condition cond);
288 Condition cond,
293 Condition cond);
349 inline void B(Condition cond, Label* label);
350 void B(Label* label, Condition cond);
366 inline void Cinc(const Register& rd, const Register& rn, Condition cond);
367 inline void Cinv(const Register& rd, const Register& rn, Condition cond);
370 inline void Cneg(const Register& rd, const Register& rn, Condition cond);
371 inline void CzeroX(const Register& rd, Condition cond);
[all...]
/external/v8/src/mips/
H A Dmacro-assembler-mips.cc77 Condition cond,
79 Branch(2, NegateCondition(cond), src1, src2);
93 Condition cond,
96 Branch(2, NegateCondition(cond), src1, src2);
2046 Label* nan, Condition cond, FPURegister cmp1,
2050 if (cond == al) {
2104 Condition neg_cond = NegateFpuCondition(cond);
2109 BranchShortF(sizeField, target, cond, cmp1, cmp2, bd);
2560 #define BRANCH_ARGS_CHECK(cond, rs, rt) DCHECK( \
2561 (cond
75 LoadRoot(Register destination, Heap::RootListIndex index, Condition cond, Register src1, const Operand& src2) argument
91 StoreRoot(Register source, Heap::RootListIndex index, Condition cond, Register src1, const Operand& src2) argument
3821 DropAndRet(int drop, Condition cond, Register r1, const Operand& r2) argument
3840 Drop(int count, Condition cond, Register reg, const Operand& op) argument
4279 CompareMapAndBranch(Register obj, Register scratch, Handle<Map> map, Label* early_success, Condition cond, Label* branch_to) argument
4290 CompareMapAndBranch(Register obj_map, Handle<Map> map, Label* early_success, Condition cond, Label* branch_to) argument
4750 CallStub(CodeStub* stub, TypeFeedbackId ast_id, Condition cond, Register r1, const Operand& r2, BranchDelaySlot bd) argument
4762 TailCallStub(CodeStub* stub, Condition cond, Register r1, const Operand& r2, BranchDelaySlot bd) argument
[all...]
/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dwhile_test.cc971 ComputationBuilder cond(client_, "cond");
972 auto cond_t = cond.Parameter(0, *tuple_shape, "t");
973 TF_ASSERT_OK(Any(cond.Eq(cond.GetTupleElement(cond_t, 0),
974 cond.ConstantR1<float>({42, 42})),
975 &cond)
983 TF_ASSERT_OK_AND_ASSIGN(auto cond_computation, cond.Build());
1003 ComputationBuilder cond(client_, "cond");
[all...]
/external/python/cpython2/Lib/
H A Dbdb.py251 def set_break(self, filename, lineno, temporary=0, cond = None,
264 bp = Breakpoint(filename, lineno, temporary, cond, funcname)
473 def __init__(self, file, line, temporary=0, cond=None, funcname=None):
480 self.cond = cond
521 if self.cond:
522 print >>out, '\tstop only if %s' % (self.cond,)
578 if not b.cond:
593 val = eval(b.cond, frame.f_globals,
/external/python/cpython3/Lib/
H A Dbdb.py277 def set_break(self, filename, lineno, temporary=False, cond=None,
287 bp = Breakpoint(filename, lineno, temporary, cond, funcname)
501 def __init__(self, file, line, temporary=False, cond=None, funcname=None):
508 self.cond = cond
551 if self.cond:
552 ret += '\n\tstop only if %s' % (self.cond,)
612 if not b.cond:
625 val = eval(b.cond, frame.f_globals, frame.f_locals)
/external/libxcam/cl_kernel/
H A Dkernel_tnr.cl107 int cond;
123 cond = (var.x + var.y + var.z) < (thr_r + thr_g + thr_b);
124 gain = cond ? 1.0f : 0.0f;
136 cond = (var.x + var.y + var.z) < (thr_r + thr_g + thr_b);
137 gain = cond ? 1.0f : 0.0f;
149 cond = (var.x + var.y + var.z) < (thr_r + thr_g + thr_b);
150 gain = cond ? 1.0f : 0.0f;
/external/scapy/scapy/
H A Dautomaton.py292 def action(cond, prio=0):
293 def deco(f,cond=cond):
297 f.atmt_cond[cond.atmt_condname] = prio
683 def _run_condition(self, cond, *args, **kargs):
685 self.debug(5, "Trying %s [%s]" % (cond.atmt_type, cond.atmt_condname))
686 cond(self,*args, **kargs)
688 self.debug(2, "%s [%s] taken to state [%s]" % (cond.atmt_type, cond
[all...]
/external/vixl/src/aarch64/
H A Dmacro-assembler-aarch64.cc587 void MacroAssembler::B(Label* label, Condition cond) { argument
594 VIXL_ASSERT((cond != al) && (cond != nv));
599 b(&done, InvertCondition(cond));
608 b(label, cond);
1158 Condition cond) {
1161 ConditionalCompareMacro(rn, -operand.GetImmediate(), nzcv, cond, CCMN);
1163 ConditionalCompareMacro(rn, operand, nzcv, cond, CCMP);
1171 Condition cond) {
1174 ConditionalCompareMacro(rn, -operand.GetImmediate(), nzcv, cond, CCM
1155 Ccmp(const Register& rn, const Operand& operand, StatusFlags nzcv, Condition cond) argument
1168 Ccmn(const Register& rn, const Operand& operand, StatusFlags nzcv, Condition cond) argument
1181 ConditionalCompareMacro(const Register& rn, const Operand& operand, StatusFlags nzcv, Condition cond, ConditionalCompareOp op) argument
1209 CselHelper(MacroAssembler* masm, const Register& rd, Operand left, Operand right, Condition cond, bool* should_synthesise_left, bool* should_synthesise_right) argument
1306 CselSubHelperTwoImmediates(MacroAssembler* masm, const Register& rd, int64_t left, int64_t right, Condition cond, bool* should_synthesise_left, bool* should_synthesise_right) argument
1348 CselSubHelperTwoOrderedImmediates(MacroAssembler* masm, const Register& rd, int64_t left, int64_t right, Condition cond) argument
1366 CselSubHelperRightSmallImmediate( MacroAssembler* masm, UseScratchRegisterScope* temps, const Register& rd, const Operand& left, const Operand& right, Condition cond, bool* should_synthesise_left) argument
[all...]

Completed in 579 milliseconds

<<11121314151617181920>>