Home
last modified time | relevance | path

Searched refs:Constructor (Results 1 – 25 of 220) sorted by relevance

123456789

/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DFastConstructor.java18 import java.lang.reflect.Constructor;
23 FastConstructor(FastClass fc, Constructor constructor) { in FastConstructor()
28 return ((Constructor)member).getParameterTypes(); in getParameterTypes()
32 return ((Constructor)member).getExceptionTypes(); in getExceptionTypes()
43 public Constructor getJavaConstructor() { in getJavaConstructor()
44 return (Constructor)member; in getJavaConstructor()
/external/chromium_org/v8/test/webkit/
Dinstance-of-immediates.js27 function Constructor() {} class
28 var obj = new Constructor();
52 Constructor.prototype = 1;
57 Constructor.prototype = {};
62 Constructor.prototype = null;
Dinstance-of-immediates-expected.txt35 PASS (1 instanceof Constructor) is false
36 PASS ({} instanceof Constructor) is false
37 PASS (obj instanceof Constructor) is true
38 PASS (1 instanceof Constructor) is false
39 PASS ({} instanceof Constructor) threw exception TypeError: Function has non-object prototype '1' i…
40 PASS (obj instanceof Constructor) threw exception TypeError: Function has non-object prototype '1' …
41 PASS (1 instanceof Constructor) is false
42 PASS ({} instanceof Constructor) is false
43 PASS (obj instanceof Constructor) is false
44 PASS (1 instanceof Constructor) is false
[all …]
DpreventExtensions.js108 function Constructor() {} class
109 Constructor.prototype.foo = 1;
110 Object.freeze(Constructor.prototype);
111 var obj = new Constructor();
/external/mockito/src/org/mockito/internal/util/reflection/
DFieldInitializer.java9 import java.lang.reflect.Constructor;
175 Constructor<?> constructor = null; in instantiate()
215 private Comparator<Constructor<?>> byParameterNumber = new Comparator<Constructor<?>>() {
216 public int compare(Constructor<?> constructorA, Constructor<?> constructorB) {
233 Constructor<?> constructor = null; in instantiate()
258 private void checkParameterized(Constructor<?> constructor, Field field) { in checkParameterized()
264 private Constructor<?> biggestConstructor(Class<?> clazz) { in biggestConstructor()
265 … final List<Constructor<?>> constructors = Arrays.asList(clazz.getDeclaredConstructors()); in biggestConstructor()
268 Constructor<?> constructor = constructors.get(0); in biggestConstructor()
DConstructors.java3 import java.lang.reflect.Constructor;
13 public static Constructor<?> noArgConstructorOf(Class<?> classToMock) { in noArgConstructorOf()
/external/objenesis/main/src/org/objenesis/instantiator/jrockit/
DJRockit131Instantiator.java15 import java.lang.reflect.Constructor;
31 private Constructor mungedConstructor;
41 "newConstructorForSerialization", new Class[] {Constructor.class, Class.class}); in initialize()
61 Constructor javaLangObjectConstructor; in JRockit131Instantiator()
71 mungedConstructor = (Constructor) newConstructorForSerializationMethod.invoke(null, in JRockit131Instantiator()
/external/objenesis/main/src/org/objenesis/instantiator/sun/
DSunReflectionFactoryHelper.java18 import java.lang.reflect.Constructor;
34 public static Constructor newConstructorForSerialization(Class type, Constructor constructor) { in newConstructorForSerialization()
42 return (Constructor) newConstructorForSerializationMethod.invoke( in newConstructorForSerialization()
88 "newConstructorForSerialization", new Class[] {Class.class, Constructor.class}); in getNewConstructorForSerializationMethod()
DSunReflectionFactoryInstantiator.java18 import java.lang.reflect.Constructor;
34 private final Constructor mungedConstructor;
37 Constructor javaLangObjectConstructor = getJavaLangObjectConstructor(); in SunReflectionFactoryInstantiator()
52 private static Constructor getJavaLangObjectConstructor() { in getJavaLangObjectConstructor()
DSunReflectionFactorySerializationInstantiator.java19 import java.lang.reflect.Constructor;
37 private final Constructor mungedConstructor;
42 Constructor nonSerializableAncestorConstructor; in SunReflectionFactorySerializationInstantiator()
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DResponse.idl11 Constructor(ScalarValueString body, optional Dictionary responseInitDict),
12 Constructor(Blob? body, optional Dictionary responseInitDict),
13 Constructor(ArrayBuffer input, optional Dictionary requestInitDict),
14 Constructor(ArrayBufferView input, optional Dictionary requestInitDict),
18 RaisesException=Constructor,
DHeaders.idl8 Constructor,
9 Constructor(Headers input),
10 Constructor(OpenEndedDictionary input),
13 RaisesException=Constructor,
DRequest.idl11 Constructor(ScalarValueString input, optional Dictionary requestInitDict),
12 Constructor(Request input, optional Dictionary requestInitDict),
16 RaisesException=Constructor,
/external/javassist/src/main/javassist/util/proxy/
DSecurityActions.java18 import java.lang.reflect.Constructor;
40 static Constructor[] getDeclaredConstructors(final Class clazz) {
44 return (Constructor[]) AccessController
75 static Constructor getDeclaredConstructor(final Class clazz,
83 return (Constructor) AccessController
/external/chromium_org/ui/ozone/
Dplatform_object_internal.h17 typedef typename PlatformConstructorList<T>::Constructor Constructor; in Create() typedef
23 Constructor constructor = PlatformConstructorList<T>::kConstructors[platform]; in Create()
Dplatform_constructor_list.h15 typedef T* (*Constructor)(); typedef
16 static const Constructor kConstructors[kPlatformCount];
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
DReflectionConstructor.java45 import java.lang.reflect.Constructor;
51 private final Constructor constructor;
53 public ReflectionConstructor(Constructor constructor) { in ReflectionConstructor()
58 final Constructor method = this.constructor; in getParameters()
/external/clang/test/CodeGenCXX/
Dpredefined-expr.cpp252 class Constructor { class
254 Constructor() { in Constructor() function in NS::Constructor
260 Constructor(int) { in Constructor() function in NS::Constructor
266 Constructor(Base *) { in Constructor() function in NS::Constructor
494 NS::Constructor c1; in main()
495 NS::Constructor c2(0); in main()
496 NS::Constructor c3((NS::Base *)0); in main()
/external/chromium_org/ui/login/
Dscreen.js289 var Constructor = function() { class
292 Constructor.prototype = Object.create(login.Screen.prototype); class
303 Object.defineProperty(Constructor.prototype, propertyName, descriptor);
313 Constructor.prototype.name = function() { return id; };
322 screen.__proto__ = new Constructor();
/external/chromium_org/third_party/WebKit/Source/bindings/tests/idls/core/
DTestInterfaceConstructor.idl33 Constructor,
34 Constructor(
43 Constructor(DOMString arg, optional DOMString optArg),
44 Constructor(DOMString arg, DOMString arg2, DOMString arg3),
48 RaisesException=Constructor,
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DExtensionNamespaceSupport.java23 import java.lang.reflect.Constructor;
77 Constructor con = null; in launch()
83 Constructor[] cons = cl.getConstructors(); in launch()
/external/smack/src/org/jivesoftware/smack/compression/
DJzlibInputOutputStream.java20 import java.lang.reflect.Constructor;
57 Constructor<?> constructor = ziClass.getConstructor(InputStream.class); in getInputStream()
68 Constructor<?> constructor = zoClass.getConstructor(OutputStream.class, Integer.TYPE); in getOutputStream()
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimation.idl35 Constructor(Element? target, sequence<Dictionary> keyframes),
36 Constructor(Element? target, sequence<Dictionary> keyframes, double timingInput),
37 Constructor(Element? target, sequence<Dictionary> keyframes, Dictionary timingInput),
38 RaisesException=Constructor,
/external/chromium_org/third_party/WebKit/Source/core/dom/
DURL.idl30 Constructor(ScalarValueString url),
31 Constructor(ScalarValueString url, ScalarValueString base),
32 Constructor(ScalarValueString url, URL base),
35 RaisesException=Constructor,
/external/objenesis/tck/src/org/objenesis/tck/candidates/
Dcandidates.properties70 org.objenesis.tck.candidates.ConstructorThrowingException = Constructor throw…
71 org.objenesis.tck.candidates.SerializableConstructorThrowingException = Constructor throw…
72 org.objenesis.tck.candidates.ConstructorWithArguments = Constructor with …
73 org.objenesis.tck.candidates.SerializableConstructorWithArguments = Constructor with …
74 org.objenesis.tck.candidates.ConstructorWithMandatoryArguments = Constructor with …
75 org.objenesis.tck.candidates.SerializableConstructorWithMandatoryArguments = Constructor with …

123456789