HomeSort by relevance Sort by last modified time
    Searched refs:read (Results 1 - 25 of 3822) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/crypto/src/main/java/org/conscrypt/
SSLInputStream.java 26 * some additional read methods allowing to read TLS specific
41 * @see org.conscrypt.SSLStreamedInput#read()
42 * @see org.conscrypt.SSLBufferedInput#read()
43 * @see org.conscrypt.HandshakeIODataStream#read()
46 public abstract int read() throws IOException; method in class:SSLInputStream
52 return read() & 0x00FF;
59 return (read() << 8) | (read() & 0x00FF);
66 return (read() << 16) | (read() << 8) | (read() & 0x00FF)
92 public byte[] read(int length) throws IOException { method in class:SSLInputStream
101 public int read(byte[] b, int off, int len) throws IOException { method in class:SSLInputStream
    [all...]
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
SFTPInputStream.java 19 * Offset (in bytes) in the file to read
29 * an array of bytes. An attempt is made to read as many as
30 * <code>len</code> bytes, but a smaller number may be read, possibly
31 * zero. The number of bytes actually read is returned as an integer.
33 * @see SFTPv3Client#read(SFTPv3FileHandle,long,byte[],int,int)
36 public int read(byte[] buffer, int offset, int len) throws IOException method in class:SFTPInputStream
38 int read = handle.getClient().read(handle, readOffset, buffer, offset, len); local
39 if(read > 0) {
40 readOffset += read;
60 public int read() throws IOException { method in class:SFTPInputStream
62 int read = handle.getClient().read(handle, readOffset, buffer, 0, 1); local
    [all...]
SCPInputStream.java 20 * Bytes remaining to be read from the stream
39 int c = session.getStdout().read();
74 public int read() throws IOException method in class:SCPInputStream
81 int read = super.read(); local
82 if (read < 0)
87 remaining -= read;
89 return read;
93 public int read(byte b[], int off, int len) throws IOException method in class:SCPInputStream
106 int read = super.read(b, off, trans) local
    [all...]
PacketListener.java 11 void read(String packet); method in interface:PacketListener
  /external/guava/guava-tests/test/com/google/common/io/
LimitInputStreamTest.java 36 int read = lin.read(); local
37 assertEquals(big[0], read);
39 read = lin.read();
40 assertEquals(big[1], read);
42 read = lin.read();
43 assertEquals(-1, read);
47 read = lin.read(small)
64 int read = lin.read(); local
124 public int read() throws IOException { method in class:LimitInputStreamTest.UnmarkableInputStream
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/util/
LittleEndien.java 37 * <code>LittleEndien</code> is a class to read littleendien stored data
39 * assume they come from a LittleEndien input stream. Currently used to read .ms3d and .3ds files.
50 * @param in The input stream to read from.
57 public int read() throws IOException { method in class:LittleEndien
58 return in.read();
62 public int read(byte[] buf) throws IOException { method in class:LittleEndien
63 return in.read(buf);
67 public int read(byte[] buf, int off, int len) throws IOException { method in class:LittleEndien
68 return in.read(buf, off, len);
72 return (in.read() & 0xff) | ((in.read() & 0xff) << 8)
    [all...]
  /external/smack/src/org/jivesoftware/smack/util/
ReaderListener.java 35 * Notification that the Reader has read a new string.
37 * @param str the read String
39 public abstract void read(String str); method in interface:ReaderListener
  /dalvik/dx/src/com/android/dx/io/instructions/
ShortArrayCodeInput.java 26 /** source array to read from */
46 public int read() throws EOFException { method in class:ShortArrayCodeInput
58 int short0 = read();
59 int short1 = read();
66 long short0 = read();
67 long short1 = read();
68 long short2 = read();
69 long short3 = read();
  /external/dexmaker/src/dx/java/com/android/dx/io/instructions/
ShortArrayCodeInput.java 26 /** source array to read from */
46 public int read() throws EOFException { method in class:ShortArrayCodeInput
58 int short0 = read();
59 int short1 = read();
66 long short0 = read();
67 long short1 = read();
68 long short2 = read();
69 long short3 = read();
  /libcore/luni/src/main/java/java/sql/
DataTruncation.java 36 private boolean read = false; field in class:DataTruncation
62 * @param read
63 * {@code true} if the truncation occurred on a read operation,
70 public DataTruncation(int index, boolean parameter, boolean read,
75 this.read = read;
91 * @param read
92 * true if the truncation occurred on a read operation, false
103 public DataTruncation(int index, boolean parameter, boolean read,
105 super(THE_REASON, read ? THE_SQLSTATE_READ : THE_SQLSTATE_WRITE
    [all...]
  /frameworks/rs/cpu_ref/linkloader/include/impl/
ELFSection.hxx 34 ELFSection<Bitwidth>::read(Archiver &AR, function in class:ELFSection
46 return ELFSectionStrTabTy::read(AR, sh);
49 return ELFSectionSymTabTy::read(AR, owner, sh);
52 return ELFSectionProgBitsTy::read(AR, owner, sh);
55 return ELFSectionNoBitsTy::read(AR, sh);
59 return ELFSectionRelTableTy::read(AR, sh);
  /packages/apps/Email/src/com/android/email/
PeekableInputStream.java 25 * and a subsequent read will still return the peeked byte.
37 public int read() throws IOException { method in class:PeekableInputStream
39 return mIn.read();
48 mPeekedByte = read();
55 public int read(byte[] b, int offset, int length) throws IOException { method in class:PeekableInputStream
57 return mIn.read(b, offset, length);
61 int r = mIn.read(b, offset + 1, length - 1);
71 public int read(byte[] b) throws IOException { method in class:PeekableInputStream
72 return read(b, 0, b.length);
FixedLengthInputStream.java 23 * A filtering InputStream that stops allowing reads after the given length has been read. This
24 * is used to allow a client to read directly from an underlying protocol stream without reading
25 * past where the protocol handler intended the client to read.
43 public int read() throws IOException { method in class:FixedLengthInputStream
46 return mIn.read();
53 public int read(byte[] b, int offset, int length) throws IOException { method in class:FixedLengthInputStream
55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length));
68 public int read(byte[] b) throws IOException { method in class:FixedLengthInputStream
69 return read(b, 0, b.length);
  /bionic/libc/arch-mips/syscalls/
read.S 4 .globl read
6 .ent read
8 read: label
22 .end read
  /external/arduino/hardware/arduino/cores/arduino/
Stream.h 30 virtual int read() = 0;
  /external/proguard/src/proguard/io/
DataEntryReader.java 28 * determines what to do with the read data, if anything.
37 public void read(DataEntry dataEntry) throws IOException; method in interface:DataEntryReader
  /libcore/luni/src/main/java/java/io/
ObjectInput.java 28 * Indicates the number of bytes of primitive data that can be read without
51 * @return the byte read or -1 if the end of this stream has been reached.
55 public int read() throws IOException; method in interface:ObjectInput
59 * while waiting for input. Returns the number of bytes read,
65 public int read(byte[] buffer) throws IOException; method in interface:ObjectInput
70 * waiting for input. Returns the number of bytes read or -1 if the end of this stream has been
76 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException; method in interface:ObjectInput
81 * @return the object read.
Reader.java 29 * needs to be subclassed, and at least the {@link #read(char[], int, int)} and
80 * indicates how many characters can be read before the mark is invalidated.
88 * the number of characters that can be read before the mark is
117 * @return the character read or -1 if the end of the reader has been
122 public int read() throws IOException { method in class:Reader
125 if (read(charArray, 0, 1) != -1) {
135 * actually read or -1 if the end of the reader has been reached.
140 public int read(char[] buffer) throws IOException { method in class:Reader
141 return read(buffer, 0, buffer.length);
147 * of characters actually read or -1 if the end of the reader has bee
153 public abstract int read(char[] buffer, int offset, int count) throws IOException; method in class:Reader
    [all...]
LineNumberReader.java 23 * time {@code '\r'}, {@code '\n'} or {@code "\r\n"} is read. The class has an
75 * indicates how many characters can be read before the mark is invalidated.
82 * the number of characters that can be read from this stream
108 * @return the character read or -1 if the end of the source reader has been
115 public int read() throws IOException { method in class:LineNumberReader
117 int ch = super.read();
119 ch = super.read();
137 * Returns the number of characters actually read or -1 if no characters
138 * have been read and the end of this reader has been reached.
148 public int read(char[] buffer, int offset, int count) throws IOException method in class:LineNumberReader
150 int read = super.read(buffer, offset, count); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldSequenceInputStreamTest.java 56 si.read();
57 assertEquals("Test 1: Incorrect char read;",
58 s1.charAt(1), (char) si.read());
63 assertEquals("Test 2: Incorrect char read;",
64 s1.charAt(2), (char) si.read());
71 si.read();
79 si.read();
80 si.read();
84 si.read();
93 assertEquals("Test 6: Incorrect char read;",
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
AssetFileDescriptor_AutoCloseInputStreamTest.java 62 assertEquals(FILE_DATA[0], mInput.read());
64 assertEquals(FILE_DATA[1], mInput.read());
66 assertEquals(FILE_DATA[5], mInput.read());
68 assertEquals(FILE_END, mInput.read());
74 assertEquals(FILE_DATA[i], mInput.read());
76 assertEquals(FILE_END, mInput.read());
83 assertEquals(FILE_DATA[i], mInput.read());
85 assertEquals(FILE_END, mInput.read());
91 assertEquals(3, mInput.read(buf, 0, 3));
92 assertEquals(3, mInput.read(buf, 3, 3))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
TeeInputStream.java 19 public int read(byte[] buf) method in class:TeeInputStream
22 return read(buf, 0, buf.length);
25 public int read(byte[] buf, int off, int len) method in class:TeeInputStream
28 int i = input.read(buf, off, len);
38 public int read() method in class:TeeInputStream
41 int i = input.read();
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
UnknownLengthHttpInputStream.java 33 @Override public int read(byte[] buffer, int offset, int count) throws IOException { method in class:UnknownLengthHttpInputStream
39 int read = in.read(buffer, offset, count); local
40 if (read == -1) {
45 cacheWrite(buffer, offset, read);
46 return read;
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
AutoCloseInputStream.java 32 * releasing resources once the last byte has been read) do not do that.
52 * This method is automatically called by the read methods when the end
72 * @throws IOException if the stream could not be read or closed
74 public int read() throws IOException { method in class:AutoCloseInputStream
75 int n = in.read();
88 * @return number of bytes read, or -1 if no more bytes are available
89 * @throws IOException if the stream could not be read or closed
91 public int read(byte[] b) throws IOException { method in class:AutoCloseInputStream
92 int n = in.read(b);
106 * @param len maximum number of bytes to read
110 public int read(byte[] b, int off, int len) throws IOException { method in class:AutoCloseInputStream
    [all...]
ProxyInputStream.java 30 * methods being called, such as read(byte[]) to read(byte[], int, int).
48 * Invokes the delegate's <code>read()</code> method.
49 * @return the byte read or -1 if the end of stream
52 public int read() throws IOException { method in class:ProxyInputStream
53 return in.read();
57 * Invokes the delegate's <code>read(byte[])</code> method.
58 * @param bts the buffer to read the bytes into
59 * @return the number of bytes read or -1 if the end of stream
62 public int read(byte[] bts) throws IOException { method in class:ProxyInputStream
74 public int read(byte[] bts, int st, int end) throws IOException { method in class:ProxyInputStream
    [all...]

Completed in 1090 milliseconds

1 2 3 4 5 6 7 8 91011>>