Home
last modified time | relevance | path

Searched refs:typed_array (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_shared_typedarray_test.cpp73 JSHandle<JSFunction> typed_array(env->GetTypedArrayFunction()); in HWTEST_F_L0() local
75 …maRuntimeCallInfo1 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*typed_array), 6); in HWTEST_F_L0()
76 ecmaRuntimeCallInfo1->SetFunction(JSTaggedValue(*typed_array)); in HWTEST_F_L0()
352 JSHandle<JSFunction> typed_array(env->GetTypedArrayFunction()); in HWTEST_F_L0() local
354 auto argv = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*typed_array), 6); in HWTEST_F_L0()
355 argv->SetFunction(JSTaggedValue(*typed_array)); in HWTEST_F_L0()
400 JSHandle<JSFunction> typed_array(env->GetTypedArrayFunction()); in HWTEST_F_L0() local
402 auto argv = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*typed_array), 6); in HWTEST_F_L0()
403 argv->SetFunction(JSTaggedValue(*typed_array)); in HWTEST_F_L0()
423 JSHandle<JSFunction> typed_array(env->GetTypedArrayFunction()); in HWTEST_F_L0() local
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/
DInteropTransferHelper.ets.j256 {%- for typed_array in typed_arrays %}
58 public static transfer{{ typed_array.type_name }}ToStatic(dynamicObject: Any): Object {
69 return new {{ typed_array.type_name }}(staticBuffer, byteOffset, length) as Object;
72 public static transfer{{ typed_array.type_name }}ToDynamic(staticObject: Object): Any {
73 let staticTypedArray = staticObject as {{ typed_array.type_name }};
/arkcompiler/runtime_core/static_core/plugins/ets/irtoc_scripts/
Dtyped_arrays.irt225 params: {typed_array: 'ref'},
237 …eval("byte_offset := Cast(LoadI(typed_array).Imm(Constants::#{prefix}_ARRAY_BYTE_OFFSET_OFFSET).f6…
238 …eval("elm_size := Cast(LoadI(typed_array).Imm(Constants::#{prefix}_ARRAY_BYTES_PER_ELEMENT_OFFSET)…
239 …eval("arr_len := Cast(LoadI(typed_array).Imm(Constants::#{prefix}_ARRAY_LENGTH_INT_OFFSET).i32).u3…
243 klass := LoadI(typed_array).Imm(Constants::OBJECT_CLASS_OFFSET).ref
245 eval("copy_u8_chars(typed_array, new_typed_array, Constants::#{prefix}_ARRAY_CLASS_SIZE)")
249 eval("array_buffer := LoadI(typed_array).Imm(Constants::#{prefix}_ARRAY_BUFFER_OFFSET).ref")
288 …Intrinsic(:SLOW_PATH_ENTRY, typed_array).AddImm(ep_offset).MethodAsImm("#{type}ArrayToReversedOddS…
/arkcompiler/ets_runtime/test/jittest/typed_array/
DBUILD.gn16 host_jit_test_action("typed_array") {
/arkcompiler/ets_runtime/test/jittest/
DBUILD.gn65 "typed_array",