Home
last modified time | relevance | path

Searched refs:newChar (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/lang/String/CompactString/
DReplace.java65 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/
DString.java320 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/
DString.java2655 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
DStringUTF16.java618 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/
DString.annotated.java146 @libcore.util.NonNull public java.lang.String replace(char oldChar, char newChar) { throw new Runti… in replace() argument