Searched refs:read (Results 26 - 50 of 2823) sorted by relevance

1234567891011>>

/external/guava/guava-tests/test/com/google/common/io/
H A DCharSequenceReaderTest.java54 // reset and read again
59 // reset, skip, mark, then read the rest
66 // reset to the mark and then read the rest
77 reader.read(buf, 0, 11);
83 reader.read(buf, 10, 1);
89 reader.read(buf, 11, 0);
95 reader.read(buf, -1, 5);
101 reader.read(buf, 5, -1);
107 reader.read(buf, 0, 11);
130 reader.read();
[all...]
H A DMultiReaderTest.java62 assertEquals('a', joinedReader.read());
63 assertEquals('a', joinedReader.read());
64 assertEquals(-1, joinedReader.read());
94 assertEquals(expected.charAt(0), joinedReader.read());
96 assertEquals(expected.charAt(2), joinedReader.read());
98 assertEquals(expected.charAt(7), joinedReader.read());
100 assertEquals(expected.charAt(9), joinedReader.read());
101 assertEquals(-1, joinedReader.read());
110 assertEquals('a', joinedReader.read());
/external/autotest/site_utils/rpm_control_system/
H A Dconfig.py10 rpm_config.read(CONFIG_FILE
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/
H A DDigestInputStream.java22 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);
H A DMacInputStream.java22 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);
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
H A Dutils.py10 js = f.read()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
H A DStreamEncoder.java22 int read;
23 while ((read = data.read(buffer)) != -1) {
24 os.write(buffer, 0, read);
/external/google-breakpad/src/testing/scripts/generator/cpp/
H A Dutils.py35 return fp.read()
/external/googletest/googlemock/scripts/generator/cpp/
H A Dutils.py35 return fp.read()
/external/oauth/core/src/main/java/net/oauth/client/
H A DExcerptInputStream.java23 int read;
24 while ((read = read(excerpt, total, LIMIT - total)) != -1 && ((total += read) < LIMIT));
/external/okhttp/okio/okio/src/main/java/okio/
H A DSource.java22 * Supplies a stream of bytes. Use this interface to read data from wherever
32 * fill it with the data your application is to read.
51 * java.io.InputStream#read single-byte read} method that is awkward to
65 * them to {@code sink}. Returns the number of bytes read, or -1 if this
68 long read(Buffer sink, long byteCount) throws IOException; method in interface:Source
75 * error to read a closed source. It is safe to close a source more than once.
/external/v8/testing/gmock/scripts/generator/cpp/
H A Dutils.py35 return fp.read()
/external/proguard/src/proguard/io/
H A DJarReader.java27 * This DataEntryReader lets a given DataEntryReader read all data entries of
28 * the read jar/war/zip data entries.
48 public void read(DataEntry dataEntry) throws IOException method in class:JarReader
65 dataEntryReader.read(new ZipDataEntry(dataEntry,
H A DManifestRewriter.java76 public int read() throws IOException method in class:ManifestRewriter.SplitLineReader
83 super.read();
96 int c2 = super.read();
101 c2 = super.read();
117 public int read(char[] cbuf, int off, int len) throws IOException method in class:ManifestRewriter.SplitLineReader
123 int c = read();
142 int c = read();
/external/syslinux/com32/lib/sys/
H A Dread.c29 * read.c
41 ssize_t read(int fd, void *buf, size_t count) function
50 return fp->iop->read(fp, buf, count);
/external/skia/experimental/tools/
H A Dmskp_parser.py25 magic = src.read(len(magic_constant))
30 version, page_count = struct.unpack('II', src.read(8))[:2]
41 offset, size_x, size_y =struct.unpack('Qff', src.read(16))
45 size_x, size_y =struct.unpack('ff', src.read(8))
52 file_buffer = src.read(8192)
57 o.write(src.read(offsets[1] - offsets[0]))
/external/smali/util/src/main/java/org/jf/util/
H A DRandomAccessFileInputStream.java48 @Override public int read() throws IOException { method in class:RandomAccessFileInputStream
51 return raf.read();
54 @Override public int read(byte[] bytes) throws IOException { method in class:RandomAccessFileInputStream
56 int bytesRead = raf.read(bytes);
61 @Override public int read(byte[] bytes, int offset, int length) throws IOException { method in class:RandomAccessFileInputStream
63 int bytesRead = raf.read(bytes, offset, length);
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/jsmin/
H A D__init__.py93 read = self.ins.read
112 next1 = read(1)
115 next2 = read(1)
154 next2 = read(1)
163 next2 = read(1)
196 read = self.ins.read
207 write(read(1)) # whatever is next is escaped
209 write(read(
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DRecyclableBufferedInputStream.java44 * The buffer containing the current bytes read from the target InputStream.
78 * Returns an estimated number of bytes that can be read or skipped without blocking for more
132 int result = localIn.read(localBuf);
144 // read is called.
166 int bytesread = localIn.read(localBuf, pos, localBuf.length - pos);
173 * indicates how many bytes can be read before a mark is invalidated.
180 * the number of bytes that can be read before the mark is
213 * @return the byte read or -1 if the end of the source stream has been
219 public synchronized int read() throws IOException { method in class:RecyclableBufferedInputStream
251 * number of bytes actually read o
269 public synchronized int read(byte[] buffer, int offset, int byteCount) throws IOException { method in class:RecyclableBufferedInputStream
[all...]
/external/apache-http/src/org/apache/http/impl/io/
H A DChunkedInputStream.java50 * transfer coding. After the stream is read to the end, it provides access
54 * gets called. Instead, it will read until the "end" of its chunking on
56 * requests, while not requiring the client to remember to read the entire
115 * <p> Trailer headers are read automcatically at the end of the stream and
122 public int read() throws IOException { method in class:ChunkedInputStream
124 throw new IOException("Attempted read from closed stream.");
136 return in.read();
147 * @see java.io.InputStream#read(byte[], int, int)
150 public int read (byte[] b, int off, int len) throws IOException { method in class:ChunkedInputStream
153 throw new IOException("Attempted read fro
179 public int read (byte[] b) throws IOException { method in class:ChunkedInputStream
[all...]
/external/guava/guava/src/com/google/common/io/
H A DLineReader.java52 * Creates a new instance that will read lines from the given
74 // The default implementation of Reader#read(CharBuffer) allocates a
75 // temporary char[], so we call Reader#read(char[], int, int) instead.
76 int read = (reader != null)
77 ? reader.read(buf, 0, buf.length)
78 : readable.read(cbuf);
79 if (read == -1) {
83 lineBuf.add(buf, 0, read);
/external/clang/test/Sema/
H A Dpragma-section.c40 #pragma section(".my_seg", read) // expected-error {{this causes a section type conflict with a prior #pragma section}}
43 #pragma section(".my_seg", read, write) // expected-error {{this causes a section type conflict with a prior #pragma section}}
44 #pragma section(".my_seg", read, write, 1) // expected-warning {{expected action or ')' in '#pragma section' - ignored}}
/external/libmojo/mojo/public/js/
H A Dconnector.js87 var read = core.readMessage(this.handle_,
91 if (read.result == core.RESULT_SHOULD_WAIT)
93 if (read.result != core.RESULT_OK) {
96 this.errorHandler_.onError(read.result);
99 var messageBuffer = new buffer.Buffer(read.buffer);
100 var message = new codec.Message(messageBuffer, read.handles);
/external/apache-http/src/org/apache/http/conn/
H A DEofSensorInputStream.java85 * All read operations will indicate EOF without accessing
86 * the underlying stream. After closing this stream, read
122 * Checks whether the underlying stream can be read from.
132 throw new IOException("Attempted read on closed stream.");
140 public int read() throws IOException { method in class:EofSensorInputStream
145 l = wrappedStream.read();
159 public int read(byte[] b, int off, int len) throws IOException { method in class:EofSensorInputStream
164 l = wrappedStream.read(b, off, len);
178 public int read(byte[] b) throws IOException { method in class:EofSensorInputStream
183 l = wrappedStream.read(
[all...]
/external/apache-http/src/org/apache/http/impl/conn/
H A DLoggingSessionInputBuffer.java40 * Logs all data read to the wire LOG.
76 public int read(byte[] b, int off, int len) throws IOException { method in class:LoggingSessionInputBuffer
77 int l = this.in.read(b, off, len);
84 public int read() throws IOException { method in class:LoggingSessionInputBuffer
85 int l = this.in.read();
92 public int read(byte[] b) throws IOException { method in class:LoggingSessionInputBuffer
93 int l = this.in.read(b);

Completed in 649 milliseconds

1234567891011>>