Home
last modified time | relevance | path

Searched refs:sort (Results 1 – 25 of 42) sorted by relevance

12

/libcore/luni/src/main/java/java/util/
DArrays.java1689 public static void sort(byte[] array) { in sort() method in Arrays
1690 DualPivotQuicksort.sort(array); in sort()
1707 public static void sort(byte[] array, int start, int end) { in sort() method in Arrays
1708 DualPivotQuicksort.sort(array, start, end); in sort()
1746 public static void sort(char[] array) { in sort() method in Arrays
1747 DualPivotQuicksort.sort(array); in sort()
1764 public static void sort(char[] array, int start, int end) { in sort() method in Arrays
1765 DualPivotQuicksort.sort(array, start, end); in sort()
1775 public static void sort(double[] array) { in sort() method in Arrays
1776 DualPivotQuicksort.sort(array); in sort()
[all …]
DDualPivotQuicksort.java71 public static void sort(int[] a) { in sort() method in DualPivotQuicksort
88 public static void sort(int[] a, int fromIndex, int toIndex) { in sort() method in DualPivotQuicksort
349 public static void sort(long[] a) { in sort() method in DualPivotQuicksort
366 public static void sort(long[] a, int fromIndex, int toIndex) { in sort() method in DualPivotQuicksort
627 public static void sort(short[] a) { in sort() method in DualPivotQuicksort
644 public static void sort(short[] a, int fromIndex, int toIndex) { in sort() method in DualPivotQuicksort
922 public static void sort(char[] a) { in sort() method in DualPivotQuicksort
939 public static void sort(char[] a, int fromIndex, int toIndex) { in sort() method in DualPivotQuicksort
1215 public static void sort(byte[] a) { in sort() method in DualPivotQuicksort
1232 public static void sort(byte[] a, int fromIndex, int toIndex) { in sort() method in DualPivotQuicksort
[all …]
DTimSort.java168 static <T> void sort(T[] a, Comparator<? super T> c) { in sort() method in TimSort
169 sort(a, 0, a.length, c); in sort()
172 static <T> void sort(T[] a, int lo, int hi, Comparator<? super T> c) { in sort() method in TimSort
174 Arrays.sort(a, lo, hi); in sort()
DComparableTimSort.java141 static void sort(Object[] a) { in sort() method in ComparableTimSort
142 sort(a, 0, a.length); in sort()
145 static void sort(Object[] a, int lo, int hi) { in sort() method in ComparableTimSort
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrays2Test.java124 Arrays.sort(reversedArray); in test_sort$D()
135 Arrays.sort(specials1); in test_sort$D()
143 Arrays.sort(specials2); in test_sort$D()
161 Arrays.sort(reversedArray); in test_sort$F()
171 Arrays.sort(specials1); in test_sort$F()
179 Arrays.sort(specials2); in test_sort$F()
368 Arrays.sort(strings, String.CASE_INSENSITIVE_ORDER); in test_binarySearch$TTLjava_util_ComparatorsuperT()
393 Arrays.sort(strings, null); in test_binarySearch$TTLjava_util_ComparatorsuperT()
429 Arrays.sort(strings, String.CASE_INSENSITIVE_ORDER);
436 Arrays.sort(strings, null);
[all …]
DArraysTest.java1020 Arrays.sort(reversedArray); in test_sort$B()
1039 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$BII()
1052 Arrays.sort(reversedArray, startIndex + 1, startIndex); in test_sort$BII()
1058 Arrays.sort(reversedArray, -1, startIndex); in test_sort$BII()
1064 Arrays.sort(reversedArray, startIndex, reversedArray.length + 1); in test_sort$BII()
1078 Arrays.sort(reversedArray); in test_sort$C()
1098 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$CII()
1111 Arrays.sort(reversedArray, startIndex + 1, startIndex); in test_sort$CII()
1117 Arrays.sort(reversedArray, -1, startIndex); in test_sort$CII()
1123 Arrays.sort(reversedArray, startIndex, reversedArray.length + 1); in test_sort$CII()
[all …]
DPriorityQueueTest.java53 Arrays.sort(array); in test_iterator()
54 Arrays.sort(resultArray); in test_iterator()
131 Arrays.sort(newArray); in test_iterator_remove()
272 Arrays.sort(array); in test_ConstructorLjava_util_Colleciton()
361 Arrays.sort(array); in test_ConstructorLjava_util_PriorityQueue()
471 Arrays.sort(array); in test_poll()
497 Arrays.sort(array); in test_peek()
534 Arrays.sort(array); in test_add_Ljava_lang_Object()
587 Arrays.sort(newArray); in test_remove_Ljava_lang_Object()
675 Arrays.sort(array); in test_Serialization()
[all …]
DCollections2Test.java59 Collections.sort(lst, null); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator()
289 Arrays.sort(numbers, roc); in test_reverseOrder()
307 Arrays.sort(numbers, roc); in test_reverseOrderLjava_util_Comparator()
318 Arrays.sort(numbers, roc); in test_reverseOrderLjava_util_Comparator()
DCollectionsTest.java573 Collections.sort(list2, comp); in test_reverseOrder()
698 Collections.sort((List) null); in test_sortLjava_util_List()
704 Collections.sort(ll); in test_sortLjava_util_List()
705 Collections.sort(reversedLinkedList); in test_sortLjava_util_List()
724 Collections.sort(null, comp); in test_sortLjava_util_ListLjava_util_Comparator()
730 Collections.sort(myll, comp); in test_sortLjava_util_ListLjava_util_Comparator()
747 Collections.sort(al, comp); in test_sortLjava_util_ListLjava_util_Comparator()
759 Collections.sort(mal, comp); in test_sortLjava_util_ListLjava_util_Comparator()
2007 Collections.sort(list); in test_binarySearch_asymmetry_with_comparator()
2020 Collections.sort(list); in test_binarySearch_asymmetry()
/libcore/luni/src/test/java/libcore/java/util/
DOldTreeSetTest.java142 SortedSet sort = ts.headSet(new Integer(100)); in test_headSetLjava_lang_Object() local
144 sort.headSet(new Integer(101)); in test_headSetLjava_lang_Object()
228 SortedSet sort = ts.tailSet(new Integer(101)); in test_tailSetLjava_lang_Object() local
231 sort.tailSet(new Integer(100)); in test_tailSetLjava_lang_Object()
DOldTreeMapTest.java218 SortedMap sort = tm.headMap("100"); in test_headMapLjava_lang_Object() local
220 sort.headMap("50"); in test_headMapLjava_lang_Object()
462 SortedMap sort = tm.tailMap("99"); in test_tailMapLjava_lang_Object() local
465 sort.tailMap("101"); in test_tailMapLjava_lang_Object()
DOldCollectionsTest.java60 Collections.sort(lst, null); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator()
319 Arrays.sort(numbers, roc); in test_reverseOrder()
337 Arrays.sort(numbers, roc); in test_reverseOrderLjava_util_Comparator()
348 Arrays.sort(numbers, roc); in test_reverseOrderLjava_util_Comparator()
/libcore/luni/src/main/java/libcore/io/
DDeleteOnExit.java77 Collections.sort(files); in run()
/libcore/
Drun-libcore-tests13 xargs grep -h '^package ' | sed 's/^package //' | sed 's/;$//' | sort | uniq | tr "\n" " ")
/libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DRetentionPolicyTest.java57 Arrays.sort(values); in test_values()
DElementTypeTest.java62 Arrays.sort(values); in test_values()
/libcore/luni/src/main/java/libcore/util/
DCollectionUtils.java86 Collections.sort(list, comparator);
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java232 Arrays.sort(tablesName); in test_getColumnsArbitrary()
345 Arrays.sort(tablesName); in test_getColumnsSpecific()
346 Arrays.sort(fields); in test_getColumnsSpecific()
347 Arrays.sort(nullableInt); in test_getColumnsSpecific()
348 Arrays.sort(nullable); in test_getColumnsSpecific()
1076 Arrays.sort(tablesName); in test_getTablesLjava_lang_StringLjava_lang_StringLjava_lang_String$Ljava_lang_String()
1077 Arrays.sort(tablesType); in test_getTablesLjava_lang_StringLjava_lang_StringLjava_lang_String$Ljava_lang_String()
1176 Arrays.sort(names); in test_getTypeInfo()
1191 Arrays.sort(types); in test_getTypeInfo()
2281 Arrays.sort(expected); in checkSchemas()
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DAsciiHprofWriter.java56 Collections.sort(samples, SAMPLE_COMPARATOR); in write()
/libcore/luni/src/main/java/java/io/
DObjectStreamClass.java381 Arrays.sort(_fields); in buildFieldDescriptors()
478 Arrays.sort(interfaces, interfaceComparator); in computeSerialVersionUID()
496 Arrays.sort(fields, fieldComparator); in computeSerialVersionUID()
540 Arrays.sort(constructors, constructorComparator); in computeSerialVersionUID()
580 Arrays.sort(methods, methodComparator); in computeSerialVersionUID()
/libcore/luni/src/main/java/org/apache/harmony/security/x501/
DName.java177 Collections.sort(atavList, new AttributeTypeAndValueComparator()); in getName0()
/libcore/jsr166-tests/src/test/java/jsr166/
DPriorityQueueTest.java415 Arrays.sort(o); in testToArray()
428 Arrays.sort(ints); in testToArray2()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java143 Collections.sort(extra); // sort so that its grouped by type in test_Provider_getServices()
150 Collections.sort(missing); // sort it for readability in test_Provider_getServices()
/libcore/dex/src/main/java/com/android/dex/
DTableOfContents.java139 Arrays.sort(sections); in readMap()
/libcore/libart/src/main/java/java/lang/reflect/
DProxy.java166 Collections.sort(methods, ORDER_BY_SIGNATURE_AND_SUBTYPE); in getProxyClass()

12