Home
last modified time | relevance | path

Searched refs:dec (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java86 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/
DCharsetEncoder.java361 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/
DInputStreamReader.java128 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/
DZipCoder.java128 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/
DParseUtil.java181 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/
DArrayBlockingQueue.java134 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/
DChannels.java499 CharsetDecoder dec,
503 return StreamDecoder.forDecoder(ch, dec.reset(), minBufferCap);
/libcore/ojluni/src/main/java/java/util/
DScanner.java641 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/
DURI.java2823 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()