/external/clang/test/CodeGen/ |
H A D | 2008-03-03-CtorAttrType.c | 2 int __attribute__((constructor)) foo(void) { 5 void __attribute__((constructor)) bar(void) {}
|
H A D | attribute_constructor.c | 3 void foo() __attribute__((constructor));
|
H A D | constructor-attribute.c | 9 void A() __attribute__((constructor)); 20 static void C() __attribute__((constructor));
|
/external/clang/test/Sema/ |
H A D | 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/v8/test/mjsunit/regress/ |
H A D | regress-1172.js | 28 // 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 D | regress-193.js | 28 // 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 D | regress-117794.js | 33 function constructor() {}; function
|
/external/clang/test/CodeGenCXX/ |
H A D | constructor-attr.cpp | 9 static void foo() __attribute__((constructor)) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
H A D | 15.7.2.js | 29 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 D | NativeErrorPrototype.cpp | 34 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 D | 15.6.2.js | 28 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 D | dlclose-test-so.cc | 26 __attribute__((constructor))
|
/external/qemu/ |
H A D | qemu-timer-common.c | 33 static void __attribute__((constructor)) init_get_clock(void) 49 static void __attribute__((constructor)) init_get_clock(void)
|
/external/v8/test/mjsunit/ |
H A D | array-functions-prototype.js | 36 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 D | cast-conversion.cpp | 11 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 D | explicit.cpp | 43 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 D | EarlyExitException.js | 9 org.antlr.runtime.EarlyExitException.superclass.constructor.call(
|
H A D | IndexOutOfBoundsExceptions.js | 2 org.antlr.runtime.IndexOutOfBoundsException.superclass.constructor.call(this, m);
|
H A D | MismatchedNotSetException.js | 2 org.antlr.runtime.MismatchedNotSetException.superclass.constructor.call(this, expecting, input);
|
H A D | MismatchedSetException.js | 2 org.antlr.runtime.MismatchedSetException.superclass.constructor.call(
|
H A D | FailedPredicateException.js | 13 org.antlr.runtime.FailedPredicateException.superclass.constructor.call(this, input);
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
H A D | RewriteEmptyStreamException.js | 4 sup.constructor.call(this, elementDescription);
|
/external/android-mock/tests/com/google/android/testing/mocking/ |
H A D | ConstructorCreationTests.java | 73 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 D | PropertyBoxParserImpl.java | 165 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 D | x86_64-sections.s | 12 .constructor
|