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/
DCharsetDecoder.java278 public final CharsetDecoder replaceWith(String newReplacement) { in replaceWith() argument
279 if (newReplacement == null) in replaceWith()
281 int len = newReplacement.length(); in replaceWith()
290 this.replacement = newReplacement; in replaceWith()
291 implReplaceWith(newReplacement); in replaceWith()
304 protected void implReplaceWith(String newReplacement) { in implReplaceWith() argument
DCharsetEncoder.java293 public final CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() argument
294 if (newReplacement == null) in replaceWith()
296 int len = newReplacement.length; in replaceWith()
302 if (!isLegalReplacement(newReplacement)) in replaceWith()
305 this.replacement = newReplacement; in replaceWith()
306 implReplaceWith(newReplacement); in replaceWith()
319 protected void implReplaceWith(byte[] newReplacement) { in implReplaceWith() argument
/libcore/luni/src/main/java/java/nio/charset/
DCharsetDecoderICU.java74 @Override protected void implReplaceWith(String newReplacement) { in implReplaceWith() argument
DCharsetEncoderICU.java103 @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()