Home
last modified time | relevance | path

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

1234567891011

/external/v8/test/mjsunit/regress/
Dregress-crbug-477924.js7 constructors = [ ReferenceError, TypeError];
9 for (var i in constructors) {
10 constructors[i].prototype.__defineGetter__("stack", function() {}); class
13 for (var i in constructors) {
14 var obj = new constructors[i];
Dregress-447756.js21 var constructors = variable
26 for (var i = 0; i < constructors.length; i++) {
27 TestConstructor(constructors[i]);
/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/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DBaseWorld.java37 …private final ObjectMap<String, Constructor<T>> constructors = new ObjectMap<String, Constructor<T… field in BaseWorld
42 constructors.put(name, constructor); in addConstructor()
47 return constructors.get(name); in getConstructor()
55 final T entity = constructors.get(type).construct(x, y, z); in add()
61 final T entity = constructors.get(type).construct(transform); in add()
89 for (Constructor<T> constructor : constructors.values()) in dispose()
91 constructors.clear(); in dispose()
/external/v8/test/webkit/
Dclass-constructor-return-expected.txt59 PASS (new DerivedReturnString) threw exception TypeError: Derived constructors may only return obje…
60 PASS (new DerivedReturnNumber) threw exception TypeError: Derived constructors may only return obje…
61 PASS (new DerivedReturnNull) threw exception TypeError: Derived constructors may only return object…
62 PASS (new DerivedReturnSymbol) threw exception TypeError: Derived constructors may only return obje…
72 PASS (new DerivedNoSuperReturnString) threw exception TypeError: Derived constructors may only retu…
73 PASS (new DerivedNoSuperReturnNumber) threw exception TypeError: Derived constructors may only retu…
74 PASS (new DerivedNoSuperReturnNull) threw exception TypeError: Derived constructors may only return…
75 PASS (new DerivedNoSuperReturnSymbol) threw exception TypeError: Derived constructors may only retu…
/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/chromium-trace/catapult/third_party/Paste/paste/
Durlparser.py92 constructors=None, argument
126 self.constructors = self.global_constructors.copy()
127 if constructors:
128 self.constructors.update(constructors)
139 self.constructors[ext] = value
277 constructor = self.constructors.get(t, self.constructors.get('*'))
325 constructors=self.constructors)
/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/v8/test/mjsunit/es6/
Dtyped-array-iterator.js6 var constructors = [Uint8Array, Int8Array, variable
38 constructors.forEach(TestTypedArrayValues);
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gwtref/client/
DType.java54 Constructor[] constructors = EMPTY_CONSTRUCTORS; field in Type
191 return constructors; in getConstructors()
199 for (Constructor c : constructors) { in getConstructor()
287 …+ Arrays.toString(methods) + ",\n constructors=" + Arrays.toString(constructors) + ",\n annotation… in toString()
/external/junit/src/org/junit/runners/model/
DTestClass.java126 Constructor<?>[] constructors= fClass.getConstructors(); in getOnlyConstructor() local
127 Assert.assertEquals(1, constructors.length); in getOnlyConstructor()
128 return constructors[0]; in getOnlyConstructor()
/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/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DFastClassEmitter.java71 List constructors = new ArrayList(Arrays.asList(type.getDeclaredConstructors())); in FastClassEmitter() local
72 CollectionUtils.filter(constructors, vp); in FastClassEmitter()
83 List info = CollectionUtils.transform(constructors, MethodInfoTransformer.getInstance()); in FastClassEmitter()
100 invokeSwitchHelper(e, constructors, 1, base); in FastClassEmitter()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/reflect/
DClassReflection.java78 java.lang.reflect.Constructor[] constructors = c.getConstructors(); in getConstructors() local
79 Constructor[] result = new Constructor[constructors.length]; in getConstructors()
80 for (int i = 0, j = constructors.length; i < j; i++) { in getConstructors()
81 result[i] = new Constructor(constructors[i]); in getConstructors()
/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/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DEnhancer.java446 List constructors = new ArrayList(Arrays.asList(sc.getDeclaredConstructors())); in generateClass() local
447 filterConstructors(sc, constructors); in generateClass()
481 …List constructorInfo = CollectionUtils.transform(constructors, MethodInfoTransformer.getInstance()… in generateClass()
527 protected void filterConstructors(Class sc, List constructors) { in filterConstructors() argument
528 CollectionUtils.filter(constructors, new VisibilityPredicate(sc, true)); in filterConstructors()
529 if (constructors.size() == 0) in filterConstructors()
699 private void emitConstructors(ClassEmitter ce, List constructors) { in emitConstructors() argument
701 for (Iterator it = constructors.iterator(); it.hasNext();) { in emitConstructors()
841 private void emitNewInstanceMultiarg(ClassEmitter ce, List constructors) { in emitNewInstanceMultiarg() argument
848 EmitUtils.constructor_switch(e, constructors, new ObjectSwitchCallback() { in emitNewInstanceMultiarg()
/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/mockito/src/org/mockito/internal/util/reflection/
DFieldInitializer.java265 … final List<Constructor<?>> constructors = Arrays.asList(clazz.getDeclaredConstructors()); in biggestConstructor() local
266 Collections.sort(constructors, byParameterNumber); in biggestConstructor()
268 Constructor<?> constructor = constructors.get(0); in biggestConstructor()
/external/deqp/doc/testspecs/GLES3/
Dfunctional.shaders.arrays.txt25 + Array definition and constructors
31 + Negative tests for illegal C-style constructors
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/reflect/
DClassReflection.java81 …com.badlogic.gwtref.client.Constructor[] constructors = ReflectionCache.getType(c).getConstructors… in getConstructors() local
82 Constructor[] result = new Constructor[constructors.length]; in getConstructors()
83 for (int i = 0, j = constructors.length; i < j; i++) { in getConstructors()
84 result[i] = new Constructor(constructors[i]); in getConstructors()
/external/doclava/src/com/google/doclava/
DStubs.java592 for (MethodInfo method : cl.constructors()) { in writeClass()
618 if ((cl.constructors().isEmpty() && (!cl.getNonWrittenConstructors().isEmpty() || in writeClass()
855 ArrayList<MethodInfo> ctors = base.constructors(); in superCtorCall()
1043 ArrayList<MethodInfo> constructors = cl.constructors(); in writeClassXML() local
1044 Collections.sort(constructors, MethodInfo.comparator); in writeClassXML()
1045 for (MethodInfo mi : constructors) { in writeClassXML()
1254 List<MethodInfo> constructors = cl.getRemovedConstructors(); in writeClassRemovedSelfMembers() local
1255 for (MethodInfo mi : constructors) { in writeClassRemovedSelfMembers()
1375 ArrayList<MethodInfo> constructors = cl.constructors(); in writeClassApi() local
1376 Collections.sort(constructors, MethodInfo.comparator); in writeClassApi()
[all …]
/external/llvm/test/Bitcode/
Dupgrade-global-ctors.ll4 ; Global constructors should no longer be upgraded when reading bitcode.

1234567891011