Home
last modified time | relevance | path

Searched refs:dec (Results 1 – 8 of 8) 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/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/test/java/lang/Math/
DExactArithTests.java141 int dec = Math.decrementExact(x); in testIntegerExact() local
144 … fail("FAIL: int Math.decrementExact(" + x + ") = " + dec + "; expected Arithmetic exception"); in testIntegerExact()
145 } else if (dec != dec2) { in testIntegerExact()
146 fail("FAIL: long Math.decrementExact(" + x + ") = " + dec + "; expected: " + dec2); in testIntegerExact()
278 long dec = Math.decrementExact(x); in testLongExact() local
279 checkResult("long Math.decrementExact", x, 1L, dec, resultBig); in testLongExact()
289 long dec = Math.negateExact(x); in testLongExact() local
290 checkResult("long Math.negateExact", x, 0L, dec, resultBig); in testLongExact()
/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/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()