/external/v8/test/mjsunit/regress/ |
regress-crbug-575314.js | 9 // Overwriting the constructor of a Promise with something that doesn't have 10 // @@species shouldn't result in a rejection, even if that constructor 14 test.constructor = function(){};
|
regress-117794.js | 33 function constructor() {}; function
|
regress-2489.js | 37 g.constructor.apply(this, arguments); 40 g.constructor = function(a, b) {
|
regress-2987.js | 34 function constructor() { class 40 var object = new constructor();
|
/external/v8/test/mjsunit/ |
callsite.js | 6 var constructor = Error().stack[0].constructor; variable 9 assertThrows(()=>constructor({}, {}, 1, false), TypeError); 14 var site = constructor.call(null, receiver, f, {valueOf() { return 0 }}, false);
|
/external/v8/test/mjsunit/harmony/ |
arraybuffer-species.js | 10 assertEquals(MyArrayBuffer, new MyArrayBuffer(0).slice().constructor); 13 constructor(length) { super(length - 1); } 18 constructor(...args) { 27 constructor() { 35 UndefinedArrayBuffer.prototype.constructor = undefined; 36 assertEquals(ArrayBuffer, new UndefinedArrayBuffer(0).slice().constructor);
|
typedarray-species.js | 21 for (let constructor of typedArrayConstructors) { 22 class MyTypedArray extends constructor { } 23 assertEquals(MyTypedArray, new MyTypedArray().map(()=>0).constructor); 24 assertEquals(MyTypedArray, new MyTypedArray().filter(()=>{}).constructor); 25 assertEquals(MyTypedArray, new MyTypedArray().slice().constructor); 30 for (let constructor of typedArrayConstructors) { 31 class MyTypedArray extends constructor { } 32 class MyOtherTypedArray extends constructor { 35 assertEquals(MyTypedArray, new MyOtherTypedArray().map(()=>0).constructor); 36 assertEquals(MyTypedArray, new MyOtherTypedArray().filter(()=>{}).constructor); [all...] |
array-species.js | 15 assertEquals(MyArray, new MyArray().map(()=>{}).constructor); 16 assertEquals(MyArray, new MyArray().filter(()=>{}).constructor); 17 assertEquals(MyArray, new MyArray().slice().constructor); 18 assertEquals(MyArray, new MyArray().splice().constructor); 26 assertEquals(MyArray, new MyOtherArray().map(()=>{}).constructor); 27 assertEquals(MyArray, new MyOtherArray().filter(()=>{}).constructor); 28 assertEquals(MyArray, new MyOtherArray().slice().constructor); 29 assertEquals(MyArray, new MyOtherArray().splice().constructor); 40 Array.prototype.map.call(new MyNonArray(), ()=>{}).constructor); 42 Array.prototype.filter.call(new MyNonArray(), ()=>{}).constructor); [all...] |
/external/v8/test/mjsunit/strong/ |
classes.js | 25 function constructor(body) { function 27 "(class extends Object { constructor() { " + body + " } })"; 31 assertSyntaxError(constructor("super.a;")); 32 assertSyntaxError(constructor("super['a'];")); 33 assertSyntaxError(constructor("super.f();")); 34 assertSyntaxError(constructor("super.a;")); 35 assertSyntaxError(constructor("{ super.a }")); 36 assertSyntaxError(constructor("if (0) super.a;")); 38 // assertSyntaxError(constructor("() => super.a;")); 39 // assertSyntaxError(constructor("() => () => super.a;")) [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
Lexer.pm | 12 sub constructor : Test(1) { subroutine
|
Exception.pm | 9 sub constructor : Test(1) { subroutine
|
/external/libmicrohttpd/src/testspdy/ |
common.c | 30 #define FUNC_CONSTRUCTOR(f) static void __attribute__ ((constructor)) f 37 FUNC_CONSTRUCTOR (constructor)() function
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
AbstractConstruct.java | 16 package org.yaml.snakeyaml.constructor; 23 * some typing when extending a constructor 31 * @see org.yaml.snakeyaml.constructor.Construct#construct2ndStep(org.yaml.snakeyaml.nodes.Node,
|
Construct.java | 16 package org.yaml.snakeyaml.constructor;
|
ConstructorException.java | 16 package org.yaml.snakeyaml.constructor;
|
CustomClassLoaderConstructor.java | 16 package org.yaml.snakeyaml.constructor; 21 public class CustomClassLoaderConstructor extends Constructor {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
Child1.java | 16 package org.yaml.snakeyaml.constructor;
|
ArrayTagsTest.java | 16 package org.yaml.snakeyaml.constructor; 40 assertEquals(Util.getLocalResource("constructor/cararray-with-tags-flow-auto.yaml"), 57 assertEquals(Util.getLocalResource("constructor/cararray-with-tags.yaml"), yaml.dump(car)); 61 Constructor constructor = new Constructor(); local 62 constructor.addTypeDescription(new TypeDescription(Car.class, "!car")); 63 Yaml yaml = new Yaml(constructor); 64 Car car = (Car) yaml.load(Util.getLocalResource("constructor/car-without-tags.yaml")); 72 Constructor constructor = new Constructor() local 82 Constructor constructor = new Constructor(new TypeDescription(CarWithArray.class)); local [all...] |
ClassTagsTest.java | 16 package org.yaml.snakeyaml.constructor; 42 assertEquals(Util.getLocalResource("constructor/car-with-tags.yaml"), new Yaml().dump(car)); 60 assertEquals(Util.getLocalResource("constructor/car-without-tags.yaml"), output); 66 yaml.load(Util.getLocalResource("constructor/car-without-tags.yaml")); 75 Constructor constructor = new Constructor(); local 76 constructor.addTypeDescription(new TypeDescription(Car.class, "!car")); 77 Yaml yaml = new Yaml(constructor); 78 String source = Util.getLocalResource("constructor/car-without-tags.yaml") 87 Constructor constructor = new Constructor(); local 97 Constructor constructor = new Constructor(new TypeDescription(Car.class)); local [all...] |
/external/v8/test/mjsunit/compiler/ |
escape-analysis-representation.js | 38 function constructor(value_track) { class 43 var o = new constructor(value_track); 65 // Also make sure the initial map of the constructor is reset. 66 constructor.prototype = {};
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/constructor/ |
NoPublicConstructorTest.java | 17 package 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.
|
/external/v8/test/mjsunit/es6/ |
typedarray-every.js | 24 function TestTypedArrayForEach(constructor) { 25 assertEquals(1, constructor.prototype.every.length); 27 var a = new constructor(3); 88 a = new constructor(3); 104 a = new constructor(new ArrayBuffer(64)); 111 a = new constructor(2); 126 assertThrows(function () { constructor.prototype.every.call([1, 2, 3], function (x) {}) }, TypeError); 127 assertThrows(function () { constructor.prototype.every.call("abc", function (x) {}) }, TypeError); 128 assertThrows(function () { constructor.prototype.every.call({}, function (x) {}) }, TypeError); 129 assertThrows(function () { constructor.prototype.every.call(0, function (x) {}) }, TypeError) 134 constructor.prototype.every.call(a, function (x) { count++; return true; }); class [all...] |
typedarray-foreach.js | 24 function TestTypedArrayForEach(constructor) { 25 assertEquals(1, constructor.prototype.forEach.length); 27 var a = new constructor(2); 94 a = new constructor(3); 108 a = new constructor(new ArrayBuffer(64)); 115 a = new constructor(2); 129 assertThrows(function () { constructor.prototype.forEach.call([1, 2, 3], function (x) {}) }, TypeError); 130 assertThrows(function () { constructor.prototype.forEach.call("abc", function (x) {}) }, TypeError); 131 assertThrows(function () { constructor.prototype.forEach.call({}, function (x) {}) }, TypeError); 132 assertThrows(function () { constructor.prototype.forEach.call(0, function (x) {}) }, TypeError) 137 constructor.prototype.forEach.call(a, function (x) { count++ }); class [all...] |