Home
last modified time | relevance | path

Searched defs:arrayList (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_arraylist_test.cpp38 JSHandle<JSTaggedValue> arrayList = GetCallArg(argv, 2); // 2 means the secode arg in TestForEachAndReplaceAllFunc() local
51 …Handle<JSTaggedValue> ReplaceOrForEachCommon(JSThread* thread, JSHandle<JSAPIArrayList>& arrayList, in ReplaceOrForEachCommon()
88 JSAPIArrayList *arrayList = CreateArrayList(); in HWTEST_F_L0() local
101 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local
121 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local
163 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local
185 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local
200 static uint32_t GetCapacityCommon(JSThread* thread, JSHandle<JSAPIArrayList>& arrayList, uint32_t a… in GetCapacityCommon()
233 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local
254 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local
[all …]
Djs_api_arraylist_iterator_test.cpp46 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local
Djs_set_iterator_test.cpp165 …JSHandle<JSArray> arrayList(thread, JSIterator::IteratorValue(thread, resultObj).GetTaggedValue()); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/test/fuzztest/arraylist_fuzzer/
Darraylist_fuzzer.cpp78 JSHandle<JSAPIArrayList> arrayList(thread, result); in CreateJSAPIArrayList() local
82 void ArrayListAdd(JSThread* thread, JSHandle<JSAPIArrayList> arrayList, JSTaggedValue value) in ArrayListAdd()
96 JSHandle<JSTaggedValue> arrayList = argv->GetCallArg(2); // 2 means the secode arg in TestForEachFunc() local
112 JSHandle<JSTaggedValue> arrayList = argv->GetCallArg(2); // 2 means the secode arg in TestReplaceAllElementsFunc() local
146 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListForEachFuzzTest() local
174 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListAddFuzzTest() local
217 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListClearFuzzTest() local
253 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListCloneFuzzTest() local
289 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListConvertToArrayFuzzTest() local
325 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListGetFuzzTest() local
[all …]
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_arraylist_test.cpp65 JSHandle<JSTaggedValue> arrayList = GetCallArg(argv, 1); in TestForEachFunc() local
115 JSTaggedValue ArrayListAdd(JSHandle<JSAPIArrayList> arrayList, JSTaggedValue value) in ArrayListAdd()
129 … JSTaggedValue ArrayListRemoveByRange(JSHandle<JSAPIArrayList> arrayList, JSTaggedValue startIndex, in ArrayListRemoveByRange()
145 … JSTaggedValue ArrayListSubArrayList(JSHandle<JSAPIArrayList> arrayList, JSTaggedValue startIndex, in ArrayListSubArrayList()
177 JSHandle<JSAPIArrayList> arrayList(thread, result); in HWTEST_F_L0() local
192 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); in HWTEST_F_L0() local
233 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); in HWTEST_F_L0() local
269 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); in HWTEST_F_L0() local
357 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); in HWTEST_F_L0() local
380 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_arraylist.cpp26 bool JSAPIArrayList::Add(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, in Add()
38 void JSAPIArrayList::Insert(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, in Insert()
58 void JSAPIArrayList::Clear(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList) in Clear()
94 void JSAPIArrayList::IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, in IncreaseCapacityTo()
109 …id JSAPIArrayList::TrimToCurrentLength(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList) in TrimToCurrentLength()
139 bool JSAPIArrayList::IsEmpty(const JSHandle<JSAPIArrayList> &arrayList) in IsEmpty()
144 int JSAPIArrayList::GetIndexOf(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, in GetIndexOf()
159 int JSAPIArrayList::GetLastIndexOf(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, in GetLastIndexOf()
174 …edValue JSAPIArrayList::RemoveByIndex(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList,… in RemoveByIndex()
202 bool JSAPIArrayList::Remove(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, in Remove()
[all …]
Djs_api_arraylist_iterator.cpp39 JSHandle<JSTaggedValue> arrayList(thread, iter->GetIteratedArrayList()); in Next() local
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_arraylist.js24 var arrayList = undefined; variable
/arkcompiler/ets_runtime/ecmascript/
Djs_list_format.cpp209 JSHandle<JSTaggedValue> arrayList = JSHandle<JSTaggedValue>::Cast(array); in StringListFromIterable() local
Ddump.cpp2247 JSAPIArrayList *arrayList = JSAPIArrayList::Cast(GetIteratedArrayList().GetTaggedObject()); in Dump() local
Dobject_factory.cpp4520 …ayListIterator> ObjectFactory::NewJSAPIArrayListIterator(const JSHandle<JSAPIArrayList> &arrayList) in NewJSAPIArrayListIterator()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_shared_set_test.cpp432 …JSHandle<JSArray> arrayList(thread, JSIterator::IteratorValue(thread, resultObj).GetTaggedValue()); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_arraylist.cpp662 JSHandle<JSAPIArrayList> arrayList = JSHandle<JSAPIArrayList>::Cast(self); in ConvertToArray() local
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp953 JSHandle<JSAPIArrayList> arrayList(JSNApiHelper::ToJSHandle(value)); in GetArrayListValue() local