/external/compiler-rt/lib/lsan/tests/ |
lsan_testlib.cc | 22 __attribute__((constructor)) 23 void constructor() { function
|
/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;
|
/ndk/tests/standalone/init-fini-arrays/ |
foo.cpp | 5 void __attribute__((constructor))
|
/system/core/libutils/ |
Trace.cpp | 20 static void traceInit() __attribute__((constructor));
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/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...] |
/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);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
XalanDOMTestDocumentBuilderFactory.java | 29 import java.lang.reflect.Constructor; 46 * factory will be mutated in constructor and should be released 71 Constructor constructor = xpathClass.getConstructor(new Class[] {Document.class}); local 72 return constructor.newInstance(new Object[] {doc});
|
/external/chromium_org/v8/test/mjsunit/compiler/ |
inline-construct.js | 30 // Test inlining of constructor calls. 32 function TestInlinedConstructor(constructor, closure) { 38 result = closure(constructor, 11, noDeopt, counter); 42 result = closure(constructor, 23, noDeopt, counter); 47 result = closure(constructor, 42, noDeopt, counter); 51 result = closure(constructor, 127, forceDeopt, counter); 57 %ClearFunctionTypeFeedback(constructor); 60 function value_context(constructor, val, deopt, counter) { 61 var obj = new constructor(val, deopt, counter); 65 function test_context(constructor, val, deopt, counter) [all...] |