Searched refs:newChar (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/test/java/lang/String/CompactString/ |
D | Replace.java | 65 public void testReplace(String str, char oldChar, char newChar, in testReplace() argument 71 data.replace(oldChar, newChar), in testReplace() 77 escapeNonASCII(newChar), source)); in testReplace()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 320 public java.lang.String replace(char oldChar, char newChar) { in replace() argument 324 private native java.lang.String doReplace(char oldChar, char newChar); in doReplace() argument
|
/libcore/ojluni/src/main/java/java/lang/ |
D | String.java | 2655 public String replace(char oldChar, char newChar) { in replace() argument 2657 if (oldChar != newChar) { in replace() 2668 return doReplace(oldChar, newChar); in replace() 2679 private native String doReplace(char oldChar, char newChar); in doReplace() argument
|
D | StringUTF16.java | 618 public static String replace(byte[] value, char oldChar, char newChar) { 633 putChar(buf, i, c == oldChar ? newChar : c); 639 StringLatin1.canEncode(newChar)) {
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | String.annotated.java | 146 @libcore.util.NonNull public java.lang.String replace(char oldChar, char newChar) { throw new Runti… in replace() argument
|