Home
last modified time | relevance | path

Searched refs:newReplacement (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java306 public final CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() argument
307 if (newReplacement == null) in replaceWith()
309 int len = newReplacement.length; in replaceWith()
318 if (!isLegalReplacement(newReplacement)) in replaceWith()
320 this.replacement = Arrays.copyOf(newReplacement, newReplacement.length); in replaceWith()
335 protected void implReplaceWith(byte[] newReplacement) { in implReplaceWith() argument
DCharsetDecoder.java289 public final CharsetDecoder replaceWith(String newReplacement) { in replaceWith() argument
290 if (newReplacement == null) in replaceWith()
292 int len = newReplacement.length(); in replaceWith()
298 this.replacement = newReplacement; in replaceWith()
318 protected void implReplaceWith(String newReplacement) { in implReplaceWith() argument
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharsetEncoder.java66 public final java.nio.charset.CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() argument
70 protected void implReplaceWith(byte[] newReplacement) { in implReplaceWith() argument
/libcore/luni/src/main/java/java/nio/charset/
DCharsetDecoderICU.java78 @Override protected void implReplaceWith(String newReplacement) { in implReplaceWith() argument
DCharsetEncoderICU.java106 @Override protected void implReplaceWith(byte[] newReplacement) { in implReplaceWith() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetDecoderTest.java865 public void pubImplReplaceWith(String newReplacement) { in pubImplReplaceWith() argument
866 super.implReplaceWith(newReplacement); in pubImplReplaceWith()