/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
ByteArrayPool.java | 27 * supply those buffers to consumers who need to use them for a short period of time and then 28 * dispose of them. Simply creating and disposing such buffers in the conventional manner can 31 * permanently allocated pool of buffers in order to gain heap performance improvements; that is 35 * <code>byte[]</code> buffers to copy data around. In these use cases, often the consumer wants 39 * free to return buffers larger than the requested size. The caller needs to be able to gracefully 40 * deal with getting buffers any size over the minimum. 45 * This class has no special ownership of buffers it creates; the caller is free to take a buffer 50 * This class ensures that the total size of the buffers in its recycling pool never exceeds a 52 * least-recently-used buffers are disposed. 59 /** The total size of the buffers in the pool * [all...] |
/external/jetty/src/java/org/eclipse/jetty/http/ |
HttpBuffers.java | 21 import org.eclipse.jetty.io.Buffers; 73 public Buffers.Type getRequestBufferType(); 78 public Buffers.Type getRequestHeaderType(); 83 public Buffers.Type getResponseBufferType(); 88 public Buffers.Type getResponseHeaderType(); 93 public void setRequestBuffers(Buffers requestBuffers); 98 public void setResponseBuffers(Buffers responseBuffers); 100 public Buffers getRequestBuffers(); 102 public Buffers getResponseBuffers();
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_clear.c | 39 unsigned buffers, 62 if ((buffers & PIPE_CLEAR_COLOR) && fb->cbufs[0]) { 70 if ((buffers & PIPE_CLEAR_DEPTHSTENCIL) && fb->zsbuf) { 71 if (buffers & PIPE_CLEAR_DEPTH) 75 (buffers & PIPE_CLEAR_STENCIL)) 107 svga_clear(struct pipe_context *pipe, unsigned buffers, 114 if (buffers & PIPE_CLEAR_COLOR) 121 ret = try_clear( svga, buffers, color, depth, stencil ); 128 ret = try_clear( svga, buffers, color, depth, stencil );
|
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoEncoderMPEG4.cpp | 81 OMX_BUFFERHEADERTYPE **buffers, 95 LOGV_IF(buffers[INPORT_INDEX]->nFlags & OMX_BUFFERFLAG_EOS, 98 if (!buffers[INPORT_INDEX]->nFilledLen) { 103 inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset; 104 inBuf.size = buffers[INPORT_INDEX]->nFilledLen; 107 inBuf.timeStamp = buffers[INPORT_INDEX]->nTimeStamp; 112 buffers[OUTPORT_INDEX]->pBuffer + buffers[OUTPORT_INDEX]->nOffset; 114 outBuf.bufferSize = buffers[OUTPORT_INDEX]->nAllocLen - buffers[OUTPORT_INDEX]->nOffset [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3Stream.h | 45 * buffers may still be returned. 47 * STATE_CONSTRUCTED: The stream is ready for configuration, but buffers cannot 48 * be gotten yet. Not connected to any endpoint, no buffers are registered 57 * re-registering buffers with HAL. 59 * STATE_CONFIGURED: Stream is configured, and has registered buffers with the 63 * STATE_PREPARING: The stream's buffers are being pre-allocated for use. On 65 * buffers may be allocated at time of first use. But some use cases require 81 * When finishConfiguration() fails to allocate or register buffers. 88 * When finishConfiguration() fails to allocate or register buffers. 97 * all stream buffers, or cancelPrepare is called [all...] |
Camera3StreamInterface.h | 80 * NO_MEMORY in case of an error registering buffers 101 * when no valid buffers have yet been returned to this stream. 108 * OK if no more buffers need to be preallocated 126 * Returns OK and transitions to the CONFIGURED state if all buffers 130 * OK if no more buffers need to be preallocated, and transitions 143 * Buffers that have been allocated with prepareNextBuffer remain that way, 155 * Tear down memory for this stream. This frees all unused gralloc buffers 174 * buffers. 182 * This method may only be called for buffers provided by getBuffer(). 183 * For bidirectional streams, this method applies to the output-side buffers [all...] |
/docs/source.android.com/src/devices/camera/ |
camera3_error_stream.jd | 40 or the output buffers must not be reported in this case.</li> 41 <li>If the metadata for a capture cannot be produced, but some image buffers were 44 produced or some other buffers were filled, the HAL must call notify() with 49 metadata could not be produced, it should be NULL. If some buffers could not be 64 such a stream has already had its buffers registered, register_stream_buffers() 65 will not be called again for the stream, and buffers from the stream can be 70 then reallocate the stream buffers, and call register_stream_buffers() again 71 before using buffers from that stream in a request.<br/> 74 configure() call by the framework, and all the gralloc buffers for it will be 86 framework and the platform gralloc module to allocate the gralloc buffers for [all...] |
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/ |
BufferPerformanceBench.java | 64 * Each benchmark thread maintains three buffers; a receive buffer, a process buffer 77 * responses are satisfied with precomputed buffers to eliminate GC effects on 85 * buffers can be read from and written to during request/response handling but 100 public void threads1hot(HotBuffers buffers) throws IOException { 101 readWriteRecycle(buffers); 106 public void threads2hot(HotBuffers buffers) throws IOException { 107 readWriteRecycle(buffers); 112 public void threads4hot(HotBuffers buffers) throws IOException { 113 readWriteRecycle(buffers); 118 public void threads8hot(HotBuffers buffers) throws IOException [all...] |
/hardware/intel/common/libva/test/basic/ |
testplan.txt | 48 - Create and destroy buffers 54 - Map & unmap buffers 68 - Render single MPEG2 I-frame, split buffers 69 - Slice split over 2 buffers 72 - Render single MPEG2 I-frame, split buffers 73 - Slice split over 3 buffers
|
/external/skia/src/gpu/ |
GrBufferAllocPool.h | 19 * A pool of geometry buffers tied to a GrGpu. 23 * it calls unmap on the pool ensure buffers are ready for drawing. The pool 27 * a number of buffers to preallocate can be specified. These will 33 * Ensures all buffers are unmapped and have all data written to them. 34 * Call before drawing using buffers from the pool. 39 * Invalidates all the data in the pool, unrefs non-preallocated buffers. 50 * Used to determine what type of buffers to create. We could make the 52 * pre-allocated buffers. 62 * @param gpu The GrGpu used to create the buffers. 63 * @param bufferType The type of buffers to create [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_driver.c | 96 nouveau_clear(struct gl_context *ctx, GLbitfield buffers) 109 buf = buffers & (1 << i); 124 buffers &= ~buf; 128 (buffers & BUFFER_BIT_DEPTH && 130 (buffers & BUFFER_BIT_STENCIL ? 140 buffers &= ~(BUFFER_BIT_DEPTH | BUFFER_BIT_STENCIL); 144 if (buffers) 145 _mesa_meta_Clear(ctx, buffers);
|
/frameworks/native/include/gui/ |
BufferQueueDefs.h | 26 // BufferQueue will keep track of at most this value of buffers. 27 // Attempts at runtime to increase the number of buffers past this
|
/libcore/luni/src/main/java/java/nio/ |
PipeImpl.java | 82 public long read(ByteBuffer[] buffers) throws IOException { 83 return channel.read(buffers); 86 public long read(ByteBuffer[] buffers, int offset, int length) throws IOException { 87 return channel.read(buffers, offset, length); 117 public long write(ByteBuffer[] buffers) throws IOException { 118 return channel.write(buffers); 121 public long write(ByteBuffer[] buffers, int offset, int length) throws IOException { 122 return channel.write(buffers, offset, length);
|
/external/mesa3d/docs/ |
ARB_color_buffer_float.txt | 2 - Rendering to multiple render targets, some fixed-point, some floating-point, with FIXED_ONLY fragment clamping and polygon smooth enabled may write incorrect values to the fixed point buffers (depends on spec interpretation)
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_clear.c | 44 * Clear the given buffers to the specified values. 49 unsigned buffers, 60 buffers &= ~PIPE_CLEAR_DEPTHSTENCIL; 62 lp_setup_clear( llvmpipe->setup, color->f, depth, stencil, buffers );
|
/external/skia/src/gpu/gl/debug/ |
GrFBBindableObj.h | 16 // A common base class for render buffers and textures 81 SkTDArray<GrFakeRefObj *> fColorReferees; // frame buffers that use this as a color buffer (via "glFramebufferRenderbuffer" or "glFramebufferTexture2D") 82 SkTDArray<GrFakeRefObj *> fDepthReferees; // frame buffers that use this as a depth buffer (via "glFramebufferRenderbuffer" or "glFramebufferTexture2D") 83 SkTDArray<GrFakeRefObj *> fStencilReferees; // frame buffers that use this as a stencil buffer (via "glFramebufferRenderbuffer" or "glFramebufferTexture2D")
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
JpegCompressor.h | 19 * This class simulates a hardware JPEG compressor. It receives image buffers 49 // Start compressing COMPRESSED format buffers; JpegCompressor takes 50 // ownership of the Buffers vector. 51 status_t start(Vector<CpuConsumer::LockedBuffer*> buffers,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
sparse_table_dict_content.h | 33 AK_FORCE_INLINE SparseTableDictContent(const ReadWriteByteArrayView *const buffers, 35 : mExpandableLookupTableBuffer(buffers[LOOKUP_TABLE_BUFFER_INDEX], 37 mExpandableAddressTableBuffer(buffers[ADDRESS_TABLE_BUFFER_INDEX], 39 mExpandableContentBuffer(buffers[CONTENT_BUFFER_INDEX],
|
/external/mesa3d/src/mesa/main/ |
buffers.h | 2 * \file buffers.h 44 _mesa_DrawBuffersARB(GLsizei n, const GLenum *buffers); 47 _mesa_drawbuffers(struct gl_context *ctx, GLuint n, const GLenum *buffers,
|
/external/mesa3d/src/mesa/swrast/ |
s_clear.c | 171 * Clear the front/back/left/right/aux color buffers. 173 * clear its own color buffers for some reason (such as with masking). 197 * device driver can't clear one or more of the buffers itself. 198 * \param buffers bitfield of BUFFER_BIT_* values indicating which 203 _swrast_Clear(struct gl_context *ctx, GLbitfield buffers) 218 assert((buffers & (~legalBits)) == 0); 228 if ((buffers & BUFFER_BITS_COLOR) 233 if (buffers & BUFFER_BIT_ACCUM) { 237 if (buffers & BUFFER_DS) { 243 if ((buffers & BUFFER_DS) == BUFFER_DS && depthRb == stencilRb) [all...] |
/external/protobuf/examples/ |
README.txt | 1 This directory contains example code that uses Protocol Buffers to manage an 24 These examples are part of the Protocol Buffers tutorial, located at: 25 https://developers.google.com/protocol-buffers/docs/tutorials
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLId.java | 26 public void glGenBuffers(int n, int[] buffers, int offset); 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); 32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLId.java | 26 public void glGenBuffers(int n, int[] buffers, int offset); 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); 32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLId.java | 26 public void glGenBuffers(int n, int[] buffers, int offset); 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); 32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset);
|
/external/libnfc-nci/src/include/ |
gki_target.h | 146 /* TRUE if GKI uses dynamic buffers. */ 151 /* The size of the buffers in pool 0. */ 156 /* The number of buffers in buffer pool 0. */ 166 /* The size of the buffers in pool 1. */ 171 /* The number of buffers in buffer pool 1. */ 181 /* The size of the buffers in pool 2. */ 186 /* The number of buffers in buffer pool 2. */ 196 /* The size of the buffers in pool 3. */ 201 /* The number of buffers in buffer pool 3. */ 223 of TX buffers based on active instances. OBX will only use these if packet siz [all...] |