Home
last modified time | relevance | path

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

12

/arkcompiler/ets_frontend/es2panda/test/
Dtest262skiplist-compiler-arm64.txt174 built-ins/Array/prototype/reduceRight/15.4.4.22-1-11.js
175 built-ins/Array/prototype/reduceRight/15.4.4.22-1-12.js
176 built-ins/Array/prototype/reduceRight/15.4.4.22-1-14.js
177 built-ins/Array/prototype/reduceRight/15.4.4.22-1-3.js
178 built-ins/Array/prototype/reduceRight/15.4.4.22-1-4.js
179 built-ins/Array/prototype/reduceRight/15.4.4.22-1-5.js
180 built-ins/Array/prototype/reduceRight/15.4.4.22-1-6.js
181 built-ins/Array/prototype/reduceRight/15.4.4.22-1-7.js
182 built-ins/Array/prototype/reduceRight/15.4.4.22-1-8.js
183 built-ins/Array/prototype/reduceRight/15.4.4.22-1-9.js
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/array_js_suites/
Dtest_reduce_right.js36 let reduced = arr.reduceRight(fnReduce);
42 let reduced2 = arr.reduceRight(fnReduce2, 'initVal');
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DReadonlyArray.sts106reduceRight(reducer: (previousValue: T, currentValue: T, currentIndex: number, array: ReadonlyArra…
107 reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T): T;
108 reduceRight(callbackfn: (previousValue: T, currentValue: T) => T): T;
109 reduceRight(callbackfn: (previousValue: T) => T): T;
110 reduceRight(callbackfn: () => T): T;
112reduceRight<U>(reducer: (previousValue: U, currentValue: T, currentIndex: number, array: ReadonlyA…
113reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => U, initial…
114 reduceRight<U>(callbackfn: (previousValue: U, currentValue: T) => U, initialValue: U): U;
115 reduceRight<U>(callbackfn: (previousValue: U) => U, initialValue: U): U;
116 reduceRight<U>(callbackfn: () => U, initialValue: U): U;
DTypedUArrays.sts1977 * The reduceRight method calls the callbackfn function one time for each element in the array.
1984 public reduceRight<U = number>(
2000 * The reduceRight method calls the callbackfn function one time for each element in the array.
2007 public reduceRight<U = number>(
2010 return this.reduceRight(
2022 * The reduceRight method calls the callbackfn function one time for each element in the array.
2029 public reduceRight<U = number>(
2032 return this.reduceRight(
2044 * The reduceRight method calls the callbackfn function one time for each element in the array.
2051 public reduceRight<U = number>(
[all …]
DTypedArrays.sts2008 * The reduceRight method calls the callbackfn function one time for each element in the array.
2015 public reduceRight<U = number>(
2031 * The reduceRight method calls the callbackfn function one time for each element in the array.
2038 public reduceRight<U = number>(
2041 return this.reduceRight(
2052 * The reduceRight method calls the callbackfn function one time for each element in the array.
2059 public reduceRight<U = number>(
2062 return this.reduceRight(
2073 * The reduceRight method calls the callbackfn function one time for each element in the array.
2080 public reduceRight<U = number>(
[all …]
DArray.sts1046 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
1050 …public override reduceRight(callbackfn: (previousValue: T, currentValue: T, index: number, array: …
1064 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
1070 …public override reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, index: number, arra…
1237 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
1241 …public override reduceRight(callbackfn: (previousValue: T, currentValue: T, index: number) => T): …
1255 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
1261 …public override reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, index: number) => U…
1439 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
1443 public override reduceRight(callbackfn: (previousValue: T, currentValue: T) => T): T {
[all …]
/arkcompiler/ets_runtime/test/aottest/builtins_array/
Dbuiltins_array.ts93 function reduceRight() { function
100 const result = array1.reduceRight((accumulator, currentValue) =>
153 reduceRight();
/arkcompiler/ets_runtime/test/moduletest/typearray/
Dtypearray.js364 print(arr1_reduceRight.reduceRight(test_ReduceRight));
365 print(arr1_reduceRight.reduceRight(test_ReduceRight, 10));
367 print(arr2_reduceRight.reduceRight(test_ReduceRight));
567 let res1 = arr1.reduceRight(fun1, 1, 1);
569 let res2 = arr2.reduceRight(fun1, 1, 1);
571 let res3 = arr1.reduceRight(fun1, 1);
573 let res4 = arr2.reduceRight(fun1, 1);
576 let res5 = arr1.reduceRight(fun1);
581 let res6 = arr2.reduceRight(fun1);
583 let res7 = arr1.reduceRight(fun1, undefined);
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/test-lists/test262/
Dtest262-ignored-ARM64-INT.txt2 built-ins/Array/prototype/reduceRight/15.4.4.22-9-c-ii-7.js
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/escompat/
Descompat_Array_reduce_sort.sts81 let reduce = arr.reduceRight((acc: Object, val: Object): Object => {
86 let expected: String = "{{.item.reduceRight}}"
110 let reduce = arr.reduceRight((acc: Object, val: Object): Object => {
115 let expected: String = "Hello{{.item.reduceRight}}"
/arkcompiler/ets_runtime/test/aottest/typedarray/
Dtypedarray.ts43 arr.reduceRight(callback);
/arkcompiler/ets_frontend/test262/
Des2015_tests.txt1960 built-ins/Array/prototype/reduceRight/15.4.4.22-10-1.js
1961 built-ins/Array/prototype/reduceRight/15.4.4.22-10-2.js
1962 built-ins/Array/prototype/reduceRight/15.4.4.22-10-3.js
1963 built-ins/Array/prototype/reduceRight/15.4.4.22-10-4.js
1964 built-ins/Array/prototype/reduceRight/15.4.4.22-10-5.js
1965 built-ins/Array/prototype/reduceRight/15.4.4.22-10-6.js
1966 built-ins/Array/prototype/reduceRight/15.4.4.22-10-7.js
1967 built-ins/Array/prototype/reduceRight/15.4.4.22-10-8.js
1968 built-ins/Array/prototype/reduceRight/15.4.4.22-1-1.js
1969 built-ins/Array/prototype/reduceRight/15.4.4.22-1-10.js
[all …]
Dignored-test262-fastverify-x64-aot-pgo.txt39 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-7-9.js
40 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-10-3.js
Dignored-test262-fastverify-x64-aot-pgo-litecg.txt879 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-10-4.js
880 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-10-6.js
881 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-10-7.js
882 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-2.js
883 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-3.js
884 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-4.js
885 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-5.js
886 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-6.js
887 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-7.js
888 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-7-2.js
[all …]
Dignored-test262-fastverify-qemu-aot-pgo-litecg.txt173 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-10-4.js
174 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-10-6.js
175 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-10-7.js
176 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-2.js
177 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-3.js
178 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-4.js
179 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-5.js
180 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-6.js
181 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-5-7.js
182 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-7-2.js
[all …]
Dignored-test262-fastverify-qemu-aot-pgo.txt674 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-1-14.js
675 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-1-15.js
676 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-1-3.js
677 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-1-5.js
680 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-1-8.js
681 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-1-9.js
682 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-2-18.js
683 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-2-19.js
684 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-2-2.js
685 test262/data/test_es2021/built-ins/Array/prototype/reduceRight/15.4.4.22-2-3.js
[all …]
DCI_tests.txt1811 built-ins/Array/prototype/reduceRight/15.4.4.22-10-1.js
1812 built-ins/Array/prototype/reduceRight/15.4.4.22-10-3.js
1813 built-ins/Array/prototype/reduceRight/15.4.4.22-10-5.js
1814 built-ins/Array/prototype/reduceRight/15.4.4.22-10-7.js
1815 built-ins/Array/prototype/reduceRight/15.4.4.22-1-7.js
1816 built-ins/Array/prototype/reduceRight/15.4.4.22-1-9.js
1817 built-ins/Array/prototype/reduceRight/15.4.4.22-2-2.js
1818 built-ins/Array/prototype/reduceRight/15.4.4.22-2-4.js
1819 built-ins/Array/prototype/reduceRight/15.4.4.22-3-1.js
1820 built-ins/Array/prototype/reduceRight/15.4.4.22-3-21.js
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DArrayTest4.sts49 let res = arrEmpty.reduceRight(fn);
60 let res = arr.reduceRight(fn);
76 let res = arrEmpty.reduceRight(fn);
87 let res = arr.reduceRight(fn);
100 let res = arrEmpty.reduceRight(fn);
111 let res = arr.reduceRight(fn);
/arkcompiler/ets_runtime/test/jittest/pgo_roottype_test/inline_type_info_accessor_test/
Dinline_type_info_accessor_test.ts83 v68.reduceRight(f69);
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dlib_ark_builtins.d.ts525reduceRight(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]…
786reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: U…
874reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: U…
962reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: I…
1050reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: U…
1138reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: U…
1226reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: I…
1314reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: I…
1402reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: F…
1490reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: F…
[all …]
/arkcompiler/ets_runtime/test/moduletest/array/
Darray.js611 var result_reduceRight1 = arr_reduceRight1.reduceRight(testReduceRight, 100);
613 var result_reduceRight2 = arr_reduceRight2.reduceRight(testReduceRight, 100);
615 var result_reduceRight3 = arr_reduceRight3.reduceRight(testReduceRight, 100);
617 var result_reduceRight4 = arr_reduceRight4.reduceRight(testReduceRight4, 100);
1718 let result1 = array1.reduceRight((acc, curr) => acc + curr);
1722 let result2 = array2.reduceRight((acc, curr) => acc + curr, "initialValue");
1726 let result3 = array3.reduceRight((acc, curr) => acc + curr);
1730 let result4 = array4.reduceRight((acc, curr) => acc + curr);
/arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/
DtypedUArray.sts.j22150 * The reduceRight method calls the callbackfn function one time for each element in the array.
2157 public reduceRight<U = {{elType}}>(
2173 * The reduceRight method calls the callbackfn function one time for each element in the array.
2180 public reduceRight<U = {{elType}}>(
2183 return this.reduceRight(
2195 * The reduceRight method calls the callbackfn function one time for each element in the array.
2202 public reduceRight<U = {{elType}}>(
2205 return this.reduceRight(
2217 * The reduceRight method calls the callbackfn function one time for each element in the array.
2224 public reduceRight<U = {{elType}}>(
[all …]
DtypedArray.sts.j22195 * The reduceRight method calls the callbackfn function one time for each element in the array.
2202 public reduceRight<U = {{elType}}>(
2218 * The reduceRight method calls the callbackfn function one time for each element in the array.
2225 public reduceRight<U = {{elType}}>(
2228 return this.reduceRight(
2239 * The reduceRight method calls the callbackfn function one time for each element in the array.
2246 public reduceRight<U = {{elType}}>(
2249 return this.reduceRight(
2260 * The reduceRight method calls the callbackfn function one time for each element in the array.
2267 public reduceRight<U = {{elType}}>(
[all …]
DArray_common.erb374 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
378 <%= access_public %> <%= override %> reduceRight<%= this_generic %>(<%= this_arg %>callbackfn: (pre…
392 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
398 <%= access_public %> <%= override %> reduceRight<<%= this_generic_one %>U>(<%= this_arg %>callbackf…
1084 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
1088 <%= access_public %> <%= override %> reduceRight<%= this_generic %>(<%= this_arg %>callbackfn: (pre…
1102 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
1106 <%= access_public %> <%= override %> reduceRight<%= this_generic %>(<%= this_arg %>callbackfn: () =…
1120 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
1126 <%= access_public %> <%= override %> reduceRight<<%= this_generic_one %>U>(<%= this_arg %>callbackf…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DBuiltinArray.sts431 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
435 export function reduceRight(self: boolean[], callbackfn: (previousValue: boolean, currentValue: boo…
449 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
455 export function reduceRight<U>(self: boolean[], callbackfn: (previousValue: U, currentValue: boolea…
622 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
626 export function reduceRight(self: boolean[], callbackfn: (previousValue: boolean, currentValue: boo…
640 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
646 export function reduceRight<U>(self: boolean[], callbackfn: (previousValue: U, currentValue: boolea…
824 …* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the…
828 export function reduceRight(self: boolean[], callbackfn: (previousValue: boolean, currentValue: boo…
[all …]

12