Home
last modified time | relevance | path

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

12345678910>>...23

/external/llvm-project/compiler-rt/test/BlocksRuntime/
Dcopyconstructor.C12 int constructors = 0; variable
35 ++constructors; in TestObject()
43 _version = ++constructors; in TestObject()
74 if (constructors == 0) { in main()
78 if (constructors != destructors) { in main()
79 printf("%d constructors but only %d destructors\n", constructors, destructors); in main()
Dreference.C16 int constructors = 0; variable
40 ++constructors; in TestObject()
48 _version = ++constructors; in TestObject()
/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/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dbugprone-forwarding-reference-overload.rst6 The check looks for perfect forwarding constructors that can hide copy or move
7 constructors. If a non const lvalue reference is passed to the constructor, the
36 The check warns for constructors C1 and C2, because those can hide copy and move
37 constructors. We suppress warnings if the copy and the move constructors are both
39 constructor could hide in this case. We also suppress warnings for constructors
Dperformance-noexcept-move-constructor.rst7 The check flags user-defined move constructors and assignment operators not
11 Move constructors of all the types used with STL containers, for example,
12 need to be declared ``noexcept``. Otherwise STL will choose copy constructors
Dmodernize-pass-by-value.rst7 move constructors added for many types it is now interesting to take an
28 Currently, only constructors are transformed to make use of pass-by-value.
32 Pass-by-value in constructors
123 When delayed template parsing is enabled, constructors part of templated
124 contexts; templated constructors, constructors in class templates, constructors
Dgoogle-explicit-constructor.rst7 Checks that constructors callable with a single argument and conversion
30 conversion operator declaration. However, copy and move constructors should not
31 be explicit, as well as constructors taking a single ``initializer_list``
Dbugprone-copy-constructor-init.rst6 Finds copy constructors where the constructor doesn't call
20 Also finds copy constructors where the constructor of
/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/vulkan-deps/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/llvm-project/clang/test/SemaObjCXX/
Dattr-trivial-abi.mm106 …not be applied to 'CopyMoveDeleted'}} expected-note {{copy constructors and move constructors are …
111 …ial_abi' cannot be applied to 'S18'}} expected-note {{copy constructors and move constructors are …
125 …ial_abi' cannot be applied to 'S19'}} expected-note {{copy constructors and move constructors are …
/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/llvm-project/mlir/lib/
DCMakeLists.txt1 # Enable errors for any global constructors.
2 add_flag_if_supported("-Werror=global-constructors" WERROR_GLOBAL_CONSTRUCTOR)
/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-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/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/python/cpython3/Lib/test/
Dtest_hashlib.py133 for algorithm, constructors in self.constructors_to_test.items():
134 constructors.add(getattr(hashlib, algorithm))
139 constructors.add(_test_algorithm_via_hashlib_new)
148 for algorithm, constructors in self.constructors_to_test.items():
157 constructors.add(constructor)
194 constructors = self.constructors_to_test.values()
195 return itertools.chain.from_iterable(constructors)
353 constructors = self.constructors_to_test[name]
355 self.assertGreaterEqual(len(constructors), 2)
356 for hash_object_constructor in constructors:
[all …]
/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/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/rust/crates/regex-automata/
DTODO1 * Remove the `empty` constructors for DFAs and replace them with
2 `never_match` and `always_match` constructors.
/external/guava/android/guava/src/com/google/common/util/concurrent/
DFuturesGetChecked.java226 List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); in newWithCause() local
227 for (Constructor<X> constructor : preferringStrings(constructors)) { in newWithCause()
244 List<Constructor<X>> constructors) { in preferringStrings() argument
245 return WITH_STRING_PARAM_FIRST.sortedCopy(constructors); in preferringStrings()

12345678910>>...23