/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | ReplaceTest.java | 39 assertEquals("foobarxxxarfooxxxbarxxxt", m.replaceAll(repl)); in testSimpleReplace() 55 s = m.replaceAll(repl); in testCaptureReplace() 68 s = m.replaceAll(repl); in testCaptureReplace() 81 s = target.replaceAll(pattern, repl); in testEscapeReplace() 84 s = target.replaceAll(pattern, repl); in testEscapeReplace() 87 s = target.replaceAll(pattern, repl); in testEscapeReplace()
|
D | Pattern2Test.java | 168 assertTrue(m.replaceAll("-").equals("-foo-foo-foo-")); in testReplace() 183 assertTrue(m.replaceAll("$1ite").equals("Bite for bite")); in testReplace() 189 assertTrue(m.replaceAll("xxxx$1").equals("card #xxxx-xxxx-1234")); in testReplace() 195 assertTrue(m.replaceAll("$3$2$1").equals("right left, down up")); in testReplace() 202 assertTrue(m.replaceAll("<b> $1 </b>").equals( in testReplace()
|
D | Matcher2Test.java | 226 mat.replaceAll(substitutionString); in testReplacementBackSlash()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | WeakHashMapTest.java | 34 map.replaceAll((k, v) -> k.value); in test_replaceAll() 41 map.replaceAll(new java.util.function.BiFunction<Data, String, String>() { in test_replaceAll() 53 map.replaceAll(null); in test_replaceAll() 63 map.replaceAll((k, v) -> null); in test_replaceAll()
|
D | HashtableTest.java | 85 ht.replaceAll((k, v) -> k + v); in test_replaceAll() 92 ht.replaceAll(new java.util.function.BiFunction<String, String, String>() { in test_replaceAll() 103 ht.replaceAll(null); in test_replaceAll() 108 ht.replaceAll((k, v) -> null); in test_replaceAll()
|
D | ListDefaultMethodTester.java | 30 l.replaceAll(v -> v * 2); in test_replaceAll() 36 l.replaceAll(null); in test_replaceAll()
|
D | HashMapTest.java | 232 map.replaceAll((k, v) -> k + v); in test_replaceAll() 239 map.replaceAll((k, v) -> { in test_replaceAll() 247 map.replaceAll(null); in test_replaceAll()
|
D | CollectionsTest.java | 296 map.replaceAll((k, v) -> 5 * v); in test_checkedNavigableMap_replaceAll() 661 map.replaceAll((k, v) -> 5 * v); in test_synchronizedNavigableMap_replaceAll() 1017 assertThrowsCce(() -> { map.replaceAll((k, v) -> new Object()); }); in check_map_isChecked() 1374 Collections.emptyList().replaceAll(k -> 1); in test_EmptyList_replaceAll() 1377 Collections.emptyList().replaceAll(null); in test_EmptyList_replaceAll() 1433 Collections.unmodifiableList(new ArrayList<>()).replaceAll(k -> 1); in test_unmodifiableList_replaceAll() 1444 Collections.unmodifiableList(l).replaceAll(k -> 1); in test_unmodifiableList_replaceAll() 1471 Collections.singletonList(1).replaceAll(k -> 2); in test_SingletonList_replaceAll() 1487 checkedMap.replaceAll((k, v) -> (Integer)k + (Integer)v); in test_CheckedMap_replaceAll()
|
D | Base64Test.java | 568 assertEquals(out_56.replaceAll("\r\n", ""), encodeFromAscii(encoder, decoder, in_56)); in testEncoder_lineLength() 569 assertEquals(out_57.replaceAll("\r\n", ""), encodeFromAscii(encoder, decoder, in_57)); in testEncoder_lineLength() 570 assertEquals(out_58.replaceAll("\r\n", ""), encodeFromAscii(encoder, decoder, in_58)); in testEncoder_lineLength() 571 assertEquals(out_59.replaceAll("\r\n", ""), encodeFromAscii(encoder, decoder, in_59)); in testEncoder_lineLength() 572 assertEquals(out_60.replaceAll("\r\n", ""), encodeFromAscii(encoder, decoder, in_60)); in testEncoder_lineLength() 573 assertEquals(out_61.replaceAll("\r\n", ""), encodeFromAscii(encoder, decoder, in_61)); in testEncoder_lineLength()
|
D | LinkedHashMapTest.java | 341 map.replaceAll((k, v) -> k + v); in test_replaceAll() 348 map.replaceAll((k, v) -> { in test_replaceAll() 356 map.replaceAll(null); in test_replaceAll()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StringReplaceAllBenchmark.java | 61 s.value.replaceAll("fish", "0"); in timeReplaceAllTrivialPatternNonExistent() 67 s.value.replaceAll("jklm", "0"); in timeReplaceTrivialPatternAllRepeated() 73 s.value.replaceAll("qrst", "0"); in timeReplaceAllTrivialPatternSingleOccurence()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | InternalLocaleBuilder.java | 100 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setVariant() 146 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setUnicodeLocaleKeyword() 193 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension() 230 subtags = subtags.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtensions() 423 variant = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setLocale() 520 sb.append(privuse.substring(privVarStart).replaceAll(LanguageTag.SEP, in getBaseLocale()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | CopyOnWriteArrayListTest.java | 302 l.replaceAll(v -> v * 2); in test_replaceAll() 309 l.replaceAll(null); in test_replaceAll() 346 l.replaceAll(v -> v * 2); in test_subList_replaceAll() 353 l.replaceAll(null); in test_subList_replaceAll() 365 subList.replaceAll(k -> k + 10); in test_subList_replaceAll()
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | OldAndroidRegexTest.java | 131 String r = m.replaceAll("-"); in testReplaceAll() 138 r = m.replaceAll("-"); in testReplaceAll()
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | LinkedHashMap.annotated.java | 64 public void replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V> function) { t… in replaceAll() method in LinkedHashMap
|
/libcore/ojluni/src/main/java/java/util/ |
D | List.java | 409 default void replaceAll(UnaryOperator<E> operator) { in replaceAll() method
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/ |
D | MapTest.java | 89 map.replaceAll((k, v) -> {return v.toUpperCase();}); in testReplaceAll()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStringTest.java | 181 results[i], str.replaceAll(patterns[i], "?")); in test_replaceAll() 185 str.replaceAll("[abc*", "?"); in test_replaceAll()
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 215 return expected.replaceAll("GMT(?:\\+00:00)?(?=])|UTC|UT", "Z") in toZoneOffsetStr() 216 .replaceAll("(?:GMT|UTC)([+\\-]?[0-9]{2}:[0-9]{2})", "$1"); in toZoneOffsetStr()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | WeakHashMap.annotated.java | 69 public void replaceAll(@libcore.util.NonNull java.util.function.BiFunction<? super @libcore.util.Nu… in replaceAll() method in WeakHashMap
|
D | List.annotated.java | 60 public default void replaceAll(@libcore.util.NonNull java.util.function.UnaryOperator<@libcore.util… in replaceAll() method
|
D | ArrayList.annotated.java | 99 public void replaceAll(@libcore.util.NonNull java.util.function.UnaryOperator<@libcore.util.NullFro… in replaceAll() method in ArrayList
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 199 public void replaceAll(java.util.function.UnaryOperator<E> operator) { in replaceAll() method in CopyOnWriteArrayList 391 public void replaceAll(java.util.function.UnaryOperator<E> operator) { in replaceAll() method in CopyOnWriteArrayList.COWSubList
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentMap.java | 287 default void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() method
|
/libcore/ojluni/annotations/sdk/nullability/java/util/regex/ |
D | Matcher.annotated.java | 80 @libcore.util.NonNull public java.lang.String replaceAll(@libcore.util.NonNull java.lang.String rep… in replaceAll() method in Matcher
|