Home
last modified time | relevance | path

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

12345678910>>...13

/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.java218 ByteBuffer in = getByteBuffer(); in implTestDecodeByteBuffer() local
237 ByteBuffer in; in testDecodeByteBufferException() local
308 void implTestDecodeByteBufferCharBuffer(ByteBuffer in) { in implTestDecodeByteBufferCharBuffer()
403 void implTestDecodeCharBufferByteBufferUnmappedException(ByteBuffer in, in implTestDecodeCharBufferByteBufferUnmappedException()
457 void implTestDecodeCharBufferByteBufferMalformedException(ByteBuffer in, in implTestDecodeCharBufferByteBufferMalformedException()
509 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.java282 CharBuffer in = CharBuffer.wrap("aaa"); in testFlushIllegalState() local
328 CharBuffer in = CharBuffer.wrap("aaa"); in testEncodeFacadeIllegalState() local
372 CharBuffer in = CharBuffer.wrap("aaa"); in testEncodeTrueIllegalState() local
422 CharBuffer in = CharBuffer.wrap("aaa"); in testEncodeFalseIllegalState() local
591 CharBuffer in = CharBuffer.wrap("\ud800"); in testEncodeCharBuffer() local
628 CharBuffer in; in testEncodeCharBufferException() local
708 CharBuffer in = CharBuffer.wrap(unistr); in testEncodeCharBufferByteBufferboolean() local
833 CharBuffer in = getMalformedCharBuffer(); in implTestEncodeCharBufferByteBufferbooleanException() local
899 CharBuffer in, byte[] expect) { in assertCodingErrorAction()
917 CharBuffer in = CharBuffer.wrap("aaa"); in testFlush() local
[all …]
/libcore/luni/src/main/java/libcore/io/
DStreams.java62 public static int readSingleByte(@NonNull InputStream in) throws IOException { in readSingleByte()
101 public static void readFully(@NonNull InputStream in, @NonNull byte[] dst) throws IOException { in readFully()
113 …public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOExcep… in readFully()
147 public static @NonNull byte[] readFully(@NonNull InputStream in) throws IOException { in readFully()
167 public static @NonNull byte[] readFullyNoClose(@NonNull InputStream in) throws IOException { in readFullyNoClose()
206 public static void skipAll(InputStream in) throws IOException { in skipAll()
233 public static long skipByReading(@NonNull InputStream in, long byteCount) throws IOException { in skipByReading()
273 public static int copy(@NonNull InputStream in, @NonNull OutputStream out) throws IOException { in copy()
294 public static String readAsciiLine(InputStream in) throws IOException { in readAsciiLine()
/libcore/ojluni/src/main/java/java/util/zip/
DGZIPInputStream.java76 public GZIPInputStream(InputStream in, int size) throws IOException { in GZIPInputStream()
99 public GZIPInputStream(InputStream in) throws IOException { in GZIPInputStream()
170 CheckedInputStream in = new CheckedInputStream(this_in, crc); in readHeader() local
221 InputStream in = this.in; in readTrailer() local
258 private long readUInt(InputStream in) throws IOException { in readUInt()
266 private int readUShort(InputStream in) throws IOException { in readUShort()
274 private int readUByte(InputStream in) throws IOException { in readUByte()
293 private void skipBytes(InputStream in, int n) throws IOException { in skipBytes()
/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
DGZIPOutputStreamTest.java56 InputStream in = DeflaterOutputStreamTest.createInflaterStream(GZIPOutputStream.class, true); in testSyncFlushEnabled() local
64 InputStream in = DeflaterOutputStreamTest.createInflaterStream(GZIPOutputStream.class, false); in testSyncFlushDisabled() local
/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/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/ojluni/src/main/java/java/io/
DInputStreamReader.java71 public InputStreamReader(InputStream in) { in InputStreamReader()
94 public InputStreamReader(InputStream in, String charsetName) in InputStreamReader()
112 public InputStreamReader(InputStream in, Charset cs) { in InputStreamReader()
128 public InputStreamReader(InputStream in, CharsetDecoder dec) { in InputStreamReader()
/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/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/ojluni/src/main/java/java/time/zone/
DSer.java181 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { in readExternal()
186 static Object read(DataInput in) throws IOException, ClassNotFoundException { in read()
191 …private static Object readInternal(byte type, DataInput in) throws IOException, ClassNotFoundExcep… in readInternal()
237 static ZoneOffset readOffset(DataInput in) throws IOException { in readOffset()
269 static long readEpochSec(DataInput in) throws IOException { in readEpochSec()
/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/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()
/libcore/support/src/test/java/tests/support/resource/
DSupport_Resources.java112 InputStream in = Support_Resources.getStream(resourceName); in copyFile() local
127 public static void copyLocalFileto(File dest, InputStream in) throws IOException { in copyLocalFileto()
137 private static int copy(InputStream in, OutputStream out) throws IOException { in copy()
150 InputStream in = new URL(url).openStream(); in getExternalLocalFile() local
196 public static void copyLocalFileTo(File dest, InputStream in) throws IOException { in copyLocalFileTo()
/libcore/ojluni/src/main/java/java/time/chrono/
DSer.java222 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { in readExternal()
227 static Object read(ObjectInput in) throws IOException, ClassNotFoundException { in read()
232 …private static Object readInternal(byte type, ObjectInput in) throws IOException, ClassNotFoundExc… in readInternal()
/libcore/luni/src/test/etc/loading-test-jar/
DTestMethods.java66 public static byte[] readFully(InputStream in) throws IOException { in readFully()
128 InputStream in = cl.getResourceAsStream("test/Resource1.txt"); in test_getResourceAsStream() local
184 InputStream in = cl.getResourceAsStream("test2/Resource2.txt"); in test_diff_getResourceAsStream() local

12345678910>>...13