Home
last modified time | relevance | path

Searched refs:int8Array (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DtypedArrays-es6.ts65 const int8Array = new Int8Array(1);
66 AssertType(int8Array, "Int8Array");
71 [...int8Array];
72 AssertType([...int8Array], "number[]");
73 AssertType(...int8Array, "number");
74 AssertType(int8Array, "Int8Array");
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dtyped_array_helper_test.cpp128 …JSHandle<JSTaggedValue> int8Array(thread, TypedArrayHelper::TypedArrayConstructor(argv, constructo… in HWTEST_F_L0() local
131 OperationResult result0 = JSTypedArray::GetProperty(thread, int8Array, 0U); in HWTEST_F_L0()
132 OperationResult result1 = JSTypedArray::GetProperty(thread, int8Array, 1U); in HWTEST_F_L0()
133 OperationResult result2 = JSTypedArray::GetProperty(thread, int8Array, 2U); in HWTEST_F_L0()
256 JSHandle<JSTypedArray> int8Array(int8ArrayVal); in HWTEST_F_L0() local
259 DataViewType type1 = TypedArrayHelper::GetType(int8Array); in HWTEST_F_L0()
310 JSHandle<JSTypedArray> int8Array(int8ArrayVal); in HWTEST_F_L0() local
314 uint32_t elementSize1 = TypedArrayHelper::GetElementSize(int8Array); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/aottest/aot_type_test/int8Array/
DBUILD.gn16 host_aot_test_action("int8Array") {
/arkcompiler/ets_runtime/test/aottest/aot_type_test/
DBUILD.gn21 "int8Array",
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_serializer_test.cpp1681 JSHandle<JSTypedArray> int8Array = in HWTEST_F_L0() local
1684 int8Array->SetViewedArrayBufferOrByteArray(thread, viewedArrayBuffer); in HWTEST_F_L0()
1688 int8Array->SetByteLength(byteLength); in HWTEST_F_L0()
1689 int8Array->SetByteOffset(byteOffset); in HWTEST_F_L0()
1690 int8Array->SetTypedArrayName(thread, thread->GlobalConstants()->GetInt8ArrayString()); in HWTEST_F_L0()
1691 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0()
1692 int8Array->SetContentType(ContentType::Number); in HWTEST_F_L0()
1694 bool success = serializer->SerializeJSTaggedValue(JSHandle<JSTaggedValue>::Cast(int8Array)); in HWTEST_F_L0()
1708 JSHandle<JSTypedArray> int8Array = in HWTEST_F_L0() local
1717 int8Array->SetViewedArrayBufferOrByteArray(thread, byteArray); in HWTEST_F_L0()
[all …]
Djs_typed_array_test.cpp1474 JSHandle<JSTaggedValue> int8Array( in HWTEST_F_L0() local
1478 JSHandle<JSTypedArray> typedArray(int8Array); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_json_test.cpp538 …JSHandle<JSTaggedValue> int8Array(thread, BuiltinsTypedArray::Int8ArrayConstructor(ecmaRuntimeCall… in HWTEST_F_L0() local
546 ecmaRuntimeCallInfo->SetCallArg(0, int8Array.GetTaggedValue()); in HWTEST_F_L0()