| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_api_arraylist_test.cpp | 38 JSHandle<JSTaggedValue> arrayList = GetCallArg(argv, 2); // 2 means the secode arg in TestForEachAndReplaceAllFunc() local 52 …Handle<JSTaggedValue> ReplaceOrForEachCommon(JSThread* thread, JSHandle<JSAPIArrayList>& arrayList, in ReplaceOrForEachCommon() 89 JSAPIArrayList *arrayList = CreateArrayList(); in HWTEST_F_L0() local 102 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local 122 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local 164 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local 186 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local 201 static uint32_t GetCapacityCommon(JSThread* thread, JSHandle<JSAPIArrayList>& arrayList, uint32_t a… in GetCapacityCommon() 234 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local 255 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local [all …]
|
| D | js_api_arraylist_iterator_test.cpp | 46 JSHandle<JSAPIArrayList> arrayList(thread, CreateArrayList()); in HWTEST_F_L0() local
|
| D | js_set_iterator_test.cpp | 167 …JSHandle<JSArray> arrayList(thread, JSIterator::IteratorValue(thread, resultObj).GetTaggedValue()); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/test/fuzztest/arraylist_fuzzer/ |
| D | arraylist_fuzzer.cpp | 79 JSHandle<JSAPIArrayList> arrayList(thread, result); in CreateJSAPIArrayList() local 83 void ArrayListAdd(JSThread* thread, JSHandle<JSAPIArrayList> arrayList, JSTaggedValue value) in ArrayListAdd() 98 JSHandle<JSTaggedValue> arrayList = argv->GetCallArg(2); // 2 means the secode arg in TestForEachFunc() local 114 JSHandle<JSTaggedValue> arrayList = argv->GetCallArg(2); // 2 means the secode arg in TestReplaceAllElementsFunc() local 148 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListForEachFuzzTest() local 176 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListAddFuzzTest() local 219 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListClearFuzzTest() local 255 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListCloneFuzzTest() local 291 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListConvertToArrayFuzzTest() local 327 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); in ArrayListGetFuzzTest() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/containers/tests/ |
| D | containers_arraylist_test.cpp | 66 JSHandle<JSTaggedValue> arrayList = GetCallArg(argv, 1); in TestForEachFunc() local 116 JSTaggedValue ArrayListAdd(JSHandle<JSAPIArrayList> arrayList, JSTaggedValue value) in ArrayListAdd() 130 … JSTaggedValue ArrayListRemoveByRange(JSHandle<JSAPIArrayList> arrayList, JSTaggedValue startIndex, in ArrayListRemoveByRange() 146 … JSTaggedValue ArrayListSubArrayList(JSHandle<JSAPIArrayList> arrayList, JSTaggedValue startIndex, in ArrayListSubArrayList() 178 JSHandle<JSAPIArrayList> arrayList(thread, result); in HWTEST_F_L0() local 193 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); in HWTEST_F_L0() local 234 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); in HWTEST_F_L0() local 271 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); in HWTEST_F_L0() local 359 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); in HWTEST_F_L0() local 382 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); in HWTEST_F_L0() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_arraylist.cpp | 26 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(JSThread *thread, 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 …]
|
| D | js_api_arraylist_iterator.cpp | 40 JSHandle<JSTaggedValue> arrayList(thread, iter->GetIteratedArrayList(thread)); in Next() local
|
| /arkcompiler/ets_runtime/test/moduletest/container/ |
| D | container_arraylist.js | 24 var arrayList = undefined; variable
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_list_format.cpp | 209 JSHandle<JSTaggedValue> arrayList = JSHandle<JSTaggedValue>::Cast(array); in StringListFromIterable() local
|
| D | dump.cpp | 2339 … JSAPIArrayList *arrayList = JSAPIArrayList::Cast(GetIteratedArrayList(thread).GetTaggedObject()); in Dump() local
|
| D | object_factory.cpp | 4631 …ayListIterator> ObjectFactory::NewJSAPIArrayListIterator(const JSHandle<JSAPIArrayList> &arrayList) in NewJSAPIArrayListIterator()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_shared_set_test.cpp | 432 …JSHandle<JSArray> arrayList(thread, JSIterator::IteratorValue(thread, resultObj).GetTaggedValue()); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_arraylist.cpp | 658 JSHandle<JSAPIArrayList> arrayList = JSHandle<JSAPIArrayList>::Cast(self); in ConvertToArray() local
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | debugger_api.cpp | 980 JSHandle<JSAPIArrayList> arrayList(JSNApiHelper::ToJSHandle(value)); in GetArrayListValue() local
|