Home
last modified time | relevance | path

Searched defs:in (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DASCIICharsetEncoderTest.java139 CharBuffer in = CharBuffer.wrap("A"); in testInternalState() local
161 CharBuffer in = CharBuffer.wrap("A"); in testInternalState_Reset() local
169 CharBuffer in = CharBuffer.wrap("A"); in testInternalState_Reset() local
176 CharBuffer in = CharBuffer.wrap("A"); in testInternalState_Reset() local
188 CharBuffer in = CharBuffer.wrap("A"); in testInternalState_Encoding() local
195 CharBuffer in = CharBuffer.wrap("A"); in testInternalState_Encoding() local
203 CharBuffer in = CharBuffer.wrap("A"); in testInternalState_Encoding() local
213 CharBuffer in = CharBuffer.wrap("A"); in testInternalState_Encoding() local
227 CharBuffer in = CharBuffer.wrap("A"); in testInternalState_Encoding() local
246 CharBuffer in = CharBuffer.wrap("A"); in testInternalState_Encoding_END() local
[all …]
DCharsetDecoder2Test.java61 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { in decodeLoop()
94 ByteBuffer in = ByteBuffer.wrap(new byte[] { 109, 97, 109 }); in test_decode() local
159 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { in decodeLoop()
173 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { in encodeLoop()
191 ByteBuffer in = ByteBuffer.wrap(new byte[] { 0x45, 0x38, 0x45, 0x45 }); in testDecodeLjava_nio_ByteBuffer_ReplaceOverflow() local
219 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { in decodeLoop()
DCharsetDecoderTest.java221 ByteBuffer in = getByteBuffer(); in implTestDecodeByteBuffer() local
240 ByteBuffer in; in testDecodeByteBufferException() local
310 void implTestDecodeByteBufferCharBuffer(ByteBuffer in) { in implTestDecodeByteBufferCharBuffer()
405 void implTestDecodeCharBufferByteBufferUnmappedException(ByteBuffer in, in implTestDecodeCharBufferByteBufferUnmappedException()
459 void implTestDecodeCharBufferByteBufferMalformedException(ByteBuffer in, in implTestDecodeCharBufferByteBufferMalformedException()
511 void implTestDecodeCharBufferByteBufferException(ByteBuffer in, in implTestDecodeCharBufferByteBufferException()
573 ByteBuffer in = ByteBuffer.wrap(new byte[] { 12, 12 }); in testFlush() local
601 ByteBuffer in = ByteBuffer.wrap(new byte[] { 98, 98 }); in testFlushIllegalState() local
635 ByteBuffer in = getByteBuffer(); in testDecodeFacadeIllegalState() local
667 ByteBuffer in = ByteBuffer.wrap(new byte[] { 98, 98 }); in testDecodeTrueIllegalState() local
[all …]
DCharsetEncoderTest.java285 CharBuffer in = CharBuffer.wrap("aaa"); in testFlushIllegalState() local
331 CharBuffer in = CharBuffer.wrap("aaa"); in testEncodeFacadeIllegalState() local
375 CharBuffer in = CharBuffer.wrap("aaa"); in testEncodeTrueIllegalState() local
425 CharBuffer in = CharBuffer.wrap("aaa"); in testEncodeFalseIllegalState() local
594 CharBuffer in = CharBuffer.wrap("\ud800"); in testEncodeCharBuffer() local
631 CharBuffer in; in testEncodeCharBufferException() local
711 CharBuffer in = CharBuffer.wrap(unistr); in testEncodeCharBufferByteBufferboolean() local
836 CharBuffer in = getMalformedCharBuffer(); in implTestEncodeCharBufferByteBufferbooleanException() local
902 CharBuffer in, byte[] expect) { in assertCodingErrorAction()
920 CharBuffer in = CharBuffer.wrap("aaa"); in testFlush() local
[all …]
/libcore/luni/src/main/java/libcore/io/
DStreams.java60 public static int readSingleByte(@NonNull InputStream in) throws IOException { in readSingleByte()
97 public static void readFully(@NonNull InputStream in, @NonNull byte[] dst) throws IOException { in readFully()
109 …public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOExcep… in readFully()
142 public static @NonNull byte[] readFully(@NonNull InputStream in) throws IOException { in readFully()
161 public static @NonNull byte[] readFullyNoClose(@NonNull InputStream in) throws IOException { in readFullyNoClose()
199 public static void skipAll(InputStream in) throws IOException { in skipAll()
225 public static long skipByReading(@NonNull InputStream in, long byteCount) throws IOException { in skipByReading()
264 public static int copy(@NonNull InputStream in, @NonNull OutputStream out) throws IOException { in copy()
285 public static String readAsciiLine(InputStream in) throws IOException { in readAsciiLine()
/libcore/ojluni/src/main/java/java/util/zip/
DGZIPInputStream.java84 public GZIPInputStream(InputStream in, int size) throws IOException { in GZIPInputStream()
107 public GZIPInputStream(InputStream in) throws IOException { in GZIPInputStream()
178 CheckedInputStream in = new CheckedInputStream(this_in, crc); in readHeader() local
229 InputStream in = this.in; in readTrailer() local
266 private long readUInt(InputStream in) throws IOException { in readUInt()
274 private int readUShort(InputStream in) throws IOException { in readUShort()
282 private int readUByte(InputStream in) throws IOException { in readUByte()
301 private void skipBytes(InputStream in, int n) throws IOException { in skipBytes()
DInflaterInputStream.java99 InflaterInputStream(InputStream in, Inflater inf, int size, boolean ownsInflater) { in InflaterInputStream()
119 public InflaterInputStream(InputStream in, Inflater inf, int size) { in InflaterInputStream()
140 public InflaterInputStream(InputStream in, Inflater inf) { in InflaterInputStream()
158 public InflaterInputStream(InputStream in) { in InflaterInputStream()
/libcore/ojluni/src/test/java/io/InputStream/
DTransferTo.java48 try (InputStream in = input()) { in ifOutIsNullThenNpeIsThrown()
52 try (InputStream in = input((byte) 1)) { in ifOutIsNullThenNpeIsThrown()
56 try (InputStream in = input((byte) 1, (byte) 2)) { in ifOutIsNullThenNpeIsThrown()
60 InputStream in = null; in ifOutIsNullThenNpeIsThrown() local
93 try (CloseLoggingInputStream in = new CloseLoggingInputStream(input); in transferToThenCheckIfAnyClosed()
114 try (CloseLoggingInputStream in = in onReturnNeitherStreamIsClosed()
129 try (InputStream in = input(new byte[]{1, 2, 3}); in onReturnInputIsAtEnd()
150 try (InputStream in = input(bytes); in checkTransferredContents()
/libcore/ojluni/src/test/java/util/Collections/
DSer.java49 ObjectInputStream in = new ObjectInputStream( in main() local
63 ObjectInputStream in = new ObjectInputStream( in main() local
78 ObjectInputStream in = new ObjectInputStream( in main() local
93 ObjectInputStream in = new ObjectInputStream( in main() local
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterInputStreamTest.java37 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); in testReadByteByByte() local
58 try (InputStream in = new InflaterInputStream(new ByteArrayInputStream(bytes))) { in inflate()
72 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); in testReadWithBuffer() local
95 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); in testReadExceptions() local
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DAVA.java39 AVA(java.io.Reader in) throws java.io.IOException { in AVA()
43 AVA(java.io.Reader in, java.util.Map<java.lang.String, java.lang.String> keywordMap) in AVA()
48 AVA(java.io.Reader in, int format) throws java.io.IOException { in AVA()
52 AVA(java.io.Reader in, int format, java.util.Map<java.lang.String, java.lang.String> keywordMap) in AVA()
61 AVA(sun.security.util.DerInputStream in) throws java.io.IOException { in AVA()
80 private static sun.security.util.DerValue parseHexString(java.io.Reader in, int format) in parseHexString()
86 java.io.Reader in, java.lang.StringBuilder temp) throws java.io.IOException { in parseQuotedString()
91 java.io.Reader in, int c, int format, java.lang.StringBuilder temp) in parseString()
96 private static java.lang.Byte getEmbeddedHexPair(int c1, java.io.Reader in) in getEmbeddedHexPair()
110 private static int readChar(java.io.Reader in, java.lang.String errMsg) in readChar()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHostnameVerifierTest.java47 InputStream in; in testVerify() local
143 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); in testSubjectAlt() local
157 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); in testVerifyIpAddress() local
180 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testWildcardsCannotMatchIpAddresses() local
217 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testWildcardsDoesNotNeedTwoDots() local
250 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testSubjectAltName() local
287 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testSubjectAltNameWithWildcard() local
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKWeekFieldsSerialization.java113 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
124 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
135 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
146 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
DTCKValueRangeSerialization.java148 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
159 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
170 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
/libcore/ojluni/src/main/java/java/io/
DInputStreamReader.java75 public InputStreamReader(InputStream in) { in InputStreamReader()
94 public InputStreamReader(InputStream in, String charsetName) in InputStreamReader()
111 public InputStreamReader(InputStream in, Charset cs) { in InputStreamReader()
126 public InputStreamReader(InputStream in, CharsetDecoder dec) { in InputStreamReader()
/libcore/ojluni/src/test/java/io/Reader/
DTransferTo.java49 try (Reader in = input()) { in ifOutIsNullThenNpeIsThrown()
53 try (Reader in = input((char) 1)) { in ifOutIsNullThenNpeIsThrown()
57 try (Reader in = input((char) 1, (char) 2)) { in ifOutIsNullThenNpeIsThrown()
61 Reader in = null; in ifOutIsNullThenNpeIsThrown() local
94 try (CloseLoggingReader in = new CloseLoggingReader(input); in transferToThenCheckIfAnyClosed()
115 try (CloseLoggingReader in = in onReturnNeitherStreamIsClosed()
130 try (Reader in = input(new char[]{1, 2, 3}); in onReturnInputIsAtEnd()
151 try (Reader in = input(chars); in checkTransferredContents()
/libcore/luni/src/test/java/libcore/java/io/
DFilterInputStreamNullSourceTest.java49 InputStream in = new CipherInputStream(null, new NullCipher()); in testCipherInputStream() local
105 private void assertReadsFailWithIoException(InputStream in) throws IOException { in assertReadsFailWithIoException()
121 private void assertReadsFailWithNullPointerException(InputStream in) throws IOException { in assertReadsFailWithNullPointerException()
DOldAndroidPipedStreamTest.java42 final PipedInputStream in = new PipedInputStream(); in testA() local
109 final PipedInputStream in = new PipedInputStream(); in testB() local
194 final PipedInputStream in = new PipedInputStream(); in testC() local
/libcore/luni/src/main/java/javax/xml/parsers/
DDocumentBuilder.java106 InputSource in = new InputSource(is); in parse() local
130 InputSource in = new InputSource(is); in parse() local
154 InputSource in = new InputSource(uri); in parse() local
182 InputSource in = new InputSource(escapedURI); in parse() local
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherInputStreamTest.java84 protected MeasuringInputStream(InputStream in) { in MeasuringInputStream()
112 MeasuringInputStream in = new MeasuringInputStream(new ByteArrayInputStream(aesCipherText)); in testAvailable() local
121 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testDecrypt_NullInput_Discarded() local
134 InputStream in = new CipherInputStream( in testEncrypt() local
146 InputStream in = new CipherInputStream( in testEncrypt_RC4() local
158 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testDecrypt() local
166 InputStream in = new CipherInputStream(new ByteArrayInputStream(rc4CipherText), cipher); in testDecrypt_RC4() local
174 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testSkip() local
178 private byte[] readAll(InputStream in) throws IOException { in readAll()
/libcore/ojluni/src/main/java/java/time/zone/
DSer.java182 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { in readExternal()
187 static Serializable read(DataInput in) throws IOException, ClassNotFoundException { in read()
192 private static Serializable readInternal(byte type, DataInput in) in readInternal()
239 static ZoneOffset readOffset(DataInput in) throws IOException { in readOffset()
271 static long readEpochSec(DataInput in) throws IOException { in readEpochSec()
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DPKCS9Attributes.java34 sun.security.util.DerInputStream in) in PKCS9Attributes()
40 public PKCS9Attributes(sun.security.util.DerInputStream in) throws java.io.IOException { in PKCS9Attributes()
45 public PKCS9Attributes(sun.security.util.DerInputStream in, boolean ignoreUnsupportedAttributes) in PKCS9Attributes()
56 private byte[] decode(sun.security.util.DerInputStream in) throws java.io.IOException { in decode()
/libcore/support/src/test/java/tests/support/
DSupport_GetLocal.java42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); in getLocalFile() local
62 InputStream in = new URL(url).openStream(); in getExternalLocalFile() local
80 InputStream in = new URL(url).openStream(); in getStream() local
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java62 public static StreamDecoder forInputStreamReader(InputStream in, in forInputStreamReader()
77 public static StreamDecoder forInputStreamReader(InputStream in, in forInputStreamReader()
84 public static StreamDecoder forInputStreamReader(InputStream in, in forInputStreamReader()
214 private static FileChannel getChannel(FileInputStream in) { in getChannel()
230 private InputStream in; field in StreamDecoder
233 StreamDecoder(InputStream in, Object lock, Charset cs) { in StreamDecoder()
240 StreamDecoder(InputStream in, Object lock, CharsetDecoder dec) { in StreamDecoder()
/libcore/ojluni/annotations/hiddenapi/java/net/
DSocksSocketImpl.java64 private int readSocksReply(java.io.InputStream in, byte[] data) throws java.io.IOException { in readSocksReply()
68 private int readSocksReply(java.io.InputStream in, byte[] data, long deadlineMillis) in readSocksReply()
74 byte method, java.io.InputStream in, java.io.BufferedOutputStream out) in authenticate()
81 java.io.InputStream in, in authenticate()
89 java.io.InputStream in, in connectV4()

12345678910>>...15