Home
last modified time | relevance | path

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

12345678910

/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/r8/src/main/java/com/android/tools/r8/ir/synthetic/
DSingleBlockSourceCode.java41 private List<Consumer<IRBuilder>> constructors = new ArrayList<>(); field in SingleBlockSourceCode
61 constructors.add(constructor); in add()
107 return constructors.size(); in instructionCount()
127 return (instructionIndex == constructors.size() - 1) ? instructionIndex : -1; in traceInstruction()
140 assert constructors.isEmpty(); in setUp()
142 assert !constructors.isEmpty(); in setUp()
147 constructors = null; in clear()
177 constructors.get(instructionIndex).accept(builder); in buildInstruction()
/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/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/javassist/src/main/javassist/tools/reflect/
DClassMetaobject.java51 private Constructor[] constructors; field in ClassMetaobject
81 constructors = javaClass.getConstructors(); in ClassMetaobject()
93 constructors = javaClass.getConstructors(); in readObject()
134 int n = constructors.length; in newInstance()
137 return constructors[i].newInstance(args); in newInstance()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider.java254 List<AssistedConstructor<?>> constructors = Lists.newArrayList(); in createMethodMapping() local
260 constructors.add(assistedConstructor); in createMethodMapping()
264 if (constructors.isEmpty()) { in createMethodMapping()
270 if (constructors.size() != factoryMethods.length) { in createMethodMapping()
273 constructors.size(), factoryType, factoryMethods.length); in createMethodMapping()
278 for (AssistedConstructor<?> c : constructors) { in createMethodMapping()
/external/javassist/src/main/javassist/
DSerialVersionUID.java135 CtConstructor[] constructors = clazz.getDeclaredConstructors(); in calculateDefault() local
136 Arrays.sort(constructors, new Comparator() { in calculateDefault()
145 for (int i = 0; i < constructors.length; i++) { in calculateDefault()
146 CtConstructor constructor = constructors[i]; in calculateDefault()
/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/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/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/doclava/src/com/google/doclava/
DStubs.java658 for (MethodInfo method : cl.constructors()) { in writeClass()
684 if ((cl.constructors().isEmpty() && (!cl.getNonWrittenConstructors().isEmpty() || in writeClass()
913 ArrayList<MethodInfo> ctors = base.constructors(); in superCtorCall()
1092 ArrayList<MethodInfo> constructors = cl.constructors(); in writeClassXML() local
1093 Collections.sort(constructors, MethodInfo.comparator); in writeClassXML()
1094 for (MethodInfo mi : constructors) { in writeClassXML()
1314 List<MethodInfo> constructors = cl.getExhaustiveConstructors().stream().filter(predicate) in writeClassPredicateSelfMembers() local
1323 if (constructors.isEmpty() && methods.isEmpty() && enums.isEmpty() && fields.isEmpty()) { in writeClassPredicateSelfMembers()
1394 for (MethodInfo mi : constructors) { in writeClassPredicateSelfMembers()
1565 ArrayList<MethodInfo> constructors = cl.constructors(); in writeClassApi() local
[all …]
DSinceTagger.java158 for (MethodInfo constructor : doc.constructors()) { in versionConstructors()
251 for (MethodInfo constructor : missingVersions(claz.constructors())) { in warnForMissingVersions()
/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()
/external/llvm/test/Bitcode/
Dupgrade-global-ctors.ll4 ; Global constructors should no longer be upgraded when reading bitcode.
/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-methods.cpp70 void constructors() { in constructors() function
/external/python/cpython2/Doc/library/
Dcopy_reg.rst20 configuration information about object constructors which are not classes.
21 Such constructors may be factory functions or class instances.
/external/r8/src/test/examples/shaking12/
Dkeep-rules.txt11 # Keep the constructors that are used via newInstance.
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp40 const ConstructorMap &constructors() const { return Constructors; } in constructors() function in clang::ast_matchers::dynamic::__anon4c964f560111::RegistryMaps
435 RegistryData->constructors().find(MatcherName); in lookupMatcherCtor()
436 return it == RegistryData->constructors().end() in lookupMatcherCtor()
496 for (const auto &M : RegistryData->constructors()) { in getMatcherCompletions()
/external/googletest/googlemock/include/gmock/
Dgmock-generated-nice-strict.h.pump54 // NiceMock, NaggyMock, and StrictMock "inherit" the constructors of
68 // Another known limitation is that the constructors of the base mock
101 // C++ doesn't (yet) allow inheritance of constructors, so we have
/external/v8/testing/gmock/include/gmock/
Dgmock-generated-nice-strict.h.pump54 // NiceMock, NaggyMock, and StrictMock "inherit" the constructors of
68 // Another known limitation is that the constructors of the base mock
101 // C++ doesn't (yet) allow inheritance of constructors, so we have
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-nice-strict.h.pump45 // NiceMock and StrictMock "inherits" the constructors of their
58 // Another known limitation is that the constructors of the base mock
80 // C++ doesn't (yet) allow inheritance of constructors, so we have

12345678910