/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | StreamDecoder.java | 86 CharsetDecoder dec) in forInputStreamReader() argument 88 return new StreamDecoder(in, lock, dec); in forInputStreamReader() 95 CharsetDecoder dec, in forDecoder() argument 98 return new StreamDecoder(ch, dec, minBufferCap); in forDecoder() 240 StreamDecoder(InputStream in, Object lock, CharsetDecoder dec) { in StreamDecoder() argument 242 this.cs = dec.charset(); in StreamDecoder() 243 this.decoder = dec; in StreamDecoder() 259 StreamDecoder(ReadableByteChannel ch, CharsetDecoder dec, int mbc) { in StreamDecoder() argument 262 this.decoder = dec; in StreamDecoder() 263 this.cs = dec.charset(); in StreamDecoder()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | CharsetEncoder.java | 361 CharsetDecoder dec = null; in isLegalReplacement() local 362 if ((wr == null) || ((dec = wr.get()) == null)) { in isLegalReplacement() 363 dec = charset().newDecoder(); in isLegalReplacement() 364 dec.onMalformedInput(CodingErrorAction.REPORT); in isLegalReplacement() 365 dec.onUnmappableCharacter(CodingErrorAction.REPORT); in isLegalReplacement() 366 cachedDecoder = new WeakReference<CharsetDecoder>(dec); in isLegalReplacement() 368 dec.reset(); in isLegalReplacement() 372 * dec.maxCharsPerByte())); in isLegalReplacement() 373 CoderResult cr = dec.decode(bb, cb, true); in isLegalReplacement()
|
/libcore/ojluni/src/main/java/java/io/ |
D | InputStreamReader.java | 128 public InputStreamReader(InputStream in, CharsetDecoder dec) { in InputStreamReader() argument 130 if (dec == null) in InputStreamReader() 132 sd = StreamDecoder.forInputStreamReader(in, this, dec); in InputStreamReader()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipCoder.java | 128 private CharsetDecoder dec; field in ZipCoder 143 if (dec == null) { in decoder() 144 dec = cs.newDecoder() in decoder() 148 return dec; in decoder()
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | ParseUtil.java | 181 CharsetDecoder dec = ThreadLocalCoders.decoderFor("UTF-8") in decode() local 213 dec.reset(); in decode() 214 CoderResult cr = dec.decode(bb, cb, true); in decode() 217 cr = dec.flush(cb); in decode()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ArrayBlockingQueue.java | 134 final int dec(int i) { in dec() method in ArrayBlockingQueue 1288 this.cursor = cursor = dec(cursor); in removedAt() 1297 this.lastRet = lastRet = dec(lastRet); in removedAt() 1305 this.nextIndex = nextIndex = dec(nextIndex); in removedAt()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | Channels.java | 499 CharsetDecoder dec, 503 return StreamDecoder.forDecoder(ch, dec.reset(), minBufferCap);
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 641 private Scanner(File source, CharsetDecoder dec) in Scanner() argument 644 this(makeReadable((ReadableByteChannel)(new FileInputStream(source).getChannel()), dec)); in Scanner() 661 CharsetDecoder dec) { in makeReadable() argument 662 return Channels.newReader(source, dec, -1); in makeReadable()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URI.java | 2823 CharsetDecoder dec = ThreadLocalCoders.decoderFor("UTF-8") in decode() local 2858 dec.reset(); in decode() 2859 CoderResult cr = dec.decode(bb, cb, true); in decode() 2861 cr = dec.flush(cb); in decode()
|