Home
last modified time | relevance | path

Searched refs:sort (Results 1 - 25 of 98) sorted by relevance

1234

/arkcompiler/ets_runtime/test/moduletest/arraysortcase/
H A Darraysortcase.js17 months.sort();
21 array1.sort();
24 let res1 = numberArray1.sort();
37 stringArray.sort(); // ['Beluga', 'Blue', 'Humpback']
41 numberArray.sort(); // [1, 200, 40, 5]
42 numberArray.sort(compareNumbers); // [1, 5, 40, 200]
46 numericStringArray.sort(); // ['700', '80', '9']
47 numericStringArray.sort(compareNumbers); // ['9', '80', '700']
51 mixedNumericArray.sort(); // [1, 200, 40, 5, '700', '80', '9']
52 mixedNumericArray.sort(compareNumber
[all...]
/arkcompiler/ets_runtime/test/moduletest/arraysort/
H A Darraysort.js41 objHandler1.sort((a, b) => {
54 objHandler2.sort((a, b) => {
65 arr1.sort((a, b) => {
82 arr1.sort((a, b) => {
89 arr2.sort((a, b) => {
98 arr3.sort((a, b) => {
108 Array.prototype.sort.call(obj1, (a, b) => {
114 Array.prototype.sort.call(obj2, (a, b) => {
124 Array.prototype.sort.call(obj3, (a, b) => {
131 Array.prototype.sort
[all...]
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/
H A Dresult.rb124 TestRunner.log 2, @@stats[:passed][:files].sort.to_yaml.to_s
126 TestRunner.log 1, @@stats[:failed][:files].sort.to_yaml.to_s
128 TestRunner.log 1, @@stats[:core][:files].sort.to_yaml.to_s
130 TestRunner.log 1, @@stats[:compilation_error][:files].sort.to_yaml.to_s
132 TestRunner.log 1, @@stats[:quickening_error][:files].sort.to_yaml.to_s
/arkcompiler/ets_frontend/ets2panda/test/tsconfig/
H A Dtest.sh50 find . -type f -name '*abc' | sort --version-sort > "$ACTUAL"
64 echo "(cd $(realpath $TSCONFIG_DIR) && find . -type f -name '*abc' | sort > $(pwd)/actual.txt)"
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks/js/
H A DUsingLib.js59 nums.sort();
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dot_operator/sts_to_js/
H A Dcheck_call_chaining.js26 const resChaining = Obj.arr.reverse().map(i => i + jsInt).filter(i => i > jsInt).sort().reduce((a, b) => a - b);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/array_js_suites/
H A Dtest_sort.js36 arr.sort(comparator);
/arkcompiler/ets_runtime/test/moduletest/generator/
H A Dgenerator.js62 found_property_names.sort();
/arkcompiler/runtime_core/scripts/
H A Dmemdump.py37 It is possible to filter and sort data (run the script with -h option)
112 def sort(data): function
229 allocs = sort(allocs)
/arkcompiler/runtime_core/static_core/scripts/
H A Dmemdump.py37 It is possible to filter and sort data (run the script with -h option)
112 def sort(data): function
229 allocs = sort(allocs)
/arkcompiler/runtime_core/static_core/scripts/clang-tidy/
H A Dclang_tidy_check.py340 file_list.sort(key=lambda tup: tup[0])
360 filtered.sort(key=lambda tup: tup[0])
388 filtered.sort(key=lambda tup: tup[0])
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_collator_stub_builder.cpp123 Label sort(env); in UsageOptionsToEcmaString()
127 BRANCH_NO_WEIGHT(Int32Equal(usage, Int32(static_cast<int32_t>(UsageOption::SORT))), &sort, &next) in UsageOptionsToEcmaString() local
128 Bind(&sort); in UsageOptionsToEcmaString()
/arkcompiler/ets_runtime/ecmascript/
H A Dglobal_dictionary-inl.h116 std::sort(sortArr.begin(), sortArr.end(), CompKey); in GetAllKeys()
150 std::sort(sortArr.begin(), sortArr.end(), CompKey); in GetAllKeysByFilter()
196 std::sort(sortArr.begin(), sortArr.end(), CompKey); in GetEnumAllKeys()
H A Dtagged_dictionary.cpp80 std::sort(sortArr.begin(), sortArr.end(), CompKey); in GetAllKeys()
123 std::sort(sortArr.begin(), sortArr.end(), CompKey); in GetAllKeysByFilter()
171 std::sort(sortArr.begin(), sortArr.end(), CompHandleKey); in GetAllEnumKeys()
194 std::sort(sortArr.begin(), sortArr.end(), CompHandleKey); in GetAllEnumKeys()
308 std::sort(sortArr.begin(), sortArr.end(), CompKey); in GetAllKeys()
339 std::sort(sortArr.begin(), sortArr.end(), CompKey); in GetAllKeysByFilter()
364 std::sort(sortArr.begin(), sortArr.end(), CompKey); in GetAllEnumKeys()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/
H A Dstandard_view.py49 fail_list.sort(key=lambda t: t.path)
56 ignored_but_passed.sort(key=lambda t: t.path)
/arkcompiler/ets_runtime/test/moduletest/container/
H A Dcontainer_list.js107 list2.sort();
113 list2.sort((a,b) => a-b);
120 map.set("test list sort:", res);
345 proxy2.sort((a,b) => a-b);
352 map.set("test list sort:", res);
H A Dcontainer_arraylist.js181 proxy1.sort((a,b) => a-b);
188 map.set("test arraylist sort:", res)
198 proxy1.sort((a,b) => a-b);
H A Dcontainer_vector.js229 proxy1.sort((a,b) => a-b);
236 map.set("test vector sort:", res)
263 proxy1.sort((a,b) => a-b);
270 map.set("test vector sort:", res)
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
H A Dvalidate-recipes434 foreach my $id (sort { $a <=> $b } keys %$recipes) {
455 foreach my $id (sort { $a <=> $b } keys %$recipes) {
558 foreach my $id (sort { $a <=> $b } keys %$recipes) {
607 foreach my $id (sort { $a <=> $b } keys %$recipes) {
613 sort(join(', ', @{$r->{linter_ids}})),
/arkcompiler/runtime_core/compiler/tests/
H A Dgraph_comparator.h279 std::sort(regs1.begin(), regs1.end()); in CompareSaveStateInst()
280 std::sort(regs2.begin(), regs2.end()); in CompareSaveStateInst()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dspill_fill_encoder.cpp67 // Don't sort vectors that are too large in order to reduce compilation duration. in SortSpillFillData()
90 std::sort(it, next, [](auto sf1, auto sf2) { return sf1.DstValue() > sf2.DstValue(); }); in SortSpillFillData()
93 std::sort(it, next, [](auto sf1, auto sf2) { return sf1.SrcValue() > sf2.SrcValue(); }); in SortSpillFillData()
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/
H A Dtest_gc_ark_reporter.py81 expected_props.sort()
84 actual_props.sort()
/arkcompiler/ets_frontend/es2panda/test/size_statistics/
H A Dsize_statistics.py193 self.results.sort()
218 percentage_of_sections_list.sort(key=lambda percentage_of_section: int(percentage_of_section[1]),
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/
H A Dopt_code_profiler.cpp33 std::sort(profVec.begin(), profVec.end(), in PrintAndReset()
113 std::sort(profVec.begin(), profVec.end(), in FilterMethodToPrint()
/arkcompiler/runtime_core/static_core/compiler/tools/debug/
H A Djit_writer.cpp85 std::sort(classHeaders_.begin() + fileHeader.classesOffset, classHeaders_.end(), in End()

Completed in 12 milliseconds

1234