HomeSort by relevance Sort by last modified time
    Searched defs:constructor (Results 101 - 125 of 956) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
TestBoilerplate.java 9 import java.lang.reflect.Constructor;
120 * (b) constructor
132 Constructor constructor = aClass.getConstructor(new Class[] {aClass}); local
133 return constructor.newInstance(new Object[]{a});
  /external/javassist/src/main/javassist/
SerialVersionUID.java 146 CtConstructor constructor = constructors[i]; local
147 int mods = constructor.getModifiers();
151 out.writeUTF(constructor.getMethodInfo2()
  /external/javassist/src/test/test/javassist/proxy/
ProxySerializationTest.java 7 import java.lang.reflect.Constructor;
33 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); local
34 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name});
60 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); local
61 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name});
  /external/mockito/src/org/mockito/internal/util/reflection/
FieldInitializer.java 9 import java.lang.reflect.Constructor;
19 * Initialize a field with type instance if a default constructor can be found.
38 * This constructor fail fast if the field type cannot be handled.
52 * This constructor fail fast if the field type cannot be handled.
57 * @param argResolver Constructor parameters resolver
128 * to be given to a constructor given the argument types.
141 * @param argTypes Constructor argument types, should not be null.
142 * @return The argument instances to be given to the constructor, should not be null.
152 * Constructor instantiating strategy for no-arg constructor.
175 Constructor<?> constructor = null; local
233 Constructor<?> constructor = null; local
268 Constructor<?> constructor = constructors.get(0); local
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
PropertyBoxParserImpl.java 24 import java.lang.reflect.Constructor;
118 Constructor<AbstractBox> constructorObject;
165 String constructor; local
170 constructor = mapping.getProperty((parent) + "-uuid[" + Hex.encodeHex(userType).toUpperCase() + "]");
171 if (constructor == null) {
172 constructor = mapping.getProperty("uuid[" + Hex.encodeHex(userType).toUpperCase() + "]");
174 if (constructor == null) {
175 constructor = mapping.getProperty("uuid");
178 constructor = mapping.getProperty((parent) + "-" + (type));
179 if (constructor == null)
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMotionEvent.java 9 import java.lang.reflect.Constructor;
32 Constructor<MotionEvent> constructor = MotionEvent.class.getDeclaredConstructor(); local
33 constructor.setAccessible(true);
34 MotionEvent motionEvent = constructor.newInstance();
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
ConstructorTest.java 16 package org.yaml.snakeyaml.constructor;
48 String data = "--- !!org.yaml.snakeyaml.constructor.Person\nfirstName: Andrey\nage: 99";
59 * create instance using constructor arguments
62 String data = "--- !!org.yaml.snakeyaml.constructor.Person [ Andrey, Somov, 99 ]";
76 String data = "--- !!org.yaml.snakeyaml.constructor.Person 'Somov'";
94 construct("--- !!org.yaml.snakeyaml.constructor.TestBean\nname: Ola Bini\nage: 24\nborn: 1982-05-03\n"));
99 construct("--- !!org.yaml.snakeyaml.constructor.TestBean\nwrongName: No one\nage: 24\nborn: 1982-05-03\n");
107 + " --- !!org.yaml.snakeyaml.constructor ... \n"
109 + "Unable to find property 'wrongName' on class: org.yaml.snakeyaml.constructor.TestBean\n"
PrefixConstructorTest.java 16 package org.yaml.snakeyaml.constructor;
29 * Example to process a family of tags with the same prefix with one constructor
  /external/testng/src/main/java/org/testng/internal/
Yaml.java 9 import org.yaml.snakeyaml.constructor.Constructor;
30 Constructor constructor = new TestNGConstructor(XmlSuite.class); local
37 constructor.addTypeDescription(suiteDescription);
45 constructor.addTypeDescription(testDescription);
48 org.yaml.snakeyaml.Yaml y = new org.yaml.snakeyaml.Yaml(constructor);
262 private static class TestNGConstructor extends Constructor {
  /external/v8/src/compiler/
access-info.cc 323 Handle<JSFunction> constructor; local
325 .ToHandle(&constructor)) {
326 map = handle(constructor->initial_map(), isolate());
  /external/v8/test/mjsunit/compiler/
escape-analysis.js 33 function constructor() {
37 var object = new constructor();
54 function constructor() {
59 var object = new constructor();
76 function constructor() {
82 var object = new constructor();
183 function constructor() { class
188 var o = new constructor();
199 constructor.prototype = monkey;
207 function constructor() {
    [all...]
  /external/v8/test/unittests/compiler/
common-operator-unittest.cc 25 const Operator* (CommonOperatorBuilder::*constructor)(); member in struct:v8::internal::compiler::__anon24479::SharedOperator
72 EXPECT_EQ((common1.*sop.constructor)(), (common2.*sop.constructor)());
79 const Operator* op = (common.*sop.constructor)();
97 const Operator* op = (common.*sop.constructor)();
105 const Operator* op = (common.*sop.constructor)();
js-operator-unittest.cc 47 const Operator* (JSOperatorBuilder::*constructor)(); member in struct:v8::internal::compiler::__anon24493::SharedOperator
105 EXPECT_EQ((javascript1.*sop.constructor)(), (javascript2.*sop.constructor)());
112 const Operator* op = (javascript.*sop.constructor)();
135 const Operator* op = (javascript.*sop.constructor)();
143 const Operator* op = (javascript.*sop.constructor)();
161 const Operator* (JSOperatorBuilder::*constructor)(LanguageMode); member in struct:v8::internal::compiler::__anon24494::SharedOperatorWithLanguageMode
209 EXPECT_EQ((javascript1.*sop.constructor)(language_mode()),
210 (javascript2.*sop.constructor)(language_mode()));
217 const Operator* op = (javascript.*sop.constructor)(language_mode())
    [all...]
machine-operator-unittest.cc 175 const Operator* (MachineOperatorBuilder::*constructor)(); member in struct:v8::internal::compiler::__anon24499::PureOperator
286 const Operator* op1 = (machine1.*pop.constructor)();
287 const Operator* op2 = (machine2.*pop.constructor)();
303 const OptionalOperator (MachineOperatorBuilder::*constructor)(); member in struct:v8::internal::compiler::__anon24500::OptionalOperatorEntry
350 const Operator* op1 = (machine1.*pop.constructor)().op();
351 const Operator* op2 = (machine2.*pop.constructor)().op();
358 EXPECT_TRUE((machine1.*pop.constructor)().IsSupported());
359 EXPECT_FALSE((machine3.*pop.constructor)().IsSupported());
  /external/v8/test/webkit/fast/js/
primitive-property-access-edge-cases.js 31 delete String.prototype.constructor; method
66 function checkGet(x, constructor)
69 Object.defineProperty(constructor.prototype, "foo", { get: function() { checkOkay = typeof this === 'object'; }, configurable: true });
71 delete constructor.prototype.foo;
75 function checkSet(x, constructor)
78 Object.defineProperty(constructor.prototype, "foo", { set: function() { checkOkay = typeof this === 'object'; }, configurable: true });
80 delete constructor.prototype.foo;
84 function checkGetStrict(x, constructor)
87 Object.defineProperty(constructor.prototype, "foo", { get: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true });
89 delete constructor.prototype.foo
    [all...]
  /external/vogar/src/vogar/target/junit/
Junit4.java 20 import java.lang.reflect.Constructor;
291 private final Constructor<?> constructor; field in class:Junit4.TestMethod
295 Constructor<?> constructor, Object[] constructorArgs) {
297 this.constructor = constructor;
304 for (Constructor<?> c : testClass.getConstructors()) {
312 + constructorArgs.length + " arg constructor"));
326 new Exception("Test cases must have a no-arg or string constructor."))
    [all...]
  /frameworks/base/media/mca/filterfw/jni/
jni_util.h 53 // Copy constructor.
164 // a default constructor for this to succeed.
167 jmethodID constructor = env->GetMethodID( local
171 jobject result = env->NewObject(cls, constructor, JNI_NULL);
  /frameworks/base/services/core/java/com/android/server/
SystemServiceManager.java 23 import java.lang.reflect.Constructor;
91 Constructor<T> constructor = serviceClass.getConstructor(Context.class); local
92 service = constructor.newInstance(mContext);
98 + ": service must have a public constructor with a Context argument", ex);
101 + ": service must have a public constructor with a Context argument", ex);
104 + ": service constructor threw an exception", ex);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ConsoleTest.java 29 import java.lang.reflect.Constructor;
49 Constructor<Console> constructor = local
51 constructor.setAccessible(true);
52 console = constructor.newInstance(in, out);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
TypeVariableTest.java 20 import java.lang.reflect.Constructor;
64 Constructor<?> constructor = clazz.getDeclaredConstructor(); local
65 TypeVariable<?>[] typeParameters = constructor.getTypeParameters();
68 assertEquals(constructor, typeVariable.getGenericDeclaration());
115 Constructor<?> constructor = clazz.getDeclaredConstructor(); local
117 TypeVariable<?>[] typeParameters = constructor.getTypeParameters();
120 assertEquals(constructor, typeParameters[0].getGenericDeclaration());
123 assertEquals(constructor, typeParameters[1].getGenericDeclaration())
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ConstructorTest.java 19 import java.lang.reflect.Constructor;
24 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(new Class[0]); local
25 Class[] exceptions = constructor.getExceptionTypes();
30 exceptions = constructor.getExceptionTypes();
37 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); local
38 Class[] parameters = constructor.getParameterTypes();
43 parameters = constructor.getParameterTypes();
49 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor((Class[]) null) local
70 Constructor<?> constructor = ConstructorTestHelper.class.getDeclaredConstructor( local
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_StringIO.py 18 # Constructor to use for the test data (._line is passed to this
19 # constructor)
20 constructor = str variable in class:TestGenericStringIO
23 self._lines = self.constructor((self._line + '\n') * 5)
207 constructor = buffer variable in class:TestBufferStringIO
210 constructor = buffer variable in class:TestBuffercStringIO
213 constructor = memoryview variable in class:TestMemoryviewcStringIO
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_StringIO.py 18 # Constructor to use for the test data (._line is passed to this
19 # constructor)
20 constructor = str variable in class:TestGenericStringIO
23 self._lines = self.constructor((self._line + '\n') * 5)
207 constructor = buffer variable in class:TestBufferStringIO
210 constructor = buffer variable in class:TestBuffercStringIO
213 constructor = memoryview variable in class:TestMemoryviewcStringIO
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_StringIO.py 18 # Constructor to use for the test data (._line is passed to this
19 # constructor)
20 constructor = str variable in class:TestGenericStringIO
23 self._lines = self.constructor((self._line + '\n') * 5)
207 constructor = buffer variable in class:TestBufferStringIO
210 constructor = buffer variable in class:TestBuffercStringIO
213 constructor = memoryview variable in class:TestMemoryviewcStringIO
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_StringIO.py 18 # Constructor to use for the test data (._line is passed to this
19 # constructor)
20 constructor = str variable in class:TestGenericStringIO
23 self._lines = self.constructor((self._line + '\n') * 5)
207 constructor = buffer variable in class:TestBufferStringIO
210 constructor = buffer variable in class:TestBuffercStringIO
213 constructor = memoryview variable in class:TestMemoryviewcStringIO

Completed in 1378 milliseconds

1 2 3 45 6 7 8 91011>>