Searched defs:read (Results 251 - 275 of 539) sorted by relevance

<<11121314151617181920>>

/external/opencv/cxcore/src/
H A Dcximage.cpp111 CV_FUNCNAME( "CvImage::read" );
147 bool CvImage::read( CvFileStorage* fs, const char* mapname, const char* imgname ) function in class:CvImage
167 bool CvImage::read( CvFileStorage* fs, const char* seqname, int idx ) function in class:CvImage
262 CV_FUNCNAME( "CvMatrix::read" );
300 bool CvMatrix::read( CvFileStorage* fs, const char* mapname, const char* matname ) function in class:CvMatrix
320 bool CvMatrix::read( CvFileStorage* fs, const char* seqname, int idx ) function in class:CvMatrix
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DAbstractMessageLite.java237 public int read() throws IOException { method in class:AbstractMessageLite.Builder.LimitedInputStream
241 final int result = super.read();
249 public int read(final byte[] b, final int off, int len) method in class:AbstractMessageLite.Builder.LimitedInputStream
255 final int result = super.read(b, off, len);
276 final int firstByte = input.read();
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DCodedInputStreamTest.java79 public int read(byte[] b) throws IOException { method in class:CodedInputStreamTest.SmallBlockInputStream
80 return super.read(b, 0, Math.min(b.length, blockSize));
83 public int read(byte[] b, int off, int len) throws IOException { method in class:CodedInputStreamTest.SmallBlockInputStream
84 return super.read(b, off, Math.min(len, blockSize));
113 // doesn't read past the end of the input, so we copy to a new, bigger
342 // In order to expose the bug we need to read at least one byte to prime the
487 * Tests that if we read an string that contains invalid UTF-8, no exception
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_rwops.h24 * This file provides a general interface for SDL to read and write
40 /** This is the read/write operation structure -- very basic */
51 * Returns the number of objects read, or -1 if the read failed.
53 int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum); member in struct:SDL_RWops
116 #define RW_SEEK_CUR 1 /**< Seek relative to current read point */
120 /** @name Macros to easily read and write from an SDL_RWops structure */
124 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
/external/skia/legacy/include/core/
H A DSkBuffer.h18 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.
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; }
72 uint16_t readU16() { uint16_t x; read(
[all...]
H A DSkReader32.h80 void read(void* dst, size_t size) { function in class:SkReader32
/external/skia/src/core/
H A DSkBuffer.h18 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.
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; }
72 uint16_t readU16() { uint16_t x; read(
[all...]
/external/skia/src/utils/win/
H A DSkDWriteFontFileStream.cpp49 size_t SkDWriteFontFileStream::read(void* buffer, size_t size) { function in class:SkDWriteFontFileStream
83 //The read may have failed because we asked for too much data.
91 size_t read = fileSize - fPos; local
92 hr = fFontFileStream->ReadFileFragment(&start, fPos, read, &fragmentLock);
94 memcpy(buffer, start, read);
97 return read;
184 if (fStream->read(streamData.get(), static_cast<size_t>(fragmentSize)) != fragmentSize) {
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DByteArrayInput.java40 /** &gt;= 0; current read cursor */
245 public void read(byte[] bytes, int offset, int length) { method in class:ByteArrayInput
257 public void read(byte[] bytes) { method in class:ByteArrayInput
308 * Throws the excpetion for when an attempt is made to read past the
312 throw new IndexOutOfBoundsException("attempt to read past the end");
/external/tcpdump/
H A Dtcpdump-stdinc.h65 #define read _read macro
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DFontCustomPlatformData.cpp146 virtual size_t read(void* buffer, size_t size) function in class:WebCore::RemoteFontStream
152 // This is a request to read bytes or skip bytes (when buffer is 0).
/external/webkit/Source/WebCore/platform/image-decoders/gif/
H A DGIFImageReader.cpp386 bool GIFImageReader::read(const unsigned char *buf, unsigned len, function in class:GIFImageReader
687 /* Loop entire animation specified # of times. Only read the
753 // buffer minus 9 (the amount we consumed to read the header).
/external/webkit/Source/WebKit/win/
H A DMemoryStream.cpp118 // we use this for read-only streams
196 ULONG read = min(cb.LowPart, (ULONG)(m_buffer->size()-m_pos)); local
197 HRESULT hr = pstm->Write(m_buffer->data()+m_pos, read, &written);
204 pcbRead->LowPart = read;
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
H A DManifestTest.java432 * @tests {@link java.util.jar.Manifest#read(java.io.InputStream)
438 new Manifest().read(is);
452 public int read() { method in class:ManifestTest.InputStreamImpl
/external/chromium/chrome/browser/diagnostics/
H A Ddiagnostics_main.cc88 DWORD read = sizeof(buf) - sizeof(buf[0]); local
89 if (!::ReadConsoleW(std_in_, buf, read, &read, NULL))
91 // Note that |read| is in bytes.
92 txt->assign(buf, read/2);
/external/chromium/chrome/browser/safe_browsing/
H A Dprefix_set.cc170 size_t read = fread(&header, sizeof(header), 1, file.get()); local
171 if (read != 1)
198 read = fread(&(index[0]), sizeof(index[0]), index.size(), file.get());
199 if (read != index.size())
205 read = fread(&(deltas[0]), sizeof(deltas[0]), deltas.size(), file.get());
206 if (read != deltas.size())
214 read = fread(&file_digest, sizeof(file_digest), 1, file.get());
215 if (read != 1)
/external/chromium/third_party/libjingle/source/talk/base/
H A Dsocketadapters.cc83 size_t read = 0; local
86 read = _min(cb, data_len_);
87 memcpy(pv, buffer_, read);
88 data_len_ -= read;
90 memmove(buffer_, buffer_ + read, data_len_);
92 pv = static_cast<char *>(pv) + read;
93 cb -= read;
96 // FIX: If cb == 0, we won't generate another read event
102 return res + static_cast<int>(read);
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/
H A Decho_client.py193 return self._ssl.read(size)
215 # 4.1 34. read /name/
219 # 4.1 35. read spaces
222 # 4.1 36. read /value/
224 # 4.1 37. read a byte from the server
244 # 4.1 34. read a byte from the server
260 # 4.1 35. read a byte from the server
270 # 4.1 36. read a byte from server.
560 # closes, or a 0x0A byte is read. let /field/ be these bytes, including
595 # 4.1 32-39. read field
772 def read(self, n): member in class:ClientConnection
[all...]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A Dutil.py284 # available bytes before invoking read which blocks until
390 """A wrapper class for request object to intercept write and read to
409 def read(self, size=-1): member in class:DeflateConnection
428 # TODO(tyoshino): Make this read efficient by some workaround.
430 # In 3.0.3 and prior of mod_python, read blocks until length bytes
431 # was read. We don't know the exact size to read while using
432 # deflate, so read byte-by-byte.
434 # _StandaloneRequest.read that ultimately performs
435 # socket._fileobject.read als
[all...]
/external/clang/test/CodeGenCXX/
H A Dbitfield.cpp168 unsigned read(S* s) { function in namespace:N1
212 unsigned read(S* s) { function in namespace:N2
251 unsigned read(S* s) { function in namespace:N3
299 unsigned read(Base* s) { function in namespace:N4
344 unsigned read(U* u) { function in namespace:N5
389 unsigned read(S* s) { function in namespace:N6
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DByteArray.java24 * Wrapper for a {@code byte[]}, which provides read-only access and
304 public int read() throws IOException { method in class:ByteArray.MyInputStream
314 public int read(byte[] arr, int offset, int length) { method in class:ByteArray.MyInputStream
/external/dropbear/libtomcrypt/src/headers/
H A Dtomcrypt_prng.h84 /** Ready a PRNG state to read from
92 @param prng The PRNG state to read from
93 @return Number of octets read
95 unsigned long (*read)(unsigned char *out, unsigned long outlen, prng_state *prng); member in struct:ltc_prng_descriptor
/external/e2fsprogs/misc/
H A Dblkid.c273 char *read = NULL; local
287 read = NULL;
289 read = optarg;
291 write = read;
361 if (blkid_get_cache(&cache, read) < 0)
/external/emma/core/java12/com/vladium/emma/data/
H A DDataFactory.java196 // read array in reverse order:
216 // read array in reverse order:
302 public final int read () throws IOException method in class:DataFactory.RandomAccessFileInputStream
304 final int rc = super.read ();
310 public final int read (final byte [] b, final int off, final int len) method in class:DataFactory.RandomAccessFileInputStream
313 final int rc = super.read (b, off, len);
319 public final int read (final byte [] b) throws IOException method in class:DataFactory.RandomAccessFileInputStream
321 final int rc = super.read (b);
436 // read entries until the first corrupt entry or the end of the file:
462 if (trace2) log.trace2 (method, "entry read i
[all...]
/external/freetype/src/pshinter/
H A Dpshglob.c14 /* this file you indicate that you have read the license and */
142 FT_Short* read,
161 /* read blue zone entry, and select target top/bottom zone */
165 reference = read[1];
166 delta = read[0] - reference;
174 reference = read[0];
175 delta = read[1] - reference;
222 read += 2;
230 /* Re-read blue zones from the original fonts and store them into out */
257 /* read th
139 psh_blues_set_zones_0( PSH_Blues target, FT_Bool is_others, FT_UInt read_count, FT_Short* read, PSH_Blue_Table top_table, PSH_Blue_Table bot_table ) argument
634 FT_Short* read; local
[all...]

Completed in 2388 milliseconds

<<11121314151617181920>>