Home
last modified time | relevance | path

Searched refs:TypedArrayHelper (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper-inl.h40 JSHandle<JSHClass> TypedArrayHelper::GetOnHeapHclass##Type(JSThread *thread, JSHClass* objHclass) \
57 JSHandle<JSHClass> TypedArrayHelper::GetNotOnHeapHclass##Type(JSThread *thread, JSHClass* objHclass…
82 DataViewType TypedArrayHelper::GetType(const JSHandle<JSTypedArray> &obj)
88 DataViewType TypedArrayHelper::GetType(JSType type)
126 uint32_t TypedArrayHelper::GetElementSize(const JSHandle<JSTypedArray> &obj)
132 uint32_t TypedArrayHelper::GetElementSize(JSType type)
159 JSHandle<JSTaggedValue> TypedArrayHelper::GetConstructor(JSThread *thread, const JSHandle<JSTaggedV…
211 JSHandle<JSFunction> TypedArrayHelper::GetConstructorFromType(JSThread *thread, const DataViewType …
241 JSHandle<JSFunction> TypedArrayHelper::GetSharedConstructorFromType(JSThread *thread, const DataVie…
271 JSHandle<JSTaggedValue> TypedArrayHelper::GetConstructorNameFromType(JSThread *thread, const DataVi…
[all …]
Dtyped_array_helper.cpp33 JSTaggedValue TypedArrayHelper::TypedArrayConstructor(EcmaRuntimeCallInfo *argv, in TypedArrayConstructor()
58 … JSHandle<JSObject> obj = TypedArrayHelper::AllocateTypedArray(thread, constructorName, newTarget, in TypedArrayConstructor()
64 …JSHandle<JSObject> obj = TypedArrayHelper::AllocateTypedArray(thread, constructorName, newTarget, … in TypedArrayConstructor()
67 return TypedArrayHelper::CreateFromTypedArray(argv, obj, arrayType); in TypedArrayConstructor()
70 return TypedArrayHelper::CreateFromArrayBuffer(argv, obj, arrayType); in TypedArrayConstructor()
73 return TypedArrayHelper::FastCopyElementFromArray(argv, obj, arrayType); in TypedArrayConstructor()
80 return TypedArrayHelper::CreateFromOrdinaryObject(argv, obj, arrayType); in TypedArrayConstructor()
84 JSTaggedValue TypedArrayHelper::SharedTypedArrayConstructor(EcmaRuntimeCallInfo *argv, in SharedTypedArrayConstructor()
111 …JSHandle<JSObject> obj = TypedArrayHelper::AllocateSharedTypedArray(thread, constructorName, newTa… in SharedTypedArrayConstructor()
117 …JSHandle<JSObject> obj = TypedArrayHelper::AllocateSharedTypedArray(thread, constructorName, newTa… in SharedTypedArrayConstructor()
[all …]
Datomic_helper.cpp27 JSTaggedValue buffer = TypedArrayHelper::ValidateTypedArray(thread, typedArray); in ValidateIntegerTypedArray()
82 uint32_t elementSize = TypedArrayHelper::GetSizeFromType(elementType); in ValidateAtomicAccess()
Dtyped_array_helper.h40 class TypedArrayHelper {
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dtyped_array_helper_test.cpp103 … thread, TypedArrayHelper::TypedArrayConstructor(argv, constructorName, DataViewType::UINT32)); in CreateArrayList()
118 …JSHandle<JSTaggedValue> int8Array(thread, TypedArrayHelper::TypedArrayConstructor(argv, constructo… in HWTEST_F_L0()
139TypedArrayHelper::AllocateTypedArray(thread, constructorName, newTarget, DataViewType::UINT8); in HWTEST_F_L0()
160TypedArrayHelper::AllocateTypedArray(thread, constructorName, newTarget, length, DataViewType::UIN… in HWTEST_F_L0()
178 …JSHandle<JSTaggedValue> int16Array(thread, TypedArrayHelper::TypedArrayConstructor(argv, construct… in HWTEST_F_L0()
187 …JSHandle<JSObject> newArrObj = TypedArrayHelper::TypedArraySpeciesCreate(thread, arrayObj, 1, args… in HWTEST_F_L0()
202 …JSHandle<JSObject> newArrObj = TypedArrayHelper::TypedArrayCreate(thread, constructor, 1, args); /… in HWTEST_F_L0()
213 … JSHandle<JSTaggedValue> buffer(thread, TypedArrayHelper::ValidateTypedArray(thread, uint32Array)); in HWTEST_F_L0()
229 …JSHandle<JSTaggedValue> int8ArrayVal(thread, TypedArrayHelper::TypedArrayConstructor(argv1, constr… in HWTEST_F_L0()
233 …JSHandle<JSTaggedValue> bigUint64ArrayVal(thread, TypedArrayHelper::TypedArrayConstructor(argv2, c… in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_typedarray.cpp26 using TypedArrayHelper = base::TypedArrayHelper; typedef
44 …return TypedArrayHelper::TypedArrayConstructor(argv, thread->GlobalConstants()->GetHandledInt8Arra… in Int8ArrayConstructor()
53 …return TypedArrayHelper::TypedArrayConstructor(argv, thread->GlobalConstants()->GetHandledUint8Arr… in Uint8ArrayConstructor()
62 return TypedArrayHelper::TypedArrayConstructor(argv, in Uint8ClampedArrayConstructor()
72 …return TypedArrayHelper::TypedArrayConstructor(argv, thread->GlobalConstants()->GetHandledInt16Arr… in Int16ArrayConstructor()
81 …return TypedArrayHelper::TypedArrayConstructor(argv, thread->GlobalConstants()->GetHandledUint16Ar… in Uint16ArrayConstructor()
90 …return TypedArrayHelper::TypedArrayConstructor(argv, thread->GlobalConstants()->GetHandledInt32Arr… in Int32ArrayConstructor()
99 …return TypedArrayHelper::TypedArrayConstructor(argv, thread->GlobalConstants()->GetHandledUint32Ar… in Uint32ArrayConstructor()
108 …return TypedArrayHelper::TypedArrayConstructor(argv, thread->GlobalConstants()->GetHandledFloat32A… in Float32ArrayConstructor()
117 …return TypedArrayHelper::TypedArrayConstructor(argv, thread->GlobalConstants()->GetHandledFloat64A… in Float64ArrayConstructor()
[all …]
Dbuiltins_shared_typedarray.cpp27 using TypedArrayHelper = base::TypedArrayHelper; typedef
48 return TypedArrayHelper::SharedTypedArrayConstructor(argv, in Int8ArrayConstructor()
57 return TypedArrayHelper::SharedTypedArrayConstructor(argv, in Uint8ArrayConstructor()
66 return TypedArrayHelper::SharedTypedArrayConstructor(argv, in Uint8ClampedArrayConstructor()
75 return TypedArrayHelper::SharedTypedArrayConstructor(argv, in Int16ArrayConstructor()
84 return TypedArrayHelper::SharedTypedArrayConstructor(argv, in Uint16ArrayConstructor()
93 return TypedArrayHelper::SharedTypedArrayConstructor(argv, in Int32ArrayConstructor()
102 return TypedArrayHelper::SharedTypedArrayConstructor(argv, in Uint32ArrayConstructor()
111 return TypedArrayHelper::SharedTypedArrayConstructor(argv, in Float32ArrayConstructor()
120 return TypedArrayHelper::SharedTypedArrayConstructor(argv, in Float64ArrayConstructor()
[all …]
Dbuiltins_sendable_arraybuffer.cpp29 using TypedArrayHelper = base::TypedArrayHelper; typedef
Dbuiltins_arraybuffer.cpp29 using TypedArrayHelper = base::TypedArrayHelper; typedef
802 uint32_t elementSize = TypedArrayHelper::GetElementSize(items); in TypedArrayToList()
803 DataViewType elementType = TypedArrayHelper::GetType(items); in TypedArrayToList()
Dbuiltins_array.cpp29 using TypedArrayHelper = base::TypedArrayHelper; typedef
2290 return TypedArrayHelper::someCommon(argv, thisObjVal, len); in Some()
Dbuiltins_shared_array.cpp32 using TypedArrayHelper = base::TypedArrayHelper; typedef
/arkcompiler/ets_runtime/ecmascript/
Djs_typed_array.cpp22 using TypedArrayHelper = base::TypedArrayHelper; typedef
430 uint32_t elementSize = TypedArrayHelper::GetElementSize(typedarrayObj); in IntegerIndexedElementGet()
435 DataViewType elementType = TypedArrayHelper::GetType(typedarrayObj); in IntegerIndexedElementGet()
547 uint32_t elementSize = TypedArrayHelper::GetElementSize(typedarrayObj); in FastCopyElementToArray()
549 DataViewType elementType = TypedArrayHelper::GetType(typedarrayObj); in FastCopyElementToArray()
589 uint32_t elementSize = TypedArrayHelper::GetElementSize(typedarrayObj); in FastElementGet()
593 DataViewType elementType = TypedArrayHelper::GetType(typedarrayObj); in FastElementGet()
629 uint32_t elementSize = TypedArrayHelper::GetElementSize(typedarrayObj); in IntegerIndexedElementSet()
634 DataViewType elementType = TypedArrayHelper::GetType(typedarrayObj); in IntegerIndexedElementSet()
703 uint32_t elementSize = TypedArrayHelper::GetElementSize(jsType); in FastGetPropertyByIndex()
[all …]
Djs_stable_array.cpp22 using TypedArrayHelper = base::TypedArrayHelper; typedef
1288 uint32_t targetElementSize = TypedArrayHelper::GetSizeFromType(targetType); in FastCopyFromArrayToTypedArray()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_typed_array_test.cpp336 int32_t sizeElement = ecmascript::base::TypedArrayHelper::GetElementSize(handleInt8Array); in HWTEST_F_L0()
383 int32_t sizeElement = ecmascript::base::TypedArrayHelper::GetElementSize(handleInt8Array); in HWTEST_F_L0()
433 int32_t sizeElement = ecmascript::base::TypedArrayHelper::GetElementSize(handleUint8Array); in HWTEST_F_L0()
480 int32_t sizeElement = ecmascript::base::TypedArrayHelper::GetElementSize(handleUint8Array); in HWTEST_F_L0()
530 … int32_t sizeElement = ecmascript::base::TypedArrayHelper::GetElementSize(handleUint8ClampedArray); in HWTEST_F_L0()
577 … int32_t sizeElement = ecmascript::base::TypedArrayHelper::GetElementSize(handleUint8ClampedArray); in HWTEST_F_L0()
628 int32_t sizeElement = ecmascript::base::TypedArrayHelper::GetElementSize(handleInt16Array); in HWTEST_F_L0()
677 int32_t sizeElement = ecmascript::base::TypedArrayHelper::GetElementSize(handleInt16Array); in HWTEST_F_L0()
728 int32_t sizeElement = ecmascript::base::TypedArrayHelper::GetElementSize(handleUint16Array); in HWTEST_F_L0()
777 int32_t sizeElement = ecmascript::base::TypedArrayHelper::GetElementSize(handleUint16Array); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_typedarray_test.cpp47 using TypedArrayHelper = ecmascript::base::TypedArrayHelper; typedef
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp103 using ecmascript::base::TypedArrayHelper;
Djsnapi_expo.cpp108 using ecmascript::base::TypedArrayHelper;
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp219 …JSHandle<JSObject> newArr = base::TypedArrayHelper::TypedArraySpeciesCreate(thread, thisObj, index… in DEF_RUNTIME_STUBS()
234 uint32_t srcElementSize = base::TypedArrayHelper::GetElementSize(srcType); in CopyTypedArrayBuffer()
1081 base::TypedArrayHelper::ValidateTypedArray(thread, obj); in DEF_RUNTIME_STUBS()