Home
last modified time | relevance | path

Searched refs:replaceWith (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java234 replaceWith(replacement); in CharsetEncoder()
316 public final CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() method in CharsetEncoder
DCharset-X-Coder.java.template107 * its value may be changed via the {@link #replaceWith($replFQType$)
108 * replaceWith} method.
200 * is ("trusted"). If it is trusted, {@link #replaceWith(byte[])} and
225 // ## Android-changed: Remove unnecessary replaceWith() for performance reason.
226 // ## replaceWith(replacement);
229 // replaceWith(replacement);
231 // BEGIN Android-changed: Avoid calling replaceWith() for trusted subclasses.
232 // replaceWith(replacement);
234 replaceWith(replacement);
236 // END Android-changed: Avoid calling replaceWith() for trusted subclasses.
[all …]
DCharsetDecoder.java316 public final CharsetDecoder replaceWith(String newReplacement) { in replaceWith() method in CharsetDecoder
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetEncoderTest.java592 encoder = encoder.replaceWith(new byte[] { (byte) 0xef, (byte) 0xbf, in testEncodeCharBuffer()
985 encoder.replaceWith(null); in testReplacement()
990 encoder.replaceWith(new byte[0]); in testReplacement()
995 encoder.replaceWith(new byte[100]); in testReplacement()
1001 assertSame(encoder, encoder.replaceWith(nr)); in testReplacement()
1006 encoder.replaceWith(new byte[100]); in testReplacement()
DCharsetDecoderTest.java182 decoder.replaceWith(null); in testReplaceWith()
187 decoder.replaceWith(""); in testReplaceWith()
192 decoder.replaceWith("testReplaceWith"); in testReplaceWith()
197 decoder.replaceWith("a"); in testReplaceWith()
DCharsetDecoder2Test.java187 decoder.replaceWith(replaceString); in testDecodeLjava_nio_ByteBuffer_ReplaceOverflow()
/libcore/ojluni/annotations/mmodule/java/nio/charset/
DCharsetEncoder.annotated.java51 public final java.nio.charset.CharsetEncoder replaceWith(byte[] newReplacement) { throw new Runtime… in replaceWith() method in CharsetEncoder
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharsetEncoder.java66 public final java.nio.charset.CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() method in CharsetEncoder
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharsetDecoderTest.java32 d.replaceWith("x"); in test_replaceWith()
DCharsetEncoderTest.java36 e.replaceWith("=".getBytes("US-ASCII")); in test_replaceWith()
/libcore/api/
Dcurrent.txt7133 method public final java.nio.charset.CharsetDecoder replaceWith(String);
7160 method public final java.nio.charset.CharsetEncoder replaceWith(byte[]);