Home
last modified time | relevance | path

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

12345678910>>...15

/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/python/cpython2/Lib/test/
Dtest_hashlib.py64 for algorithm, constructors in self.constructors_to_test.items():
65 constructors.add(getattr(hashlib, algorithm))
70 constructors.add(_test_algorithm_via_hashlib_new)
78 for algorithm, constructors in self.constructors_to_test.items():
81 constructors.add(constructor)
102 constructors = self.constructors_to_test.itervalues()
103 for cons in itertools.chain.from_iterable(constructors):
169 constructors = self.constructors_to_test[name]
171 self.assertGreaterEqual(len(constructors), 2)
172 for hash_object_constructor in constructors:
[all …]
/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/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DExceptionsConstuctor.kt41 … val constructors = exception.javaClass.constructors.sortedByDescending { it.parameterTypes.size } in <lambda>() constant
42 for (constructor in constructors) { in <lambda>()
/external/python/cpython3/Lib/test/
Dtest_hashlib.py115 for algorithm, constructors in self.constructors_to_test.items():
116 constructors.add(getattr(hashlib, algorithm))
121 constructors.add(_test_algorithm_via_hashlib_new)
130 for algorithm, constructors in self.constructors_to_test.items():
139 constructors.add(constructor)
176 constructors = self.constructors_to_test.values()
177 return itertools.chain.from_iterable(constructors)
308 constructors = self.constructors_to_test[name]
310 self.assertGreaterEqual(len(constructors), 2)
311 for hash_object_constructor in constructors:
[all …]
Dtest_contains.py79 constructors = list, tuple, dict.fromkeys, set, frozenset, deque
80 for constructor in constructors:
/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/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/guava/android/guava/src/com/google/common/util/concurrent/
DFuturesGetChecked.java227 List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); in newWithCause() local
228 for (Constructor<X> constructor : preferringStrings(constructors)) { in newWithCause()
245 List<Constructor<X>> constructors) { in preferringStrings() argument
246 return WITH_STRING_PARAM_FIRST.sortedCopy(constructors); in preferringStrings()
/external/guava/guava/src/com/google/common/util/concurrent/
DFuturesGetChecked.java227 List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); in newWithCause() local
228 for (Constructor<X> constructor : preferringStrings(constructors)) { in newWithCause()
245 List<Constructor<X>> constructors) { in preferringStrings() argument
246 return WITH_STRING_PARAM_FIRST.sortedCopy(constructors); in preferringStrings()
/external/proguard/examples/
Dandroid.pro67 # Preserve all View implementations, their special context constructors, and
77 # Preserve all classes that have special context constructors, and the
78 # constructors themselves.
84 # Preserve all classes that have special context constructors, and the
85 # constructors themselves.
/external/dokka/core/src/test/kotlin/model/
DJavaTest.kt102 @Test fun constructors() { in <lambda>() method in org.jetbrains.dokka.tests.JavaTest
104 val constructors = cls.members(NodeKind.Constructor) in <lambda>() constant
105 assertEquals(2, constructors.size) in <lambda>()
106 with(constructors[0]) { in <lambda>()
/external/proguard/examples/gradle/
Dandroid.gradle87 // Preserve all View implementations, their special context constructors, and
97 // Preserve all classes that have special context constructors, and the
98 // constructors themselves.
104 // Preserve all classes that have special context constructors, and the
105 // constructors themselves.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DParameterizedRobolectricTestRunner.java102 Constructor<?>[] constructors = bootstrappedClass.getConstructors(); in createTestInstance() local
103 Assert.assertEquals(1, constructors.length); in createTestInstance()
105 return constructors[0].newInstance(computeParams(bootstrappedClass.getClassLoader())); in createTestInstance()
107 Object instance = constructors[0].newInstance(); in createTestInstance()
/external/dokka/core/src/main/kotlin/Kotlin/
DExternalDocumentationLinkResolver.kt148 val constructors = resolverClass.constructors in loadPackageList() constant
150 val constructor = constructors.singleOrNull() in loadPackageList()
151 ?: constructors.first { it.findAnnotation<Inject>() != null } in loadPackageList()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DReflectionLongAdderCounter.java50 Constructor<?>[] constructors = klass.getConstructors();
51 for (Constructor<?> ctor : constructors) {
/external/clang/docs/analyzer/
DIPA.txt43 -analyzer-config c++-inlining=[none | methods | constructors | destructors]
47 constructors, for example.
53 Note that under 'constructors', constructors for types with non-trivial
90 This option controls whether constructors and destructors of "container" types
95 Currently, these constructors and destructors are NOT considered for inlining
109 state, which is what happens when their constructors are treated as opaque.
184 - In C++, constructors are not inlined unless the destructor call will be
188 constructors for objects with trivial constructors can still be inlined.)
192 or operator 'delete', nor does it inline the constructors and destructors
347 which base constructors have been completed. This is tracked using
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.shaders.arrays.txt25 + Array definition and constructors
31 + Negative tests for illegal C-style constructors
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DFieldInitializer.java295 …final List<? extends Constructor<?>> constructors = Arrays.asList(clazz.getDeclaredConstructors()); in biggestConstructor() local
296 Collections.sort(constructors, byParameterNumber); in biggestConstructor()
298 Constructor<?> constructor = constructors.get(0); in biggestConstructor()
/external/junit/src/main/java/org/junit/experimental/theories/
DTheories.java140 Constructor<?>[] constructors = supplierClass.getConstructors(); in validateParameterSupplier() local
142 if (constructors.length != 1) { in validateParameterSupplier()
146 Class<?>[] paramTypes = constructors[0].getParameterTypes(); in validateParameterSupplier()
/external/junit/src/main/java/org/junit/runners/model/
DTestClass.java203 Constructor<?>[] constructors = clazz.getConstructors(); in getOnlyConstructor() local
204 Assert.assertEquals(1, constructors.length); in getOnlyConstructor()
205 return constructors[0]; in getOnlyConstructor()

12345678910>>...15