Searched refs:constructor (Results 1 - 25 of 244) sorted by relevance

12345678910

/external/clang/test/CodeGen/
H A D2008-03-03-CtorAttrType.c2 int __attribute__((constructor)) foo(void) {
5 void __attribute__((constructor)) bar(void) {}
H A Dattribute_constructor.c3 void foo() __attribute__((constructor));
H A Dconstructor-attribute.c9 void A() __attribute__((constructor));
20 static void C() __attribute__((constructor));
/external/clang/test/Sema/
H A Dconstructor-attribute.c3 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/v8/test/mjsunit/regress/
H A Dregress-1172.js28 // Check that 'constructor' property is forcefully installed on
32 // to use JS accessors to set 'constructor' property.
33 Object.prototype.__defineGetter__('constructor', function() { throw 42; });
36 assertSame(f, f.prototype.constructor);
39 assertSame(f, o.constructor);
H A Dregress-193.js28 // Test that context extension objects do not have a constructor
34 return eval("var x; constructor");
37 // It should be ok to call the constructor function returned by f.
40 // The call to f should get the constructor of the receiver which is
41 // the constructor of the global object.
42 assertEquals(constructor, f());
H A Dregress-117794.js33 function constructor() {}; function
/external/clang/test/CodeGenCXX/
H A Dconstructor-attr.cpp9 static void foo() __attribute__((constructor)) {
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/
H A D15.7.2.js29 expression, it is a constructor: it initializes
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 );
83 array[item++] = new TestCase(SECTION, "(new Number(1)).constructor", Numbe
[all...]
/external/webkit/Source/JavaScriptCore/runtime/
H A DNativeErrorPrototype.cpp34 NativeErrorPrototype::NativeErrorPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, const UString& nameAndMessage, NativeErrorConstructor* constructor) argument
39 putDirect(exec->globalData(), exec->propertyNames().constructor, constructor, DontEnum);
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/
H A D15.6.2.js28 This test verifies that the Boolean constructor
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/
H A Ddlclose-test-so.cc26 __attribute__((constructor))
/external/qemu/
H A Dqemu-timer-common.c33 static void __attribute__((constructor)) init_get_clock(void)
49 static void __attribute__((constructor)) init_get_clock(void)
/external/v8/test/mjsunit/
H A Darray-functions-prototype.js36 function constructor() {}; class
37 constructor.prototype = proto;
59 var nonArray = new constructor();
90 var nonArray = new constructor();
121 var nonArray = new constructor();
151 var nonArray = new constructor();
/external/clang/test/SemaCXX/
H A Dcast-conversion.cpp11 struct B { // expected-note 3 {{candidate constructor (the implicit copy constructor) not viable}} \
12 expected-note 3 {{candidate constructor (the implicit move constructor) not viable}}
13 B(A); // expected-note 3 {{candidate constructor not viable}}
H A Dexplicit.cpp43 class Y { }; // expected-note {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Conversion::Z' to 'const Conversion::Y &' for 1st argument}} \
44 expected-note {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'Conversion::Z' to 'Conversion::Y &&' for 1st argument}} \
45 expected-note {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Conversion::Z' to 'const Conversion::Y &' for 1st argument}} \
46 expected-note {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'Conversion::Z' to 'Conversion::Y &&' for 1st argument}}
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DEarlyExitException.js9 org.antlr.runtime.EarlyExitException.superclass.constructor.call(
H A DIndexOutOfBoundsExceptions.js2 org.antlr.runtime.IndexOutOfBoundsException.superclass.constructor.call(this, m);
H A DMismatchedNotSetException.js2 org.antlr.runtime.MismatchedNotSetException.superclass.constructor.call(this, expecting, input);
H A DMismatchedSetException.js2 org.antlr.runtime.MismatchedSetException.superclass.constructor.call(
H A DFailedPredicateException.js13 org.antlr.runtime.FailedPredicateException.superclass.constructor.call(this, input);
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DRewriteEmptyStreamException.js4 sup.constructor.call(this, elementDescription);
/external/android-mock/tests/com/google/android/testing/mocking/
H A DConstructorCreationTests.java73 Constructor<TestClass> constructor =
75 assertNotNull(constructor);
80 Constructor<TestClass> constructor =
82 fail("A constructor was found: " + constructor);
101 Constructor<TestClass> constructor =
103 assertNotNull(constructor);
104 Type[] types = constructor.getGenericParameterTypes();
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DPropertyBoxParserImpl.java165 String constructor;
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) {
180 constructor = mapping.getProperty((type));
183 if (constructor
[all...]
/external/llvm/test/MC/MachO/
H A Dx86_64-sections.s12 .constructor

Completed in 440 milliseconds

12345678910