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.java316 public final CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() argument
317 if (newReplacement == null) in replaceWith()
319 int len = newReplacement.length; in replaceWith()
328 if (!isLegalReplacement(newReplacement)) in replaceWith()
330 this.replacement = Arrays.copyOf(newReplacement, newReplacement.length); in replaceWith()
345 protected void implReplaceWith(byte[] newReplacement) { in implReplaceWith() argument
DCharsetDecoder.java316 public final CharsetDecoder replaceWith(String newReplacement) { in replaceWith() argument
317 if (newReplacement == null) in replaceWith()
319 int len = newReplacement.length(); in replaceWith()
325 this.replacement = newReplacement; in replaceWith()
345 protected void implReplaceWith(String newReplacement) { in implReplaceWith() argument
DCharset-X-Coder.java.template299 * @param newReplacement The new replacement; must not be
316 public final Charset$Coder$ replaceWith($replType$ newReplacement) {
317 if (newReplacement == null)
319 int len = newReplacement.$replLength$;
325 this.replacement = newReplacement;
328 if (!isLegalReplacement(newReplacement))
330 this.replacement = Arrays.copyOf(newReplacement, newReplacement.$replLength$);
343 * @param newReplacement The replacement value
345 protected void implReplaceWith($replType$ newReplacement) {
/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()