/development/tools/idegen/src/ |
Files.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 31 Reader in = new FileReader(file); local 33 while ((read = in.read(buffer)) > -1) { 36 in.close();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs7/ |
AuthenticatedAttributesTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 37 InputStream in = Support_Resources.getResourceStream(tSTokenPath); local 42 ContentInfo token = (ContentInfo) ContentInfo.ASN1.decode(in); 52 in.close();
|
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
FinishedTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 47 HandshakeIODataStream in = new HandshakeIODataStream(); local 48 in.append(encoded); 49 Finished message_2 = new Finished(in, message.length()); 53 in.append(encoded); 55 message_2 = new Finished(in, message.length() - 1); 60 in.append(encoded); 61 in.append(new byte[] { 1, 2, 3 }); 63 message_2 = new Finished(in, message.length() + 3) [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
CertificateVerifyTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 46 HandshakeIODataStream in = new HandshakeIODataStream(); local 47 new CertificateVerify(in, 0); 64 HandshakeIODataStream in = new HandshakeIODataStream(); local 65 in.append(encoded); 66 CertificateVerify message_2 = new CertificateVerify(in, message.length()); 70 in.append(encoded); 72 message_2 = new CertificateVerify(in, message.length() - 1); 77 in.append(encoded) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
FileUtils.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 75 FileInputStream in = new FileInputStream(file); local 78 int amt = in.read(result, at, length); 85 in.close();
|
/external/guava/guava/src/com/google/common/io/ |
MultiInputStream.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 37 private InputStream in; field in class:MultiInputStream 51 if (in != null) { 53 in.close(); 55 in = null; 66 in = it.next().openStream(); 71 if (in == null) { 74 return in.available(); 82 if (in == null) [all...] |
/external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/ |
ClassInfoTest.java | 45 InputStream in = getClass().getResource( local 50 while ((b = in.read()) != -1) { 53 in.close();
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/io/ |
FilterInputStream.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 20 protected InputStream in; field in class:FilterInputStream 22 protected FilterInputStream (InputStream in) { 23 this.in = in; 27 return in.read(); 35 return in.read(b, off, len); 43 return in.available(); 47 in.close() [all...] |
/external/lzma/Java/Tukaani/src/ |
LZMADecDemo.java | 29 // No need to use BufferedInputStream with System.in which 31 InputStream in = new LZMAInputStream(System.in); local 34 while ((size = in.read(buf)) != -1) 41 InputStream in = new FileInputStream(name); local 44 // In contrast to other classes in org.tukaani.xz, 50 in = new BufferedInputStream(in); 51 in = new LZMAInputStream(in) [all...] |
XZDecDemo.java | 25 InputStream in = new XZInputStream(System.in); local 28 while ((size = in.read(buf)) != -1) 35 InputStream in = new FileInputStream(name); local 41 // in = new BufferedInputStream(in); 42 in = new XZInputStream(in); 45 while ((size = in.read(buf)) != -1) 51 in.close() [all...] |