Home
last modified time | relevance | path

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

12345678910>>...14

/external/v8/test/webkit/
Dclass-constructor-return.js35 class BaseNoReturn { constructor() { } }; method in BaseNoReturn
36 class BaseReturnImplicit { constructor() { return; } }; method in BaseReturnImplicit
37 class BaseReturnUndefined { constructor() { return undefined; } }; method in BaseReturnUndefined
38 class BaseReturnThis { constructor() { return this; } }; method in BaseReturnThis
39 class BaseReturnObject { constructor() { return {a:1}; } }; method in BaseReturnObject
40 class BaseReturnObject2 { constructor() { return globalVariable; } }; method in BaseReturnObject2
41 class BaseReturnString { constructor() { return "test"; } }; method in BaseReturnString
42 class BaseReturnNumber { constructor() { return 1; } }; method in BaseReturnNumber
43 class BaseReturnNull { constructor() { return null; } }; method in BaseReturnNull
44 class BaseReturnSymbol { constructor() { return Symbol(); } }; method in BaseReturnSymbol
[all …]
Dclass-syntax-call.js26 class A { constructor() {} }; method in A
27 class B extends A { constructor() { super() } }; method in B
Dclass-syntax-super.js30 constructor() { } method in Base
37 constructor() { super(); } method in Derived
48 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 …]
Dspread-call-new-class.js9 constructor(...args) { method in testConstructClassStrict.Base
16 constructor(...args) { method in testConstructClassStrict.Child
23 constructor(...args) { method in testConstructClassStrict.Child2
52 constructor(...args) { method in testConstructSloppy.Base
59 constructor(...args) { method in testConstructSloppy.Child
66 constructor(...args) { method in testConstructSloppy.Child2
Darraybuffer-species.js11 constructor(length) { super(length - 1); } method in MyShortArrayBuffer
16 constructor(...args) { method in SingletonArrayBuffer
25 constructor() { method in NonArrayBuffer
33 UndefinedArrayBuffer.prototype.constructor = undefined; method in UndefinedArrayBuffer
Dsuper.js101 constructor: Base, property in Base
113 constructor: Derived, property in Derived
136 constructor: Base, property in Base
148 constructor: Derived, property in Derived
202 constructor: Base, property in Base
215 constructor: Derived, property in Derived
273 constructor: Base, property in Base
287 constructor: Derived, property in Derived
316 constructor: Base, property in Base
329 constructor: Derived, property in Derived
[all …]
Dclasses.js22 class D2 { constructor() {} } method in TestBasics.D2
28 var F = class { constructor() {} }; method in TestBasics.F
102 constructor() { method in TestConstructor.C
128 constructor() { method in TestConstructorStrict.C
144 constructor() { method in TestSuperInConstructor.C
182 class D { constructor() { 42; } } method in TestToString.D
300 constructor: B, property in B
316 constructor(x) { method in TestAccessors.C
391 set constructor(_) { setter in Base
680 constructor() { method in TestDefaultConstructor.Base
[all …]
Dclasses-subclass-builtins.js22 constructor(...args) { method in anonymousFunction710f18f10100.A
77 constructor(...args) { method in anonymousFunction710f18f10200.A
136 constructor(...args) { method in anonymousFunction710f18f10300.A
165 constructor(...args) { method in TestErrorSubclassing.A
211 constructor(...args) { method in anonymousFunction710f18f10500.A
240 constructor(...args) { method in anonymousFunction710f18f10600.A
272 constructor(...args) { method in anonymousFunction710f18f10700.A
302 constructor(...args) { method in anonymousFunction710f18f10800.A
337 constructor(...args) { method in TestArraySubclassing.A
373 constructor(...args) { method in TestTypedArraySubclassing.A
[all …]
Dnew-target.js11 constructor(_) { method in TestClass.Base
28 constructor(expected) { method in TestDerivedClass.Base
33 constructor(expected) { method in TestDerivedClass.Derived
100 constructor(expected) { method in TestClassExtendsFunction.Derived
132 constructor(expected) { method in TestClassReturnObject.Base
146 constructor(expected) { method in TestClassReturnObject.Derived2
201 constructor(...rest) { method in TestRestParametersClass.Base
232 constructor(expected) { method in TestRestParametersClass.Base
394 constructor() { method in TestInlining.A
Dclasses-derived-return-type.js9 constructor(x) { method in DerivedWithReturn
39 constructor(x) { method in DerivedWithReturnNoSuper
71 constructor() { method in DerivedReturn
82 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
Darray-species.js83 MyOtherDefaultArray.prototype.constructor = undefined; method in MyOtherDefaultArray
103 constructor(...args) { method in FrozenArray
119 constructor(...args) { method in MyObservedArray
/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/es6/regress/
Dregress-4395.js41 constructor() { this.z = x } method
44 constructor() { this.z = x } method
86 constructor() { return { prop: 42 } } method in testExpressionTypes.anonymousFunction6260ddc60100.testSuper.C
90 constructor() { method in testExpressionTypes.anonymousFunction6260ddc60100.testSuper.D
/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/regress/
Dregress-595319.js12 constructor(...args) { method in NoDefinePropertyArray
28 constructor(...args) { super(...args); Object.freeze(this); } method in FrozenArray
34 constructor(...args) { method in ZeroFrozenArray
/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/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
DLexer.pm12 sub constructor : Test(1) { method in Test::ANTLR::Runtime::Lexer
DException.pm9 sub constructor : Test(1) { subroutine
/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/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>>...14