/third_party/typescript/tests/baselines/reference/ |
D | typedArraysCrossAssignability01.types | 17 let arr_Int16Array = new Int16Array(1); 18 >arr_Int16Array : Int16Array 19 >new Int16Array(1) : Int16Array 20 >Int16Array : Int16ArrayConstructor 70 >arr_Int8Array = arr_Int16Array : Int16Array 72 >arr_Int16Array : Int16Array 115 >arr_Uint8Array = arr_Int16Array : Int16Array 117 >arr_Int16Array : Int16Array 151 >arr_Int16Array : Int16Array 156 >arr_Int16Array : Int16Array [all …]
|
D | valueOfTypedArray.types | 21 const typedArray2: Int16Array = (new Int16Array()).valueOf(); 22 >typedArray2 : Int16Array 23 >(new Int16Array()).valueOf() : Int16Array 24 >(new Int16Array()).valueOf : () => Int16Array 25 >(new Int16Array()) : Int16Array 26 >new Int16Array() : Int16Array 27 >Int16Array : Int16ArrayConstructor 28 >valueOf : () => Int16Array
|
D | typedArrays.js | 6 typedArrays[2] = Int16Array; 21 typedArrays[2] = new Int16Array(obj); 36 typedArrays[2] = new Int16Array(obj); 51 typedArrays[2] = Int16Array.from(obj); 66 typedArrays[2] = Int16Array.from(obj); 81 typedArrays[2] = Int16Array.of(...obj); 96 typedArrays[2] = Int16Array.of(1,2,3,4); 111 typedArrays[2] = Int16Array.from(obj, mapFn); 126 typedArrays[2] = Int16Array.from(obj, mapFn); 141 typedArrays[2] = Int16Array.from(obj, mapFn, thisArg); [all …]
|
D | typedArraysSubarray.types | 98 var arr = new Int16Array(10); 99 >arr : Int16Array 100 >new Int16Array(10) : Int16Array 101 >Int16Array : Int16ArrayConstructor 105 >arr.subarray() : Int16Array 106 >arr.subarray : (begin?: number, end?: number) => Int16Array 107 >arr : Int16Array 108 >subarray : (begin?: number, end?: number) => Int16Array 111 >arr.subarray(0) : Int16Array 112 >arr.subarray : (begin?: number, end?: number) => Int16Array [all …]
|
D | typedArrays.types | 23 typedArrays[2] = Int16Array; 24 >typedArrays[2] = Int16Array : Int16ArrayConstructor 28 >Int16Array : Int16ArrayConstructor 102 typedArrays[2] = new Int16Array(obj); 103 >typedArrays[2] = new Int16Array(obj) : Int16Array 107 >new Int16Array(obj) : Int16Array 108 >Int16Array : Int16ArrayConstructor 195 typedArrays[2] = new Int16Array(obj); 196 >typedArrays[2] = new Int16Array(obj) : Int16Array 200 >new Int16Array(obj) : Int16Array [all …]
|
D | typedArraysCrossAssignability01.errors.txt | 4 tests/cases/compiler/typedArraysCrossAssignability01.ts(14,5): error TS2322: Type 'Int16Array' is n… 6 Type '"Int16Array"' is not assignable to type '"Int8Array"'. 28 tests/cases/compiler/typedArraysCrossAssignability01.ts(24,5): error TS2322: Type 'Int16Array' is n… 30 Type '"Int16Array"' is not assignable to type '"Uint8Array"'. 49 …ossAssignability01.ts(32,5): error TS2322: Type 'Int8Array' is not assignable to type 'Int16Array'. 51 Type '"Int8Array"' is not assignable to type '"Int16Array"'. 52 …ssAssignability01.ts(33,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Int16Array'. 54 Type '"Uint8Array"' is not assignable to type '"Int16Array"'. 55 …sAssignability01.ts(35,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Int16Array'. 57 Type '"Uint16Array"' is not assignable to type '"Int16Array"'. [all …]
|
D | valueOfTypedArray.js | 5 const typedArray2: Int16Array = (new Int16Array()).valueOf(); 19 const typedArray2 = (new Int16Array()).valueOf();
|
D | valueOfTypedArray.symbols | 17 const typedArray2: Int16Array = (new Int16Array()).valueOf(); 19 >Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.e… 20 >(new Int16Array()).valueOf : Symbol(Int16Array.valueOf, Decl(lib.es5.d.ts, --, --)) 21 >Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.e… 22 >valueOf : Symbol(Int16Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
D | typedArraysSubarray.symbols | 74 var arr = new Int16Array(10); 76 >Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 79 >arr.subarray : Symbol(Int16Array.subarray, Decl(lib.es5.d.ts, --, --)) 81 >subarray : Symbol(Int16Array.subarray, Decl(lib.es5.d.ts, --, --)) 84 >arr.subarray : Symbol(Int16Array.subarray, Decl(lib.es5.d.ts, --, --)) 86 >subarray : Symbol(Int16Array.subarray, Decl(lib.es5.d.ts, --, --)) 89 >arr.subarray : Symbol(Int16Array.subarray, Decl(lib.es5.d.ts, --, --)) 91 >subarray : Symbol(Int16Array.subarray, Decl(lib.es5.d.ts, --, --))
|
/third_party/typescript/src/lib/ |
D | es2017.sharedmemory.d.ts | 34 …add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde… 41 …and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde… 48 …compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint3… 55 …exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array,… 68 …load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, ind… 75 …or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index… 81 …store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, in… 88 …sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde… 112 …xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
|
D | es5.d.ts | 2581 interface Int16Array { interface 2621 …every(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boo… 2640 …ter(predicate: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Arra… 2651 …find(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number… 2662 …findIndex(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): n… 2671 …forEach(callbackfn: (value: number, index: number, array: Int16Array) => void, thisArg?: any): voi… 2708 …p(callbackfn: (value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Ar… 2720 …viousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): num… 2721 …viousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, init… 2733 … (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialVa… [all …]
|
/third_party/typescript/lib/ |
D | lib.es2017.sharedmemory.d.ts | 54 …add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde… 61 …and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde… 68 …compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint3… 75 …exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array,… 88 …load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, ind… 95 …or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index… 101 …store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, in… 108 …sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde… 132 …xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
|
D | lib.es5.d.ts | 2601 interface Int16Array { interface 2641 …every(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boo… 2660 …ter(predicate: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Arra… 2671 …find(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number… 2682 …findIndex(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): n… 2691 …forEach(callbackfn: (value: number, index: number, array: Int16Array) => void, thisArg?: any): voi… 2728 …p(callbackfn: (value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Ar… 2740 …viousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): num… 2741 …viousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, init… 2753 … (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialVa… [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | typedArrays.ts | 7 typedArrays[2] = Int16Array; 22 typedArrays[2] = new Int16Array(obj); 37 typedArrays[2] = new Int16Array(obj); 52 typedArrays[2] = Int16Array.from(obj); 67 typedArrays[2] = Int16Array.from(obj); 82 typedArrays[2] = Int16Array.of(...obj); 97 typedArrays[2] = Int16Array.of(1,2,3,4); 112 typedArrays[2] = Int16Array.from(obj, mapFn); 127 typedArrays[2] = Int16Array.from(obj, mapFn); 142 typedArrays[2] = Int16Array.from(obj, mapFn, thisArg); [all …]
|
D | valueOfTypedArray.ts | 6 const typedArray2: Int16Array = (new Int16Array()).valueOf();
|
/third_party/node/test/parallel/ |
D | test-assert-typedarray-deepequal.js | 19 [new Int16Array(1e5), new Int16Array(1e5)], 38 [new Int16Array(256), new Uint16Array(256)], 39 [new Int16Array([256]), new Uint16Array([256])], 46 [new Int16Array([0]), new Uint16Array([256])], 47 [new Int16Array([-256]), new Uint16Array([0xff00])], // same bits
|
D | test-util-types.js | 39 [ new Int16Array() ], 128 const int16Array = new Int16Array(arrayBuffer); 142 const fakeInt16Array = Object.create(Int16Array.prototype); 164 Object.setPrototypeOf(new Int16Array(arrayBuffer), Int16Array.prototype);
|
/third_party/jerryscript/tests/jerry-test-suite/es2015/22/22.02/22.02.02/ |
D | 22.02.02-005.js | 20 Int16Array.from.call(1); 33 Int16Array.from.call(Float32Array); 46 Int16Array.from.call(Float32Array, [1,2,3], 1); 59 Int16Array.from.call(Number, [1,2,3]);
|
/third_party/typescript/tests/cases/test262-harness/ |
D | helpers.d.ts | 352 declare function CreateTypedArrayTypes(): [typeof Int8Array, typeof Uint8Array, typeof Int16Array, … 353 declare function CreateTypedArrayInstances(obj: any): [Int8Array, Uint8Array, Int16Array, Uint16Arr… 354 …IntegerTypedArrayTypes(): [typeof Int8Array, typeof Uint8Array, typeof Int16Array, typeof Uint16Ar… 355 declare function CreateIntegerTypedArrays(obj: any): [Int8Array, Uint8Array, Int16Array, Uint16Arra… 358 declare function CreateTypedArraysFrom(obj: any): [Int8Array, Uint8Array, Int16Array, Uint16Array, … 359 declare function CreateTypedArraysOf(obj: any): [Int8Array, Uint8Array, Int16Array, Uint16Array, In… 360 …ateTypedArraysFromMapFn(obj: any, mapFn: any): [Int8Array, Uint8Array, Int16Array, Uint16Array, In… 361 …omThisObj(obj: any, mapFn: any, thisArg: any): [Int8Array, Uint8Array, Int16Array, Uint16Array, In… 363 declare function CreateSignedTypedArrayInstances(obj: any): [Int8Array, Int16Array, Int32Array, Flo…
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | typedarray-prototype-tolocalestring.js | 20 new Int16Array([0, 1, 2, 3, 4, 5]), 71 new Int16Array([]), 88 new Int16Array([10]),
|
D | regression-test-issue-1670.js | 19 Int16Array.from(); 28 Int16Array.of();
|
D | typedarray-prototype-keys.js | 22 new Int16Array([1, 2, 3, 4, 5, 6, 7, 8]), 58 new Int16Array([]),
|
D | typedarray-prototype-entires.js | 22 new Int16Array([1, 2, 3, 4, 5, 6, 7, 8]), 59 new Int16Array([]),
|
D | typedarray-prototype-indexof.js | 23 new Int16Array([0, 1, 2, 3, 0, 5, 6]), 98 new Int16Array([]),
|
D | typedarray-prototype-lastindexof.js | 22 new Int16Array([0, 1, 2, 3, 0, 5, 6]), 96 new Int16Array([]),
|