Home
last modified time | relevance | path

Searched refs:Int8Array (Results 1 – 25 of 61) sorted by relevance

123

/arkcompiler/ets_runtime/test/moduletest/typedarrayslice/
Dtypearrayslice.js21 Int8Array,
39 class Array1 extends Int8Array {
41 return Int8Array;
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dlib_ark_builtins.d.ts907 declare class Int8Array extends Object {
918 prototype: Int8Array;
920 constructor(length: number): Int8Array;
922 constructor(array: ArrayLike<number> | ArrayBufferLike): Int8Array;
924 constructor(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int8Array;
926 constructor(elements: Iterable<number>): Int8Array;
928 constructor(): Int8Array;
930 static of(...items: number[]): Int8Array;
932 static from(arrayLike: ArrayLike<number>): Int8Array;
934 …tic from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array;
[all …]
/arkcompiler/ets_runtime/test/moduletest/typedarrayfrom/
Dtypedarrayfrom.js22 var arr=new Int8Array();
29 var fromArr=Int8Array.from(arr);
/arkcompiler/ets_runtime/test/aottest/aot_type_test/int8Array/
Dint8Array.ts18 let typedArray : Int8Array = new Int8Array([1, 2, 100, -100, 27, 28, 28, 29]);
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DAtomics.ets58 // Int8Array
60 public static add(typedArray: Int8Array, index: int, value: byte): byte {
61 …let indexedPosition = Atomics.validateAtomicAccess(typedArray.byteOffset as int, Int8Array.BYTES_P…
74 public static and(typedArray: Int8Array, index: int, value: byte): byte {
75 …let indexedPosition = Atomics.validateAtomicAccess(typedArray.byteOffset as int, Int8Array.BYTES_P…
88 …public static compareExchange(typedArray: Int8Array, index: int, expectedValue: byte, replacementV…
89 …let indexedPosition = Atomics.validateAtomicAccess(typedArray.byteOffset as int, Int8Array.BYTES_P…
103 public static exchange(typedArray: Int8Array, index: int, value: byte): byte {
104 …let indexedPosition = Atomics.validateAtomicAccess(typedArray.byteOffset as int, Int8Array.BYTES_P…
116 public static load(typedArray: Int8Array, index: int): byte {
[all …]
DTypedArrays.ets21 * JS Int8Array API-compatible class
23 export final class Int8Array {
27 * Creates an empty Int8Array.
34 * Creates an Int8Array with respect to data, byteOffset and length.
40 * @param length size of elements of type byte in newly created Int8Array
47 * Creates an Int8Array with respect to data, byteOffset and length.
53 * @param length size of elements of type byte in newly created Int8Array
56 if (buf.getByteLength() % Int8Array.BYTES_PER_ELEMENT as int != 0) {
57 …throw new RangeError("ArrayBuffer.byteLength should be multiple of 1 as Int8Array.BYTES_PER_ELEMEN…
59 if (byteOffset % Int8Array.BYTES_PER_ELEMENT as int != 0) {
[all …]
/arkcompiler/ets_runtime/test/moduletest/typedarrayjoin/
Dtypedarrayjoin.js17 [Int8Array, [0, 1]],
46 [Int8Array, [0, 1]],
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/atomics/
Dnonconcurrent_compare_exchange.ets17 let arr: Int8Array;
21 arr = new Int8Array(buf, 0, 1);
Dconcurrent_store_load.ets18 let arr: Int8Array
22 arr = new Int8Array(buf, 0, 1);
Dconcurrent_compare_exchange.ets17 let arr: Int8Array;
21 arr = new Int8Array(buf, 0, 1);
Dconcurrent_increment.ets19 let arr: Int8Array
23 arr = new Int8Array(buf, 0, 1);
Dconcurrent_wait_store_notify.ets22 let bytearr: Int8Array;
29 bytearr = new Int8Array(buf, 0, 4)
Dconcurrent_countdownlatch.ets20 let bytearr: Int8Array;
27 bytearr = new Int8Array(buf, 0, 4)
/arkcompiler/ets_runtime/test/moduletest/typedarraysort/
Dtypedarraysort.js23 Int8Array
Dexpect_output.txt14 Int8Array TypeError
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/array_buffer_js_suites/
Dtest_is_view.js31 ASSERT_TRUE(ArrayBuffer.isView(new Int8Array(arr)));
/arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/
Dtryldglobalbyname_global_object.ts343 print(Int8Array);
344 globalThis.Int8Array = "Int8Array";
345 print(Int8Array);
346 delete globalThis.Int8Array;
348 print(Int8Array);
/arkcompiler/ets_runtime/test/moduletest/typedarraysubarray/
Dtypedarraysubarray.js21 Int8Array,
/arkcompiler/ets_runtime/test/moduletest/forin_special_object/
Dforin_special_object.js27 let parent = new Int8Array(arr);
/arkcompiler/ets_runtime/test/aottest/forin_special_object/
Dforin_special_object.ts29 let parent = new Int8Array(arr);
/arkcompiler/ets_runtime/test/moduletest/getpropertybyindex/
Dgetpropertybyindex.js39 let obj = new Int8Array(arr);
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_lazy_callback.h28 V(Int8Array) \
61 static JSTaggedValue Int8Array(JSThread *thread, const JSHandle<JSObject> &obj);
/arkcompiler/ets_runtime/test/moduletest/regress/
Dregress.js134 var ab = new Int8Array(20).map((v, i) => i).buffer;
135 var ta = new Int8Array(ab, 0, 10);
140 return new Int8Array(ab, 1, len);
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dfunction_spread_arg.ts43 let a6 = new Int8Array(10)
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/
Dfunction_spread_arg.ts43 let a6 = new Int8Array(10)

123