Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DGZIPInputStreamTest.java164 byte[] comp = bout.toByteArray(); in test_read$BII()
166 comp), 512); in test_read$BII()
175 gin2 = new GZIPInputStream(new ByteArrayInputStream(comp), 512); in test_read$BII()
184 gin2 = new GZIPInputStream(new ByteArrayInputStream(comp), 516); in test_read$BII()
193 comp[40] = 0; in test_read$BII()
194 gin2 = new GZIPInputStream(new ByteArrayInputStream(comp), 512); in test_read$BII()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeSetTest.java87 ReversedIntegerComparator comp = new ReversedIntegerComparator(); in test_ConstructorLjava_util_SortedSet() local
88 TreeSet myTreeSet = new TreeSet(comp); in test_ConstructorLjava_util_SortedSet()
98 .comparator() == comp); in test_ConstructorLjava_util_SortedSet()
157 ReversedIntegerComparator comp = new ReversedIntegerComparator(); in test_comparator() local
158 TreeSet myTreeSet = new TreeSet(comp); in test_comparator()
160 myTreeSet.comparator() == comp); in test_comparator()
DArraysTest.java292 Comparator comp = new ReversedIntegerComparator(); in test_binarySearch$Ljava_lang_ObjectLjava_lang_ObjectLjava_util_Comparator() local
297 Arrays.binarySearch(objectArray, new Integer(-1), comp) == -(arraySize + 1)); in test_binarySearch$Ljava_lang_ObjectLjava_lang_ObjectLjava_util_Comparator()
299 -1, Arrays.binarySearch(objectArray, new Integer(arraySize), comp)); in test_binarySearch$Ljava_lang_ObjectLjava_lang_ObjectLjava_util_Comparator()
303 Arrays.binarySearch(objectArray, objArray[counter], comp) == arraySize in test_binarySearch$Ljava_lang_ObjectLjava_lang_ObjectLjava_util_Comparator()
1513 ReversedIntegerComparator comp = new ReversedIntegerComparator(); in test_sort$Ljava_lang_ObjectIILjava_util_Comparator() local
1517 Arrays.sort(objectArray, startIndex, endIndex, comp); in test_sort$Ljava_lang_ObjectIILjava_util_Comparator()
1522 assertTrue("Array not sorted within bounds", comp.compare( in test_sort$Ljava_lang_ObjectIILjava_util_Comparator()
1532 Arrays.sort(originalArray, startIndex, endIndex, comp); in test_sort$Ljava_lang_ObjectIILjava_util_Comparator()
1538 Arrays.sort(originalArray, endIndex, originalArray.length, comp); in test_sort$Ljava_lang_ObjectIILjava_util_Comparator()
1541 Arrays.sort(originalArray, endIndex, originalArray.length + 1, comp); in test_sort$Ljava_lang_ObjectIILjava_util_Comparator()
[all …]
DCollectionsTest.java284 ReversedMyIntComparator comp = new ReversedMyIntComparator(); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator() local
287 Collections.binarySearch(null, new Object(), comp); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator()
297 myReversedLinkedList.get(i), comp))); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator()
571 Comparator comp = Collections.reverseOrder(); in test_reverseOrder() local
573 Collections.sort(list2, comp); in test_reverseOrder()
722 Comparator comp = new ReversedMyIntComparator(); in test_sortLjava_util_ListLjava_util_Comparator() local
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()
DTreeMapTest.java107 Comparator comp = new ReversedComparator(); in test_ConstructorLjava_util_Comparator() local
108 TreeMap reversedTreeMap = new TreeMap(comp); in test_ConstructorLjava_util_Comparator()
110 .comparator() == comp); in test_ConstructorLjava_util_Comparator()
138 Comparator comp = new ReversedComparator(); in test_ConstructorLjava_util_SortedMap() local
139 TreeMap reversedTreeMap = new TreeMap(comp); in test_ConstructorLjava_util_SortedMap()
144 anotherTreeMap.comparator() == comp); in test_ConstructorLjava_util_SortedMap()
203 Comparator comp = new ReversedComparator(); in test_comparator()
204 TreeMap reversedTreeMap = new TreeMap(comp); in test_comparator()
206 .comparator() == comp); in test_comparator()
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidDeflateTest.java77 byte[] comp = new byte[128 * 1024 + 512]; in bigTest()
84 compress(deflater, input, comp); in bigTest()
85 expand(inflater, comp, (int) deflater.getBytesWritten(), output); in bigTest()
/libcore/luni/src/test/java/libcore/java/util/
DOldTreeMapTest.java92 Comparator comp = new ReversedComparator(); in test_ConstructorLjava_util_Comparator() local
93 TreeMap reversedTreeMap = new TreeMap(comp); in test_ConstructorLjava_util_Comparator()
95 .comparator() == comp); in test_ConstructorLjava_util_Comparator()
135 Comparator comp = new ReversedComparator(); in test_ConstructorLjava_util_SortedMap() local
136 TreeMap reversedTreeMap = new TreeMap(comp); in test_ConstructorLjava_util_SortedMap()
141 anotherTreeMap.comparator() == comp); in test_ConstructorLjava_util_SortedMap()
/libcore/luni/src/main/java/java/security/cert/
DX509CertSelector.java458 int comp = Integer.parseInt(oid.substring(beg, end)); in checkOID() local
460 if ((comp < 0) || (comp > 2)) { in checkOID()
464 comp = Integer.parseInt(oid.substring(beg, end)); in checkOID()
465 if ((comp < 0) || (comp > 39)) { in checkOID()