/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_linked_list.h | 24 class JSAPILinkedList : public JSObject { 27 static JSAPILinkedList *Cast(TaggedObject *object) in Cast() 30 return static_cast<JSAPILinkedList *>(object); in Cast() 33 …static void Add(JSThread *thread, const JSHandle<JSAPILinkedList> &list, const JSHandle<JSTaggedVa… 34 static JSHandle<JSAPILinkedList> Clone(JSThread *thread, const JSHandle<JSAPILinkedList> &list); 35 …static void AddFirst(JSThread *thread, const JSHandle<JSAPILinkedList> &list, const JSHandle<JSTag… 36 static JSTaggedValue Insert(JSThread *thread, const JSHandle<JSAPILinkedList> &list, 38 static JSTaggedValue Set(JSThread *thread, const JSHandle<JSAPILinkedList> &list, 40 …static JSTaggedValue ConvertToArray(const JSThread *thread, const JSHandle<JSAPILinkedList> &list); 41 static JSHandle<TaggedArray> OwnKeys(JSThread *thread, const JSHandle<JSAPILinkedList> &list); [all …]
|
D | js_api_linked_list.cpp | 27 JSTaggedValue JSAPILinkedList::Insert(JSThread *thread, const JSHandle<JSAPILinkedList> &list, in Insert() 44 void JSAPILinkedList::Clear(JSThread *thread) in Clear() 52 JSHandle<JSAPILinkedList> JSAPILinkedList::Clone(JSThread *thread, const JSHandle<JSAPILinkedList> … in Clone() 63 JSHandle<JSAPILinkedList> newLinkedList = factory->NewJSAPILinkedList(); in Clone() 70 JSTaggedValue JSAPILinkedList::RemoveFirst(JSThread *thread, const JSHandle<JSAPILinkedList> &list) in RemoveFirst() 81 JSTaggedValue JSAPILinkedList::RemoveLast(JSThread *thread, const JSHandle<JSAPILinkedList> &list) in RemoveLast() 92 JSTaggedValue JSAPILinkedList::RemoveByIndex(JSThread *thread, JSHandle<JSAPILinkedList> &list, con… in RemoveByIndex() 107 JSTaggedValue JSAPILinkedList::Remove(JSThread *thread, const JSTaggedValue &element) in Remove() 117 JSTaggedValue JSAPILinkedList::RemoveFirstFound(JSThread *thread, JSHandle<JSAPILinkedList> &list, in RemoveFirstFound() 129 JSTaggedValue JSAPILinkedList::RemoveLastFound(JSThread *thread, JSHandle<JSAPILinkedList> &list, in RemoveLastFound() [all …]
|
D | js_api_linked_list_iterator.cpp | 79 … JSHandle<JSTaggedValue> iter(factory->NewJSAPILinkedListIterator(JSHandle<JSAPILinkedList>(obj))); in CreateLinkedListIterator()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_api_linked_list_test.cpp | 65 JSAPILinkedList *CreateLinkedList() in CreateLinkedList() 83 JSHandle<JSAPILinkedList> linkedList = in CreateLinkedList() 84 … JSHandle<JSAPILinkedList>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(contianer), in CreateLinkedList() 94 JSAPILinkedList *linkedlist = CreateLinkedList(); in HWTEST_F_L0() 104 JSHandle<JSAPILinkedList> toor(thread, CreateLinkedList()); in HWTEST_F_L0() 110 JSAPILinkedList::Add(thread, toor, value); in HWTEST_F_L0() 132 JSHandle<JSAPILinkedList> list(thread, CreateLinkedList()); in HWTEST_F_L0() 148 JSHandle<JSAPILinkedList> toor(thread, CreateLinkedList()); in HWTEST_F_L0() 153 JSAPILinkedList::Add(thread, toor, value); in HWTEST_F_L0() 183 JSHandle<JSAPILinkedList> toor(thread, CreateLinkedList()); in HWTEST_F_L0() [all …]
|
D | js_api_linked_list_iterator_test.cpp | 65 JSAPILinkedList *CreateLinkedList() in CreateLinkedList() 83 JSHandle<JSAPILinkedList> linkedList = in CreateLinkedList() 84 … JSHandle<JSAPILinkedList>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(contianer), in CreateLinkedList() 100 JSHandle<JSAPILinkedList> linkedList(thread, CreateLinkedList()); in HWTEST_F_L0() 104 JSAPILinkedList::Add(thread, linkedList, value); in HWTEST_F_L0()
|
D | dump_test.cpp | 271 static JSHandle<JSAPILinkedList> NewJSAPILinkedList(JSThread *thread, ObjectFactory *factory) in NewJSAPILinkedList() 275 …JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSAPILinkedList::SIZE, JSType::JS_API_LINKED_… in NewJSAPILinkedList() 276 …JSHandle<JSAPILinkedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(factory->NewJSObjectWi… in NewJSAPILinkedList() 1293 CHECK_DUMP_FIELDS(JSObject::SIZE, JSAPILinkedList::SIZE, 1U); in HWTEST_F_L0() 1294 JSHandle<JSAPILinkedList> jsAPILinkedList = NewJSAPILinkedList(thread, factory); in HWTEST_F_L0() 1309 JSHandle<JSAPILinkedList> jsAPILinkedList = NewJSAPILinkedList(thread, factory); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_linked_list.cpp | 46 JSHandle<JSAPILinkedList> linkedList = JSHandle<JSAPILinkedList>::Cast(obj); in LinkedListConstructor() 70 JSHandle<JSAPILinkedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(self); in Add() 71 JSAPILinkedList::Add(thread, jsAPILinkedList, value); in Add() 93 JSHandle<JSAPILinkedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(self); in AddFirst() 94 JSAPILinkedList::AddFirst(thread, jsAPILinkedList, value); in AddFirst() 114 JSHandle<JSAPILinkedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(self); in GetFirst() 134 JSHandle<JSAPILinkedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(self); in GetLast() 154 JSHandle<JSAPILinkedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(self); in Length() 188 JSHandle<JSAPILinkedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(self); in Insert() 190 JSAPILinkedList::Insert(thread, jsAPILinkedList, value, index->GetInt()); in Insert() [all …]
|
D | containers_private.cpp | 1022 …factory->NewEcmaHClass(JSAPILinkedList::SIZE, JSType::JS_API_LINKED_LIST, linkedListFuncPrototypeV… in InitializeLinkedList()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslinkedlistcommon_fuzzer/ |
D | containerslinkedlistcommon_fuzzer.h | 46 … JSAPILinkedList::Set(thread, JSHandle<JSAPILinkedList>::Cast(list), index->GetInt(), newValue); in TestForEachFunc() 70 static JSHandle<JSAPILinkedList> CreateJSAPILinkedList(JSThread *thread) in CreateJSAPILinkedList() 94 JSHandle<JSAPILinkedList> linkedList(thread, list); in CreateJSAPILinkedList() 98 …static void LinkedListAdd(JSHandle<JSAPILinkedList> &linkedList, JSTaggedValue value, JSThread *th… in LinkedListAdd() 113 JSHandle<JSAPILinkedList> linkedList = CreateJSAPILinkedList(thread); in ContainersLinkedListAddFuzzTest() 135 JSHandle<JSAPILinkedList> linkedList = CreateJSAPILinkedList(thread); in ContainersLinkedListGetFirstFuzzTest() 162 JSHandle<JSAPILinkedList> linkedList = CreateJSAPILinkedList(thread); in ContainersLinkedListGetLastFuzzTest() 189 JSHandle<JSAPILinkedList> linkedList = CreateJSAPILinkedList(thread); in ContainersLinkedListAddFirstFuzzTest() 216 JSHandle<JSAPILinkedList> linkedList = CreateJSAPILinkedList(thread); in ContainersLinkedListClearFuzzTest() 243 JSHandle<JSAPILinkedList> linkedList = CreateJSAPILinkedList(thread); in ContainersLinkedListCloneFuzzTest() [all …]
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_linked_list_test.cpp | 70 … JSAPILinkedList::Set(thread, JSHandle<JSAPILinkedList>::Cast(list), index->GetInt(), newValue); in TestForEachFunc() 98 …JSHandle<JSAPILinkedList> CreateJSAPILinkedList(JSTaggedValue compare = JSTaggedValue::Undefined()) in CreateJSAPILinkedList() 111 JSHandle<JSAPILinkedList> linkedlist(thread, result); in CreateJSAPILinkedList() 115 …JSTaggedValue LinkedListInsert(JSHandle<JSAPILinkedList> linkedlist, JSTaggedValue index, JSTagged… in LinkedListInsert() 129 JSTaggedValue LinkedListGet(JSHandle<JSAPILinkedList> linkedlist, JSTaggedValue index) in LinkedListGet() 142 JSTaggedValue LinkedListRemoveByIndex(JSHandle<JSAPILinkedList> linkedlist, JSTaggedValue index) in LinkedListRemoveByIndex() 171 JSHandle<JSAPILinkedList> list(thread, result); in HWTEST_F_L0() 187 JSHandle<JSAPILinkedList> linkedlist = CreateJSAPILinkedList(); in HWTEST_F_L0() 230 JSHandle<JSAPILinkedList> linkedlist = CreateJSAPILinkedList(); in HWTEST_F_L0() 255 JSHandle<JSAPILinkedList> linkedlist = CreateJSAPILinkedList(); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | containers_linkedlist_stub_builder.h | 33 GateRef tableOffset = IntPtr(JSAPILinkedList::DOUBLE_LIST_OFFSET); in GetTableLength() 41 GateRef tableOffset = IntPtr(JSAPILinkedList::DOUBLE_LIST_OFFSET); in GetNode()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefislinkedlistiterator_fuzzer/ |
D | jsvaluerefislinkedlistiterator_fuzzer.cpp | 142 JSHandle<JSAPILinkedList> linkedList = in JSValueRefIsLinkedListIteratorFuzzTest() 143 …JSHandle<JSAPILinkedList>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(contianer),… in JSValueRefIsLinkedListIteratorFuzzTest() 149 JSAPILinkedList::Add(thread, linkedList, taggedvalue); in JSValueRefIsLinkedListIteratorFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefislinkedlist_fuzzer/ |
D | jsvaluerefislinkedlist_fuzzer.cpp | 138 JSHandle<JSAPILinkedList> linkedList = in JSValueRefIsLinkedListFuzzTest() 139 …JSHandle<JSAPILinkedList>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(contianer),… in JSValueRefIsLinkedListFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_tagged_value.cpp | 1170 JSHandle<JSAPILinkedList> linkedList = JSHandle<JSAPILinkedList>::Cast(obj); in HasContainerProperty() 1216 return JSAPILinkedList::OwnKeys(thread, JSHandle<JSAPILinkedList>::Cast(obj)); in GetOwnContainerPropertyKeys() 1253 return JSAPILinkedList::OwnKeys(thread, JSHandle<JSAPILinkedList>::Cast(obj)); in GetOwnContainerEnumPropertyKeys() 1297 … return JSAPILinkedList::GetOwnProperty(thread, JSHandle<JSAPILinkedList>::Cast(obj), key); in GetContainerProperty() 1374 … return JSAPILinkedList::GetProperty(thread, JSHandle<JSAPILinkedList>::Cast(obj), key); in GetJSAPIProperty() 1416 … return JSAPILinkedList::SetProperty(thread, JSHandle<JSAPILinkedList>::Cast(obj), key, value); in SetJSAPIProperty()
|
D | object_fast_operator-inl.h | 813 res = JSAPILinkedList::Cast(receiver.GetTaggedObject())->Get(index); in GetContainerProperty() 853 JSHandle<JSAPILinkedList> doubleList(thread, receiver); in SetContainerProperty() 854 … res = JSAPILinkedList::Set(thread, doubleList, index, JSHandle<JSTaggedValue>(thread, value)); in SetContainerProperty()
|
D | object_factory.h | 139 class JSAPILinkedList; variable 617 JSHandle<JSAPILinkedList> NewJSAPILinkedList(); 618 …JSHandle<JSAPILinkedListIterator> NewJSAPILinkedListIterator(const JSHandle<JSAPILinkedList> &link…
|
D | dump.cpp | 1171 JSAPILinkedList::Cast(obj)->Dump(os); in DumpObject() 2291 void JSAPILinkedList::Dump(std::ostream &os) const in Dump() 2301 void JSAPILinkedList::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot() 4295 JSAPILinkedList::Cast(obj)->DumpForSnapshot(vec); in DumpObject()
|
D | object_factory.cpp | 1314 JSAPILinkedList::Cast(*obj)->SetDoubleList(thread_, JSTaggedValue::Undefined()); in InitializeJSObject() 4275 …istIterator> ObjectFactory::NewJSAPILinkedListIterator(const JSHandle<JSAPILinkedList> &linkedList) in NewJSAPILinkedListIterator() 4314 JSHandle<JSAPILinkedList> ObjectFactory::NewJSAPILinkedList() in NewJSAPILinkedList() 4318 return JSHandle<JSAPILinkedList>::Cast(NewJSObjectByConstructor(function)); in NewJSAPILinkedList()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | json_stringifier.cpp | 274 JSHandle listHandle = JSHandle<JSAPILinkedList>(thread_, tagValue); in SerializeJSONProperty() 275 …valHandle = JSHandle<JSTaggedValue>(thread_, JSAPILinkedList::ConvertToArray(thread_, listHandle)); in SerializeJSONProperty()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | object_xray.h | 639 JSAPILinkedList::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | debugger_api.cpp | 58 using ecmascript::JSAPILinkedList; 1104 JSHandle<JSAPILinkedList> linkedList(JSNApiHelper::ToJSHandle(value)); in GetLinkedListValue()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
D | ffi_workload.cpp | 3951 JSHandle<JSAPILinkedList> linkedList = in HWTEST_F_L0() 3952 …JSHandle<JSAPILinkedList>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(contianer),… in HWTEST_F_L0() 3997 JSHandle<JSAPILinkedList> linkedList = in HWTEST_F_L0() 3998 …JSHandle<JSAPILinkedList>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(contianer),… in HWTEST_F_L0() 4004 JSAPILinkedList::Add(thread_, linkedList, taggedvalue); in HWTEST_F_L0()
|