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

/libcore/ojluni/src/main/java/java/io/
H A DInputStreamReader.java123 * @param dec A charset decoder
128 public InputStreamReader(InputStream in, CharsetDecoder dec) { argument
130 if (dec == null)
132 sd = StreamDecoder.forInputStreamReader(in, this, dec);
/libcore/ojluni/src/main/java/sun/nio/cs/
H A DStreamDecoder.java85 CharsetDecoder dec)
87 return new StreamDecoder(in, lock, dec);
94 CharsetDecoder dec,
97 return new StreamDecoder(ch, dec, minBufferCap);
238 StreamDecoder(InputStream in, Object lock, CharsetDecoder dec) { argument
240 this.cs = dec.charset();
241 this.decoder = dec;
257 StreamDecoder(ReadableByteChannel ch, CharsetDecoder dec, int mbc) { argument
260 this.decoder = dec;
261 this.cs = dec
83 forInputStreamReader(InputStream in, Object lock, CharsetDecoder dec) argument
93 forDecoder(ReadableByteChannel ch, CharsetDecoder dec, int minBufferCap) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/charset/
H A DCharsetEncoder.java344 CharsetDecoder dec = null;
345 if ((wr == null) || ((dec = wr.get()) == null)) {
346 dec = charset().newDecoder();
347 dec.onMalformedInput(CodingErrorAction.REPORT);
348 dec.onUnmappableCharacter(CodingErrorAction.REPORT);
349 cachedDecoder = new WeakReference<CharsetDecoder>(dec);
351 dec.reset();
355 * dec.maxCharsPerByte()));
356 CoderResult cr = dec.decode(bb, cb, true);
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipCoder.java128 private CharsetDecoder dec; field in class:ZipCoder
143 if (dec == null) {
144 dec = cs.newDecoder()
148 return dec;
/libcore/ojluni/src/main/java/java/nio/channels/
H A DChannels.java339 * @param dec
350 CharsetDecoder dec,
354 return StreamDecoder.forDecoder(ch, dec.reset(), minBufferCap);
349 newReader(ReadableByteChannel ch, CharsetDecoder dec, int minBufferCap) argument
/libcore/luni/src/main/java/java/util/concurrent/
H A DArrayBlockingQueue.java105 final int dec(int i) { method in class:ArrayBlockingQueue
1259 this.cursor = cursor = dec(cursor);
1268 this.lastRet = lastRet = dec(lastRet);
1276 this.nextIndex = nextIndex = dec(nextIndex);
/libcore/ojluni/src/main/java/sun/net/www/
H A DParseUtil.java181 CharsetDecoder dec = ThreadLocalCoders.decoderFor("UTF-8")
213 dec.reset();
214 CoderResult cr = dec.decode(bb, cb, true);
217 cr = dec.flush(cb);
/libcore/ojluni/src/main/java/java/util/
H A DScanner.java680 private Scanner(File source, CharsetDecoder dec) argument
683 this(makeReadable((ReadableByteChannel)(new FileInputStream(source).getChannel()), dec));
700 CharsetDecoder dec) {
701 return Channels.newReader(source, dec, -1);
699 makeReadable(ReadableByteChannel source, CharsetDecoder dec) argument
/libcore/ojluni/src/main/java/java/net/
H A DURI.java2785 CharsetDecoder dec = ThreadLocalCoders.decoderFor("UTF-8")
2820 dec.reset();
2821 CoderResult cr = dec.decode(bb, cb, true);
2823 cr = dec.flush(cb);

Completed in 184 milliseconds