HomeSort by relevance Sort by last modified time
    Searched full:read (Results 326 - 350 of 14757) sorted by null

<<11121314151617181920>>

  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
InflaterInputStreamTest.java 71 while ((result = inflatIP.read()) != -1) {
90 inflatIP.read(byteArray, 0, 5);// only suppose to read in 5 bytes
107 while ((result = inflatIP.read()) != -1) {
167 * @tests java.util.zip.InflaterInputStream#read()
180 while ((result = inflatIP.read()) != -1) {
194 * @tests java.util.zip.InflaterInputStream#read(byte [], int, int)
204 result = inflatIP.read(null, 0, 1);
210 assertEquals(0, inflatIP.read(b, 0, 0));
213 result = inflatIP.read(b, 5, 2); //offset highe
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/
Support_StringReader.java 48 * longer read from it. Only the first invocation of this method has any
112 * @return the character read or -1 if end of reader.
118 public int read() throws IOException { method in class:Support_StringReader
133 * <code>buf</code>. Returns the number of characters actually read or -1
137 * character array to store the read characters
139 * offset in buf to store the read characters
141 * maximum number of characters to read
142 * @return the number of characters read or -1 if end of reader.
148 public int read(char buf[], int offset, int count) throws IOException { method in class:Support_StringReader
160 int read = end - pos local
    [all...]
  /external/chromium/webkit/glue/media/
buffered_data_source.h 39 virtual void Read(int64 position, size_t size,
58 // A factory method to create a BufferedResourceLoader based on the read
78 // |loader_|, reset Read() variables, and set |stopped_on_render_loop_|
85 // This task monitors the current active read request. If the current read
87 // creates a new one to accommodate the read request.
102 // The method that performs actual read. This method can only be executed on
106 // Calls |read_callback_| and reset all read parameters.
128 // Callback method for making a read request to BufferedResourceLoader.
130 // the error code or the number of bytes read
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_StringReader.java 48 * longer read from it. Only the first invocation of this method has any
112 * @return the character read or -1 if end of reader.
118 public int read() throws IOException { method in class:Support_StringReader
133 * <code>buf</code>. Returns the number of characters actually read or -1
137 * character array to store the read characters
139 * offset in buf to store the read characters
141 * maximum number of characters to read
142 * @return the number of characters read or -1 if end of reader.
148 public int read(char buf[], int offset, int count) throws IOException { method in class:Support_StringReader
160 int read = end - pos local
    [all...]
  /external/chromium/net/base/
file_stream.h 58 // Adjust the position from where data is read. Upon success, the stream
60 // error code is returned. It is not valid to call Seek while a Read call
64 // Returns the number of bytes available to read from the current stream
68 // Call this method to read data from the current stream position. Up to
74 // must be passed to this method. In asynchronous mode, if the read could
77 // the read has completed.
79 // In the case of an asychronous read, the memory pointed to by |buf| must
81 // destroy or close the file stream while there is an asynchronous read in
82 // progress. That will cancel the read and allow the buffer to be freed.
87 int Read(char* buf, int buf_len, CompletionCallback* callback)
    [all...]
  /external/skia/include/core/
SkBuffer.h 18 The RBuffer is given the buffer to read from, with either a specified size
20 to attempt to read a value from an empty RBuffer (data == null).
42 /** Return the number of bytes that have been read from the beginning
50 /** Return true if the buffer has read to the end of the data pointer.
56 /** Read the specified number of bytes from the data pointer. If buffer is not
59 void read(void* buffer, size_t size) { function in class:SkRBuffer
68 void* readPtr() { void* ptr; read(&ptr, sizeof(ptr)); return ptr; }
69 SkScalar readScalar() { SkScalar x; read(&x, 4); return x; }
70 uint32_t readU32() { uint32_t x; read(&x, 4); return x; }
71 int32_t readS32() { int32_t x; read(&x, 4); return x;
    [all...]
  /external/zlib/contrib/ada/
read.adb 9 -- $Id: read.adb,v 1.8 2004/05/31 10:53:40 vagul Exp $
11 -- Test/demo program for the generic read interface.
19 procedure Read is
64 procedure Read
68 -- ZLib.Read
71 procedure Read is new ZLib.Read
72 (Read,
78 -- Read --
81 procedure Read
    [all...]
  /libcore/luni/src/main/java/java/util/zip/
GZIPInputStream.java 28 * The {@code GZIPInputStream} class is used to read data stored in the GZIP
72 * Construct a {@code GZIPInputStream} to read from GZIP data from the
76 * the {@code InputStream} to read data from.
85 * Construct a {@code GZIPInputStream} to read from GZIP data from the
89 * the {@code InputStream} to read data from.
91 * the internal read buffer size.
116 int result = in.read(buf, 0, max);
156 public int read(byte[] buffer, int offset, int byteCount) throws IOException { method in class:GZIPInputStream
167 bytesRead = super.read(buffer, offset, byteCount);
169 eos = eof; // update eos after every read(), even when it throw
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldAndroidZipFileTest.java 117 * Read compressed data from two different entries at the same time,
144 * Read a piece of file #1.
146 totalLen1 = stream1.read(buf);
147 assertTrue("initial read failed on #1", totalLen1 >= 0);
150 * Read a piece of file #2.
152 totalLen2 = stream2.read(buf);
153 assertTrue("initial read failed on #2", totalLen2 >= 0);
156 * Read the rest of file #1, and close the stream.
160 while ((len = stream1.read(buf)) > 0) {
167 * Read the rest of file #2, and close the stream
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/ndefpush/
NdefPushProtocol.java 75 Log.w(TAG, "Unable to read version");
76 throw new FormatException("Unable to read version");
84 // Read numMessages
88 Log.w(TAG, "Unable to read numMessages");
96 // Read actions and messages
100 // Read action
104 Log.w(TAG, "Unable to read action for message " + i);
107 // Read message length
112 Log.w(TAG, "Unable to read length for message " + i);
116 // Read messag
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/input/
NullReader.java 38 * reads a character and leaves the array unchanged in the read
155 * Read a character.
162 * @throws IOException if trying to read past the end of file.
164 public int read() throws IOException { method in class:NullReader
166 throw new IOException("Read after end of file");
176 * Read some characters into the specified array.
178 * @param chars The character array to read into
179 * @return The number of characters read or <code>-1</code>
184 * @throws IOException if trying to read past the end of file.
186 public int read(char[] chars) throws IOException { method in class:NullReader
203 public int read(char[] chars, int offset, int length) throws IOException { method in class:NullReader
    [all...]
  /libcore/luni/src/main/java/java/io/
BufferedReader.java 44 * The characters that can be read and refilled in bulk. We maintain three
52 * must be {@link #fillBuf() filled} before characters can be read.
122 * @return the number of bytes read into the buffer, or -1 if the end of the
130 int result = in.read(buf, 0, buf.length);
157 int count = in.read(buf, pos, buf.length - pos);
176 * indicates how many characters can be read before the mark is invalidated.
181 * the number of characters that can be read before the mark is
228 * @return the character read or -1 if the end of the source reader has been
234 public int read() throws IOException { method in class:BufferedReader
248 * number of characters actually read or -1 if the end of the source reade
272 public int read(char[] buffer, int offset, int length) throws IOException { method in class:BufferedReader
499 long read = end - pos; local
    [all...]
  /bootable/recovery/minadbd/
transport.h 20 /* convenience wrappers around read/write that will retry on
21 ** EINTR and/or short read/write. Returns 0 on success, -1
  /external/antlr/antlr-3.4/runtime/Python/tests/
t020fuzzy.py 16 stream = antlr3.StringStream(open(inputPath).read())
28 testOutput = open(outputPath).read()
  /external/chromium/chrome/common/
common_param_traits.h 22 static bool Read(const Message* m, void** iter, param_type* p);
30 static bool Read(const Message* m, void** iter, param_type* p);
libxml_utils.cc 84 // Empty tag. We succesfully read the content, but it's
88 if (!Read())
94 if (!Read())
97 // Read the content. We read up until we hit a closing tag at the
101 if (!Read())
107 if (!Read())
124 } while (Read());
  /external/clang/test/Sema/
typedef-retain.c 20 r[0]=10; // expected-error {{read-only variable is not assignable}}
24 y[0] = 10; // expected-error {{read-only variable is not assignable}}
  /external/dropbear/libtomcrypt/src/pk/pkcs1/
pkcs_1_os2ip.c 20 Read a binary string into an mp_int
22 @param in The binary string to read
  /external/guava/guava/src/com/google/common/io/
LineReader.java 51 * 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) local
77 ? reader.read(buf, 0, buf.length)
78 : readable.read(cbuf);
79 if (read == -1) {
83 lineBuf.add(buf, 0, read);
  /external/jpeg/
rdgif.c 8 * This file contains routines to read input images in GIF format.
12 * the ability to read GIF files has been removed from the IJG distribution. *
  /external/linux-tools-perf/util/
evsel.h 106 * perf_evsel__read_on_cpu - Read out the results on a CPU and thread
108 * @evsel - event selector to read value
119 * perf_evsel__read_on_cpu_scaled - Read out the results on a CPU and thread, scaled
121 * @evsel - event selector to read value
135 * perf_evsel__read - Read the aggregate results on all CPUs
137 * @evsel - event selector to read value
148 * perf_evsel__read_scaled - Read the aggregate results on all CPUs, scaled
150 * @evsel - event selector to read value
  /external/llvm/test/Transforms/Inline/
callgraph-update.ll 5 define internal fastcc void @read() {
20 call fastcc void @read()
  /external/llvm/utils/valgrind/
i386-pc-linux-gnu.supp 13 ADDRESS_IN_RANGE/Invalid read of size 4
19 ADDRESS_IN_RANGE/Invalid read of size 4
  /external/oprofile/daemon/liblegacy/
opd_24_stats.h 6 * @remark Read the file COPYING
26 OPD_DUMP_COUNT, /**< nr of times buffer is read */
  /external/oprofile/daemon/
opd_stats.h 6 * @remark Read the file COPYING
24 OPD_DUMP_COUNT, /**< nr. of times buffer is read */

Completed in 564 milliseconds

<<11121314151617181920>>