/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSReadable.java | 4 import java.io.InputStream; 8 public InputStream getInputStream()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1OctetStringParser.java | 3 import java.io.InputStream; 8 public InputStream getOctetStream();
|
LimitedInputStream.java | 3 import java.io.InputStream; 6 extends InputStream 8 protected final InputStream _in; 12 InputStream in,
|
DEROctetStringParser.java | 4 import java.io.InputStream; 17 public InputStream getOctetStream()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
PositionInputStream.java | 23 import java.io.InputStream;
26 public class PositionInputStream extends InputStream {
28 private final InputStream inputStream;
32 public PositionInputStream(InputStream inputStream) {
33 this.inputStream = inputStream;
41 return inputStream.available();
45 int b = inputStream.read(); [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
Strings.java | 4 import java.io.InputStream; 8 public static String fromStream(InputStream inputStream) throws IOException { 13 while ((inSize = inputStream.read(buffer)) > 0) {
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
ANTLRxxxxStreamFixture.cs | 78 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); 79 Assert.AreEqual(0, inputStream.Count); 89 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); 90 Assert.AreEqual(grammarStr.Length, inputStream.Count); 100 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); 101 Assert.AreEqual(0, inputStream.Index); 103 inputStream.Consume(); 104 Assert.AreEqual(1, inputStream.Index); 106 inputStream.Consume(); 107 Assert.AreEqual(2, inputStream.Index) [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
AutoDetector.java | 19 import java.io.InputStream; 22 Classes which accept an InputStream and provide a Reader which figures 23 out the encoding of the InputStream and reads characters from it should 25 @see java.io.InputStream 32 Given an InputStream, return a suitable Reader that understands 33 the presumed character encoding of that InputStream. 34 If bytes are consumed from the InputStream in the process, they 35 <i>must</i> be pushed back onto the InputStream so that they can be 37 @param i The InputStream 38 @return A Reader that reads from the InputStream [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
StringsTest.java | 6 import java.io.InputStream; 13 InputStream stream = new ByteArrayInputStream("some random string".getBytes());
|
/external/chromium_org/android_webview/unittestjava/src/org/chromium/android_webview/unittest/ |
InputStreamUnittest.java | 9 import java.io.InputStream; 17 static InputStream getEmptyStream() { 18 return new InputStream() { 27 static InputStream getCountingStream(final int size) { 28 return new InputStream() {
|
/frameworks/base/core/jni/android/graphics/ |
CreateJavaOutputStreamAdaptor.h | 13 * Return an adaptor from a Java InputStream to an SkStream. 16 * @param stream Pointer to Java InputStream. 18 * Java InputStream. 21 * function returns, since the Java InputStream is not managed 28 * Copy a Java InputStream. The result will be rewindable. 30 * @param stream Pointer to Java InputStream. 32 * Java InputStream.
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
CloseShieldInputStream.java | 22 import java.io.InputStream;
26 * InputStream that shields its underlying input stream from
32 public class CloseShieldInputStream extends InputStream {
35 * Underlying InputStream
37 private InputStream is;
39 public CloseShieldInputStream(InputStream is) {
43 public InputStream getUnderlyingStream() {
48 * @see java.io.InputStream#read()
56 * @see java.io.InputStream#available()
65 * Set the underlying InputStream to null [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
TeeInputStream.java | 4 import java.io.InputStream; 8 extends InputStream 10 private final InputStream input; 13 public TeeInputStream(InputStream input, OutputStream output)
|
Streams.java | 5 import java.io.InputStream; 12 public static void drain(InputStream inStr) 21 public static byte[] readAll(InputStream inStr) 29 public static byte[] readAllLimited(InputStream inStr, int limit) 37 public static int readFully(InputStream inStr, byte[] buf) 43 public static int readFully(InputStream inStr, byte[] buf, int off, int len) 59 public static void pipeAll(InputStream inStr, OutputStream outStr) 70 public static long pipeAllLimited(InputStream inStr, long limit, OutputStream outStr)
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
InterceptedRequestData.java | 10 import java.io.InputStream; 19 private InputStream mData; 21 public InterceptedRequestData(String mimeType, String encoding, InputStream data) { 38 public InputStream getData() {
|
/external/smack/src/org/jivesoftware/smack/compression/ |
XMPPInputOutputStream.java | 18 import java.io.InputStream; 30 public abstract InputStream getInputStream(InputStream inputStream) throws Exception;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
DemuxInputStream.java | 20 import java.io.InputStream;
30 extends InputStream
32 private InheritableThreadLocal<InputStream> m_streams = new InheritableThreadLocal<InputStream>();
38 * @return the InputStream that was previously active
40 public InputStream bindStream( InputStream input )
42 InputStream oldValue = getStream();
56 InputStream input = getStream();
73 InputStream input = getStream(); [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
DnaBlockData.java | 57 * @param inputStream
64 public DnaBlockData(BlenderInputStream inputStream, BlenderContext blenderContext) throws BlenderFileException {
68 identifier = inputStream.readByte() << 24 | inputStream.readByte() << 16
69 | inputStream.readByte() << 8 | inputStream.readByte();
76 identifier = inputStream.readByte() << 24 | inputStream.readByte() << 16
77 | inputStream.readByte() << 8 | inputStream.readByte(); [all...] |
/external/proguard/src/proguard/io/ |
FileDataEntry.java | 36 private InputStream inputStream; 66 public InputStream getInputStream() throws IOException 68 if (inputStream == null) 70 inputStream = new BufferedInputStream(new FileInputStream(file)); 73 return inputStream; 79 inputStream.close(); 80 inputStream = null;
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/ |
UrlAssetInfo.java | 8 import java.io.InputStream; 20 private InputStream in; 27 InputStream in = conn.getInputStream(); 37 private UrlAssetInfo(AssetManager assetManager, AssetKey key, URL url, InputStream in) throws IOException { 48 public InputStream openStream() { 51 InputStream in2 = in;
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/ |
BrokenInputStream.java | 20 import java.io.InputStream; 23 * Implements an InputStream what wraps another InputStream and throws an 27 public class BrokenInputStream extends InputStream { 29 private InputStream stream; 33 public BrokenInputStream(InputStream stream, int offset) {
|
/external/guava/guava-tests/test/com/google/common/io/ |
MultiInputStreamTest.java | 24 import java.io.InputStream; 49 final InputSupplier<InputStream> supplier = newByteSupplier(0, 50); 51 InputSupplier<InputStream> checker = new InputSupplier<InputStream>() { 53 public InputStream getInput() throws IOException { 72 List<InputSupplier<InputStream>> suppliers = Lists.newArrayList(); 78 InputSupplier<InputStream> joined = ByteStreams.join(suppliers); 83 InputSupplier<InputStream> supplier = newByteSupplier(0, 10); 85 InputSupplier<InputStream> joined = ByteStreams.join(supplier, supplier); 87 InputStream in = joined.getInput() [all...] |
/packages/apps/Browser/src/com/android/browser/ |
WallpaperHandler.java | 33 import java.io.InputStream; 87 InputStream inputstream = null; local 95 inputstream = openStream(); 96 if (inputstream != null) { 97 if (!inputstream.markSupported()) { 98 inputstream = new BufferedInputStream(inputstream, BUFFER_SIZE); 100 inputstream.mark(BUFFER_SIZE); 106 new BufferedInputStream(inputstream), null, options) [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
ByteUtils.java | 37 import java.io.InputStream; 49 * Takes an InputStream and returns the complete byte content of it 51 * @param inputStream 58 public static byte[] getByteContent(InputStream inputStream) 67 while ((byteCount = inputStream.read(buffer)) > 0) { 111 * Read in a short from an InputStream 113 * @param inputStream 114 * The InputStream used to read the short 115 * @return A short, which is the next 2 bytes converted from the InputStream [all...] |
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
IncomingFileTransfer.java | 37 * method and then returns the <b><i>InputStream</b></i> to read the file
51 private InputStream inputStream;
63 * @return The negotiated InputStream from which to read the data.
67 public InputStream recieveFile() throws XMPPException {
68 if (inputStream != null) {
73 inputStream = negotiateStream();
80 return inputStream;
124 inputStream = negotiateStream();
135 writeToStream(inputStream, outputStream); [all...] |