HomeSort by relevance Sort by last modified time
    Searched defs:read (Results 276 - 300 of 2562) sorted by null

<<11121314151617181920>>

  /external/guava/guava/src/com/google/common/hash/
HashingInputStream.java 26 * An {@link InputStream} that maintains a hash of the data read from it.
37 * read from it to the underlying {@link InputStream}.
39 * <p>The {@link InputStream} should not be read from before or after the hand-off.
48 * the byte read.
51 public int read() throws IOException { method in class:HashingInputStream
52 int b = in.read();
61 * the bytes read.
64 public int read(byte[] bytes, int off, int len) throws IOException { method in class:HashingInputStream
65 int numOfBytesRead = in.read(bytes, off, len);
97 * Returns the {@link HashCode} based on the data read from this stream. The result i
    [all...]
  /external/guava/guava/src/com/google/common/io/
CharSequenceReader.java 62 public synchronized int read(CharBuffer target) throws IOException { method in class:CharSequenceReader
76 public synchronized int read() throws IOException { method in class:CharSequenceReader
82 public synchronized int read(char[] cbuf, int off, int len) throws IOException { method in class:CharSequenceReader
LineReader.java 52 * 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/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/
GwtWorkarounds.java 38 int read() throws IOException; method in interface:GwtWorkarounds.CharInput
51 public int read() { method
70 int read() throws IOException; method in interface:ByteInput
  /external/guava/guava-tests/test/com/google/common/io/
TestInputStream.java 55 public int read() throws IOException { method in class:TestInputStream
58 return in.read();
62 public int read(byte[] b, int off, int len) throws IOException { method in class:TestInputStream
65 return in.read(b, off, len);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationRoot.java 51 CollationDataReader.read(null, bytes, t2);
52 // Keep t=null until after the root data has been read completely.
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationRoot.java 49 CollationDataReader.read(null, bytes, t2);
50 // Keep t=null until after the root data has been read completely.
  /external/libbrillo/brillo/streams/
memory_containers_unittest.cc 54 // read/write operations.
75 size_t read = 0; local
77 EXPECT_TRUE(container_.Read(test_read_buffer_, 50, 10, &read, &error));
78 EXPECT_EQ(50, read);
91 size_t read = 0; local
92 EXPECT_TRUE(container_.Read(test_read_buffer_, 50, 80, &read, nullptr));
93 EXPECT_EQ(20, read);
98 size_t read = 0 local
114 size_t read = 0; local
    [all...]
stream_unittest.cc 113 // This sets up an initial non blocking read that would block, so ReadAsync()
118 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _))
128 // schedule another read.
144 data_callback.Run(AccessMode::READ);
174 // schedule another read yet.
199 // This sets up an initial non blocking read that would block, so
204 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _))
214 // ReadAllAsync() will try to read non blocking until the read would block
223 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _)
277 size_t read = 0; local
    [all...]
  /external/llvm/include/llvm/Support/
Endian.h 10 // This file declares generic functions to read and write endian specific data.
45 /// Read a value of a particular endianness from memory.
49 inline value_type read(const void *memory) { function in namespace:llvm::support::endian
59 /// Read a value of a particular endianness from a buffer, and increment the
64 value_type ret = read<value_type, endian, alignment>(memory);
84 /// Read a value of a particular endianness from memory, for a location
90 return read<value_type, endian, alignment>(memory);
92 // Read two values and compose the result from them.
127 // Read two values and shift the result into them.
177 return endian::read<value_type, endian, alignment>
    [all...]
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/
DeltaInputStream.java 45 * is read
69 public int read() throws IOException { method in class:DeltaInputStream
70 return read(tempBuf, 0, 1) == -1 ? -1 : (tempBuf[0] & 0xFF);
76 * This calls <code>in.read(buf, off, len)</code> and defilters the
81 * @param len maximum number of bytes to read
83 * @return number of bytes read, or <code>-1</code> to indicate
91 public int read(byte[] buf, int off, int len) throws IOException { method in class:DeltaInputStream
103 size = in.read(buf, off, len);
  /external/mesa3d/src/gallium/auxiliary/rbug/
rbug_connection.c 76 size_t read = 0; local
93 uint8_t *ptr = ((uint8_t*)data) + read;
94 ret = u_socket_recv(c->socket, ptr, length - read);
101 read += ret;
102 } while(read < length);
  /external/mesa3d/src/gallium/state_trackers/dri/common/
dri_context.c 220 struct dri_drawable *read = dri_drawable(driReadPriv); local
240 read->texture_stamp = driReadPriv->lastStamp - 1;
243 ctx->stapi->make_current(ctx->stapi, ctx->st, &draw->base, &read->base);
  /external/mockito/src/org/mockito/internal/util/reflection/
InstanceField.java 15 * Contains the instance reference on which the field can be read adn write.
35 * Safely read the field.
40 public Object read() { method in class:InstanceField
41 return reader().read();
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
ScalingList.java 23 import com.googlecode.mp4parser.h264.read.CAVLCReader;
57 public static ScalingList read(CAVLCReader is, int sizeOfScalingList) method in class:ScalingList
  /external/opencv3/3rdparty/openexr/IlmImf/
ImfStdIO.cpp 69 THROW (Iex::InputExc, "Early end of file: read " << is.gcount()
124 StdIFStream::read (char c[/*n*/], int n) function in class:Imf::StdIFStream
130 _is->read (c, n);
ImfXdr.h 49 // read<R> (T &i, S &v); reads the machine-independent
60 // The write() and read() routines are templates; data can be written
61 // to and read from any output or input buffer type T for which a helper
63 // in a T, and a method to read a char array from a T:
76 // ... // Read n characters from input buffer i
94 // is.read (c, n);
198 // Read data from an input stream
203 read (T &in, bool &v);
207 read (T &in, char &v);
211 read (T &in, signed char &v)
607 read (T &in, bool &v) function in namespace:Imf::Xdr
618 read (T &in, char &v) function in namespace:Imf::Xdr
626 read (T &in, signed char &v) function in namespace:Imf::Xdr
634 read (T &in, unsigned char &v) function in namespace:Imf::Xdr
642 read (T &in, signed short &v) function in namespace:Imf::Xdr
655 read (T &in, unsigned short &v) function in namespace:Imf::Xdr
668 read (T &in, signed int &v) function in namespace:Imf::Xdr
683 read (T &in, unsigned int &v) function in namespace:Imf::Xdr
698 read (T &in, signed long &v) function in namespace:Imf::Xdr
739 read (T &in, unsigned long &v) function in namespace:Imf::Xdr
781 read (T &in, Int64 &v) function in namespace:Imf::Xdr
802 read (T &in, float &v) function in namespace:Imf::Xdr
821 read (T &in, double &v) function in namespace:Imf::Xdr
844 read (T &in, half &v) function in namespace:Imf::Xdr
856 read (T &in, char v[], int n) \/\/ fixed-size char array function in namespace:Imf::Xdr
864 read (T &in, int n, char v[]) \/\/ zero-terminated string function in namespace:Imf::Xdr
    [all...]
  /external/opencv3/samples/cpp/
filestorage.cpp 23 << "For example, how to create a class and have it serialize, but also how to use it to read and write matrices.\n"
45 void read(const FileNode& node) //Read serialization for this class function in struct:MyData
54 //These write and read functions must exist as per the inline functions in operations.hpp
58 static void read(const FileNode& node, MyData& x, const MyData& default_value = MyData()){ function
62 x.read(node);
106 //read
108 FileStorage fs(filename, FileStorage::READ);
143 cout << "read mdata\n";
146 cout << "attempting to read mdata_b\n"; //Show default behavior for empty matri
    [all...]
  /external/opencv3/samples/cpp/tutorial_code/core/file_input_output/
file_input_output.cpp 18 << " - use it to read and write matrices." << endl;
32 void read(const FileNode& node) //Read serialization for this class function in class:MyData
44 //These write and read functions must be defined for the serialization in FileStorage to work
49 static void read(const FileNode& node, MyData& x, const MyData& default_value = MyData()){ function
53 x.read(node);
99 {//read
102 fs.open(filename, FileStorage::READ);
115 FileNode n = fs["strings"]; // Read string sequence - Get node
127 n = fs["Mapping"]; // Read mappings from a sequenc
    [all...]
  /external/proguard/src/proguard/io/
ClassReader.java 34 * Class files are read as ProgramClass objects or LibraryClass objects,
71 public void read(DataEntry dataEntry) throws IOException method in class:ClassReader
  /external/skia/src/pdf/
SkJpegInfo.cpp 19 bool read() { function in class:__anon23111::JpegSegment
82 if (!segment.read() || segment.marker() != kSOI) {
85 if (!segment.read() || segment.marker() != kAPP0) {
95 if (!segment.read()) {
  /external/skia/tests/
EGLImageTest.cpp 44 bool read = externalTexture->readPixels(0, 0, externalTexture->width(), local
47 if (!read) {
PDFDeflateWStreamTest.cpp 78 size_t read = src->read(&inputBuffer, kBufferSize); local
79 if (read == 0)
82 flateData.avail_in = SkToUInt(read);
150 SkDEBUGCODE(size_t rb =)decompressed->read(&c, sizeof(uint8_t));
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
MemoryDataStore.java 57 @Override public int read() throws IOException { method
64 @Override public int read(byte[] b) throws IOException { method
77 @Override public int read(byte[] b, int off, int len) throws IOException { method
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
ByteBuffer.java 73 * @throws IOException If the stream cannot be read.
82 int read; local
83 while ((read = in.read(this.buffer, this.length, chunk)) > 0)
85 this.length += read;
86 if (read == chunk)

Completed in 975 milliseconds

<<11121314151617181920>>