/arkcompiler/ets_runtime/ecmascript/ |
H A D | byte_array.cpp | 25 builtins::BuiltinsArrayBuffer::SetValueInBuffer(thread, idx * GetByteLength(), block, in Set() 33 return builtins::BuiltinsArrayBuffer::GetValueFromBuffer(thread, idx * GetByteLength(), block, type, true); in Get()
|
H A D | byte_array.h | 46 size_t byteSize = ComputeDataSize(GetArrayLength(), GetByteLength()); in GetPointerLength() 52 return reinterpret_cast<void *>(ToUintPtr(this) + DATA_OFFSET + index * GetByteLength()); in GetData()
|
H A D | runtime_call_id.h | 343 V(ArrayBuffer, GetByteLength) \ 355 V(SharedArrayBuffer, GetByteLength) \ 359 V(SendableArrayBuffer, GetByteLength) \ 392 V(DataView, GetByteLength) \ 874 V(TypedArray, GetByteLength) \ 921 V(SharedTypedArray, GetByteLength) \
|
H A D | js_hclass-inl.h | 254 size = ByteArray::ComputeSize(reinterpret_cast<ByteArray *>(header)->GetByteLength(), in SizeFromJSHClass()
|
H A D | js_typed_array.cpp | 758 int32_t length = static_cast<int32_t>(byteArray->GetArrayLength() * byteArray->GetByteLength()); in GetOffHeapBuffer() 790 int32_t length = static_cast<int32_t>(byteArray->GetArrayLength() * byteArray->GetByteLength()); in GetSharedOffHeapBuffer()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_arraybuffer_test.cpp | 61 JSTaggedValue result = BuiltinsArrayBuffer::GetByteLength(ecmaRuntimeCallInfo); in HWTEST_F_L0() 86 JSTaggedValue result2 = BuiltinsArrayBuffer::GetByteLength(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
|
H A D | builtins_sendable_arraybuffer_test.cpp | 53 JSTaggedValue result2 = BuiltinsSendableArrayBuffer::GetByteLength(ecmaRuntimeCallInfo1); in SendableArrayBufferSliceTest() 96 JSTaggedValue result = BuiltinsSendableArrayBuffer::GetByteLength(ecmaRuntimeCallInfo); in HWTEST_F_L0() 339 JSTaggedValue result1 = BuiltinsSendableArrayBuffer::GetByteLength(ecmaRuntimeCallInfo1); in HWTEST_F_L0() 362 JSTaggedValue result1 = BuiltinsSendableArrayBuffer::GetByteLength(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
|
H A D | builtins_sharedarraybuffer_test.cpp | 72 JSTaggedValue result = BuiltinsSharedArrayBuffer::GetByteLength(ecmaRuntimeCallInfo); in HWTEST_F_L0() 96 JSTaggedValue result2 = BuiltinsSharedArrayBuffer::GetByteLength(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_sharedarraybuffer.h | 33 static JSTaggedValue GetByteLength(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_dataview.cpp | 126 JSTaggedValue BuiltinsDataView::GetByteLength(EcmaRuntimeCallInfo *argv) in GetByteLength() function in panda::ecmascript::builtins::BuiltinsDataView 130 BUILTINS_API_TRACE(thread, DataView, GetByteLength); in GetByteLength() 150 uint32_t size = dataView->GetByteLength(); in GetByteLength() 391 uint32_t size = dataView->GetByteLength(); in GetViewValue() 456 uint32_t size = dataView->GetByteLength(); in SetViewValue()
|
H A D | builtins_sendable_arraybuffer.cpp | 81 JSTaggedValue BuiltinsSendableArrayBuffer::GetByteLength(EcmaRuntimeCallInfo *argv) in GetByteLength() function in panda::ecmascript::builtins::BuiltinsSendableArrayBuffer 85 BUILTINS_API_TRACE(thread, SendableArrayBuffer, GetByteLength); in GetByteLength() 297 int32_t byteLen = static_cast<int32_t>(byteArrayBuf->GetByteLength()); in CloneArrayBuffer()
|
H A D | builtins_shared_typedarray.h | 65 V("byteLength", GetByteLength, TypedArrayGetByteLength) /* get %TypedArray%.prototype.byteLength */ \ 146 static JSTaggedValue GetByteLength(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_sharedarraybuffer.cpp | 126 JSTaggedValue BuiltinsSharedArrayBuffer::GetByteLength(EcmaRuntimeCallInfo *argv) in GetByteLength() function in panda::ecmascript::builtins::BuiltinsSharedArrayBuffer 129 BUILTINS_API_TRACE(argv->GetThread(), SharedArrayBuffer, GetByteLength); in GetByteLength()
|
H A D | builtins_typedarray.h | 64 V("byteLength", GetByteLength, TypedArrayGetByteLength) /* get %TypedArray%.prototype.byteLength */ \ 167 static JSTaggedValue GetByteLength(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_dataview.h | 65 static JSTaggedValue GetByteLength(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_sendable_arraybuffer.h | 46 static JSTaggedValue GetByteLength(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_arraybuffer.h | 62 static JSTaggedValue GetByteLength(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_arraybuffer.cpp | 78 JSTaggedValue BuiltinsArrayBuffer::GetByteLength(EcmaRuntimeCallInfo *argv) in GetByteLength() function in panda::ecmascript::builtins::BuiltinsArrayBuffer 82 BUILTINS_API_TRACE(thread, ArrayBuffer, GetByteLength); in GetByteLength() 304 int32_t byteLen = static_cast<int32_t>(byteArrayBuf->GetByteLength()); in CloneArrayBuffer()
|
H A D | builtins_shared_typedarray.cpp | 369 JSTaggedValue BuiltinsSharedTypedArray::GetByteLength(EcmaRuntimeCallInfo *argv) in GetByteLength() function in panda::ecmascript::builtins::BuiltinsSharedTypedArray 372 BUILTINS_API_TRACE(argv->GetThread(), SharedTypedArray, GetByteLength); in GetByteLength() 395 return JSTaggedValue(typeArrayObj->GetByteLength()); in GetByteLength()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
H A D | ets_arraybuffer.h | 62 EtsInt GetByteLength() const in GetByteLength() function in ark::ets::EtsArrayBuffer
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_dataview_test.cpp | 127 * SubFunction: GetByteLength 129 * CaseDescription: Check whether the returned value through "GetByteLength" function is within expectations after 150 EXPECT_EQ(handleDataView->GetByteLength(), lengthDataView1); in HWTEST_F_L0() 154 EXPECT_EQ(handleDataView->GetByteLength(), lengthDataView2); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | typed_array_helper_test.cpp | 144 EXPECT_EQ(jsTypedArray->GetByteLength(), 0U); in HWTEST_F_L0() 165 EXPECT_EQ(jsTypedArray->GetByteLength(), 256U); in HWTEST_F_L0() 455 EXPECT_EQ(jsTypedArray->GetByteLength(), 0U); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
H A D | js_convert.h | 484 NAPI_CHECK_FATAL(napi_create_arraybuffer(env, etsVal->GetByteLength(), &data, &buf)); in JSCONVERT_WRAP() 485 std::copy_n(reinterpret_cast<const uint8_t *>(etsVal->GetData()->GetData<const void *>()), etsVal->GetByteLength(), in JSCONVERT_WRAP()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_dataview_stub_builder.cpp | 73 GateRef size = GetByteLength(thisValue);
in SetTypedValue()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot_processor.cpp | 431 reinterpret_cast<uintptr_t>(BuiltinsTypedArray::GetByteLength), 499 reinterpret_cast<uintptr_t>(ArrayBuffer::GetByteLength), 503 reinterpret_cast<uintptr_t>(SharedArrayBuffer::GetByteLength), 525 reinterpret_cast<uintptr_t>(DataView::GetByteLength),
|