| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | byte_array_test.cpp | 62 JSHandle<ByteArray> byteArray = factory->NewByteArray(5, 8); in HWTEST_F_L0() 63 EXPECT_EQ(ByteArray::ComputeSize(8, 0), 16U); in HWTEST_F_L0() 64 EXPECT_EQ(ByteArray::ComputeSize(16, 4), 80U); in HWTEST_F_L0() 80 JSHandle<ByteArray> byteArray = factory->NewByteArray(3, sizeof(value)); in HWTEST_F_L0()
|
| D | dump_test.cpp | 851 JSHandle<ByteArray> byteArray = factory->NewByteArray(4, 8); in HWTEST_F_L0()
|
| D | js_serializer_test.cpp | 696 JSHandle<ByteArray> resByteArray(byteArray); in TypedArrayTest2() 1813 JSHandle<ByteArray> byteArray = factory->NewByteArray(byteArrayLength, sizeof(value)); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | byte_array.h | 27 class ByteArray : public TaggedObject { 29 CAST_CHECK(ByteArray, IsByteArray); 71 static_assert(ByteArray::ARRAY_LENGTH_OFFSET == sizeof(TaggedObject)); 72 static_assert((ByteArray::DATA_OFFSET % static_cast<uint8_t>(MemAlignment::MEM_ALIGN_OBJECT)) == 0);
|
| D | byte_array.cpp | 22 void ByteArray::Set(JSThread* thread, uint32_t idx, DataViewType type, JSTaggedType val, uint32_t o… in Set() 30 JSTaggedValue ByteArray::Get(JSThread *thread, uint32_t idx, DataViewType type, uint32_t offset) in Get()
|
| D | js_hclass-inl.h | 198 size = ByteArray::ComputeSize(reinterpret_cast<ByteArray *>(header)->GetByteLength(), in SizeFromJSHClass() 199 reinterpret_cast<ByteArray *>(header)->GetArrayLength()); in SizeFromJSHClass()
|
| D | js_typed_array.cpp | 723 ByteArray *byteArray = ByteArray::Cast(arrBuf.GetTaggedObject()); in GetOffHeapBuffer() 729 … ByteArray::Cast(typedArray->GetViewedArrayBufferOrByteArray().GetTaggedObject())->GetData())); in GetOffHeapBuffer()
|
| D | ecma_string_table.cpp | 293 JSHandle<ByteArray> newData = vm_->GetFactory()->NewByteArray( in RelocateConstantData()
|
| D | js_serializer.cpp | 401 JSHandle<ByteArray> byteArray = JSHandle<ByteArray>::Cast(value); in WriteByteArray() 1261 JSHandle<ByteArray> byteArray = factory_->NewByteArray(arrayLength, arrayType); in ReadByteArray()
|
| D | object_factory.h | 376 JSHandle<ByteArray> NewByteArray(uint32_t length, uint32_t size, void *srcData = nullptr,
|
| D | dump.cpp | 835 ByteArray::Cast(obj)->Dump(os); in DumpObject() 2392 void ByteArray::Dump(std::ostream &os) const in Dump() 4037 ByteArray::Cast(obj)->DumpForSnapshot(vec); in DumpObject() 5093 void ByteArray::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot()
|
| D | object_factory.cpp | 2654 JSHandle<ByteArray> ObjectFactory::NewByteArray(uint32_t length, uint32_t size, void *srcData, in NewByteArray() 2657 size_t byteSize = ByteArray::ComputeSize(size, length); in NewByteArray() 2660 JSHandle<ByteArray> array(thread_, header); in NewByteArray()
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | jsnapi.cpp | 123 using ecmascript::ByteArray;
|
| D | jsnapi_expo.cpp | 107 using ecmascript::ByteArray;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/ |
| D | array_native_test.cpp | 109 TEST_F(EtsNativeInterfaceArrayTest, ByteArray) in TEST_F() argument
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | typed_array_stub_builder.cpp | 67 result = PtrAdd(*result, IntPtr(ByteArray::DATA_OFFSET)); in GetDataPointFromBuffer()
|
| D | typed_hcr_lowering.cpp | 1074 GateRef data = builder_.PtrAdd(byteArray, builder_.IntPtr(ByteArray::DATA_OFFSET)); in BuildOnHeapTypedArrayLoadElement() 1104 data = builder_.PtrAdd(byteArrayOrArrayBuffer, builder_.IntPtr(ByteArray::DATA_OFFSET)); in BuildTypedArrayLoadElement() 1245 GateRef data = builder_.PtrAdd(byteArray, builder_.IntPtr(ByteArray::DATA_OFFSET)); in BuildOnHeapTypedArrayStoreElement() 1272 data = builder_.PtrAdd(byteArrayOrArrayBuffer, builder_.IntPtr(ByteArray::DATA_OFFSET)); in BuildTypedArrayStoreElement() 1329 GateRef data = builder_.PtrAdd(arrbuffer, builder_.IntPtr(ByteArray::DATA_OFFSET)); in LowerUInt8ClampedArrayStoreElement()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | object_xray.h | 344 ByteArray::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_arraybuffer.cpp | 749 …return reinterpret_cast<void *>(ToUintPtr(ByteArray::Cast(arrBuf.GetTaggedObject())->GetData()) + … in GetDataPointFromBuffer()
|
| /arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
| D | serializer_test.cpp | 653 JSHandle<ByteArray> resByteArray(byteArray); in TypedArrayTest2() 1786 JSHandle<ByteArray> byteArray = factory->NewByteArray(byteArrayLength, sizeof(value)); in HWTEST_F_L0()
|