| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_dataview_test.cpp | 37 EXPECT_EQ(JSDataView::GetElementSize(DataViewType::INT8), 1U); in HWTEST_F_L0() 38 EXPECT_EQ(JSDataView::GetElementSize(DataViewType::UINT8), 1U); in HWTEST_F_L0() 39 EXPECT_EQ(JSDataView::GetElementSize(DataViewType::UINT8_CLAMPED), 1U); in HWTEST_F_L0() 40 EXPECT_EQ(JSDataView::GetElementSize(DataViewType::INT16), 2U); in HWTEST_F_L0() 41 EXPECT_EQ(JSDataView::GetElementSize(DataViewType::UINT16), 2U); in HWTEST_F_L0() 42 EXPECT_EQ(JSDataView::GetElementSize(DataViewType::INT32), 4U); in HWTEST_F_L0() 43 EXPECT_EQ(JSDataView::GetElementSize(DataViewType::UINT32), 4U); in HWTEST_F_L0() 44 EXPECT_EQ(JSDataView::GetElementSize(DataViewType::FLOAT32), 4U); in HWTEST_F_L0() 45 EXPECT_EQ(JSDataView::GetElementSize(DataViewType::FLOAT64), 8U); in HWTEST_F_L0() 69 …JSHandle<JSDataView> handleDataView = factory->NewJSDataView(handleArrayBuf, offsetDataView, lengt… in HWTEST_F_L0() [all …]
|
| D | dump_test.cpp | 822 CHECK_DUMP_FIELDS(JSObject::SIZE, JSDataView::SIZE, 3U); in HWTEST_F_L0() 823 NEW_OBJECT_AND_DUMP(JSDataView, JS_DATA_VIEW); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_dataview_test.cpp | 186 void SetUint8(JSThread *thread, const JSHandle<JSDataView> &view, int32_t offset, JSTaggedValue val… in SetUint8() 231 …JSHandle<JSDataView> view(thread, JSDataView::Cast(reinterpret_cast<TaggedObject *>(tagged.GetRawD… in HWTEST_F_L0() 253 …JSHandle<JSDataView> view(thread, JSDataView::Cast(reinterpret_cast<TaggedObject *>(tagged.GetRawD… in HWTEST_F_L0() 274 …JSHandle<JSDataView> view(thread, JSDataView::Cast(reinterpret_cast<TaggedObject *>(tagged.GetRawD… in HWTEST_F_L0() 284 …JSHandle<JSDataView> view(thread, JSDataView::Cast(reinterpret_cast<TaggedObject *>(tagged.GetRawD… in HWTEST_F_L0() 299 …JSHandle<JSDataView> view(thread, JSDataView::Cast(reinterpret_cast<TaggedObject *>(tagged.GetRawD… in HWTEST_F_L0() 310 static JSHandle<JSDataView> GetCommonInt32(JSThread *thread) in GetCommonInt32() 313 …JSHandle<JSDataView> view(thread, JSDataView::Cast(reinterpret_cast<TaggedObject *>(tagged.GetRawD… in GetCommonInt32() 343 …JSHandle<JSDataView> view(thread, JSDataView::Cast(reinterpret_cast<TaggedObject *>(tagged.GetRawD… in HWTEST_F_L0() 356 …JSHandle<JSDataView> view(thread, JSDataView::Cast(reinterpret_cast<TaggedObject *>(tagged.GetRawD… in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_dataview.h | 30 class JSDataView : public JSObject { 32 CAST_CHECK(JSDataView, IsDataView);
|
| D | js_dataview.cpp | 19 uint32_t JSDataView::GetElementSize(DataViewType type) in GetElementSize()
|
| D | object_factory.h | 81 class JSDataView; variable 518 …JSHandle<JSDataView> NewJSDataView(JSHandle<JSArrayBuffer> buffer, uint32_t offset, uint32_t lengt…
|
| D | object_factory.cpp | 386 JSHandle<JSDataView> ObjectFactory::NewJSDataView(JSHandle<JSArrayBuffer> buffer, uint32_t offset, … in NewJSDataView() 391 JSHandle<JSDataView>(thread_, JSTaggedValue::Undefined())); in NewJSDataView() 396 JSHandle<JSDataView> arrayBuffer(NewJSObjectByConstructor(constructor)); in NewJSDataView() 1470 JSDataView::Cast(*obj)->SetDataView(thread_, JSTaggedValue(false)); in InitializeJSObject() 1471 JSDataView::Cast(*obj)->SetViewedArrayBuffer(thread_, JSTaggedValue::Undefined()); in InitializeJSObject() 1472 JSDataView::Cast(*obj)->SetByteLength(0); in InitializeJSObject() 1473 JSDataView::Cast(*obj)->SetByteOffset(0); in InitializeJSObject()
|
| D | dump.cpp | 824 JSDataView::Cast(obj)->Dump(os); in DumpObject() 2855 void JSDataView::Dump(std::ostream &os) const in Dump() 4066 JSDataView::Cast(obj)->DumpForSnapshot(vec); in DumpObject() 5340 void JSDataView::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_dataview.cpp | 83 JSHandle<JSDataView> dataView(obj); in DataViewConstructor() 113 JSHandle<JSDataView> dataView(thisHandle); in GetBuffer() 137 JSHandle<JSDataView> dataView(thisHandle); in GetByteLength() 167 JSHandle<JSDataView> dataView(thisHandle); in GetOffset() 376 JSHandle<JSDataView> dataView(view); in GetViewValue() 387 uint32_t elementSize = JSDataView::GetElementSize(type); in GetViewValue() 442 JSHandle<JSDataView> dataView(view); in SetViewValue() 453 uint32_t elementSize = JSDataView::GetElementSize(type); in SetViewValue()
|
| D | builtins.cpp | 2682 factory_->NewEcmaHClass(JSDataView::SIZE, JSType::JS_DATA_VIEW, dataViewFuncPrototypeValue); in InitializeDataView()
|
| /arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/ |
| D | tryldglobalbyname_global_object.ts | 462 function JSDataView() { function 715 JSDataView();
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
| D | js_metadata_test.cpp | 617 {JSType::JS_DATA_VIEW, {JSDataView::DATA_VIEW_OFFSET, in JSMetadataTestHelper() 618 JSDataView::VIEW_ARRAY_BUFFER_OFFSET, in JSMetadataTestHelper() 619 JSDataView::LAST_OFFSET - JSDataView::DATA_VIEW_OFFSET}}, in JSMetadataTestHelper() 1397 … {JSType::JS_DATA_VIEW, {JSDataView::VIEW_ARRAY_BUFFER_OFFSET - JSDataView::DATA_VIEW_OFFSET, in JSMetadataTestHelper() 1398 … JSDataView::BYTE_LENGTH_OFFSET - JSDataView::VIEW_ARRAY_BUFFER_OFFSET}}, in JSMetadataTestHelper()
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | jsnapi.cpp | 67 using ecmascript::JSDataView;
|
| D | jsnapi_expo.cpp | 62 using ecmascript::JSDataView; 1128 JSHandle<JSDataView> dataView(JSNApiHelper::ToJSHandle(this)); in GetDataViewInfo() 1161 JSHandle<JSDataView> dataView = factory->NewJSDataView(buffer, byteOffset, byteLength); in New() 1169 JSHandle<JSDataView> dataView(JSNApiHelper::ToJSHandle(this)); in ByteLength() 1176 JSHandle<JSDataView> dataView(JSNApiHelper::ToJSHandle(this)); in ByteOffset() 1184 JSHandle<JSDataView> dataView(JSNApiHelper::ToJSHandle(this)); in GetArrayBuffer()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | object_xray.h | 344 JSDataView::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | stub_builder-inl.h | 3716 IntPtr(JSDataView::VIEW_ARRAY_BUFFER_OFFSET)); in GetViewedArrayBuffer() 3722 IntPtr(JSDataView::BYTE_OFFSET_OFFSET)); in GetByteOffset() 3728 IntPtr(JSDataView::BYTE_LENGTH_OFFSET)); in GetByteLength()
|
| D | typed_native_inline_lowering.cpp | 1348 GateRef viewedArrayBufferOffset = builder_.IntPtr(JSDataView::VIEW_ARRAY_BUFFER_OFFSET); in LowerDataViewProtoFunc() 1359 GateRef byteOffset = builder_.IntPtr(JSDataView::BYTE_OFFSET_OFFSET); in LowerDataViewProtoFunc() 1361 GateRef sizeOffset = builder_.IntPtr(JSDataView::BYTE_LENGTH_OFFSET); in LowerDataViewProtoFunc()
|