/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_list.h | 24 class JSAPIList : public JSObject { 27 static JSAPIList *Cast(TaggedObject *object) in Cast() 30 return static_cast<JSAPIList *>(object); in Cast() 33 …static void Add(JSThread *thread, const JSHandle<JSAPIList> &list, const JSHandle<JSTaggedValue> &… 34 static JSTaggedValue Insert(JSThread *thread, const JSHandle<JSAPIList> &list, 36 static JSTaggedValue Set(JSThread *thread, const JSHandle<JSAPIList> &list, 43 static JSTaggedValue ConvertToArray(const JSThread *thread, const JSHandle<JSAPIList> &list); 44 static JSTaggedValue GetSubList(JSThread *thread, const JSHandle<JSAPIList> &list, 46 …static JSTaggedValue RemoveByIndex(JSThread *thread, const JSHandle<JSAPIList> &list, const int &i… 47 static JSHandle<TaggedArray> OwnKeys(JSThread *thread, const JSHandle<JSAPIList> &list); [all …]
|
D | js_api_list.cpp | 31 void JSAPIList::Add(JSThread *thread, const JSHandle<JSAPIList> &list, const JSHandle<JSTaggedValue… in Add() 38 JSTaggedValue JSAPIList::GetFirst() in GetFirst() 47 JSTaggedValue JSAPIList::GetLast() in GetLast() 56 JSTaggedValue JSAPIList::Insert(JSThread *thread, const JSHandle<JSAPIList> &list, const JSHandle<J… in Insert() 73 JSTaggedValue JSAPIList::Set(JSThread *thread, const JSHandle<JSAPIList> &list, in Set() 90 bool JSAPIList::Has(const JSTaggedValue &element) in Has() 96 bool JSAPIList::IsEmpty() in IsEmpty() 101 JSTaggedValue JSAPIList::Get(const int index) in Get() 111 JSTaggedValue JSAPIList::GetIndexOf(const JSTaggedValue &element) in GetIndexOf() 117 JSTaggedValue JSAPIList::GetLastIndexOf(const JSTaggedValue &element) in GetLastIndexOf() [all …]
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_api_list_test.cpp | 65 JSAPIList *CreateList() in CreateList() 85 …JSHandle<JSAPIList> list(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), cons… in CreateList() 94 JSAPIList *list = CreateList(); in HWTEST_F_L0() 104 JSHandle<JSAPIList> toor(thread, CreateList()); in HWTEST_F_L0() 112 JSAPIList::Add(thread, toor, value); in HWTEST_F_L0() 139 JSHandle<JSAPIList> toor(thread, CreateList()); in HWTEST_F_L0() 144 JSAPIList::Add(thread, toor, value); in HWTEST_F_L0() 174 JSHandle<JSAPIList> toor(thread, CreateList()); in HWTEST_F_L0() 179 JSAPIList::Add(thread, toor, value); in HWTEST_F_L0() 211 JSHandle<JSAPIList> toor(thread, CreateList()); in HWTEST_F_L0() [all …]
|
D | js_api_list_iterator_test.cpp | 65 JSAPIList *CreateList() in CreateList() 85 …JSHandle<JSAPIList> list(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), cons… in CreateList() 100 JSHandle<JSAPIList> list(thread, CreateList()); in HWTEST_F_L0() 104 JSAPIList::Add(thread, list, value); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_list.cpp | 46 JSHandle<JSAPIList> list = JSHandle<JSAPIList>::Cast(obj); in ListConstructor() 72 JSHandle<JSAPIList> jSAPIList = JSHandle<JSAPIList>::Cast(self); in Add() 73 JSAPIList::Add(thread, jSAPIList, value); in Add() 103 JSHandle<JSAPIList> jSAPIList = JSHandle<JSAPIList>::Cast(self); in Insert() 104 JSAPIList::Insert(thread, jSAPIList, value, index->GetInt()); in Insert() 125 JSHandle<JSAPIList> jSAPIList = JSHandle<JSAPIList>::Cast(self); in GetFirst() 145 JSHandle<JSAPIList> jSAPIList = JSHandle<JSAPIList>::Cast(self); in GetLast() 165 JSHandle<JSAPIList> jSAPIList = JSHandle<JSAPIList>::Cast(self); in Has() 186 JSHandle<JSAPIList> jSAPIList = JSHandle<JSAPIList>::Cast(self); in IsEmpty() 206 JSHandle<JSAPIList> jsAPIList = JSHandle<JSAPIList>::Cast(self); in Get() [all …]
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_list_test.cpp | 70 … JSAPIList::Set(thread, JSHandle<JSAPIList>::Cast(list), index->GetInt(), newValue); in TestForEachFunc() 98 JSHandle<JSAPIList> CreateJSAPIList(JSTaggedValue compare = JSTaggedValue::Undefined()) in CreateJSAPIList() 111 JSHandle<JSAPIList> list(thread, result); in CreateJSAPIList() 115 JSTaggedValue ListAdd(JSHandle<JSAPIList> list, JSTaggedValue value) in ListAdd() 128 JSTaggedValue ListEqual(JSHandle<JSAPIList> list, JSHandle<JSAPIList> compareList) in ListEqual() 157 JSHandle<JSAPIList> list(thread, result); in HWTEST_F_L0() 172 JSHandle<JSAPIList> list = CreateJSAPIList(); in HWTEST_F_L0() 216 JSHandle<JSAPIList> list = CreateJSAPIList(); in HWTEST_F_L0() 262 JSHandle<JSAPIList> list = CreateJSAPIList(); in HWTEST_F_L0() 269 JSHandle<JSAPIList> list1 = CreateJSAPIList(); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | containers_list_stub_builder.h | 33 GateRef tableOffset = IntPtr(JSAPIList::SINGLY_LIST_OFFSET); in GetTableLength() 41 GateRef tableOffset = IntPtr(JSAPIList::SINGLY_LIST_OFFSET); in GetNode()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistadd_fuzzer/ |
D | containerslistadd_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> lightWeightSet = CreateJSAPIList(thread); in ContainerslistAddFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistinsert_fuzzer/ |
D | containerslistinsert_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistInsertFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistset_fuzzer/ |
D | containerslistset_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslisthas_fuzzer/ |
D | containerslisthas_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> lightWeightSet = CreateJSAPIList(thread); in ContainerslistHasFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistisempty_fuzzer/ |
D | containerslistisempty_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> lightWeightSet = CreateJSAPIList(thread); in ContainerslistIsemptyFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistgetlastindexof_fuzzer/ |
D | containerslistgetlastindexof_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistGetLastIndexOfFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistconstructor_fuzzer/ |
D | containerslistconstructor_fuzzer.cpp | 68 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 76 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 99 JSHandle<JSAPIList> lightWeightSet = CreateJSAPIList(thread); in ContainerslistConStructorFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistclear_fuzzer/ |
D | containerslistclear_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> list(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistClearFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistgetindexof_fuzzer/ |
D | containerslistgetindexof_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistGetIndexOfFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistsort_fuzzer/ |
D | containerslistsort_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistSortFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistforeach_fuzzer/ |
D | containerslistforeach_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistForEachFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistremove_fuzzer/ |
D | containerslistremove_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistRemoveFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistremovebyindex_fuzzer/ |
D | containerslistremovebyindex_fuzzer.cpp | 69 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 77 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 103 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistRemoveByIndexFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistconverttoarray_fuzzer/ |
D | containerslistconverttoarray_fuzzer.cpp | 94 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 102 JSHandle<JSAPIList> list(thread, result); in CreateJSAPIList() 124 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistConvertToArrayFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistequal_fuzzer/ |
D | containerslistequal_fuzzer.cpp | 92 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 100 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 126 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistEqualFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistlength_fuzzer/ |
D | containerslistlength_fuzzer.cpp | 92 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 100 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 126 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistLengthFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistgetiteratorobj_fuzzer/ |
D | containerslistgetiteratorobj_fuzzer.cpp | 92 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 100 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 126 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistGetIteratorObjFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistgetsublist_fuzzer/ |
D | containerslistgetsublist_fuzzer.cpp | 92 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList() 100 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList() 126 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistGetSubListFuzzTest()
|