/libcore/ojluni/src/test/java/util/regex/ |
D | RegExTest.java | 253 … assertThrows(NullPointerException.class, () -> m.appendReplacement((StringBuffer)null, null)); in nullArgumentTest() 254 … assertThrows(NullPointerException.class, () -> m.appendReplacement((StringBuilder)null, null)); in nullArgumentTest() 1555 matcher.appendReplacement(sb, r); in appendTest() 1580 matcher.appendReplacement(sb, r); in appendTest() 2487 assertThrows(IllegalStateException.class, () -> m.appendReplacement(result, "blech")); in stringBufferSubstituteLiteral() 2490 m.appendReplacement(result, "blech"); in stringBufferSubstituteLiteral() 2505 assertThrows(IllegalStateException.class, () -> m.appendReplacement(result, "$1")); in stringBufferSubtituteWithGroups() 2507 m.appendReplacement(result, "$1"); in stringBufferSubtituteWithGroups() 2521 assertThrows(IllegalStateException.class, () -> m.appendReplacement(result, "$1w$2w$3")); in stringBufferThreeSubstitution() 2523 m.appendReplacement(result, "$1w$2w$3"); in stringBufferThreeSubstitution() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | MatcherTest.java | 97 m.appendReplacement(new StringBuilder(), "123$g"); in testAppendReplacement() 109 m.appendReplacement(sb, replacement); in assertAppendReplacement()
|
D | OldMatcherTest.java | 36 m.appendReplacement(sb, Integer.valueOf(i * 10 + i).toString()); in testAppendReplacement() 47 m.appendReplacement((StringBuffer) null, "dog"); in testAppendReplacement() 55 m.appendReplacement(sb, null); in testAppendReplacement() 81 m.appendReplacement(sb, "dog"); in testAppendTail() 90 m.appendReplacement(sb, "dog"); in testAppendTail() 100 m.appendReplacement(sb, "dog"); in testAppendTail() 616 m.appendReplacement(sb, m.group(1) + m.group(2)); in testConcurrentMatcherAccess()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Matcher.java | 849 public Matcher appendReplacement(StringBuffer sb, String replacement) { in appendReplacement() method in Matcher 1031 public Matcher appendReplacement(StringBuilder sb, String replacement) { in appendReplacement() method in Matcher 1242 appendReplacement(sb, replacement); in replaceAll() 1320 appendReplacement(sb, replacement); in replaceAll() 1468 appendReplacement(sb, replacement); in replaceFirst() 1541 appendReplacement(sb, replacement); in replaceFirst()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | Matcher2Test.java | 236 matcher.appendReplacement(new StringBuffer(), "replacement\\"); in testAppendReplacement_replacementEndsWithBackslash() 246 matcher.appendReplacement(new StringBuffer(), "replacement$"); in testAppendReplacement_replacementEndsWithDollar()
|
D | MatcherTest.java | 84 m.appendReplacement(sb, Integer.valueOf(i * 10 + i).toString()); in testAppendReplacement() 96 m.appendReplacement(sb, rep); in testAppendReplacementRef() 130 m.appendReplacement(sb, "\\\\"); in testAppendSlashes()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/regex/ |
D | Matcher.annotated.java | 76 @libcore.util.NonNull public java.util.regex.Matcher appendReplacement(@libcore.util.NonNull java.l… in appendReplacement() method in Matcher 78 @libcore.util.NonNull public java.util.regex.Matcher appendReplacement(@libcore.util.NonNull java.l… in appendReplacement() method in Matcher
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Debug.java | 294 matcher.appendReplacement(left, ""); in marshal() 318 matcher.appendReplacement(left, ""); in marshal()
|
/libcore/ojluni/src/tools/build/tools/spp/ |
D | Spp.java | 147 vardef.appendReplacement(buf, repl); in append()
|
/libcore/ojluni/annotations/hiddenapi/java/util/regex/ |
D | Matcher.java | 118 public java.util.regex.Matcher appendReplacement( in appendReplacement() method in Matcher
|
/libcore/api/ |
D | current.txt | 18089 …method @NonNull public java.util.regex.Matcher appendReplacement(@NonNull StringBuffer, @NonNull S… 18090 …method @NonNull public java.util.regex.Matcher appendReplacement(@NonNull StringBuilder, @NonNull …
|