Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java307 public final CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() argument
308 if (newReplacement == null) in replaceWith()
310 int len = newReplacement.length; in replaceWith()
319 if (!isLegalReplacement(newReplacement)) in replaceWith()
321 this.replacement = Arrays.copyOf(newReplacement, newReplacement.length); in replaceWith()
336 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/mmodule/java/nio/charset/
DCharsetEncoder.annotated.java51 public final java.nio.charset.CharsetEncoder replaceWith(byte[] newReplacement) { throw new Runtime… in replaceWith() argument
53 protected void implReplaceWith(byte[] newReplacement) { throw new RuntimeException("Stub!"); } 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/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()