Home
last modified time | relevance | path

Searched refs:reverse (Results 1 – 25 of 59) sorted by relevance

123

/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DX509CertificatePair.java79 private X509Certificate reverse; field in X509CertificatePair
100 public X509CertificatePair(X509Certificate forward, X509Certificate reverse) in X509CertificatePair() argument
102 if (forward == null && reverse == null) { in X509CertificatePair()
108 this.reverse = reverse; in X509CertificatePair()
165 reverse = cert; in setReverse()
183 return reverse; in getReverse()
216 if (reverse != null) in toString()
217 sb.append(" Reverse: ").append(reverse).append("\n"); in toString()
248 if (reverse != null) { in parse()
253 reverse = X509Factory.intern in parse()
[all …]
/libcore/luni/src/main/java/libcore/internal/
DJava9LanguageFeatures.java39 return name().equals(reverse(name())); in isPalindrome()
43 return name().equalsIgnoreCase(reverse(name())); in isPalindromeIgnoreCase()
47 private String reverse(String s) { in reverse() method
48 return new StringBuilder(s).reverse().toString(); in reverse()
/libcore/ojluni/src/test/java/util/Collections/
DBigBinarySearch.java95 Comparator<Integer> reverse = Collections.reverseOrder(); in realMain() local
96 Comparator<Integer> natural = Collections.reverseOrder(reverse); in realMain()
106 checkBinarySearch(big, i, reverse); in realMain()
DFindSubList.java82 Collections.reverse(source); in main()
85 Collections.reverse(target[i]); in main()
/libcore/ojluni/annotations/hiddenapi/sun/security/provider/certpath/
DX509CertificatePair.java37 java.security.cert.X509Certificate forward, java.security.cert.X509Certificate reverse) in X509CertificatePair() argument
112 private java.security.cert.X509Certificate reverse; field in X509CertificatePair
/libcore/ojluni/src/main/java/java/util/
DReverseOrderListView.java173 base.addAll(0, Arrays.asList(ArraysSupport.reverse(adds))); in addAll()
286 return ArraysSupport.reverse(base.toArray()); in toArray()
295 return ArraysSupport.reverse(base.toArray(generator)); in toArray()
333 base.addAll(size - index, Arrays.asList(ArraysSupport.reverse(adds))); in addAll()
DReverseOrderDequeView.java161 return ArraysSupport.reverse(base.toArray()); in toArray()
170 return ArraysSupport.reverse(base.toArray(generator)); in toArray()
DReverseOrderSortedSetView.java170 return ArraysSupport.reverse(base.toArray()); in toArray()
179 return ArraysSupport.reverse(base.toArray(generator)); in toArray()
/libcore/ojluni/src/test/java/lang/invoke/
DPermuteArgsTest.java259 reverse(perm, 0, perm.length); in testPermutations()
276 reverse(perm, start, end); in testPermutations()
290 reverse(perm, start, end); in testPermutations()
376 static void reverse(int[] perm) { in reverse() method in PermuteArgsTest
377 reverse(perm, 0, perm.length); in reverse()
379 static void reverse(int[] perm, int start, int end) { in reverse() method in PermuteArgsTest
DMethodHandlesPermuteArgumentsTest.java105 testPermuteArguments(args, types, reverse(reorder)); in testPermuteArguments()
114 testPermuteArguments(args, types, reverse(reorder)); in testPermuteArguments()
140 static int[] reverse(int[] reorder) { in reverse() method in MethodHandlesPermuteArgumentsTest
/libcore/ojluni/src/main/java/java/io/
DDeleteOnExitHook.java71 Collections.reverse(toBeDeleted); in runHooks()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringBuffer2Test.java502 sb.reverse(); in reverseTest()
508 sb.reverse(); in reverseTest()
517 sb.reverse(); in reverseTest()
524 sb.reverse(); in reverseTest()
DStringBuilderTest.java1568 sb.reverse(); in reverseTest()
1573 sb.reverse(); in reverseTest()
1581 sb.reverse(); in reverseTest()
1587 sb.reverse(); in reverseTest()
1598 assertSame(sb, sb.reverse()); in test_reverse()
1602 assertSame(sb, sb.reverse()); in test_reverse()
1606 assertSame(sb, sb.reverse()); in test_reverse()
1610 assertSame(sb, sb.reverse()); in test_reverse()
DLongTest.java1050 assertEquals(0, Long.reverse(0)); in test_reverseJ()
1051 assertEquals(-1, Long.reverse(-1)); in test_reverseJ()
1052 assertEquals(0x8000000000000000L, Long.reverse(1)); in test_reverseJ()
/libcore/ojluni/src/test/java/util/Collection/testlibrary/
DCollectionSupplier.java144 final Collection<Integer> reverse = new ArrayList<>(); in get() local
146 reverse.add(i); in get()
148 cases.add(new TestCase<>("reverse", supplier, supplier.apply(reverse))); in get()
/libcore/ojluni/src/test/java/lang/StringBuilder/
DCompactStringBuilder.java254 check(new StringBuilder(ORIGIN).reverse(), "\uD801\uDC01\uD801\uDC00"); in testCompactStringForSupplementaryCodePoint()
289 check(new StringBuilder(ORIGIN).reverse(), "\uFF21\uD801\uDC00A"); in testCompactStringForSupplementaryCodePointMixed1()
320 check(new StringBuilder(ORIGIN).reverse(), "A\uFF21\uD801\uDC00"); in testCompactStringForSupplementaryCodePointMixed2()
346 check(new StringBuilder(ORIGIN).reverse(), "\uFF21\uDC00A\uD801"); in testCompactStringForSupplementaryCodePointMixed3()
369 check(new StringBuilder(ORIGIN).reverse(), "\uD801\uFF21\uDC01A"); in testCompactStringForSupplementaryCodePointMixed4()
DSupplementary.java184 StringBuilder sb = new StringBuilder(input[i]).reverse(); in test3()
192 StringBuilder sb = new StringBuilder(testdata1[i][0]).reverse(); in test3()
/libcore/ojluni/src/test/java/lang/StringBuffer/
DCompactStringBuffer.java253 check(new StringBuffer(ORIGIN).reverse(), "\uD801\uDC01\uD801\uDC00"); in testCompactStringForSupplementaryCodePoint()
287 check(new StringBuffer(ORIGIN).reverse(), "\uFF21\uD801\uDC00A"); in testCompactStringForSupplementaryCodePointMixed1()
318 check(new StringBuffer(ORIGIN).reverse(), "A\uFF21\uD801\uDC00"); in testCompactStringForSupplementaryCodePointMixed2()
344 check(new StringBuffer(ORIGIN).reverse(), "\uFF21\uDC00A\uD801"); in testCompactStringForSupplementaryCodePointMixed3()
367 check(new StringBuffer(ORIGIN).reverse(), "\uD801\uFF21\uDC01A"); in testCompactStringForSupplementaryCodePointMixed4()
DSupplementary.java182 StringBuffer sb = new StringBuffer(input[i]).reverse(); in test3()
190 StringBuffer sb = new StringBuffer(testdata1[i][0]).reverse(); in test3()
/libcore/ojluni/src/main/java/java/lang/
DStringBuilder.java459 public StringBuilder reverse() { in reverse() method in StringBuilder
460 super.reverse(); in reverse()
DStringBuffer.java711 public synchronized StringBuffer reverse() { in reverse() method in StringBuffer
713 super.reverse(); in reverse()
/libcore/tools/testmapping/
Dsave_logs.py69 return sorted(sources, key=os.path.getmtime, reverse=True)
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java585 Map<String, Entry<String, Long>> reverse = new HashMap<>(); in LocaleStore() local
587 … if (reverse.put(entry.getValue(), createEntry(entry.getValue(), entry.getKey())) != null) { in LocaleStore()
592 List<Entry<String, Long>> list = new ArrayList<>(reverse.values()); in LocaleStore()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DLong.java229 public static long reverse(long i) { in reverse() method in Long
DAbstractStringBuilder.java254 public java.lang.AbstractStringBuilder reverse() { in reverse() method in AbstractStringBuilder

123