| /third_party/typescript/tests/baselines/reference/ |
| D | library_DatePrototypeProperties.js | 4 Date.prototype.constructor; 5 Date.prototype.toString(); 6 Date.prototype.toDateString(); 7 Date.prototype.toTimeString(); 8 Date.prototype.toLocaleString(); 9 Date.prototype.toLocaleDateString(); 10 Date.prototype.toLocaleTimeString(); 11 Date.prototype.valueOf(); 13 Date.prototype.getTime(); 14 Date.prototype.getFullYear(); [all …]
|
| D | library_DatePrototypeProperties.types | 2 // Properties of the Date prototype object as per ES5 spec 4 Date.prototype.constructor; 5 >Date.prototype.constructor : Function 6 >Date.prototype : Date 8 >prototype : Date 11 Date.prototype.toString(); 12 >Date.prototype.toString() : string 13 >Date.prototype.toString : () => string 14 >Date.prototype : Date 16 >prototype : Date [all …]
|
| D | library_DatePrototypeProperties.symbols | 2 // Properties of the Date prototype object as per ES5 spec 4 Date.prototype.constructor; 5 >Date.prototype.constructor : Symbol(Object.constructor, Decl(lib.es5.d.ts, --, --)) 6 >Date.prototype : Symbol(DateConstructor.prototype, Decl(lib.es5.d.ts, --, --)) 8 >prototype : Symbol(DateConstructor.prototype, Decl(lib.es5.d.ts, --, --)) 11 Date.prototype.toString(); 12 >Date.prototype.toString : Symbol(Date.toString, Decl(lib.es5.d.ts, --, --)) 13 >Date.prototype : Symbol(DateConstructor.prototype, Decl(lib.es5.d.ts, --, --)) 15 >prototype : Symbol(DateConstructor.prototype, Decl(lib.es5.d.ts, --, --)) 18 Date.prototype.toDateString(); [all …]
|
| D | library_ObjectPrototypeProperties.types | 4 Object.prototype.constructor; 5 >Object.prototype.constructor : Function 6 >Object.prototype : Object 8 >prototype : Object 11 Object.prototype.toString(); 12 >Object.prototype.toString() : string 13 >Object.prototype.toString : () => string 14 >Object.prototype : Object 16 >prototype : Object 19 Object.prototype.toLocaleString(); [all …]
|
| D | methodsReturningThis.types | 8 Class.prototype.containsError = function () { return this.notPresent; }; 9 >Class.prototype.containsError = function () { return this.notPresent; } : () => any 10 >Class.prototype.containsError : any 11 >Class.prototype : any 13 >prototype : any 21 Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; }; 22 >Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; } : (a: any, b: any, c: any, d: … 23 >Class.prototype.m1 : any 24 >Class.prototype : any 26 >prototype : any [all …]
|
| D | library_ObjectPrototypeProperties.symbols | 4 Object.prototype.constructor; 5 >Object.prototype.constructor : Symbol(Object.constructor, Decl(lib.es5.d.ts, --, --)) 6 >Object.prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --)) 8 >prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --)) 11 Object.prototype.toString(); 12 >Object.prototype.toString : Symbol(Object.toString, Decl(lib.es5.d.ts, --, --)) 13 >Object.prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --)) 15 >prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --)) 18 Object.prototype.toLocaleString(); 19 >Object.prototype.toLocaleString : Symbol(Object.toLocaleString, Decl(lib.es5.d.ts, --, --)) [all …]
|
| D | privacyGloFunc.js | 543 C1_public.prototype.f1 = function () { 556 C3_public.prototype.f1_private = function (m1_c3_f1_arg) { 558 C3_public.prototype.f2_public = function (m1_c3_f2_arg) { 560 C3_public.prototype.f3_private = function (m1_c3_f3_arg) { 562 C3_public.prototype.f4_public = function (m1_c3_f4_arg) { 564 C3_public.prototype.f5_private = function () { 567 C3_public.prototype.f6_public = function () { 570 C3_public.prototype.f7_private = function () { 573 C3_public.prototype.f8_public = function () { 576 C3_public.prototype.f9_private = function () { [all …]
|
| D | staticPropertyNameConflicts.js | 26 static prototype: number; // error 27 prototype: string; // ok 31 static prototype() {} // error 32 prototype() {} // ok 85 static prototype: number; // error 86 prototype: string; // ok 90 static prototype() {} // error 91 prototype() {} // ok 152 static prototype: number; // error 153 prototype: string; // ok [all …]
|
| D | methodsReturningThis.js | 7 Class.prototype.containsError = function () { return this.notPresent; }; 10 Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; }; 11 Class.prototype.m2 = function (x, y) { return this; }; 12 Class.prototype.m3 = function (x, y) { return this; }; 13 Class.prototype.m4 = function (angle) { return this; }; 14 Class.prototype.m5 = function (matrix) { return this; }; 15 Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { retu… 16 Class.prototype.m7 = function(matrix) { return this; }; 17 Class.prototype.m8 = function() { return this; }; 18 Class.prototype.m9 = function () { return this; }; [all …]
|
| D | errorSuperPropertyAccess.js | 7 var a = super.prototype; 12 var a = super.prototype; 16 m = super.prototype; 136 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 144 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 152 this.m = _super.prototype.prototype; 153 this.n = _super.prototype.hasOwnProperty.call(this, ''); 154 var a = _super.prototype.prototype; 155 var b = _super.prototype.hasOwnProperty.call(this, ''); 157 NoBase.prototype.fn = function () { [all …]
|
| D | instanceMemberAssignsToClassPrototype.symbols | 8 C.prototype.foo = () => { } 9 >C.prototype.foo : Symbol(C.foo, Decl(instanceMemberAssignsToClassPrototype.ts, 0, 9)) 10 >C.prototype : Symbol(C.prototype) 12 >prototype : Symbol(C.prototype) 20 C.prototype.bar = () => { } // error 21 >C.prototype.bar : Symbol(C.bar, Decl(instanceMemberAssignsToClassPrototype.ts, 3, 5)) 22 >C.prototype : Symbol(C.prototype) 24 >prototype : Symbol(C.prototype) 27 C.prototype.bar = (x) => x; // ok 28 >C.prototype.bar : Symbol(C.bar, Decl(instanceMemberAssignsToClassPrototype.ts, 3, 5)) [all …]
|
| /third_party/jerryscript/tests/jerry/es5.1/ |
| D | builtin-prototypes.js | 16 assert (Object.prototype.toString.call (String.prototype) === '[object String]'); 17 assert (String.prototype.toString() === ""); 19 assert (Object.prototype.toString.call (Boolean.prototype) === '[object Boolean]'); 20 assert (Boolean.prototype.valueOf() === false); 22 assert (Object.prototype.toString.call (Number.prototype) === '[object Number]'); 23 assert (Number.prototype.valueOf() === 0); 25 assert (Object.prototype.toString.call (Date.prototype) === '[object Date]'); 26 assert (isNaN(Date.prototype.valueOf())); 28 assert (isNaN (Date.prototype.setTime())); 29 assert (isNaN (Date.prototype.setMilliseconds())); [all …]
|
| /third_party/typescript/tests/cases/compiler/ |
| D | library_DatePrototypeProperties.ts | 3 Date.prototype.constructor; 4 Date.prototype.toString(); 5 Date.prototype.toDateString(); 6 Date.prototype.toTimeString(); 7 Date.prototype.toLocaleString(); 8 Date.prototype.toLocaleDateString(); 9 Date.prototype.toLocaleTimeString(); 10 Date.prototype.valueOf(); 12 Date.prototype.getTime(); 13 Date.prototype.getFullYear(); [all …]
|
| /third_party/libphonenumber/javascript/i18n/phonenumbers/ |
| D | phonemetadata.pb.js | 58 i18n.phonenumbers.NumberFormat.prototype.clone; 65 i18n.phonenumbers.NumberFormat.prototype.getPattern = function() { 74 i18n.phonenumbers.NumberFormat.prototype.getPatternOrDefault = function() { 83 i18n.phonenumbers.NumberFormat.prototype.setPattern = function(value) { 91 i18n.phonenumbers.NumberFormat.prototype.hasPattern = function() { 99 i18n.phonenumbers.NumberFormat.prototype.patternCount = function() { 107 i18n.phonenumbers.NumberFormat.prototype.clearPattern = function() { 116 i18n.phonenumbers.NumberFormat.prototype.getFormat = function() { 125 i18n.phonenumbers.NumberFormat.prototype.getFormatOrDefault = function() { 134 i18n.phonenumbers.NumberFormat.prototype.setFormat = function(value) { [all …]
|
| D | phonenumber.pb.js | 57 i18n.phonenumbers.PhoneNumber.prototype.clone; 64 i18n.phonenumbers.PhoneNumber.prototype.getCountryCode = function() { 73 i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeOrDefault = function() { 82 i18n.phonenumbers.PhoneNumber.prototype.setCountryCode = function(value) { 90 i18n.phonenumbers.PhoneNumber.prototype.hasCountryCode = function() { 98 i18n.phonenumbers.PhoneNumber.prototype.countryCodeCount = function() { 106 i18n.phonenumbers.PhoneNumber.prototype.clearCountryCode = function() { 115 i18n.phonenumbers.PhoneNumber.prototype.getNationalNumber = function() { 124 i18n.phonenumbers.PhoneNumber.prototype.getNationalNumberOrDefault = function() { 133 i18n.phonenumbers.PhoneNumber.prototype.setNationalNumber = function(value) { [all …]
|
| /third_party/flutter/skia/modules/canvaskit/ |
| D | externs.js | 511 CanvasKit.SkPath.prototype.addArc = function() {}; 512 CanvasKit.SkPath.prototype.addPath = function() {}; 513 CanvasKit.SkPath.prototype.addRect = function() {}; 514 CanvasKit.SkPath.prototype.addRoundRect = function() {}; 515 CanvasKit.SkPath.prototype.arc = function() {}; 516 CanvasKit.SkPath.prototype.arcTo = function() {}; 517 CanvasKit.SkPath.prototype.close = function() {}; 518 CanvasKit.SkPath.prototype.conicTo = function() {}; 519 CanvasKit.SkPath.prototype.cubicTo = function() {}; 520 CanvasKit.SkPath.prototype.dash = function() {}; [all …]
|
| /third_party/jerryscript/tests/jerry/es2015/ |
| D | object-prototype-tostring.js | 16 assert (Symbol.prototype[Symbol.toStringTag] === "Symbol"); 17 assert (Object.prototype.toString.call (Symbol ()) === "[object Symbol]"); 19 assert (delete Symbol.prototype[Symbol.toStringTag]); 20 assert (Symbol.prototype[Symbol.toStringTag] === undefined); 21 Symbol.prototype[Symbol.toStringTag] = "myStringTag1"; 22 assert (Object.prototype.toString.call (Symbol ()) === "[object myStringTag1]"); 23 Symbol.prototype[Symbol.toStringTag] = {}; 24 assert (Object.prototype.toString.call (Symbol ()) === "[object Symbol]"); 28 assert (Object.prototype.toString.call (Math) === "[object Math]"); 33 assert (Object.prototype.toString.call (Math) === "[object myStringTag2]"); [all …]
|
| D | builtin-prototypes.js | 17 String.prototype, 18 Boolean.prototype, 19 Number.prototype, 20 Date.prototype, 21 RegExp.prototype, 22 Error.prototype, 23 EvalError.prototype, 24 RangeError.prototype, 25 ReferenceError.prototype, 26 SyntaxError.prototype, [all …]
|
| /third_party/jerryscript/tests/jerry/ |
| D | regression-test-issue-786.js | 15 try { RegExp.prototype.toString() } catch (err) { } 16 try { Date.prototype.toTimeString() } catch (err) { } 17 try { Boolean.prototype.toString() } catch (err) { } 18 try { String.prototype.match(isNaN) } catch (err) { } 20 try { Date.prototype.getUTCDay() } catch (err) { } 22 try { Array.prototype.join(String.prototype.split) } catch (err) { } 23 try { Date.prototype.getSeconds() } catch (err) { } 24 try { isNaN.apply(Date.prototype.toISOString, String.prototype.split) } catch (err) { } 26 try { Math.floor(Date.prototype.getUTCSeconds) } catch (err) { } 28 try { Number.prototype.toLocaleString() } catch (err) { } [all …]
|
| D | error.js | 33 assert (Error.prototype.toString !== Object.prototype.toString); 34 assert (Error.prototype.constructor === Error); 35 assert (Error.prototype.name === "Error"); 36 assert (Error.prototype.message === ""); 37 assert (Error.prototype.toString() === "Error"); 55 assert (TypeError.prototype.toString === Error.prototype.toString); 56 assert (TypeError.prototype.constructor === TypeError); 57 assert (TypeError.prototype.name === "TypeError"); 58 assert (TypeError.prototype.message === ""); 59 assert (TypeError.prototype.toString() === "TypeError"); [all …]
|
| /third_party/node/deps/npm/node_modules/es-abstract/ |
| D | GetIntrinsic.js | 53 '$ %ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer.prototype, 55 '$ %ArrayPrototype%': Array.prototype, 56 '$ %ArrayProto_entries%': Array.prototype.entries, 57 '$ %ArrayProto_forEach%': Array.prototype.forEach, 58 '$ %ArrayProto_keys%': Array.prototype.keys, 59 '$ %ArrayProto_values%': Array.prototype.values, 62 '$ %AsyncFunctionPrototype%': asyncFunction ? asyncFunction.prototype : undefined, 65 '$ %AsyncGeneratorPrototype%': asyncGenFunction ? asyncGenFunction.prototype : undefined, 69 '$ %BooleanPrototype%': Boolean.prototype, 71 '$ %DataViewPrototype%': typeof DataView === 'undefined' ? undefined : DataView.prototype, [all …]
|
| /third_party/skia/modules/canvaskit/ |
| D | externs.js | 98 prototype: { 115 prototype: { 158 prototype: { 180 prototype: { 219 prototype: { 346 prototype: { 369 prototype: { 411 prototype: { 491 prototype: { 524 prototype: { [all …]
|
| /third_party/flutter/skia/modules/pathkit/ |
| D | externs.js | 75 StrokeOpts.prototype.width; 76 StrokeOpts.prototype.miter_limit; 77 StrokeOpts.prototype.cap; 78 StrokeOpts.prototype.join; 82 CubicMap.prototype.computeYFromX = function(x) {}; 83 CubicMap.prototype.computePtFromT = function(t) {}; 89 PathKit.SkPath.prototype.addPath = function() {}; 90 PathKit.SkPath.prototype.arc = function(x, y, radius, startAngle, endAngle, ccw) {}; 91 PathKit.SkPath.prototype.arcTo = function(x1, y1, x2, y2, radius) {}; 92 PathKit.SkPath.prototype.bezierCurveTo = function(cp1x, cp1y, cp2x, cp2y, x, y) {}; [all …]
|
| /third_party/skia/modules/pathkit/ |
| D | externs.js | 75 StrokeOpts.prototype.width; 76 StrokeOpts.prototype.miter_limit; 77 StrokeOpts.prototype.cap; 78 StrokeOpts.prototype.join; 82 CubicMap.prototype.computeYFromX = function(x) {}; 83 CubicMap.prototype.computePtFromT = function(t) {}; 89 PathKit.SkPath.prototype.addPath = function() {}; 90 PathKit.SkPath.prototype.arc = function(x, y, radius, startAngle, endAngle, ccw) {}; 91 PathKit.SkPath.prototype.arcTo = function(x1, y1, x2, y2, radius) {}; 92 PathKit.SkPath.prototype.bezierCurveTo = function(cp1x, cp1y, cp2x, cp2y, x, y) {}; [all …]
|
| /third_party/protobuf/js/binary/ |
| D | reader.js | 145 jspb.BinaryReader.prototype.alloc = jspb.BinaryReader.alloc; 151 jspb.BinaryReader.prototype.free = function() { 168 jspb.BinaryReader.prototype.getFieldCursor = function() { 177 jspb.BinaryReader.prototype.getCursor = function() { 186 jspb.BinaryReader.prototype.getBuffer = function() { 195 jspb.BinaryReader.prototype.getFieldNumber = function() { 204 jspb.BinaryReader.prototype.getWireType = function() { 213 jspb.BinaryReader.prototype.isEndGroup = function() { 222 jspb.BinaryReader.prototype.getError = function() { 233 jspb.BinaryReader.prototype.setBlock = function(bytes, start, length) { [all …]
|