HomeSort by relevance Sort by last modified time
    Searched refs:constructor (Results 1 - 25 of 524) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CodeGen/
2008-03-03-CtorAttrType.c 2 int __attribute__((constructor)) foo(void) {
5 void __attribute__((constructor)) bar(void) {}
attribute_constructor.c 3 void foo() __attribute__((constructor));
constructor-attribute.c 9 void A() __attribute__((constructor));
20 static void C() __attribute__((constructor));
  /external/clang/test/Sema/
constructor-attribute.c 3 int x __attribute__((constructor)); // expected-warning {{'constructor' attribute only applies to functions}}
4 int f() __attribute__((constructor));
5 int f() __attribute__((constructor(1)));
6 int f() __attribute__((constructor(1,2))); // expected-error {{attribute takes no more than 1 argument}}
7 int f() __attribute__((constructor(1.0))); // expected-error {{'constructor' attribute requires parameter 1 to be an integer constant}}
  /external/objenesis/main/src/org/objenesis/instantiator/basic/
AccessibleInstantiator.java 19 * Instantiates a class by grabbing the no-args constructor, making it accessible and then calling
20 * Constructor.newInstance(). Although this still requires no-arg constructors, it can call
30 if(constructor != null) {
31 constructor.setAccessible(true);
ConstructorInstantiator.java 18 import java.lang.reflect.Constructor;
24 * Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().
32 protected Constructor constructor; field in class:ConstructorInstantiator
36 constructor = type.getDeclaredConstructor((Class[]) null);
45 return constructor.newInstance((Object[]) null);
  /external/clang/test/CodeGenCXX/
constructor-attr.cpp 9 static void foo() __attribute__((constructor)) {
  /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...]
  /frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/constructor/
ProtectedConstructorTest.java 17 package android.test.suitebuilder.examples.constructor;
22 * A protected constructor test case that should not be loaded.
PublicConstructorTest.java 17 package android.test.suitebuilder.examples.constructor;
22 * A public constructor test case that should be loaded.
NoPublicConstructorTest.java 17 package android.test.suitebuilder.examples.constructor;
  /frameworks/native/libs/utils/
Trace.cpp 20 static void traceInit() __attribute__((constructor));
  /ndk/tests/standalone/init-fini-arrays/
foo.cpp 5 void __attribute__((constructor))
  /external/webkit/Source/JavaScriptCore/runtime/
NativeErrorPrototype.cpp 34 NativeErrorPrototype::NativeErrorPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, const UString& nameAndMessage, NativeErrorConstructor* constructor)
39 putDirect(exec->globalData(), exec->propertyNames().constructor, constructor, DontEnum);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/
15.6.2.js 24 ECMA Section: 15.6.2 The Boolean Constructor
28 This test verifies that the Boolean constructor
42 var TITLE = "15.6.2 The Boolean Constructor; 15.6.2.1 new Boolean( value ); 15.6.2.2 new Boolean()";
55 array[item++] = new TestCase( SECTION, "(new Boolean(1)).constructor", Boolean.prototype.constructor, (new Boolean(1)).constructor );
62 array[item++] = new TestCase( SECTION, "(new Boolean(0)).constructor", Boolean.prototype.constructor, (new Boolean(0)).constructor );
69 array[item++] = new TestCase( SECTION, "(new Boolean(-1)).constructor", Boolean.prototype.constructor, (new Boolean(-1)).constructor )
    [all...]
  /external/compiler-rt/lib/asan/lit_tests/SharedLibs/
dlclose-test-so.cc 26 __attribute__((constructor))
  /external/compiler-rt/lib/msan/tests/
msan_loadable.cc 23 __attribute__((constructor))
  /external/qemu/
qemu-timer-common.c 33 static void __attribute__((constructor)) init_get_clock(void)
49 static void __attribute__((constructor)) init_get_clock(void)
  /external/objenesis/tck/src/org/objenesis/tck/candidates/
serializable-candidates.properties 54 # Different visibilities of constructor.
55 org.objenesis.tck.candidates.SerializableNoConstructor = No constructor (serializable)
56 org.objenesis.tck.candidates.SerializableDefaultPublicConstructor = Default public constructor (serializable)
57 org.objenesis.tck.candidates.SerializableDefaultProtectedConstructor = Default protected constructor (serializable)
58 org.objenesis.tck.candidates.SerializableDefaultPackageConstructor = Default package constructor (serializable)
59 org.objenesis.tck.candidates.SerializableDefaultPrivateConstructor = Default private constructor (serializable)
64 org.objenesis.tck.candidates.SerializableConstructorThrowingException = Constructor throwing exception (serializable)
65 org.objenesis.tck.candidates.SerializableConstructorWithArguments = Constructor with arguments (serializable)
66 org.objenesis.tck.candidates.SerializableConstructorWithMandatoryArguments = Constructor with mandatory arguments (serializable)
candidates.properties 54 # Different visibilities of constructor.
55 org.objenesis.tck.candidates.NoConstructor = No constructor
56 org.objenesis.tck.candidates.SerializableNoConstructor = No constructor (serializable)
57 org.objenesis.tck.candidates.DefaultPublicConstructor = Default public constructor
58 org.objenesis.tck.candidates.SerializableDefaultPublicConstructor = Default public constructor (serializable)
59 org.objenesis.tck.candidates.DefaultProtectedConstructor = Default protected constructor
60 org.objenesis.tck.candidates.SerializableDefaultProtectedConstructor = Default protected constructor (serializable)
61 org.objenesis.tck.candidates.DefaultPackageConstructor = Default package constructor
62 org.objenesis.tck.candidates.SerializableDefaultPackageConstructor = Default package constructor (serializable)
63 org.objenesis.tck.candidates.DefaultPrivateConstructor = Default private constructor
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/
15.7.2.js 24 ECMA Section: 15.7.2 The Number Constructor
29 expression, it is a constructor: it initializes
52 var TITLE = "The Number Constructor";
64 // constructor property is the same as Number.prototype.constructor.
66 array[item++] = new TestCase(SECTION, "(new Number()).constructor", Number.prototype.constructor, (new Number()).constructor );
75 array[item++] = new TestCase(SECTION, "(new Number(0)).constructor", Number.prototype.constructor, (new Number(0)).constructor )
    [all...]
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
ApiClass.java 61 public void addConstructor(ApiConstructor constructor) {
62 mApiConstructors.add(constructor);
66 for (ApiConstructor constructor : mApiConstructors) {
67 if (parameterTypes.equals(constructor.getParameterTypes())) {
68 return constructor;
99 for (ApiConstructor constructor : mApiConstructors) {
100 if (constructor.isCovered()) {
  /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/mockito/src/org/mockito/internal/runners/util/
RunnerProvider.java 7 import java.lang.reflect.Constructor;
30 Constructor<?> constructor; local
33 constructor = runnerClass.getConstructor(Class.class.getClass());
39 return (RunnerImpl) constructor.newInstance(constructorParam);
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
IndexOutOfBoundsExceptions.js 2 org.antlr.runtime.IndexOutOfBoundsException.superclass.constructor.call(this, m);

Completed in 855 milliseconds

1 2 3 4 5 6 7 8 91011>>