Home
last modified time | relevance | path

Searched refs:Int32Array (Results 1 – 25 of 33) sorted by relevance

12

/arkcompiler/ets_runtime/test/aottest/typedarray_load_store/
Dtypedarray_load_store.ts24 function GenerateFakeRandomInteger(): Int32Array {
25 …let resource: Int32Array = new Int32Array([12, 43, 56, 76, 89, 54, 45, 32, 35, 47, 46, 44, 21, 37,…
34 function GenerateFakeRandomIndex(): Int32Array {
35 …let resource: Int32Array = new Int32Array([3, 14, 44, 25, 91, 38, 82, 88, 64, 81, 70, 90, 33, 63, …
40 function IntegerArray(res: Int32Array) {
42 let integerIndexes: Int32Array = GenerateFakeRandomIndex();
43 let resources: Int32Array = GenerateFakeRandomInteger();
60 let arr1 = new Int32Array(buffer, 20, 4);
65 let arr2 = new Int32Array(buffer, 28, 5);
70 let arr3 = new Int32Array(buffer, 0, 5);
[all …]
/arkcompiler/ets_runtime/test/aottest/range_guard/
Drange_guard.ts18 let testArray: Int32Array = new Int32Array([1, 2, 3]);
26 let testArray: Int32Array = new Int32Array([1, 2, 3]);
34 let testArray: Int32Array = new Int32Array([1, 2, 3]);
44 let testArray: Int32Array = new Int32Array([1, 2, 3]);
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DunionWithIndexSignature.ts40 export type TypedArray = Int32Array | Uint8Array;
42 export function isTypedArray(a: {}): a is Int32Array | Uint8Array {
43 AssertType(a instanceof Int32Array || a instanceof Uint8Array, "boolean");
44 AssertType(a instanceof Int32Array, "boolean");
46 AssertType(Int32Array, "Int32ArrayConstructor");
50 return a instanceof Int32Array || a instanceof Uint8Array;
DtypedArrays.ts54 typedArrays[4] = Int32Array;
55 AssertType(typedArrays[4] = Int32Array, "Int32ArrayConstructor");
59 AssertType(Int32Array, "Int32ArrayConstructor");
134 typedArrays[4] = new Int32Array(obj);
135 AssertType(typedArrays[4] = new Int32Array(obj), "Int32Array");
139 AssertType(new Int32Array(obj), "Int32Array");
140 AssertType(Int32Array, "Int32ArrayConstructor");
224 typedArrays[4] = new Int32Array(obj);
225 AssertType(typedArrays[4] = new Int32Array(obj), "Int32Array");
229 AssertType(new Int32Array(obj), "Int32Array");
[all …]
DtypedArrays-es6.ts54 const int32Array = new Int32Array(1);
56 AssertType(new Int32Array(1), "Int32Array");
57 AssertType(Int32Array, "Int32ArrayConstructor");
DtypedArraysSubarray.ts137 let arr = new Int32Array(10);
139 AssertType(new Int32Array(10), "Int32Array");
140 AssertType(Int32Array, "Int32ArrayConstructor");
/arkcompiler/ets_runtime/test/aottest/ts_multi_inline_deopt/
Dts_multi_inline_deopt.ts18 function GenerateArray(): Int32Array {
19 …let resource: Int32Array = new Int32Array([12, 43, 56, 76, 89, 54, 45, 32, 35, 47, 46, 44, 21, 37,…
35 function RunNormalCall(resources: Int32Array):number {
46 let resources : Int32Array = GenerateArray();
/arkcompiler/ets_runtime/test/aottest/loop_peeling/
Dloop_peeling.ts25 let arr = new Int32Array([1, 2, 3, 4]);
26 function foo2(u : Int32Array) {
37 let arr2 = new Int32Array([0, 0, 0, 0]);
38 function foo3(u : Int32Array, v : Int32Array) {
/arkcompiler/ets_runtime/test/aottest/ts_inline_deopt_loop/
Dts_inline_deopt_loop.ts18 function GenerateArray(): Int32Array {
19 …let resource: Int32Array = new Int32Array([12, 43, 56, 76, 89, 54, 45, 32, 35, 47, 46, 44, 21, 37,…
36 let resources : Int32Array = GenerateArray();
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dlib_ark_builtins.d.ts1259 declare class Int32Array extends Object {
1270 prototype: Int32Array;
1272 constructor(length: number): Int32Array;
1274 constructor(array: ArrayLike<number> | ArrayBufferLike): Int32Array;
1276 constructor(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int32Array;
1278 constructor(elements: Iterable<number>): Int32Array;
1280 constructor(): Int32Array;
1282 static of(...items: number[]): Int32Array;
1284 static from(arrayLike: ArrayLike<number>): Int32Array;
1286 …ic from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array;
[all …]
/arkcompiler/ets_runtime/test/aottest/aot_type_test/int32Array/
Dint32Array.ts18 let typedArray : Int32Array = new Int32Array([1, 2, 2147483640, -2147483640, 7, 8, 8, 9]);
/arkcompiler/ets_runtime/test/aottest/typedarray/
Dtypedarray.ts18 let a = new Int32Array([2, 3])
/arkcompiler/ets_runtime/test/moduletest/objectcloneproperties/
Dobjectcloneproperties.js25 var obj2 = new Int32Array(2);
/arkcompiler/ets_runtime/test/moduletest/typedarraynan/
Dtypedarraynan.js44 var array1 = new Int32Array(buffer);
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_lazy_callback.h33 V(Int32Array) \
66 static JSTaggedValue Int32Array(JSThread *thread, const JSHandle<JSObject> &obj);
/arkcompiler/ets_runtime/test/moduletest/typedarraywith/
Dtypedarraywith.js26 Int32Array,
Dexpect_output.txt16 Int32Array test success !!!
/arkcompiler/ets_runtime/test/moduletest/typedarraytosorted/
Dtypedarraytosorted.js26 Int32Array,
Dexpect_output.txt16 Int32Array test success !!!
/arkcompiler/ets_runtime/test/moduletest/typedarrayat/
Dexpect_output.txt16 Int32Array test success !!!
Dtypedarrayat.js25 Int32Array,
/arkcompiler/ets_runtime/test/moduletest/typedarrayfindlast/
Dexpect_output.txt16 Int32Array test success !!!
Dtypedarrayfindlast.js26 Int32Array,
/arkcompiler/ets_runtime/test/moduletest/typearray/
Dexpect_output.txt16 Int32Array test success !!!
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_helper.h52 V(Int32Array) \

12