Home
last modified time | relevance | path

Searched refs:CreateArrayFromList (Results 1 – 25 of 49) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_iterator_test.cpp67 JSHandle<JSTaggedValue> array(JSArray::CreateArrayFromList(thread, data)); in HWTEST_F_L0()
81 JSHandle<JSTaggedValue> array(JSArray::CreateArrayFromList(thread, data)); in HWTEST_F_L0()
94 JSHandle<JSTaggedValue> array(JSArray::CreateArrayFromList(thread, data)); in HWTEST_F_L0()
112 JSHandle<JSTaggedValue> array(JSArray::CreateArrayFromList(thread, data)); in HWTEST_F_L0()
125 JSHandle<JSTaggedValue> array(JSArray::CreateArrayFromList(thread, data)); in HWTEST_F_L0()
Djs_array_iterator_test.cpp76 …JSHandle<JSObject> handleJSObjectTaggedArrayFrom1(JSArray::CreateArrayFromList(thread, handleTagge… in HWTEST_F_L0()
77 …JSHandle<JSObject> handleJSObjectTaggedArrayFrom2(JSArray::CreateArrayFromList(thread, handleTagge… in HWTEST_F_L0()
120 …JSHandle<JSObject> handleJSObjectTaggedArray(JSArray::CreateArrayFromList(thread, handleTaggedArra… in HWTEST_F_L0()
154 …JSHandle<JSObject> handleJSObjectTaggedArray(JSArray::CreateArrayFromList(thread, handleTaggedArra… in HWTEST_F_L0()
Djs_stable_array_test.cpp112 JSHandle<JSArray> handleArr(JSArray::CreateArrayFromList(thread, handleTagArr)); in HWTEST_F_L0()
154 JSHandle<JSArray> handleArr(JSArray::CreateArrayFromList(thread, handleTagArr)); in HWTEST_F_L0()
215 JSHandle<JSArray> handleArr(JSArray::CreateArrayFromList(thread, handleTagArr)); in HWTEST_F_L0()
252 JSHandle<JSArray> handleArr(JSArray::CreateArrayFromList(thread, handleTagArr)); in HWTEST_F_L0()
283 JSHandle<JSArray> handleArr(JSArray::CreateArrayFromList(thread, handleTagArr)); in HWTEST_F_L0()
313 JSHandle<JSArray> handleArr(JSArray::CreateArrayFromList(thread, handleTagArr)); in HWTEST_F_L0()
346 JSHandle<JSArray> handleArr(JSArray::CreateArrayFromList(thread, handleTagArr)); in HWTEST_F_L0()
379 JSHandle<JSArray> handleArr(JSArray::CreateArrayFromList(thread, handleTagArr)); in HWTEST_F_L0()
443 JSHandle<JSArray> handleArr(JSArray::CreateArrayFromList(thread, handleTagArr)); in HWTEST_F_L0()
486 JSHandle<JSArray> handleArr(JSArray::CreateArrayFromList(thread, handleTagArr)); in HWTEST_F_L0()
Djs_array_test.cpp139 JSHandle<JSObject> array(JSArray::CreateArrayFromList(thread, values)); in HWTEST_F_L0()
160 JSHandle<JSObject> array(JSArray::CreateArrayFromList(thread, values)); in HWTEST_F_L0()
199 JSHandle<JSArray> array(JSArray::CreateArrayFromList(thread, values)); in HWTEST_F_L0()
Dtemplate_string_test.cpp96 JSHandle<JSTaggedValue> templateLiteral(JSArray::CreateArrayFromList(thread, elements)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_intl.cpp37 JSHandle<JSArray> result = JSArray::CreateArrayFromList(thread, elements); in GetCanonicalLocales()
Dbuiltins_promise_handler.cpp204 JSHandle<JSArray> jsArrayValues = JSArray::CreateArrayFromList(thread, arrayValues); in ResolveElementFunction()
434 JSHandle<JSArray> jsArrayValues = JSArray::CreateArrayFromList(thread, arrayValues); in AllSettledResolveElementFunction()
499 JSHandle<JSArray> jsArrayValues = JSArray::CreateArrayFromList(thread, arrayValues); in AllSettledRejectElementFunction()
554 JSHandle<JSTaggedValue> errorsValue(JSArray::CreateArrayFromList(thread, errorsArray)); in AnyRejectElementFunction()
Dbuiltins_object.cpp405 JSHandle<JSArray> resultArray = JSArray::CreateArrayFromList(thread, resultList); in GetOwnPropertyKeys()
545 JSHandle<JSArray> result = JSArray::CreateArrayFromList(thread, nameList); in Keys()
571 JSHandle<JSArray> result = JSArray::CreateArrayFromList(thread, nameList); in Values()
979 return JSArray::CreateArrayFromList(thread, nameList).GetTaggedValue(); in Entries()
Dbuiltins_errors.cpp184 JSHandle<JSTaggedValue> errorsValues(JSArray::CreateArrayFromList(thread, errorsArray)); in AggregateErrorConstructor()
/arkcompiler/ets_runtime/ecmascript/
Djs_map_iterator.cpp75 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, array)); in Next()
158 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, array)); in MapIteratorToList()
Djs_array_iterator.cpp95 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, resultArray)); in Next()
Djs_set_iterator.cpp69 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, array)); in Next()
Djs_array.h48 …static JSHandle<JSArray> CreateArrayFromList(JSThread *thread, const JSHandle<TaggedArray> &elemen…
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_plain_array_iterator.cpp68 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, array)); in Next()
Djs_api_lightweightset_iterator.cpp73 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, array)); in Next()
Djs_api_lightweightmap_iterator.cpp71 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, array)); in Next()
Djs_api_tree_set_iterator.cpp77 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, array)); in Next()
Djs_api_tree_map_iterator.cpp82 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, array)); in Next()
Djs_api_hashmap_iterator.cpp75 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, array)); in Next()
Djs_api_hashset_iterator.cpp70 JSHandle<JSTaggedValue> keyAndValue(JSArray::CreateArrayFromList(thread, array)); in Next()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_weak_map_test.cpp109 auto result = JSArray::CreateArrayFromList(thread, internalArray); in HWTEST_F_L0()
112 JSHandle<JSArray> values = JSArray::CreateArrayFromList(thread, array); in HWTEST_F_L0()
Dbuiltins_map_test.cpp123 auto arr = JSArray::CreateArrayFromList(thread, internalArray); in HWTEST_F_L0()
126 JSHandle<JSArray> values = JSArray::CreateArrayFromList(thread, array); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Djson_parser_test.cpp182 JSHandle<JSArray> nameResult = JSArray::CreateArrayFromList(thread, nameList); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/intl/
Dlocale_helper.cpp71 JSHandle<JSArray> obj = JSArray::CreateArrayFromList(thread, temp); in CanonicalizeLocaleList()
80 JSHandle<JSArray> obj = JSArray::CreateArrayFromList(thread, temp); in CanonicalizeLocaleList()
/arkcompiler/ets_runtime/ecmascript/base/
Darray_helper.cpp296 JSHandle<JSArray> array(JSArray::CreateArrayFromList(thread, items)); in SortIndexedProperties()

12