Searched refs:Int8Array (Results 1 – 25 of 61) sorted by relevance
123
| /arkcompiler/ets_runtime/test/moduletest/typedarrayslice/ |
| D | typearrayslice.js | 21 Int8Array, 39 class Array1 extends Int8Array { 41 return Int8Array;
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/ |
| D | lib_ark_builtins.d.ts | 907 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/ |
| D | typedarrayfrom.js | 22 var arr=new Int8Array(); 29 var fromArr=Int8Array.from(arr);
|
| /arkcompiler/ets_runtime/test/aottest/aot_type_test/int8Array/ |
| D | int8Array.ts | 18 let typedArray : Int8Array = new Int8Array([1, 2, 100, -100, 27, 28, 28, 29]);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Atomics.ets | 58 // 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 …]
|
| D | TypedArrays.ets | 21 * 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/ |
| D | typedarrayjoin.js | 17 [Int8Array, [0, 1]], 46 [Int8Array, [0, 1]],
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/atomics/ |
| D | nonconcurrent_compare_exchange.ets | 17 let arr: Int8Array; 21 arr = new Int8Array(buf, 0, 1);
|
| D | concurrent_store_load.ets | 18 let arr: Int8Array 22 arr = new Int8Array(buf, 0, 1);
|
| D | concurrent_compare_exchange.ets | 17 let arr: Int8Array; 21 arr = new Int8Array(buf, 0, 1);
|
| D | concurrent_increment.ets | 19 let arr: Int8Array 23 arr = new Int8Array(buf, 0, 1);
|
| D | concurrent_wait_store_notify.ets | 22 let bytearr: Int8Array; 29 bytearr = new Int8Array(buf, 0, 4)
|
| D | concurrent_countdownlatch.ets | 20 let bytearr: Int8Array; 27 bytearr = new Int8Array(buf, 0, 4)
|
| /arkcompiler/ets_runtime/test/moduletest/typedarraysort/ |
| D | typedarraysort.js | 23 Int8Array
|
| D | expect_output.txt | 14 Int8Array TypeError
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/array_buffer_js_suites/ |
| D | test_is_view.js | 31 ASSERT_TRUE(ArrayBuffer.isView(new Int8Array(arr)));
|
| /arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/ |
| D | tryldglobalbyname_global_object.ts | 343 print(Int8Array); 344 globalThis.Int8Array = "Int8Array"; 345 print(Int8Array); 346 delete globalThis.Int8Array; 348 print(Int8Array);
|
| /arkcompiler/ets_runtime/test/moduletest/typedarraysubarray/ |
| D | typedarraysubarray.js | 21 Int8Array,
|
| /arkcompiler/ets_runtime/test/moduletest/forin_special_object/ |
| D | forin_special_object.js | 27 let parent = new Int8Array(arr);
|
| /arkcompiler/ets_runtime/test/aottest/forin_special_object/ |
| D | forin_special_object.ts | 29 let parent = new Int8Array(arr);
|
| /arkcompiler/ets_runtime/test/moduletest/getpropertybyindex/ |
| D | getpropertybyindex.js | 39 let obj = new Int8Array(arr);
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_lazy_callback.h | 28 V(Int8Array) \ 61 static JSTaggedValue Int8Array(JSThread *thread, const JSHandle<JSObject> &obj);
|
| /arkcompiler/ets_runtime/test/moduletest/regress/ |
| D | regress.js | 134 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/ |
| D | function_spread_arg.ts | 43 let a6 = new Int8Array(10)
|
| /arkcompiler/ets_frontend/ets2panda/linter-4.2/test/ |
| D | function_spread_arg.ts | 43 let a6 = new Int8Array(10)
|
123