/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | ReplaceTest.java | 38 assertEquals("foobarxxxarfoofo1barfort", m.replaceFirst(repl)); in testSimpleReplace() 53 s = m.replaceFirst(repl); in testCaptureReplace() 63 s = m.replaceFirst(repl); in testCaptureReplace()
|
D | Pattern2Test.java | 169 assertTrue(m.replaceFirst("-").equals("-fooaabfooabfoob")); in testReplace() 182 assertTrue(m.replaceFirst("$1ite").equals("Bite for byte")); in testReplace() 188 assertTrue(m.replaceFirst("xxxx$1").equals("card #xxxx-5678-1234")); in testReplace() 194 assertTrue(m.replaceFirst("$3$2$1").equals("right left, up down")); in testReplace() 200 assertTrue(m.replaceFirst("<b> $1 </b>").equals( in testReplace()
|
D | MatcherTest.java | 143 assertEquals("zzzcatzzzdogzzz", mat.replaceFirst("cat")); in testReplaceFirst() 149 matcher.replaceFirst(null); in testReplaceFirst_null_match() 158 matcher.replaceFirst(null); in testReplaceFirst_null_nomatch()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Debug.java | 256 target.append(matched.replaceFirst(keyReg, keyStr)); in marshal() 280 target.append(matched.replaceFirst(keyReg, keyStr)); in marshal()
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | OldAndroidRegexTest.java | 147 String r = m.replaceFirst("-"); in testReplaceFirst() 154 r = m.replaceFirst("-"); in testReplaceFirst()
|
D | OldMatcherTest.java | 641 String result = p.matcher("mama").region(2, 4).replaceFirst("mi"); in test33040()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStringTest.java | 204 results[i], str.replaceFirst(patterns[i], "?")); in test_replaceFirst() 208 str.replaceFirst("[abc*", "?"); in test_replaceFirst()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Float.java | 293 return s.replaceFirst("p-1022$", "p-126"); in toHexString()
|
D | Double.java | 324 signif.replaceFirst("0{1,12}$", "")); in toHexString()
|
D | ProcessBuilder.java | 367 envstring = envstring.replaceFirst("\u0000.*", ""); in environment()
|
D | String.java | 2268 public String replaceFirst(String regex, String replacement) { in replaceFirst() method in String 2269 return Pattern.compile(regex).matcher(this).replaceFirst(replacement); in replaceFirst()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Parameter.java | 137 sb.append(typename.replaceFirst("\\[\\]$", "...")); in toString()
|
D | Executable.java | 156 param = param.replaceFirst("\\[\\]$", "..."); in sharedToGenericString()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/regex/ |
D | Matcher.annotated.java | 82 @libcore.util.NonNull public java.lang.String replaceFirst(@libcore.util.NonNull java.lang.String r… in replaceFirst() method in Matcher
|
/libcore/ojluni/annotations/hiddenapi/java/util/regex/ |
D | Matcher.java | 135 public java.lang.String replaceFirst(java.lang.String replacement) { in replaceFirst() method in Matcher
|
/libcore/luni/src/test/java/libcore/xml/ |
D | DomTest.java | 434 String expected = original.replaceFirst( in testElementSetTextContent() 738 String expected = original.replaceFirst(">.*</description>", "/>"); in testReplaceWholeTextFirstWithNull() 746 String expected = original.replaceFirst(">.*</description>", "/>"); in testReplaceWholeTextMiddleWithNull() 754 String expected = original.replaceFirst(">.*</description>", "/>"); in testReplaceWholeTextLastWithNull() 762 String expected = original.replaceFirst(">.*</description>", "/>"); in testReplaceWholeTextFirstWithEmptyString() 770 String expected = original.replaceFirst(">.*</a:vitaminc>", "/>"); in testReplaceWholeTextOnlyWithEmptyString()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Matcher.java | 905 public String replaceFirst(String replacement) { in replaceFirst() method in Matcher
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 334 public java.lang.String replaceFirst(java.lang.String regex, java.lang.String replacement) { in replaceFirst() method in String
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | String.annotated.java | 150 @libcore.util.NonNull public java.lang.String replaceFirst(@libcore.util.NonNull java.lang.String r… in replaceFirst() method in String
|