/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/ |
D | TournamentSelection.java | 34 private int arity; field in TournamentSelection 42 public TournamentSelection(int arity) { in TournamentSelection() argument 43 this.arity = arity; in TournamentSelection() 73 if (population.getPopulationSize() < this.arity) in tournament() 76 ListPopulation tournamentPopulation = new ListPopulation(this.arity) { in tournament() 85 for (int i=0; i<this.arity; i++) { in tournament() 102 return arity; in getArity() 110 public void setArity(int arity) { in setArity() argument 111 this.arity = arity; in setArity()
|
/external/ceres-solver/internal/ceres/ |
D | gradient_checking_cost_function_test.cc | 72 TestTerm(int arity, int const *dim) : arity_(arity) { in TestTerm() argument 136 int const arity = 3; in TEST() local 137 int const dim[arity] = { 2, 3, 4 }; in TEST() 140 vector<double*> parameters(arity); in TEST() 141 for (int j = 0; j < arity; ++j) { in TEST() 150 vector<double*> original_jacobians(arity); in TEST() 151 vector<double*> jacobians(arity); in TEST() 153 for (int j = 0; j < arity; ++j) { in TEST() 163 TestTerm<-1, -1> term(arity, dim); in TEST() 178 for (int j = 0; j < arity; j++) { in TEST() [all …]
|
D | gradient_checker_test.cc | 56 GoodTestTerm(int arity, int const *dim) : arity_(arity) { in GoodTestTerm() argument 109 BadTestTerm(int arity, int const *dim) : arity_(arity) { in BadTestTerm() argument 164 int const arity = 3; in TEST() local 165 int const dim[arity] = { 2, 3, 4 }; in TEST() 168 FixedArray<double*> parameters(arity); in TEST() 169 for (int j = 0; j < arity; ++j) { in TEST() 177 GoodTestTerm good_term(arity, dim); in TEST() 182 BadTestTerm bad_term(arity, dim); in TEST() 187 for (int j = 0; j < arity; j++) { in TEST()
|
/external/v8/src/compiler/ |
D | js-call-reducer.cc | 70 DCHECK_LE(2u, p.arity()); in ReduceArrayConstructor() 71 size_t const arity = p.arity() - 2; in ReduceArrayConstructor() local 78 NodeProperties::ChangeOp(node, javascript()->CreateArray(arity, site)); in ReduceArrayConstructor() 89 DCHECK_LE(2u, p.arity()); in ReduceNumberConstructor() 90 Node* value = (p.arity() == 2) ? jsgraph()->ZeroConstant() in ReduceNumberConstructor() 106 size_t arity = p.arity(); in ReduceFunctionPrototypeApply() local 107 DCHECK_LE(2u, arity); in ReduceFunctionPrototypeApply() 109 if (arity == 2) { in ReduceFunctionPrototypeApply() 114 } else if (arity == 3) { in ReduceFunctionPrototypeApply() 117 --arity; in ReduceFunctionPrototypeApply() [all …]
|
D | js-operator.cc | 114 return lhs.arity() == rhs.arity() && lhs.feedback() == rhs.feedback(); in operator ==() 125 return base::hash_combine(p.arity(), p.feedback()); in hash_value() 130 return os << p.arity(); in operator <<() 141 os << p.arity() << ", " << p.language_mode() << ", " << p.convert_mode() in operator <<() 155 return lhs.id() == rhs.id() && lhs.arity() == rhs.arity(); in operator ==() 166 return base::hash_combine(p.id(), p.arity()); in hash_value() 171 return os << p.id() << ", " << p.arity(); in operator <<() 401 return lhs.arity() == rhs.arity() && in operator ==() 413 return base::hash_combine(p.arity(), p.site().location()); in hash_value() 418 os << p.arity(); in operator <<() [all …]
|
D | js-operator.h | 94 CallConstructParameters(size_t arity, VectorSlotPair const& feedback) in CallConstructParameters() argument 95 : arity_(arity), feedback_(feedback) {} in CallConstructParameters() 97 size_t arity() const { return arity_; } in arity() function 119 CallFunctionParameters(size_t arity, LanguageMode language_mode, in CallFunctionParameters() argument 123 : bit_field_(ArityField::encode(arity) | in CallFunctionParameters() 129 size_t arity() const { return ArityField::decode(bit_field_); } in arity() function 174 CallRuntimeParameters(Runtime::FunctionId id, size_t arity) in CallRuntimeParameters() argument 175 : id_(id), arity_(arity) {} in CallRuntimeParameters() 178 size_t arity() const { return arity_; } in arity() function 392 explicit CreateArrayParameters(size_t arity, Handle<AllocationSite> site) in CreateArrayParameters() argument [all …]
|
D | raw-machine-assembler.cc | 165 Node* arity = Int32Constant(1); in CallRuntime1() local 167 return AddNode(common()->Call(descriptor), centry, arg1, ref, arity, context); in CallRuntime1() 180 Node* arity = Int32Constant(2); in CallRuntime2() local 182 return AddNode(common()->Call(descriptor), centry, arg1, arg2, ref, arity, in CallRuntime2() 197 Node* arity = Int32Constant(4); in CallRuntime4() local 200 ref, arity, context); in CallRuntime4() 234 Node* arity = Int32Constant(kArity); in TailCallRuntime1() local 236 Node* nodes[] = {centry, arg1, ref, arity, context}; in TailCallRuntime1() 258 Node* arity = Int32Constant(kArity); in TailCallRuntime2() local 260 Node* nodes[] = {centry, arg1, arg2, ref, arity, context}; in TailCallRuntime2()
|
D | js-typed-lowering.cc | 1752 if (p.arity() == 0) { in ReduceJSCreateArray() 1756 } else if (p.arity() == 1) { in ReduceJSCreateArray() 1775 if (p.arity() == 0) { in ReduceJSCreateArray() 1786 } else if (p.arity() == 1) { in ReduceJSCreateArray() 1800 int const arity = static_cast<int>(p.arity()); in ReduceJSCreateArray() local 1805 arity + 1, CallDescriptor::kNeedsFrameState); in ReduceJSCreateArray() 1808 node->InsertInput(graph()->zone(), 3, jsgraph()->Int32Constant(arity)); in ReduceJSCreateArray() 2085 DCHECK_LE(2u, p.arity()); in ReduceJSCallConstruct() 2086 int const arity = static_cast<int>(p.arity() - 2); in ReduceJSCallConstruct() local 2089 Node* new_target = NodeProperties::GetValueInput(node, arity + 1); in ReduceJSCallConstruct() [all …]
|
D | js-generic-lowering.cc | 232 Node* arity = jsgraph()->Int32Constant(nargs); in ReplaceWithRuntimeCall() local 235 node->InsertInput(zone(), nargs + 2, arity); in ReplaceWithRuntimeCall() 475 int const arity = static_cast<int>(p.arity()); in LowerJSCreateArray() local 487 node->InsertInput(zone(), 1 + arity, new_target); in LowerJSCreateArray() 488 node->InsertInput(zone(), 2 + arity, type_info); in LowerJSCreateArray() 489 ReplaceWithRuntimeCall(node, Runtime::kNewArray, arity + 3); in LowerJSCreateArray() 562 int const arg_count = static_cast<int>(p.arity() - 2); in LowerJSCallConstruct() 582 int const arg_count = static_cast<int>(p.arity() - 2); in LowerJSCallFunction() 602 ReplaceWithRuntimeCall(node, p.id(), static_cast<int>(p.arity())); in LowerJSCallRuntime()
|
D | bytecode-graph-builder.h | 120 interpreter::Register receiver, size_t arity); 123 interpreter::Register first_arg, size_t arity); 126 size_t arity);
|
D | bytecode-graph-builder.cc | 1181 size_t arity) { in ProcessCallArguments() argument 1182 Node** all = info()->zone()->NewArray<Node*>(static_cast<int>(arity)); in ProcessCallArguments() 1186 for (int i = 2; i < static_cast<int>(arity); ++i) { in ProcessCallArguments() 1190 Node* value = MakeNode(call_op, static_cast<int>(arity), all, false); in ProcessCallArguments() 1243 size_t arity) { in ProcessCallRuntimeArguments() argument 1244 Node** all = info()->zone()->NewArray<Node*>(arity); in ProcessCallRuntimeArguments() 1246 for (int i = 0; i < static_cast<int>(arity); ++i) { in ProcessCallRuntimeArguments() 1250 Node* value = MakeNode(call_runtime_op, static_cast<int>(arity), all, false); in ProcessCallRuntimeArguments() 1288 interpreter::Register first_arg, size_t arity) { in ProcessCallNewArguments() argument 1289 Node** all = info()->zone()->NewArray<Node*>(arity); in ProcessCallNewArguments() [all …]
|
D | js-intrinsic-lowering.cc | 591 size_t const arity = CallRuntimeParametersOf(node->op()).arity(); in ReduceCall() local 593 node, javascript()->CallFunction(arity, STRICT, VectorSlotPair(), in ReduceCall() 601 size_t const arity = CallRuntimeParametersOf(node->op()).arity(); in ReduceTailCall() local 603 node, javascript()->CallFunction(arity, STRICT, VectorSlotPair(), in ReduceTailCall()
|
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
D | JAXPExtensionsProvider.java | 125 int arity = argVec.size(); in extFunction() local 128 resolver.resolveFunction ( myQName, arity ); in extFunction() 131 ArrayList argList = new ArrayList( arity); in extFunction() 132 for ( int i=0; i<arity; i++ ) { in extFunction() 166 int arity = extFunction.getArgCount(); in extFunction() local 180 resolver.resolveFunction( myQName, arity ); in extFunction() 182 ArrayList argList = new ArrayList( arity); in extFunction() 183 for ( int i=0; i<arity; i++ ) { in extFunction()
|
/external/owasp/sanitizer/empiricism/ |
D | html-containment.js | 27 var arity = makeHtmlString.length; 28 var nRuns = Math.pow(nElements, arity); 30 var paramIndices = new Array(arity); 31 var paramValues = new Array(arity); 32 for (var i = 0; i < arity; ++i) { 56 for (i = arity; --i >= 0;) { 95 paramValues.length = arity; 121 paramValues[arity] = iframe.contentDocument.body; 122 paramValues[arity + 1] = result; 124 paramValues.length = arity;
|
/external/jcommander/src/main/java/com/beust/jcommander/ |
D | JCommander.java | 721 && pd.getParameter().arity() == -1) { in parseValues() 843 int arity = va.processVariableArity(pd.getParameter().names()[0], in processVariableArity() local 846 int result = processFixedArity(args, index, pd, List.class, arity); in processVariableArity() 854 int arity = pd.getParameter().arity(); in processFixedArity() local 855 int n = (arity != -1 ? arity : 1); in processFixedArity() 861 Class<?> fieldType, int arity) { in processFixedArity() argument 865 if (arity == 0 && in processFixedArity() 873 if (index + arity < args.length) { in processFixedArity() 874 for (int j = 1; j <= arity; j++) { in processFixedArity() 878 index += arity + offset; in processFixedArity() [all …]
|
D | WrappedParameter.java | 29 public int arity() { in arity() method in WrappedParameter 30 return m_parameter != null ? m_parameter.arity() : 1; in arity()
|
D | Parameter.java | 63 int arity() default -1; in arity() method
|
/external/llvm/test/CodeGen/X86/GC/ |
D | erlang-gc.ll | 13 ; CHECK64-NEXT: .short 0 # stack arity 21 ; CHECK32-NEXT: .short 0 # stack arity
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
D | ArgsBooleanArity0.java | 24 @Parameter(names = "-debug", arity = 0)
|
D | ArgsBooleanArity.java | 24 @Parameter(names = "-debug", arity = 1)
|
D | Arity1.java | 7 @Parameter(arity = 1, names = "-inspect", description = "", required = false)
|
D | SeparatorColon.java | 27 @Parameter(names = "-verbose", arity = 1)
|
D | ArgsArityString.java | 32 @Parameter(names = "-pairs", arity = 2, description = "Pairs")
|
D | ArgsArityInteger.java | 32 @Parameter(names = "-pairs", arity = 2, description = "Pairs")
|
/external/valgrind/VEX/priv/ |
D | guest_arm_helpers.c | 564 Int i, arity = 0; in guest_arm_spechelper() local 566 arity++; in guest_arm_spechelper() 570 for (i = 0; i < arity; i++) { in guest_arm_spechelper() 586 vassert(arity == 4); in guest_arm_spechelper() 822 vassert(arity == 4); in guest_arm_spechelper() 872 vassert(arity == 4); in guest_arm_spechelper()
|