Searched refs:read (Results 1 - 25 of 2823) sorted by relevance

1234567891011>>

/external/testng/src/test/java/test/abstractmethods/
H A DCRUDTest2.java10 public void read() { method in class:CRUDTest2
H A DCRUDTest.java11 public abstract void read(); method in class:CRUDTest
/external/guava/guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/
H A DFakeTickerTest.java36 assertEquals(0, ticker.read());
38 assertEquals(10, ticker.read());
40 assertEquals(1000010L, ticker.read());
50 assertEquals(0, ticker.read());
51 assertEquals(10, ticker.read());
52 assertEquals(20, ticker.read());
57 assertEquals(0, ticker.read());
58 assertEquals(1000000, ticker.read());
59 assertEquals(2000000, ticker.read());
64 assertEquals(0, ticker.read());
[all...]
/external/proguard/src/proguard/io/
H A DDataEntryReader.java28 * determines what to do with the read data, if anything.
37 public void read(DataEntry dataEntry) throws IOException; method in interface:DataEntryReader
/external/clang/test/OpenMP/
H A Datomic_read_codegen.c83 #pragma omp atomic read
87 #pragma omp atomic read
91 #pragma omp atomic read
95 #pragma omp atomic read
99 #pragma omp atomic read
103 #pragma omp atomic read
107 #pragma omp atomic read
111 #pragma omp atomic read
115 #pragma omp atomic read
119 #pragma omp atomic read
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/util/
H A DExceptionCatchingInputStream.java10 * An {@link java.io.InputStream} that catches {@link java.io.IOException}s during read and skip calls and stores them
71 public int read(byte[] buffer) throws IOException { method in class:ExceptionCatchingInputStream
72 int read;
74 read = wrapped.read(buffer);
77 read = -1;
79 return read;
83 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:ExceptionCatchingInputStream
84 int read;
86 read
112 public int read() throws IOException { method in class:ExceptionCatchingInputStream
[all...]
/external/conscrypt/common/src/jni/main/include/
H A DBioInputStream.h31 int read(char *buf, int len) { function in class:conscrypt::BioInputStream
40 int read = read_internal(buf, len - 1, JniConstants::openSslInputStream_readLineMethod); local
41 buf[read] = '\0';
43 return read;
56 JNI_TRACE("BioInputStream::read could not get JNIEnv");
61 JNI_TRACE("BioInputStream::read called with pending exception");
67 JNI_TRACE("BioInputStream::read failed call to NewByteArray");
71 jint read = env->CallIntMethod(getStream(), method, javaBytes.get()); local
73 JNI_TRACE("BioInputStream::read failed call to InputStream#read");
[all...]
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
H A DLimitedInputStream.java49 public int read() throws IOException { method in class:LimitedInputStream
50 if (read(ONE_BYTE, 0, 1) == 1) {
57 public int read(byte[] b) throws IOException { method in class:LimitedInputStream
58 return read(b, 0, b.length);
62 public int read(byte[] b, int off, int len) throws IOException { method in class:LimitedInputStream
67 int numRead = in.read(b, off, maxRead);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
H A DTeeInputStream.java8 * An input stream which copies anything read through it to another stream.
20 * @param output output stream to copy any input read to.
28 public int read(byte[] buf) method in class:TeeInputStream
31 return read(buf, 0, buf.length);
34 public int read(byte[] buf, int off, int len) method in class:TeeInputStream
37 int i = input.read(buf, off, len);
47 public int read() method in class:TeeInputStream
50 int i = input.read();
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
H A DSeekableFileInputStream.java52 * Calls {@link RandomAccessFile#read() randomAccessFile.read()}.
54 public int read() throws IOException { method in class:SeekableFileInputStream
55 return randomAccessFile.read();
59 * Calls {@link RandomAccessFile#read(byte[]) randomAccessFile.read(buf)}.
61 public int read(byte[] buf) throws IOException { method in class:SeekableFileInputStream
62 return randomAccessFile.read(buf);
67 * {@link RandomAccessFile#read(byte[],int,int)
68 * randomAccessFile.read(bu
70 public int read(byte[] buf, int off, int len) throws IOException { method in class:SeekableFileInputStream
[all...]
H A DCountingInputStream.java17 * Counts the number of bytes read from an input stream.
26 public int read() throws IOException { method in class:CountingInputStream
27 int ret = in.read();
34 public int read(byte[] b, int off, int len) throws IOException { method in class:CountingInputStream
35 int ret = in.read(b, off, len);
/external/apache-http/src/org/apache/http/io/
H A DSessionInputBuffer.java54 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
/external/apache-http/src/org/apache/http/impl/io/
H A DIdentityInputStream.java79 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);
H A DContentLengthInputStream.java42 * 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!
141 * @see java.io.InputStream#read()
143 public int read() throw 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/
H A DIndefiniteLengthInputStream.java22 _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/compiler-rt/lib/asan/
H A Dasan_win_dynamic_runtime_thunk.cc31 #pragma section(".CRT$XID", long, read) // NOLINT
32 #pragma section(".CRT$XCAB", long, read) // NOLINT
33 #pragma section(".CRT$XTW", long, read) // NOLINT
34 #pragma section(".CRT$XTY", long, read) // NOLINT
/external/glide/testutil/src/main/java/com/bumptech/glide/testutil/
H A DTestUtil.java22 int read;
24 while ((read = is.read(buffer)) != -1) {
25 os.write(buffer, 0, read);
/external/libusb/libusb/os/
H A Dpoll_posix.h5 #define usbi_read read
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
H A DLimitedInputStreamTest.java36 public int read() throws IOException { method in class:LimitedInputStreamTest.ForeverInputStream
41 public int read(byte[] b) throws IOException { method in class:LimitedInputStreamTest.ForeverInputStream
46 public int read(byte[] b, int off, int len) throws IOException { method in class:LimitedInputStreamTest.ForeverInputStream
55 Assert.assertEquals(-1, stream.read());
62 Assert.assertEquals(0, stream.read());
63 Assert.assertEquals(-1, stream.read());
70 Assert.assertEquals(100, stream.read(new byte[1000]));
71 Assert.assertEquals(-1, stream.read());
/external/guava/guava/src/com/google/common/base/
H A DTicker.java46 public abstract long read(); method in class:Ticker
59 public long read() {
/external/ltp/testcases/realtime/scripts/
H A Dparser.py40 def read(self): member in class:Log
41 for line in self.__log_file.read().split("\n"):
/external/guava/guava-testlib/test/com/google/common/testing/
H A DFakeTickerTest.java47 assertEquals(0, ticker.read());
49 assertEquals(10, ticker.read());
51 assertEquals(1000010L, ticker.read());
61 assertEquals(0, ticker.read());
62 assertEquals(10, ticker.read());
63 assertEquals(20, ticker.read());
68 assertEquals(0, ticker.read());
69 assertEquals(1000000, ticker.read());
70 assertEquals(2000000, ticker.read());
75 assertEquals(0, ticker.read());
[all...]
/external/guava/guava/src/com/google/common/io/
H A DMultiInputStream.java81 @Override public int read() throws IOException { method in class:MultiInputStream
85 int result = in.read();
88 return read();
93 @Override public int read(@Nullable byte[] b, int off, int len) throws IOException { method in class:MultiInputStream
97 int result = in.read(b, off, len);
100 return read(b, off, len);
113 if (read() == -1) {
/external/guava/guava-tests/test/com/google/common/io/
H A DCountingInputStreamTest.java38 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
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
H A DRandomAccessFileInputStreamTest.java92 Assert.assertEquals(x, stream.read());
94 Assert.assertEquals(-1, stream.read());
103 int numRead = stream.read(buffer);
109 Assert.assertEquals(-1, stream.read(buffer, 0, 1));
115 Assert.assertEquals(0, stream.read(new byte[] {}, 0, -1));
124 int numRead = stream.read(buffer, 0, 2); // At most 2 bytes of the buffer can be used
130 Assert.assertEquals(-1, stream.read());
145 Assert.assertEquals(1, stream.read());
147 Assert.assertEquals(2, stream.read());
150 Assert.assertEquals(2, stream.read());
[all...]

Completed in 1152 milliseconds

1234567891011>>