Home
last modified time | relevance | path

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

1234567

/libcore/luni/src/main/java/libcore/io/
DStreams.java39 public static int readSingleByte(InputStream in) throws IOException { in readSingleByte()
59 public static void readFully(InputStream in, byte[] dst) throws IOException { in readFully()
69 …public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOExcep… in readFully()
93 public static byte[] readFully(InputStream in) throws IOException { in readFully()
104 public static byte[] readFullyNoClose(InputStream in) throws IOException { in readFullyNoClose()
131 public static void skipAll(InputStream in) throws IOException { in skipAll()
148 public static long skipByReading(InputStream in, long byteCount) throws IOException { in skipByReading()
178 public static int copy(InputStream in, OutputStream out) throws IOException { in copy()
196 public static String readAsciiLine(InputStream in) throws IOException { in readAsciiLine()
DBase64.java35 public static byte[] decode(byte[] in) { in decode()
39 public static byte[] decode(byte[] in, int len) { in decode()
135 public static String encode(byte[] in) { in encode()
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterInputStreamTest.java32 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); in testReadByteByByte() local
53 java.io.InputStream in = new InflaterInputStream(new ByteArrayInputStream(bytes)); in inflate() local
66 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); in testReadWithBuffer() local
89 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); in testReadExceptions() local
DGZIPInputStreamTest.java49 GZIPInputStream in = new GZIPInputStream(new ByteArrayInputStream(gzipped)); in testSkip() local
63 InputStream in = new GZIPInputStream(new ByteArrayInputStream(bytes)); in gunzip() local
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherInputStreamTest.java44 InputStream in = new CipherInputStream( in testEncrypt() local
53 InputStream in = new CipherInputStream(new ByteArrayInputStream(cipherText), cipher); in testDecrypt() local
61 InputStream in = new CipherInputStream(new ByteArrayInputStream(cipherText), cipher); in testSkip() local
65 private byte[] readAll(InputStream in) throws IOException { in readAll()
/libcore/luni/src/main/java/java/io/
DInputStreamReader.java41 private InputStream in; field in InputStreamReader
58 public InputStreamReader(InputStream in) { in InputStreamReader()
77 public InputStreamReader(InputStream in, final String enc) in InputStreamReader()
104 public InputStreamReader(InputStream in, CharsetDecoder dec) { in InputStreamReader()
121 public InputStreamReader(InputStream in, Charset charset) { in InputStreamReader()
DFilterInputStream.java35 protected volatile InputStream in; field in FilterInputStream
47 protected FilterInputStream(InputStream in) { in FilterInputStream()
DFilterReader.java35 protected Reader in; field in FilterReader
43 protected FilterReader(Reader in) { in FilterReader()
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
DHostnameVerifierTest.java52 InputStream in; in testVerify() local
148 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); in testSubjectAlt() local
164 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); in testVerifyIpAddress() local
187 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testWildcardsCannotMatchIpAddresses() local
209 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testWildcardsMustHaveTwoDots() local
242 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testSubjectAltName() local
279 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testSubjectAltNameWithWildcard() local
/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/org/apache/harmony/xnet/provider/jsse/
DSSLStreamedInput.java29 private InputStream in; field in SSLStreamedInput
31 public SSLStreamedInput(InputStream in) { in SSLStreamedInput()
DSSLBufferedInput.java33 private ByteBuffer in; field in SSLBufferedInput
45 protected void setSourceBuffer(ByteBuffer in) { in setSourceBuffer()
/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/main/java/org/apache/harmony/security/asn1/
DASN1Enumerated.java63 public Object decode(BerInputStream in) throws IOException { in decode()
77 public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
DASN1OctetString.java61 @Override public Object decode(BerInputStream in) throws IOException { in decode()
75 @Override public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
DASN1Boolean.java62 public Object decode(BerInputStream in) throws IOException { in decode()
77 @Override public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
DASN1Type.java90 public final Object decode(InputStream in) throws IOException { in decode()
100 public final void verify(InputStream in) throws IOException { in verify()
116 public abstract Object decode(BerInputStream in) throws IOException; in decode()
134 protected Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
DASN1BitString.java63 @Override public Object decode(BerInputStream in) throws IOException { in decode()
78 @Override public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
112 @Override public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
DASN1Any.java72 public Object decode(BerInputStream in) throws IOException { in decode()
89 public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
DASN1Integer.java62 public Object decode(BerInputStream in) throws IOException { in decode()
76 public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
/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/luni/src/main/java/org/apache/harmony/security/provider/cert/
DX509CertPathImpl.java142 public static X509CertPathImpl getInstance(InputStream in) throws CertificateException { in getInstance()
157 public static X509CertPathImpl getInstance(InputStream in, String encoding) in getInstance()
196 public static X509CertPathImpl getInstance(byte[] in) throws CertificateException { in getInstance()
211 public static X509CertPathImpl getInstance(byte[] in, String encoding) in getInstance()
/libcore/luni/src/main/java/java/util/zip/
DDeflaterInputStream.java48 public DeflaterInputStream(InputStream in) { in DeflaterInputStream()
60 public DeflaterInputStream(InputStream in, Deflater deflater) { in DeflaterInputStream()
73 public DeflaterInputStream(InputStream in, Deflater deflater, int bufferSize) { in DeflaterInputStream()
/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

1234567