Home
last modified time | relevance | path

Searched refs:GetArrayBufferByteLength (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_array_buffer_test.cpp111 EXPECT_EQ(arrBuf->GetArrayBufferByteLength(), 6U); in HWTEST_F_L0()
116 EXPECT_EQ(arrBuf->GetArrayBufferByteLength(), 0U); in HWTEST_F_L0()
Djs_serializer_test.cpp501 int32_t resByteLength = static_cast<int32_t>(resJSArrayBuffer->GetArrayBufferByteLength()); in JSArrayBufferTest()
534 int32_t resByteLength = static_cast<int32_t>(resJSArrayBuffer->GetArrayBufferByteLength()); in JSSharedArrayBufferTest()
638 uint32_t resTaggedLength = resJSArrayBuffer->GetArrayBufferByteLength(); in TypedArrayTest1()
846 EXPECT_EQ(arrBuf->GetArrayBufferByteLength(), 5); // 5: bufferLength in TransferJSArrayBufferTest1()
865 EXPECT_EQ(arrBuf->GetArrayBufferByteLength(), 5); // 5: bufferLength in TransferJSArrayBufferTest2()
884 EXPECT_EQ(arrBuf->GetArrayBufferByteLength(), 0); in TransferJSArrayBufferTest3()
914 uint32_t resTaggedLength = resJSArrayBuffer->GetArrayBufferByteLength(); in TransferJSArrayBufferTest4()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_sharedarraybuffer.cpp152 uint32_t length = shaArrBuf->GetArrayBufferByteLength(); in GetByteLength()
182 int32_t len = static_cast<int32_t>(shaArrBuf->GetArrayBufferByteLength()); in Slice()
242 uint32_t newArrBufLen = newJsShaArrBuf->GetArrayBufferByteLength(); in Slice()
Dbuiltins_arraybuffer.cpp107 uint32_t length = arrBuf->GetArrayBufferByteLength(); in GetByteLength()
136 int32_t len = static_cast<int32_t>(arrBuf->GetArrayBufferByteLength()); in Slice()
201 uint32_t newArrBufLen = newJsArrBuf->GetArrayBufferByteLength(); in Slice()
291 uint32_t srcLen = arrBuf->GetArrayBufferByteLength(); in CloneArrayBuffer()
730 if (arrayBuffer->GetArrayBufferByteLength() == 0) { in GetDataPointFromBuffer()
Dbuiltins_dataview.cpp67 uint32_t bufByteLen = arrBufHandle->GetArrayBufferByteLength(); in DataViewConstructor()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_array_stub_builder.h61 GateRef GetArrayBufferByteLength(GateRef buffer) in GetArrayBufferByteLength() function
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp339 uint32_t bufferByteLength = JSHandle<JSArrayBuffer>(buffer)->GetArrayBufferByteLength(); in CreateFromArrayBuffer()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp2088 return arrayBuffer->GetArrayBufferByteLength(); in ByteLength()
2123 uint32_t length = arrayBuffer->GetArrayBufferByteLength(); in BufferToStringCallback()
2198 return arrayBuffer->GetArrayBufferByteLength(); in ByteLength()
/arkcompiler/ets_runtime/ecmascript/
Djs_serializer.cpp824 uint32_t arrayLength = arrayBuffer->GetArrayBufferByteLength(); in WriteJSArrayBuffer()
Ddump.cpp2559 os << " - byte-length: " << GetArrayBufferByteLength(); in Dump()
4883 vec.emplace_back("byte-length", JSTaggedValue(GetArrayBufferByteLength())); in DumpForSnapshot()
Dobject_factory.cpp317 uint32_t arrayLength = buffer->GetArrayBufferByteLength(); in NewJSDataView()