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

1 2 3 4 5 6 7 8 91011>>

  /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...]
CountingInputStreamTest.java 38 assertEquals(0, counter.read());
43 assertEquals(10, counter.read(new byte[10]));
48 assertEquals(3, counter.read(new byte[10], 1, 3));
64 assertEquals(-1, counter.read());
69 assertEquals(20, counter.read(new byte[30]));
71 assertEquals(-1, counter.read(new byte[30]));
77 assertEquals(10, counter.read(new byte[10]));
80 counter.read();
110 public int read() throws IOException { method in class:CountingInputStreamTest.UnmarkableInputStream
  /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();
CodeInput.java 26 * Returns whether there are any more code units to read. This
34 public int read() throws EOFException; method in interface:CodeInput
  /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();
  /external/arduino/hardware/arduino/cores/arduino/
Stream.h 30 virtual int read() = 0;
  /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...]
AssetManager_AssetInputStreamTest.java 37 mAssetInputStream.read();
58 assertEquals(bytes[i], mAssetInputStream.read());
63 assertEquals(bytes[i + readlimit], mAssetInputStream.read());
74 assertEquals(bytes[i], mAssetInputStream.read());
76 assertEquals(end, mAssetInputStream.read());
78 // test read(byte[])
82 int ret = mAssetInputStream.read(data);
88 assertEquals(len - dataLength, mAssetInputStream.read(data));
92 assertEquals(end, mAssetInputStream.read(data));
94 // test read(bytep[], int, int
    [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/apache-http/src/org/apache/http/io/
SessionInputBuffer.java 54 int read(byte[] b, int off, int len) throws IOException; method in interface:SessionInputBuffer
56 int read(byte[] b) throws IOException; method in interface:SessionInputBuffer
58 int read() throws IOException; method in interface:SessionInputBuffer
  /bionic/libc/bionic/
eventfd_read.cpp 33 return (read(fd, value, sizeof(*value)) == sizeof(*value)) ? 0 : -1;
  /development/tools/idegen/src/
Files.java 30 int read; local
33 while ((read = in.read(buffer)) > -1) {
34 builder.append(buffer, 0, read);
  /external/apache-http/src/org/apache/http/impl/io/
IdentityInputStream.java 79 public int read() throws IOException { method in class:IdentityInputStream
83 return this.in.read();
87 public int read(final byte[] b, int off, int len) throws IOException { method in class:IdentityInputStream
91 return this.in.read(b, off, len);
ContentLengthInputStream.java 42 * gets called. Instead, it will read until the "end" of its chunking on
44 * requests, while not requiring the client to remember to read the entire
80 * The maximum number of bytes that can be read from the stream. Subsequent
81 * read operations will return -1.
100 * @param contentLength The maximum number of bytes that can be read from
101 * the stream. Subsequent read operations will return -1.
126 while (read(buffer) >= 0) {
130 // to read after closed!
138 * Read the next byte from the stream
141 * @see java.io.InputStream#read()
143 public int read() throws IOException { method in class:ContentLengthInputStream
167 public int read (byte[] b, int off, int len) throws java.io.IOException { method in class:ContentLengthInputStream
192 public int read(byte[] b) throws IOException { method in class:ContentLengthInputStream
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
IndefiniteLengthInputStream.java 22 _b1 = in.read();
23 _b2 = in.read();
51 public int read(byte[] b, int off, int len) method in class:IndefiniteLengthInputStream
57 return super.read(b, off, len);
65 int numRead = _in.read(b, off + 2, len - 2);
76 _b1 = _in.read();
77 _b2 = _in.read();
88 public int read() method in class:IndefiniteLengthInputStream
96 int b = _in.read();
  /external/chromium_org/third_party/libusb/src/libusb/os/
poll_posix.h 5 #define usbi_read read
  /bionic/libc/arch-arm/syscalls/
read.S 5 ENTRY(read) function
14 END(read)
  /bionic/libc/arch-arm64/syscalls/
read.S 5 ENTRY(read) function
14 END(read)
  /bionic/libc/arch-mips/syscalls/
read.S 5 ENTRY(read) function
19 END(read)
  /bionic/libc/arch-x86_64/syscalls/
read.S 5 ENTRY(read) function
15 END(read)
  /external/guava/guava/src/com/google/common/base/
Ticker.java 43 public abstract long read(); method in class:Ticker
56 public long read() {
  /external/guava/guava/src/com/google/common/io/
MultiInputStream.java 78 @Override public int read() throws IOException { method in class:MultiInputStream
82 int result = in.read();
85 return read();
90 @Override public int read(byte[] b, int off, int len) throws IOException { method in class:MultiInputStream
94 int result = in.read(b, off, len);
97 return read(b, off, len);
110 if (read() == -1) {
  /external/chromium_org/android_webview/unittestjava/src/org/chromium/android_webview/unittest/
InputStreamUnittest.java 20 public int read() {
45 public int read() throws IOException {
57 public int read() {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/
DigestInputStream.java 22 public int read() method in class:DigestInputStream
25 int b = in.read();
34 public int read( method in class:DigestInputStream
40 int n = in.read(b, off, len);
MacInputStream.java 22 public int read() method in class:MacInputStream
25 int b = in.read();
34 public int read( method in class:MacInputStream
40 int n = in.read(b, off, len);

Completed in 618 milliseconds

1 2 3 4 5 6 7 8 91011>>