| /arkcompiler/ets_runtime/test/moduletest/container/ |
| H A D | container_arraylist.js | 24 var arrayList = undefined; variable [all...] |
| /arkcompiler/ets_runtime/ecmascript/containers/tests/ |
| H A D | containers_arraylist_test.cpp | 65 JSHandle<JSTaggedValue> arrayList = GetCallArg(argv, 1); in TestForEachFunc() local 115 JSTaggedValue ArrayListAdd(JSHandle<JSAPIArrayList> arrayList, JSTaggedValue value) in ArrayListAdd() argument 129 JSTaggedValue ArrayListRemoveByRange(JSHandle<JSAPIArrayList> arrayList, JSTaggedValue startIndex, in ArrayListRemoveByRange() argument 145 JSTaggedValue ArrayListSubArrayList(JSHandle<JSAPIArrayList> arrayList, JSTaggedValue startIndex, in ArrayListSubArrayList() argument 192 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); HWTEST_F_L0() local 233 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); HWTEST_F_L0() local 269 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); HWTEST_F_L0() local 357 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); HWTEST_F_L0() local 380 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); HWTEST_F_L0() local 403 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(); HWTEST_F_L0() local [all...] |
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| H A D | js_api_arraylist_test.cpp | 38 JSHandle<JSTaggedValue> arrayList = GetCallArg(argv, 2); // 2 means the secode arg in TestForEachAndReplaceAllFunc() local 51 static JSHandle<JSTaggedValue> ReplaceOrForEachCommon(JSThread* thread, JSHandle<JSAPIArrayList>& arrayList, in ReplaceOrForEachCommon() argument 88 JSAPIArrayList *arrayList = CreateArrayList(); in HWTEST_F_L0() local 200 GetCapacityCommon(JSThread* thread, JSHandle<JSAPIArrayList>& arrayList, uint32_t addElementNums, uint32_t& currentCapacity) GetCapacityCommon() argument [all...] |
| /arkcompiler/ets_runtime/test/fuzztest/arraylist_fuzzer/ |
| H A D | arraylist_fuzzer.cpp | 82 void ArrayListAdd(JSThread* thread, JSHandle<JSAPIArrayList> arrayList, JSTaggedValue value) in ArrayListAdd() argument 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); ArrayListForEachFuzzTest() local 174 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListAddFuzzTest() local 217 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListClearFuzzTest() local 253 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListCloneFuzzTest() local 289 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListConvertToArrayFuzzTest() local 325 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListGetFuzzTest() local 362 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListGetCapacityFuzzTest() local 398 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListGetIndexOfFuzzTest() local 435 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListGetIteratorObjFuzzTest() local 471 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListGetLastIndexOfFuzzTest() local 508 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListGetSizeFuzzTest() local 544 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListHasFuzzTest() local 582 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListIncreaseCapacityToFuzzTest() local 619 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListInsertFuzzTest() local 657 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListIsEmptyFuzzTest() local 693 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListRemoveByIndexFuzzTest() local 731 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListRemoveByRangeFuzzTest() local 773 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListReplaceAllElementsFuzzTest() local 813 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListSetFuzzTest() local 854 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListSortFuzzTest() local 892 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListSubArrayListFuzzTest() local 933 JSHandle<JSAPIArrayList> arrayList = CreateJSAPIArrayList(thread); ArrayListTrimToCurrentLengthFuzzTest() local [all...] |
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| H A D | containers_arraylist.cpp | 658 JSHandle<JSAPIArrayList> arrayList = JSHandle<JSAPIArrayList>::Cast(self); in ConvertToArray() local
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| H A D | js_api_arraylist.cpp | 26 bool JSAPIArrayList::Add(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, in Add() argument 38 void JSAPIArrayList::Insert(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, in Insert() argument 58 void JSAPIArrayList::Clear(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList) in Clear() argument 94 IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, int capacity) IncreaseCapacityTo() argument 109 TrimToCurrentLength(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList) TrimToCurrentLength() argument 139 IsEmpty(const JSHandle<JSAPIArrayList> &arrayList) IsEmpty() argument 144 GetIndexOf(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, const JSHandle<JSTaggedValue> &value) GetIndexOf() argument 159 GetLastIndexOf(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, const JSHandle<JSTaggedValue> &value) GetLastIndexOf() argument 174 RemoveByIndex(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, int index) RemoveByIndex() argument 202 Remove(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, const JSHandle<JSTaggedValue> &value) Remove() argument 217 RemoveByRange(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, const JSHandle<JSTaggedValue> &value1, const JSHandle<JSTaggedValue> &value2) RemoveByRange() argument 263 JSHandle<JSAPIArrayList> arrayList = JSHandle<JSAPIArrayList>::Cast(thisHandle); ReplaceAllElements() local 305 SubArrayList(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, const JSHandle<JSTaggedValue> &value1, const JSHandle<JSTaggedValue> &value2) SubArrayList() argument 353 JSHandle<JSAPIArrayList> arrayList = JSHandle<JSAPIArrayList>::Cast(thisHandle); ForEach() local [all...] |
| /arkcompiler/ets_runtime/ecmascript/ |
| H A D | js_list_format.cpp | 211 JSHandle<JSTaggedValue> arrayList = JSHandle<JSTaggedValue>::Cast(array); in StringListFromIterable() local
|
| H A D | dump.cpp | 2284 JSAPIArrayList *arrayList = JSAPIArrayList::Cast(GetIteratedArrayList().GetTaggedObject()); in Dump() local
|
| H A D | object_factory.cpp | 4306 JSHandle<JSAPIArrayListIterator> ObjectFactory::NewJSAPIArrayListIterator(const JSHandle<JSAPIArrayList> &arrayList) in NewJSAPIArrayListIterator() argument
|