Searched defs:read (Results 151 - 175 of 531) sorted by relevance

1234567891011>>

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DRecyclableBufferedInputStream.java49 * The buffer containing the current bytes read from the target InputStream.
83 * Returns an estimated number of bytes that can be read or skipped without blocking for more
125 int result = localIn.read(localBuf);
137 // read is called.
156 int bytesread = localIn.read(localBuf, pos, localBuf.length - pos);
163 * indicates how many bytes can be read before a mark is invalidated.
170 * the number of bytes that can be read before the mark is
208 * @return the byte read or -1 if the end of the source stream has been
214 public synchronized int read() throws IOException { method in class:RecyclableBufferedInputStream
245 * number of bytes actually read o
263 public synchronized int read(byte[] buffer, int offset, int byteCount) throws IOException { method in class:RecyclableBufferedInputStream
[all...]
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
H A DGifHeaderParser.java21 // Raw data read working array
61 // read GIF file content blocks
64 int code = read();
70 code = read();
113 read(); // block size
114 int packed = read(); // packed fields
122 header.currentFrame.transIndex = read(); // transparent color index
123 read(); // block terminator
135 int packed = read();
143 header.currentFrame.lct = readColorTable(lctSize); // read tabl
390 private int read() { method in class:GifHeaderParser
[all...]
/external/icu/icu4c/source/tools/toolutil/
H A Duparse.c209 /* read one code point */
269 /* read one code point */
294 /* read a range like start or start..end */
311 /* read the start code point */
328 /* read the end code point */
365 const char *read = source; local
372 while(read < source+sLen) {
373 sscanf(read, "%2x", &value);
378 read += 2;
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
H A DClassHeaderReader.java53 public void read(InputStream in) throws IOException { method in class:ClassHeaderReader
146 bsize += read(in, b, bsize, rounded - bsize);
152 private static int read(InputStream in, byte[] b, int off, int len) throws IOException { method in class:ClassHeaderReader
155 int result = in.read(b, off + total, len - total);
/external/javassist/sample/preproc/
H A DCompiler.java91 while ((c = reader.read()) != -1) {
103 while ((c = input.read()) != -1)
112 c = reader.read();
117 while ((c = reader.read()) != -1) {
132 word[i] = reader.read();
145 c = reader.read();
158 reader.read(); // skip 'y'
192 return reader.read();
205 c = reader.read();
216 c = reader.read();
310 public int read() throws IOException { method in class:CommentSkipper
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DAttributeInfo.java28 // update AttributeInfo.read(), .copy(), and (maybe) write().
71 static AttributeInfo read(ConstPool cp, DataInputStream in) method in class:AttributeInfo
H A DFieldInfo.java62 read(in);
245 private void read(DataInputStream in) throws IOException { method in class:FieldInfo
252 attribute.add(AttributeInfo.read(constPool, in));
/external/lldb/tools/debugserver/source/
H A DDNBArch.h79 virtual uint32_t EnableHardwareWatchpoint (nub_addr_t addr, nub_size_t size, bool read, bool write, bool also_set_on_task) { return INVALID_NUB_HW_INDEX; } argument
/external/mesa3d/src/egl/main/
H A Deglcontext.c478 _eglCheckMakeCurrent(_EGLContext *ctx, _EGLSurface *draw, _EGLSurface *read) argument
489 if (draw || read)
496 && (draw == NULL || read == NULL))
502 * "If ctx is current to some other thread, or if either draw or read are
518 if (read && read->CurrentContext && read->CurrentContext != ctx) {
519 if (read->CurrentContext->Binding != t ||
520 read->CurrentContext->ClientAPI != ctx->ClientAPI)
526 (read
559 _eglBindContext(_EGLContext *ctx, _EGLSurface *draw, _EGLSurface *read, _EGLContext **old_ctx, _EGLSurface **old_draw, _EGLSurface **old_read) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/dri/common/
H A Ddri_context.c220 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/mesa3d/src/gallium/state_trackers/dri/drm/
H A Ddri_context.c220 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/mesa3d/src/gallium/state_trackers/dri/sw/
H A Ddri_context.c220 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/mesa3d/src/glx/
H A Dglxcurrent.c211 GLXDrawable read, GLXContext gc_user)
234 if (gc == NULL && (draw != None || read != None)) {
235 __glXGenerateError(dpy, (draw != None) ? draw : read,
239 if (gc != NULL && (draw == None || read == None)) {
248 gc->currentDrawable == draw && gc->currentReadable == read) {
269 if (gc->vtable->bind(gc, oldGC, draw, read) != Success) {
279 gc->currentReadable = read;
210 MakeContextCurrent(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext gc_user) argument
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DPipeline.java35 * Input class for the pipelined parser. Buffer all bytes read from the socket
162 public int read() throws IOException { method in class:Pipeline
/external/okhttp/okio/src/main/java/okio/
H A DByteString.java126 * bytes to read.
128 public static ByteString read(InputStream in, int byteCount) throws IOException { method in class:ByteString
130 for (int offset = 0, read; offset < byteCount; offset += read) {
131 read = in.read(result, offset, byteCount - offset);
132 if (read == -1) throw new EOFException();
H A DGzipSource.java62 @Override public long read(OkBuffer sink, long byteCount) throws IOException { method in class:GzipSource
72 // Attempt to read at least a byte of the body. If we do, we're done.
75 long result = inflaterSource.read(sink, byteCount);
83 // The body is exhausted; time to read the trailer. We always consume the
84 // trailer before returning a -1 exhausted result; that way if you read to
104 // need to CRC the entire header. Then we read the magic ID1ID2 sequence.
/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/pdfium/core/include/thirdparties/freetype/freetype/
H A Dftsystem.h13 /* this file you indicate that you have read the license and */
230 * A function used to seek and read data from a given input stream.
237 * The offset of read in stream (always from start).
240 * The address of the read buffer.
243 * The number of bytes to read from the stream.
246 * The number of bytes effectively read by the stream.
308 * read ::
336 FT_Stream_IoFunc read; member in struct:FT_StreamRec_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
H A Dftsystem.h13 /* this file you indicate that you have read the license and */
230 * A function used to seek and read data from a given input stream.
237 * The offset of read in stream (always from start).
240 * The address of the read buffer.
243 * The number of bytes to read from the stream.
246 * The number of bytes effectively read by the stream.
308 * read ::
336 FT_Stream_IoFunc read; member in struct:FT_StreamRec_
/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/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).
44 /** Return the number of bytes that have been read from the beginning
52 /** Return true if the buffer has read to the end of the data pointer.
61 virtual bool read(void* buffer, size_t size) { function in class:SkRBuffer
71 bool readPtr(void** ptr) { return read(ptr, sizeof(void*)); }
72 bool readScalar(SkScalar* x) { return read(x, 4); }
73 bool readU32(uint32_t* x) { return read(x, 4); }
74 bool readS32(int32_t* x) { return read(x, 4); }
75 bool readU16(uint16_t* x) { return read(
[all...]
/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...]

Completed in 6647 milliseconds

1234567891011>>