/external/llvm/test/FrontendC/ |
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));
|
/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}}
|
attr-decl-after-definition.c | 7 void foo() __attribute__((constructor)); // expected-warning {{must precede definition}}
|
/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;
|
/external/clang/test/CodeGen/ |
constructor-attribute.c | 9 void A() __attribute__((constructor)); 20 static void C() __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);
|
ConstructData.h | 60 JSObject* construct(ExecState*, JSValue constructor, ConstructType, const ConstructData&, const ArgList&);
|
/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/qemu/ |
qemu-timer-common.c | 33 static void __attribute__((constructor)) init_get_clock(void) 49 static void __attribute__((constructor)) init_get_clock(void)
|
module.h | 19 static void __attribute__((constructor)) do_qemu_init_ ## function(void) { \
|
/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 | 45 public void addConstructor(ApiConstructor constructor) { 46 mApiConstructors.add(constructor); 50 for (ApiConstructor constructor : mApiConstructors) { 51 if (parameterTypes.equals(constructor.getParameterTypes())) { 52 return constructor; 83 for (ApiConstructor constructor : mApiConstructors) { 84 if (constructor.isCovered()) {
|
/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/android-mock/tests/com/google/android/testing/mocking/ |
ConstructorCreationTests.java | 20 import java.lang.reflect.Constructor; 73 Constructor<TestClass> constructor = local 75 assertNotNull(constructor); 80 Constructor<TestClass> constructor = local 82 fail("A constructor was found: " + constructor); 101 Constructor<TestClass> constructor local [all...] |
/external/llvm/test/MC/MachO/ |
x86_64-sections.s | 12 .constructor
|
/libcore/luni/src/test/java/tests/api/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...] |
/external/expat/amiga/ |
launch.c | 31 void setup() __attribute__((constructor));
|
/external/webkit/Source/JavaScriptCore/API/ |
JSCallbackConstructor.cpp | 59 JSObject* constructor = exec->callee(); local 61 JSObjectRef constructorRef = toRef(constructor); 63 JSObjectCallAsConstructorCallback callback = static_cast<JSCallbackConstructor*>(constructor)->callback(); 81 return JSValue::encode(toJS(JSObjectMake(ctx, static_cast<JSCallbackConstructor*>(constructor)->classRef(), 0)));
|
/system/extras/tests/bionic/libc/bionic/ |
libdlclosetest2.c | 35 * and initialize it to 1 in the static Foo_create constructor. 42 static void __attribute__((constructor))
|
/external/webkit/Source/WebCore/bindings/js/ |
JSDOMGlobalObject.h | 89 if (JSC::JSObject* constructor = const_cast<JSDOMGlobalObject*>(globalObject)->constructors().get(&ConstructorClass::s_info).get()) 90 return constructor; 91 JSC::JSObject* constructor = new (exec) ConstructorClass(exec, const_cast<JSDOMGlobalObject*>(globalObject)); 94 const_cast<JSDOMGlobalObject*>(globalObject)->constructors().add(&ConstructorClass::s_info, temp).first->second.set(exec->globalData(), globalObject, constructor); 95 return constructor;
|