Home
last modified time | relevance | path

Searched defs:constructor (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/external/v8/test/webkit/
Dclass-constructor-return.js37 class BaseNoReturn { constructor() { } }; method in BaseNoReturn
38 class BaseReturnImplicit { constructor() { return; } }; method in BaseReturnImplicit
39 class BaseReturnUndefined { constructor() { return undefined; } }; method in BaseReturnUndefined
40 class BaseReturnThis { constructor() { return this; } }; method in BaseReturnThis
41 class BaseReturnObject { constructor() { return {a:1}; } }; method in BaseReturnObject
42 class BaseReturnObject2 { constructor() { return globalVariable; } }; method in BaseReturnObject2
43 class BaseReturnString { constructor() { return "test"; } }; method in BaseReturnString
44 class BaseReturnNumber { constructor() { return 1; } }; method in BaseReturnNumber
45 class BaseReturnNull { constructor() { return null; } }; method in BaseReturnNull
46 class BaseReturnSymbol { constructor() { return Symbol(); } }; method in BaseReturnSymbol
[all …]
Dclass-syntax-super.js32 constructor() { } method in Base
39 constructor() { super(); } method in Derived
50 constructor() { super(); } method in SecondDerived
/external/v8/test/mjsunit/es6/
Dtypedarray-copywithin.js20 CheckEachTypedArray(function copyWithinArity(constructor) { argument
25 CheckEachTypedArray(function copyWithinTargetAndStart(constructor) { argument
38 CheckEachTypedArray(function copyWithinTargetStartAndEnd(constructor) { argument
49 CheckEachTypedArray(function copyWithinNegativeRelativeOffsets(constructor) { argument
67 CheckEachTypedArray(function mustBeTypedArray(constructor) { argument
70 return constructor.prototype.copyWithin.call(null, 0, 3); class
84 CheckEachTypedArray(function copyWithinStartLessThanTarget(constructor) { argument
94 CheckEachTypedArray(function copyWithinNonIntegerRelativeOffsets(constructor) { argument
101 CheckEachTypedArray(function copyWithinNegativeZeroTarget(constructor) { argument
108 CheckEachTypedArray(function copyWithinTargetOutsideStart(constructor) { argument
[all …]
Dclasses-experimental.js8 constructor() { method in TestArgumentsAccess.Base
18 constructor() { method in TestArgumentsAccess.Subclass
30 constructor(x,y) { method in TestArgumentsAccess.Subclass2
44 constructor(a, b) { method in TestThisAccessRestriction.Base
52 constructor(a, b) { method in TestThisAccessRestriction.Subclass
78 constructor(x) { method in TestThisAccessRestriction.Subclass2
104 constructor() {} method in TestThisAccessRestriction.BadSubclass
113 constructor() { baseCalled++ } method in TestThisCheckOrdering.Base
120 constructor() { method in TestThisCheckOrdering.Subclass1
167 constructor(x) { method in TestPrototypeWiring.Base
[all …]
Dsuper.js102 constructor: Base, property in Base
114 constructor: Derived, property in Derived
137 constructor: Base, property in Base
149 constructor: Derived, property in Derived
203 constructor: Base, property in Base
216 constructor: Derived, property in Derived
274 constructor: Base, property in Base
288 constructor: Derived, property in Derived
317 constructor: Base, property in Base
330 constructor: Derived, property in Derived
[all …]
Dclasses.js22 class D2 { constructor() {} } method in TestBasics.D2
30 var F = class { constructor() {} }; method in TestBasics.F
104 constructor() { method in TestConstructor.C
130 constructor() { method in TestConstructorStrict.C
146 constructor() { method in TestSuperInConstructor.C
184 class D { constructor() { 42; } } method in TestToString.D
302 constructor: B, property in B
318 constructor(x) { method in TestAccessors.C
393 set constructor(_) { setter in Base
682 constructor() { method in TestDefaultConstructor.Base
[all …]
Dspread-call-new-class.js11 constructor(...args) { method in testConstructClassStrict.Base
18 constructor(...args) { method in testConstructClassStrict.Child
25 constructor(...args) { method in testConstructClassStrict.Child2
54 constructor(...args) { method in testConstructSloppy.Base
61 constructor(...args) { method in testConstructSloppy.Child
68 constructor(...args) { method in testConstructSloppy.Child2
Dclasses-subclass-builtins.js23 constructor(...args) { method in anonymousFunctione41b5a500100.A
78 constructor(...args) { method in anonymousFunctione41b5a500200.A
153 constructor(...args) { method in anonymousFunctione41b5a500300.A
182 constructor(...args) { method in TestErrorSubclassing.A
228 constructor(...args) { method in anonymousFunctione41b5a500500.A
257 constructor(...args) { method in anonymousFunctione41b5a500600.A
289 constructor(...args) { method in anonymousFunctione41b5a500700.A
319 constructor(...args) { method in anonymousFunctione41b5a500800.A
354 constructor(...args) { method in TestArraySubclassing.A
390 constructor(...args) { method in TestTypedArraySubclassing.A
[all …]
Dnew-target.js13 constructor(_) { method in TestClass.Base
30 constructor(expected) { method in TestDerivedClass.Base
35 constructor(expected) { method in TestDerivedClass.Derived
102 constructor(expected) { method in TestClassExtendsFunction.Derived
134 constructor(expected) { method in TestClassReturnObject.Base
148 constructor(expected) { method in TestClassReturnObject.Derived2
203 constructor(...rest) { method in TestRestParametersClass.Base
234 constructor(expected) { method in TestRestParametersClass.Base
396 constructor() { method in TestInlining.A
Dclasses-derived-return-type.js11 constructor(x) { method in DerivedWithReturn
41 constructor(x) { method in DerivedWithReturnNoSuper
73 constructor() { method in DerivedReturn
84 constructor() { method in DerivedReturnThis
Dclasses-subclass-arrays.js64 constructor() { super(); } method in TestEmptyArgsSuper.Stack
82 constructor(x) { method in TestOneArgSuper.Stack
108 constructor(x, y, z) { method in TestMultipleArgsSuper.Stack
Dtypedarray-of.js21 function TestTypedArrayOf(constructor) { argument
59 constructor(length) { method in TestTypedArrayOf.Bag
97 constructor(length) { method in TestTypedArrayOf.Pack
/external/v8/test/webkit/fast/js/
Dprimitive-property-access-edge-cases.js31 delete String.prototype.constructor; method in delete
66 function checkGet(x, constructor) argument
75 function checkSet(x, constructor) argument
84 function checkGetStrict(x, constructor) argument
93 function checkSetStrict(x, constructor) argument
115 function checkRead(x, constructor) argument
120 function checkWrite(x, constructor) argument
126 function checkReadStrict(x, constructor) argument
132 function checkWriteStrict(x, constructor) argument
152 function checkNumericGet(x, constructor) argument
[all …]
/external/v8/test/mjsunit/harmony/
Darraybuffer-species.js13 constructor(length) { super(length - 1); } method in MyShortArrayBuffer
18 constructor(...args) { method in SingletonArrayBuffer
27 constructor() { method in NonArrayBuffer
35 UndefinedArrayBuffer.prototype.constructor = undefined; method in UndefinedArrayBuffer
Dfunction-name.js147 classLit = class { constructor() {} }; method in testAssignment.classLit
151 classLit = class classWithName { constructor() {} }; method in testAssignment.classLit
153 classLit = class { constructor() {} static name() {} }; method in testAssignment.classLit
155 classLit = class { constructor() {} static get name() { return true; } }; method in testAssignment.classLit
157 classLit = class { constructor() {} static ['name']() {} }; method in testAssignment.classLit
159 classLit = class { constructor() {} static get ['name']() { return true; } }; method in testAssignment.classLit
Dsharedarraybuffer.js226 function SubarrayTestCase(constructor, item, expectedResultLen, argument
238 function TestSubArray(constructor, item) { argument
278 function TestTypedArrayOutOfRange(constructor, value, result) { argument
311 function TestPropertyTypeChecks(constructor) { argument
344 function initializeFromArray(constructor, array) { argument
Darray-species.js75 MyOtherDefaultArray.prototype.constructor = undefined; method in MyOtherDefaultArray
94 constructor(...args) { method in FrozenArray
109 constructor(...args) { method in MyObservedArray
/external/v8/test/mjsunit/strong/
Dclass-extend-null.js14 constructor() { method in anonymousFunctiond648d2e00100.nullLiteral.Class1
22 constructor() { method in anonymousFunctiond648d2e00100.nullVariable.Class2
60 constructor() { method in anonymousFunctiond648d2e00200.nullLiteral.Class1
68 constructor() { method in anonymousFunctiond648d2e00200.nullVariable.Class2
/external/guava/guava-tests/test/com/google/common/reflect/
DInvokableTest.java57 Constructor<WithConstructorAndTypeParameter> constructor = type.getDeclaredConstructor(); in testConstructor_returnType_hasTypeParameter() local
325 Constructor<?> constructor = in testInnerClassDefaultConstructor() local
331 Constructor<?> constructor = in testNestedInnerClassDefaultConstructor() local
342 Constructor<?> constructor = in testInnerClassWithOneParameterConstructor() local
355 Constructor<?> constructor = in testInnerClassWithAnnotatedConstructorParameter() local
368 Constructor<?> constructor = in testInnerClassWithGenericConstructorParameter() local
386 Constructor<?> constructor = anonymous.getDeclaredConstructors() [0]; in testAnonymousClassDefaultConstructor() local
396 Constructor<?> constructor = anonymous.getDeclaredConstructors() [0]; in testAnonymousClassWithTwoParametersConstructor() local
408 Constructor<?> constructor = LocalWithDefaultConstructor.class.getDeclaredConstructors() [0]; in testLocalClassDefaultConstructor() local
424 Constructor<?> constructor = anonymous.getDeclaredConstructors() [0]; in doTestStaticAnonymousClassDefaultConstructor() local
[all …]
/external/v8/test/mjsunit/compiler/
Descape-analysis.js33 function constructor() { function
54 function constructor() { function
76 function constructor() { function
183 function constructor() { function
199 constructor.prototype = monkey; class
207 function constructor() { function
256 function oob(constructor, branch) { argument
404 function constructor() { function
424 function constructor() { function
Dinline-construct.js32 function TestInlinedConstructor(constructor, closure) { argument
60 function value_context(constructor, val, deopt, counter) { argument
65 function test_context(constructor, val, deopt, counter) { argument
72 function effect_context(constructor, val, deopt, counter) { argument
77 function TestInAllContexts(constructor) { argument
/external/v8/test/mjsunit/harmony/regress/
Dregress-4395.js43 constructor() { this.z = x } method
46 constructor() { this.z = x } method
88 constructor() { return { prop: 42 } } method in testExpressionTypes.anonymousFunctione04dff150100.testSuper.C
92 constructor() { method in testExpressionTypes.anonymousFunctione04dff150100.testSuper.D
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DAssistedConstructor.java42 private final Constructor<T> constructor; field in AssistedConstructor
47 Constructor<T> constructor, List<TypeLiteral<?>> parameterTypes) { in create()
51 private AssistedConstructor(Constructor<T> constructor, List<TypeLiteral<?>> parameterTypes) { in AssistedConstructor()
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
DLexer.pm12 sub constructor : Test(1) { subroutine
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DClassTagsTest.java75 Constructor constructor = new Constructor(); in testLoadClassTag() local
87 Constructor constructor = new Constructor(); in testNullDescription() local
97 Constructor constructor = new Constructor(new TypeDescription(Car.class)); in testLoadClassNoRoot() local

12345678910>>...16