Home
last modified time | relevance | path

Searched refs:constructors (Results 1 – 25 of 884) sorted by relevance

12345678910>>...36

/external/mbedtls/scripts/mbedtls_dev/
Dpsa_information.py18 self.constructors = self.read_psa_interface()
22 constructors: macro_collector.PSAMacroEnumerator
26 constructors.key_types.discard('PSA_KEY_TYPE_DSA_KEY_PAIR')
27 constructors.key_types.discard('PSA_KEY_TYPE_DSA_PUBLIC_KEY')
31 constructors = macro_collector.InputsForTest()
36 constructors.parse_header(header_file_name)
38 constructors.parse_test_cases(test_cases)
39 self.remove_unwanted_macros(constructors)
40 constructors.gather_arguments()
41 return constructors
/external/openthread/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dpsa_information.py19 self.constructors = self.read_psa_interface()
23 constructors: macro_collector.PSAMacroEnumerator
27 constructors.key_types.discard('PSA_KEY_TYPE_DSA_KEY_PAIR')
28 constructors.key_types.discard('PSA_KEY_TYPE_DSA_PUBLIC_KEY')
32 constructors = macro_collector.InputsForTest()
37 constructors.parse_header(header_file_name)
39 constructors.parse_test_cases(test_cases)
40 self.remove_unwanted_macros(constructors)
41 constructors.gather_arguments()
42 return constructors
/external/TestParameterInjector/junit4/src/main/java/com/google/testing/junit/testparameterinjector/
DTestParameterInjectorUtils.java35 ImmutableList<Constructor<?>> constructors = ImmutableList.copyOf(testClass.getConstructors()); in getOnlyConstructor() local
36 if (constructors.isEmpty()) { in getOnlyConstructor()
39 constructors = ImmutableList.copyOf(testClass.getDeclaredConstructors()); in getOnlyConstructor()
42 constructors.size() == 1, "Expected exactly one constructor, but got %s", constructors); in getOnlyConstructor() local
43 return getOnlyElement(constructors); in getOnlyConstructor()
/external/TestParameterInjector/junit5/src/main/java/com/google/testing/junit/testparameterinjector/junit5/
DTestParameterInjectorUtils.java35 ImmutableList<Constructor<?>> constructors = ImmutableList.copyOf(testClass.getConstructors()); in getOnlyConstructor() local
36 if (constructors.isEmpty()) { in getOnlyConstructor()
39 constructors = ImmutableList.copyOf(testClass.getDeclaredConstructors()); in getOnlyConstructor()
42 constructors.size() == 1, "Expected exactly one constructor, but got %s", constructors); in getOnlyConstructor() local
43 return getOnlyElement(constructors); in getOnlyConstructor()
/external/compiler-rt/test/BlocksRuntime/
Dcopyconstructor.C13 int constructors = 0; variable
36 ++constructors; in TestObject()
44 _version = ++constructors; in TestObject()
75 if (constructors == 0) { in main()
79 if (constructors != destructors) { in main()
80 printf("%d constructors but only %d destructors\n", constructors, destructors); in main()
Dreference.C17 int constructors = 0; variable
41 ++constructors; in TestObject()
49 _version = ++constructors; in TestObject()
/external/mbedtls/tests/scripts/
Dgenerate_psa_tests.py53 self.constructors = info.constructors
121 for key_type in sorted(self.constructors.key_types):
128 for curve_family in sorted(self.constructors.ecc_curves):
135 for dh_family in sorted(self.constructors.dh_groups):
166 self.constructors = info.constructors
212 for key_type in sorted(self.constructors.key_types):
219 for curve_family in sorted(self.constructors.ecc_curves):
223 for dh_family in sorted(self.constructors.dh_groups):
239 self.constructors = info.constructors
240 key_type_expressions = self.constructors.generate_expressions(
[all …]
/external/openthread/third_party/mbedtls/repo/tests/scripts/
Dgenerate_psa_tests.py53 self.constructors = info.constructors
121 for key_type in sorted(self.constructors.key_types):
128 for curve_family in sorted(self.constructors.ecc_curves):
135 for dh_family in sorted(self.constructors.dh_groups):
166 self.constructors = info.constructors
212 for key_type in sorted(self.constructors.key_types):
219 for curve_family in sorted(self.constructors.ecc_curves):
223 for dh_family in sorted(self.constructors.dh_groups):
239 self.constructors = info.constructors
240 key_type_expressions = self.constructors.generate_expressions(
[all …]
/external/angle/build/android/incremental_install/third_party/AndroidHiddenApiBypass/library/src/main/java/org/lsposed/hiddenapibypass/
DLSPass.java27 private static final Property<Class, Constructor[]> constructors; field in LSPass
32 constructors = Property.of(Class.class, Constructor[].class, "DeclaredConstructors");
53 return Arrays.<Constructor<?>>asList(constructors.get(clazz)); in getDeclaredConstructors()
135 var constructors = getDeclaredConstructors(clazz); in getDeclaredConstructor() local
137 for (var constructor : constructors) { in getDeclaredConstructor()
157 var constructors = getDeclaredConstructors(clazz); in newInstance() local
158 for (var constructor : constructors) { in newInstance()
/external/aws-sdk-java-v2/docs/design/
DFavorStaticFactoryMethods.md8 Static factory methods are preferable than constructors for the following reasons:
9 - Static factory methods provide meaningful names compared with constructors, which improves the re…
21 …rs to use static factory method to create new instances compared with constructors, but this can b…
22 - Classes without public or protected constructors cannot be subclassed, but this could encourage u…
24 In general, we should favor static factory methods over constructors.
/external/doclava/doclet_adapter/src/test/java/com/google/doclava/javadoc/
DClassDocImplTest.java62 private ClassDocImpl constructors; field in ClassDocImplTest
98 constructors = ClassDocImpl.create(CLASS.constructors, context); in setUp()
483 public void constructors() { in constructors() method in ClassDocImplTest
486 var ctors = constructors.constructors(); in constructors()
490 var enumConstructors = publicEnum.constructors(); in constructors()
503 var ctors = constructors.constructors(true); in constructors_filter_true()
507 var enumConstructors = publicEnum.constructors(true); in constructors_filter_true()
518 var ctors = constructors.constructors(false); in constructors_filter_false()
522 var enumConstructors = publicEnum.constructors(false); in constructors_filter_false()
/external/sdv/vsomeip/third_party/boost/config/test/
Dboost_no_iter_construct.ipp9 // TITLE: template iterator-constructors
11 // templated iterator constructors for its containers.
26 // now try constructors:
/external/javassist/sample/evolve/
DVersionManager.java68 Constructor[] constructors = clazz.getConstructors(); in make() local
69 int n = constructors.length; in make()
72 return constructors[i].newInstance(args); in make()
/external/deqp-deps/glslang/Test/
Dhlsl.constructimat.frag3 // integer mat constructors
19 // unsigned integer mat constructors
35 // boolean mat constructors
/external/angle/third_party/glslang/src/Test/
Dhlsl.constructimat.frag3 // integer mat constructors
19 // unsigned integer mat constructors
35 // boolean mat constructors
/external/javassist/src/main/javassist/tools/reflect/
DClassMetaobject.java56 private Constructor<?>[] constructors; field in ClassMetaobject
86 constructors = javaClass.getConstructors(); in ClassMetaobject()
98 constructors = javaClass.getConstructors(); in readObject()
138 int n = constructors.length; in newInstance()
141 return constructors[i].newInstance(args); in newInstance()
/external/python/cpython3/Lib/test/
Dtest_hashlib.py136 for algorithm, constructors in self.constructors_to_test.items():
137 constructors.add(getattr(hashlib, algorithm))
142 constructors.add(_test_algorithm_via_hashlib_new)
151 for algorithm, constructors in self.constructors_to_test.items():
160 constructors.add(constructor)
196 constructors = self.constructors_to_test.values()
197 return itertools.chain.from_iterable(constructors)
374 constructors = self.constructors_to_test[name]
376 self.assertGreaterEqual(len(constructors), 2)
377 for hash_object_constructor in constructors:
[all …]
/external/skia/experimental/tskit/go/gen_types/
Dgen_types.go105 currentWasmObject.constructors = append(currentWasmObject.constructors, export)
193 sort.Strings(obj.constructors)
195 for _, c := range obj.constructors {
240 constructors []string member
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider.java271 List<AssistedConstructor<?>> constructors = Lists.newArrayList(); in createMethodMapping() local
278 constructors.add(assistedConstructor); in createMethodMapping()
282 if (constructors.isEmpty()) { in createMethodMapping()
288 if (constructors.size() != factoryMethods.length) { in createMethodMapping()
292 implementationType, constructors.size(), factoryType, factoryMethods.length); in createMethodMapping()
297 for (AssistedConstructor<?> c : constructors) { in createMethodMapping()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
DConstructorResolutionLogic.java146 …List<ResolvedConstructorDeclaration> constructors, List<ResolvedType> argumentsTypes, TypeSolver t… in findMostApplicable() argument
148 findMostApplicable(constructors, argumentsTypes, typeSolver, false); in findMostApplicable()
152 return findMostApplicable(constructors, argumentsTypes, typeSolver, true); in findMostApplicable()
156 …List<ResolvedConstructorDeclaration> constructors, List<ResolvedType> argumentsTypes, TypeSolver t… in findMostApplicable() argument
157 …List<ResolvedConstructorDeclaration> applicableConstructors = constructors.stream().filter((m) -> … in findMostApplicable()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/
DConstructorResolutionLogic.java147 … List<ConstructorDeclaration> constructors, List<Type> argumentsTypes, TypeSolver typeSolver) { in findMostApplicable() argument
149 findMostApplicable(constructors, argumentsTypes, typeSolver, false); in findMostApplicable()
153 return findMostApplicable(constructors, argumentsTypes, typeSolver, true); in findMostApplicable()
156 …nstructorDeclaration> findMostApplicable(List<ConstructorDeclaration> constructors, List<Type> arg… in findMostApplicable() argument
157 …List<ConstructorDeclaration> applicableConstructors = constructors.stream().filter((m) -> isApplic… in findMostApplicable()
/external/kotlinpoet/docs/
Dconstructors.md4 `FunSpec` is a slight misnomer; it can also be used for constructors:
30 For the most part, constructors work just like methods. When emitting code, KotlinPoet will place
31 constructors before methods in the output file.
/external/dokka/core/src/test/kotlin/javadoc/
DJavadocTest.kt96 val constructors = classDoc.constructors() in <lambda>() constant
97 assertEquals(1, constructors.size) in <lambda>()
98 assertEquals(1, constructors.single().parameters().size) in <lambda>()
/external/javassist/src/main/javassist/
DSerialVersionUID.java142 CtConstructor[] constructors = clazz.getDeclaredConstructors(); in calculateDefault() local
143 Arrays.sort(constructors, new Comparator<CtConstructor>() { in calculateDefault()
151 for (int i = 0; i < constructors.length; i++) { in calculateDefault()
152 CtConstructor constructor = constructors[i]; in calculateDefault()
/external/pytorch/c10/
DBUCK.oss22 "-Wno-global-constructors",
44 '-Wno-global-constructors'

12345678910>>...36