Searched refs:replaceWith (Results 1 – 8 of 8) sorted by relevance
224 replaceWith(replacement); in CharsetEncoder()306 public final CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() method in CharsetEncoder
289 public final CharsetDecoder replaceWith(String newReplacement) { in replaceWith() method in CharsetDecoder
589 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()
179 decoder.replaceWith(null); in testReplaceWith()184 decoder.replaceWith(""); in testReplaceWith()189 decoder.replaceWith("testReplaceWith"); in testReplaceWith()194 decoder.replaceWith("a"); in testReplaceWith()
187 decoder.replaceWith(replaceString); in testDecodeLjava_nio_ByteBuffer_ReplaceOverflow()
66 public final java.nio.charset.CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() method in CharsetEncoder
32 d.replaceWith("x"); in test_replaceWith()
36 e.replaceWith("=".getBytes("US-ASCII")); in test_replaceWith()