Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java224 replaceWith(replacement); in CharsetEncoder()
306 public final CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() method in CharsetEncoder
DCharsetDecoder.java289 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.java589 encoder = encoder.replaceWith(new byte[] { (byte) 0xef, (byte) 0xbf, in testEncodeCharBuffer()
982 encoder.replaceWith(null); in testReplacement()
987 encoder.replaceWith(new byte[0]); in testReplacement()
992 encoder.replaceWith(new byte[100]); in testReplacement()
998 assertSame(encoder, encoder.replaceWith(nr)); in testReplacement()
1003 encoder.replaceWith(new byte[100]); in testReplacement()
DCharsetDecoderTest.java179 decoder.replaceWith(null); in testReplaceWith()
184 decoder.replaceWith(""); in testReplaceWith()
189 decoder.replaceWith("testReplaceWith"); in testReplaceWith()
194 decoder.replaceWith("a"); in testReplaceWith()
DCharsetDecoder2Test.java187 decoder.replaceWith(replaceString); in testDecodeLjava_nio_ByteBuffer_ReplaceOverflow()
/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()