Home
last modified time | relevance | path

Searched refs:JSAPIList (Results 1 – 25 of 36) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_list.h24 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 …]
Djs_api_list.cpp31 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/
Djs_api_list_test.cpp65 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 …]
Djs_api_list_iterator_test.cpp65 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/
Dcontainers_list.cpp46 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/
Dcontainers_list_test.cpp70JSAPIList::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/
Dcontainers_list_stub_builder.h33 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/
Dcontainerslistadd_fuzzer.cpp69 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/
Dcontainerslistinsert_fuzzer.cpp69 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/
Dcontainerslistset_fuzzer.cpp69 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/
Dcontainerslisthas_fuzzer.cpp69 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/
Dcontainerslistisempty_fuzzer.cpp69 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/
Dcontainerslistgetlastindexof_fuzzer.cpp69 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/
Dcontainerslistconstructor_fuzzer.cpp68 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/
Dcontainerslistclear_fuzzer.cpp69 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/
Dcontainerslistgetindexof_fuzzer.cpp69 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/
Dcontainerslistsort_fuzzer.cpp69 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/
Dcontainerslistforeach_fuzzer.cpp69 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/
Dcontainerslistremove_fuzzer.cpp69 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/
Dcontainerslistremovebyindex_fuzzer.cpp69 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/
Dcontainerslistconverttoarray_fuzzer.cpp94 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/
Dcontainerslistequal_fuzzer.cpp92 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/
Dcontainerslistlength_fuzzer.cpp92 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/
Dcontainerslistgetiteratorobj_fuzzer.cpp92 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/
Dcontainerslistgetsublist_fuzzer.cpp92 JSHandle<JSAPIList> CreateJSAPIList(JSThread *thread) in CreateJSAPIList()
100 JSHandle<JSAPIList> map(thread, result); in CreateJSAPIList()
126 JSHandle<JSAPIList> list = CreateJSAPIList(thread); in ContainerslistGetSubListFuzzTest()

12