/libcore/ojluni/annotations/mmodule/java/nio/charset/ |
D | CharsetEncoder.annotated.java | 38 public abstract class CharsetEncoder { class 40 protected CharsetEncoder(java.nio.charset.Charset cs, float averageBytesPerChar, float maxBytesPerC… in CharsetEncoder() method in CharsetEncoder 43 protected CharsetEncoder(java.nio.charset.Charset cs, float averageBytesPerChar, float maxBytesPerC… in CharsetEncoder() method in CharsetEncoder 45 protected CharsetEncoder(java.nio.charset.Charset cs, float averageBytesPerChar, float maxBytesPerC… in CharsetEncoder() method in CharsetEncoder 51 public final java.nio.charset.CharsetEncoder replaceWith(byte[] newReplacement) { throw new Runtime… in replaceWith() 59 public final java.nio.charset.CharsetEncoder onMalformedInput(java.nio.charset.CodingErrorAction ne… in onMalformedInput() 65 public final java.nio.charset.CharsetEncoder onUnmappableCharacter(java.nio.charset.CodingErrorActi… in onUnmappableCharacter() 79 public final java.nio.charset.CharsetEncoder reset() { throw new RuntimeException("Stub!"); } in reset()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/ |
D | CharsetEncoder.java | 34 public abstract class CharsetEncoder { class 36 protected CharsetEncoder( in CharsetEncoder() method in CharsetEncoder 44 CharsetEncoder( in CharsetEncoder() method in CharsetEncoder 53 protected CharsetEncoder( in CharsetEncoder() method in CharsetEncoder 66 public final java.nio.charset.CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() 82 public final java.nio.charset.CharsetEncoder onMalformedInput( in onMalformedInput() 95 public final java.nio.charset.CharsetEncoder onUnmappableCharacter( in onUnmappableCharacter() 125 public final java.nio.charset.CharsetEncoder reset() { in reset()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CharsetEncoder2Test.java | 25 import java.nio.charset.CharsetEncoder; 63 CharsetEncoder ech = new MockCharsetEncoderForHarmony491(null, 1, 1); in test_ConstructorLjava_nio_charset_CharsetNull() 71 public static class MockCharsetEncoderForHarmony141 extends CharsetEncoder { 89 public static class MockCharsetEncoderForHarmony491 extends CharsetEncoder { 135 public CharsetEncoder newEncoder() { in newEncoder() 143 static class MockMalfunctionEncoder extends java.nio.charset.CharsetEncoder { 159 CharsetEncoder encoder = utf8.newEncoder(); in test_EncodeLjava_nio_CharBufferLjava_nio_ByteBufferB()
|
D | ASCIICharsetEncoderTest.java | 24 import java.nio.charset.CharsetEncoder; 34 private final CharsetEncoder encoder = cs.newEncoder(); 152 CharsetEncoder newEncoder = cs.newEncoder(); in testInternalState_Reset() 185 CharsetEncoder newEncoder = cs.newEncoder(); in testInternalState_Encoding() 242 CharsetEncoder newEncoder = cs.newEncoder(); in testInternalState_Encoding_END() 297 CharsetEncoder newEncoder = cs.newEncoder(); in testInternalState_Flushed() 362 CharsetEncoder newEncoder = cs.newEncoder(); in testInternalState_Encode() 409 CharsetEncoder newEncoder = cs.newEncoder(); in testInternalState_from_Encode()
|
D | CharsetDecoder2Test.java | 26 import java.nio.charset.CharsetEncoder; 145 public CharsetEncoder newEncoder() { in newEncoder() 167 static class MockMalfunctionEncoder extends java.nio.charset.CharsetEncoder {
|
D | CharsetEncoderTest.java | 23 import java.nio.charset.CharsetEncoder; 51 CharsetEncoder encoder; 124 CharsetEncoder ec = new MockCharsetEncoder(cs, 1, MAX_BYTES); in testCharsetEncoderCharsetfloatfloat() 180 CharsetEncoder ec = new MockCharsetEncoder(cs, 1, MAX_BYTES, ba); in testCharsetEncoderCharsetfloatfloatbyteArray() 590 CharsetEncoder encoder = cs.newEncoder(); in testEncodeCharBuffer() 1023 public static class MockCharsetEncoder extends CharsetEncoder { 1127 public CharsetEncoder newEncoder() { in newEncoder()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetEncoderTest.java | 22 import java.nio.charset.CharsetEncoder; 33 CharsetEncoder e = ascii.newEncoder(); in test_replaceWith() 70 CharsetEncoder e = cs.newEncoder(); in testSurrogatePairAllAtOnce() 84 CharsetEncoder e = cs.newEncoder(); in testMalformedSurrogatePair() 119 CharsetEncoder e = cs.newEncoder(); in testCharsetEncoderSplitSurrogates() 145 CharsetEncoder e = cs.newEncoder(); in testFlushWithoutEndOfInput() 179 public CharsetEncoder newEncoder() { in newEncoder() 180 return new CharsetEncoder(INSTANCE, 1.f, 1.f) { in newEncoder() 205 CharsetEncoder e = MockCharset.INSTANCE.newEncoder(); 222 CharsetEncoder encoder = StandardCharsets.UTF_8.newEncoder();
|
D | StandardCharsetsEncoderTest.java | 34 import java.nio.charset.CharsetEncoder; 81 CharsetEncoder encoder = charset.newEncoder(); in testCharset() 131 CharsetEncoder coreEncoder = charset.newEncoder(); in main() 140 private static void dumpEncodings(CharsetEncoder encoder, String fileName) in dumpEncodings() 164 private static String createCodePointInfo(CharsetEncoder encoder, int codePoint) { in createCodePointInfo()
|
D | OldCharsetEncoderDecoderBufferTest.java | 23 import java.nio.charset.CharsetEncoder; 96 CharsetEncoder encoder = Charset.forName("UTF-8").newEncoder(); in testEncoderOutputBuffer() 128 CharsetEncoder encoder = Charset.forName("UTF-8").newEncoder(); in testEncoderInputBuffer()
|
D | Charset_TestGenerator.java | 23 import java.nio.charset.CharsetEncoder; 33 CharsetEncoder encoder; 220 CharsetEncoder encoder = charset.newEncoder(); in genEncoded()
|
D | OldCharset_AbstractTest.java | 24 import java.nio.charset.CharsetEncoder; 41 static CharsetEncoder encoder; 214 private static boolean encodesToNothing(CharsetEncoder encoder, char[] codeChars) in encodesToNothing()
|
D | CharsetDecoderTest.java | 24 import java.nio.charset.CharsetEncoder; 87 CharsetEncoder encoder = Charset.forName(charsetName).newEncoder(); in encode()
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | ThreadLocalCoders.java | 115 return (((CharsetEncoder)ob).charset().name().equals(name)); 117 return ((CharsetEncoder)ob).charset().equals(name); 130 public static CharsetEncoder encoderFor(Object name) { in encoderFor() 131 CharsetEncoder ce = (CharsetEncoder)encoderCache.forName(name); in encoderFor()
|
D | StreamEncoder.java | 73 CharsetEncoder enc) in forOutputStreamWriter() 82 CharsetEncoder enc, in forEncoder() 174 private CharsetEncoder encoder; 193 private StreamEncoder(OutputStream out, Object lock, CharsetEncoder enc) { in StreamEncoder() 211 private StreamEncoder(WritableByteChannel ch, CharsetEncoder enc, int mbc) { in StreamEncoder()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | CharsetEncoder.java | 139 public abstract class CharsetEncoder { class 188 CharsetEncoder(Charset cs, in CharsetEncoder() method in CharsetEncoder 204 …protected CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] repl… in CharsetEncoder() method in CharsetEncoder 259 protected CharsetEncoder(Charset cs, in CharsetEncoder() method in CharsetEncoder 316 public final CharsetEncoder replaceWith(byte[] newReplacement) { in replaceWith() 410 public final CharsetEncoder onMalformedInput(CodingErrorAction newAction) { in onMalformedInput() 452 public final CharsetEncoder onUnmappableCharacter(CodingErrorAction in onUnmappableCharacter() 749 public final CharsetEncoder reset() { in reset()
|
/libcore/ojluni/src/tools/ |
D | gensrc_android.sh | 40 cp ${JAVA_NIO_OUT}/charset/CharsetEncoder.java \ 41 ${OJLUNI_NIO_ROOT}/charset/CharsetEncoder.java
|
/libcore/ojluni/src/tools/make/gensrc/ |
D | GensrcCharsetCoder.gmk | 73 $(GENSRC_CHARSETCODER_DST)/CharsetEncoder.java: $(GENSRC_CHARSETCODER_TEMPLATE) 105 GENSRC_CHARSETCODER += $(GENSRC_CHARSETCODER_DST)/CharsetEncoder.java
|
/libcore/ojluni/src/main/java/sun/util/ |
D | PropertyResourceBundleCharset.java | 34 import java.nio.charset.CharsetEncoder; 69 public CharsetEncoder newEncoder() { in newEncoder()
|
/libcore/ojluni/src/main/java/java/io/ |
D | OutputStreamWriter.java | 30 import java.nio.charset.CharsetEncoder; 142 public OutputStreamWriter(OutputStream out, CharsetEncoder enc) { in OutputStreamWriter()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipCoder.java | 33 import java.nio.charset.CharsetEncoder; 171 private CharsetEncoder enc; 186 private CharsetEncoder encoder() { in encoder()
|
/libcore/ojluni/src/test/java/nio/charset/Charset/ |
D | EmptyCharsetName.java | 75 public CharsetEncoder newEncoder() { in main()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixPath.java | 46 private static ThreadLocal<SoftReference<CharsetEncoder>> encoder = 47 new ThreadLocal<SoftReference<CharsetEncoder>>(); 120 SoftReference<CharsetEncoder> ref = encoder.get(); in encode() 121 CharsetEncoder ce = (ref != null) ? ref.get() : null; in encode() 126 encoder.set(new SoftReference<CharsetEncoder>(ce)); in encode()
|
/libcore/ojluni/annotations/hiddenapi/sun/nio/cs/ |
D | ThreadLocalCoders.java | 40 public static java.nio.charset.CharsetEncoder encoderFor(java.lang.Object name) { in encoderFor()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldOutputStreamWriterTest.java | 27 import java.nio.charset.CharsetEncoder; 153 CharsetEncoder enc = cs.newEncoder(); in test_ConstructorLjava_io_OutputStreamLjava_nio_charset_CharsetEncoder() 163 writer = new OutputStreamWriter(out, (CharsetEncoder) null); in test_ConstructorLjava_io_OutputStreamLjava_nio_charset_CharsetEncoder()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LibcoreIoDerivedBase64Test.java | 24 import java.nio.charset.CharsetEncoder; 243 CharsetEncoder encoder = StandardCharsets.US_ASCII.newEncoder(); in asciiToBytes()
|