Lines Matching defs:handleDataView
72 JSHandle<JSDataView> handleDataView = factory->NewJSDataView(handleArrayBuf, offsetDataView,
74 EXPECT_TRUE(handleDataView->GetDataView().IsTrue());
77 handleDataView->SetDataView(thread, JSTaggedValue::False());
78 EXPECT_TRUE(handleDataView->GetDataView().IsFalse());
79 handleDataView->SetDataView(thread, JSTaggedValue::True());
80 EXPECT_TRUE(handleDataView->GetDataView().IsTrue());
110 JSHandle<JSDataView> handleDataView = factory->NewJSDataView(handleArrayBuf1, offsetDataView,
113 JSHandle<JSTaggedValue> handleTagValDataViewTo1(thread, handleDataView->GetViewedArrayBuffer());
117 handleDataView->SetViewedArrayBuffer(thread, handleArrayBuf2.GetTaggedValue());
119 JSHandle<JSTaggedValue> handleTagValDataViewTo2(thread, handleDataView->GetViewedArrayBuffer());
148 JSHandle<JSDataView> handleDataView = factory->NewJSDataView(handleArrayBuf, offsetDataView,
150 EXPECT_EQ(handleDataView->GetByteLength(), lengthDataView1);
153 handleDataView->SetByteLength(lengthDataView2);
154 EXPECT_EQ(handleDataView->GetByteLength(), lengthDataView2);
181 JSHandle<JSDataView> handleDataView = factory->NewJSDataView(handleArrayBuf, offsetDataView1,
183 EXPECT_EQ(handleDataView->GetByteOffset(), offsetDataView1);
186 handleDataView->SetByteOffset(offsetDataView2);
187 EXPECT_EQ(handleDataView->GetByteOffset(), offsetDataView2);