Home
last modified time | relevance | path

Searched refs:view (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_dataview_test.cpp186 void SetUint8(JSThread *thread, const JSHandle<JSDataView> &view, int32_t offset, JSTaggedValue value) in SetUint8() argument
189 DataViewAlgorithm(thread, vals, 8, AlgorithmType::SET_UINT8, view.GetTaggedValue()); // 8: data max len in SetUint8()
231 JSHandle<JSDataView> view(thread, JSDataView::Cast(reinterpret_cast<TaggedObject *>(tagged.GetRawData()))); in HWTEST_F_L0()
234 auto result = DataViewAlgorithm(thread, vals, 4, AlgorithmType::GET_OFFSET, view.GetTaggedValue()); in HWTEST_F_L0()
241 view->SetViewedArrayBuffer(thread, arrBuf); in HWTEST_F_L0()
243 result = DataViewAlgorithm(thread, vals, 4, AlgorithmType::GET_OFFSET, view.GetTaggedValue()); in HWTEST_F_L0()
253 JSHandle<JSDataView> view(thread, JSDataView::Cast(reinterpret_cast<TaggedObject *>(tagged.GetRawData()))); in HWTEST_F_L0()
256 auto result = DataViewAlgorithm(thread, vals, 4, AlgorithmType::GET_BYTELENGTH, view.GetTaggedValue()); in HWTEST_F_L0()
263 view->SetViewedArrayBuffer(thread, arrBuf); in HWTEST_F_L0()
264 result = DataViewAlgorithm(thread, vals, 4, AlgorithmType::GET_BYTELENGTH, view in HWTEST_F_L0()
323 auto view = GetCommonInt32(thread); HWTEST_F_L0() local
332 auto view = GetCommonInt32(thread); HWTEST_F_L0() local
489 auto view = BigInt64Common(thread); HWTEST_F_L0() local
499 auto view = BigInt64Common(thread); HWTEST_F_L0() local
[all...]
/arkcompiler/ets_runtime/test/moduletest/forin/
H A Dforin.js94 var view = new Int16Array(3);
95 view[1] = 23;
96 view[2] = 45;
97 view[3] = 67;
98 view.hhh = "wode";
99 for (const key in view) {
102 for (const key in view) {
104 delete view.hhh;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/js_to_ets/js_suites/
H A Dconflict_types.js30 const view = new Int32Array(buffer);
32 view.set([VALUE_AS_INT32], 0);
46 const view = new DataView(buffer);
47 view.setInt32(0, VALUE_AS_INT32);
49 return view;
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlinker_context_misc.cpp169 auto view = std::string_view(str->GetData()); in ReprStringItem() local
171 while (!view.empty()) { in ReprStringItem()
172 auto pos = view.find_first_of("\"\\\n"); in ReprStringItem()
173 o << view.substr(0, pos); in ReprStringItem()
175 if (view[pos] == '\n') { in ReprStringItem()
178 o << '\\' << view[pos]; in ReprStringItem() local
180 view = view.substr(pos + 1); in ReprStringItem()
182 view = ""; in ReprStringItem()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_dataview.cpp343 JSTaggedValue BuiltinsDataView::GetViewValue(JSThread *thread, const JSHandle<JSTaggedValue> &view, in GetViewValue() argument
349 // 1. If Type(view) is not Object, throw a TypeError exception. in GetViewValue()
350 if (!view->IsECMAObject()) { in GetViewValue()
353 // 2. If view does not have a [[DataView]] internal slot, throw a TypeError exception. in GetViewValue()
354 if (!view->IsDataView()) { in GetViewValue()
355 THROW_TYPE_ERROR_AND_RETURN(thread, "view is not dataview", JSTaggedValue::Exception()); in GetViewValue()
381 // 8. Let buffer be the value of view’s [[ViewedArrayBuffer]] internal slot. in GetViewValue()
382 JSHandle<JSDataView> dataView(view); in GetViewValue()
388 // 10. Let viewOffset be the value of view’s [[ByteOffset]] internal slot. in GetViewValue()
390 // 11. Let viewSize be the value of view in GetViewValue()
405 SetViewValue(JSThread *thread, const JSHandle<JSTaggedValue> &view, const JSHandle<JSTaggedValue> &requestIndex, const JSHandle<JSTaggedValue> &littleEndian, DataViewType type, const JSHandle<JSTaggedValue> &value) SetViewValue() argument
[all...]
H A Dbuiltins_dataview.h136 // 24.2.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
137 static JSTaggedValue GetViewValue(JSThread *thread, const JSHandle<JSTaggedValue> &view,
141 static JSTaggedValue SetViewValue(JSThread *thread, const JSHandle<JSTaggedValue> &view,
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js2028 let e = cc.view._scaleX;
2029 let i = cc.view._scaleY;
2049 const u = cc.view._viewportRect;
9242 4302: "Can not set the scroll view content when it hasn't UITransform or its parent hasn't UITransform.",
20786 const t = m.view;
[all...]

Completed in 30 milliseconds