/art/test/070-nio-buffer/ |
info.txt | 1 Exercise NIO buffers (e.g. java.nio.ByteBuffer).
|
/dalvik/tests/070-nio-buffer/ |
info.txt | 1 Exercise NIO buffers (e.g. java.nio.ByteBuffer).
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLES20IdImpl.java | 19 public void glGenBuffers(int n, int[] buffers, int offset) { 20 GLES20.glGenBuffers(n, buffers, offset); 32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { 33 GLES20.glDeleteBuffers(n, buffers, offset); 38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { 39 GLES20.glDeleteFramebuffers(n, buffers, offset);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES20IdImpl.java | 19 public void glGenBuffers(int n, int[] buffers, int offset) { 20 GLES20.glGenBuffers(n, buffers, offset); 32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { 33 GLES20.glDeleteBuffers(n, buffers, offset); 38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { 39 GLES20.glDeleteFramebuffers(n, buffers, offset);
|
GLES11IdImpl.java | 38 public void glGenBuffers(int n, int[] buffers, int offset) { 41 buffers[offset + n] = sNextId++; 54 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { 56 gl.glDeleteBuffers(n, buffers, offset); 61 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { 63 gl11ep.glDeleteFramebuffersOES(n, buffers, offset);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLES20IdImpl.java | 19 public void glGenBuffers(int n, int[] buffers, int offset) { 20 GLES20.glGenBuffers(n, buffers, offset); 32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { 33 GLES20.glDeleteBuffers(n, buffers, offset); 38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { 39 GLES20.glDeleteFramebuffers(n, buffers, offset);
|
/external/chromium_org/third_party/tlslite/tlslite/ |
FileObject.py | 61 data = str(data) # XXX Should really reject non-string non-buffers 72 # XXX Should really reject non-string non-buffers 88 buffers = [] 90 buffers.append(data) 100 buffers.append(data) 101 return "".join(buffers) 108 buffers = [] 110 buffers.append(data) 118 buffers.append(data) 122 buffers[-1] = data[:left [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
GatheringByteChannel.java | 23 * The interface for channels that can write a set of buffers in a single 30 * Writes bytes from all the given buffers to a channel. 32 * This method is equivalent to: {@code write(buffers, 0, buffers.length);} 34 * @param buffers 35 * the buffers containing bytes to be written. 49 * {@code buffers}. 56 public long write(ByteBuffer[] buffers) throws IOException; 60 * byte buffers, in order, starting at {@code buffers[offset]}. The numbe [all...] |
ScatteringByteChannel.java | 23 * The interface for channels that can read data into a set of buffers in a 30 * Reads bytes from this channel into the specified array of buffers. 32 * This method is equivalent to {@code read(buffers, 0, buffers.length);} 34 * @param buffers 35 * the array of byte buffers to store the bytes being read. 52 public long read(ByteBuffer[] buffers) throws IOException; 56 * buffers, in order, starting at {@code buffers[offset]}. The number of 62 * @param buffers [all...] |
/external/chromium_org/ppapi/api/dev/ |
ppp_video_capture_dev.idl | 21 * and the array of buffers that the browser will use to send pixel data. 25 * |buffer_count| is the number of buffers, and |buffers| is the array of 26 * PPB_Buffer_Dev buffers. 28 * Note: the buffers are passed without an extra reference. The plugin is 29 * expected to add its own references to the buffers. 35 [in, size_is(buffer_count)] PP_Resource[] buffers); 49 * - PP_ERROR_NOMEMORY: not enough memory was available to allocate buffers.
|
/external/chromium_org/ppapi/c/dev/ |
ppp_video_capture_dev.h | 37 * and the array of buffers that the browser will use to send pixel data. 41 * |buffer_count| is the number of buffers, and |buffers| is the array of 42 * PPB_Buffer_Dev buffers. 44 * Note: the buffers are passed without an extra reference. The plugin is 45 * expected to add its own references to the buffers. 51 const PP_Resource buffers[]); 63 * - PP_ERROR_NOMEMORY: not enough memory was available to allocate buffers.
|
/frameworks/native/include/gui/ |
CpuConsumer.h | 35 * access to the underlying gralloc buffers provided by BufferQueue. Multiple 36 * buffers may be acquired by it at once, to be used concurrently by the 68 // how many buffers can be locked for user access at the same time. 78 // setDefaultBufferSize is used to set the size of buffers returned by 84 // setDefaultBufferFormat allows CpuConsumer's BufferQueue to create buffers 93 // NOT_ENOUGH_DATA if the maximum number of buffers is already locked. 95 // Only a fixed number of buffers can be locked at a time, determined by the 97 // returned by lockNextBuffer, then old buffers must be returned to the queue 98 // by calling unlockBuffer before more buffers can be acquired. 102 // only a fixed number of buffers may be locked at a time, old buffers mus [all...] |
BufferItemConsumer.h | 36 * access to the whole BufferItem entry from BufferQueue. Multiple buffers may 52 // bufferCount parameter specifies how many buffers can be locked for user 68 // of buffers is empty, and INVALID_OPERATION if the maximum number of 69 // buffers is already acquired. 71 // Only a fixed number of buffers can be acquired at a time, determined by 73 // returned by acquireBuffer, then old buffers must be returned to the 74 // queue by calling releaseBuffer before more buffers can be acquired. 82 // only a fixed number of buffers may be acquired at a time, old buffers 83 // must be released by calling releaseBuffer to ensure new buffers can b [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
FileChannelTest.java | 70 // Check that both direct and non-direct buffers work. 72 ByteBuffer[] buffers = new ByteBuffer[] { ByteBuffer.allocateDirect(4), ByteBuffer.allocate(4) }; local 73 assertEquals(8, fc.read(buffers)); 75 assertEquals(8, buffers[0].limit() + buffers[1].limit()); 77 buffers[0].flip(); 78 buffers[0].get(bytes); 80 buffers[1].flip(); 81 buffers[1].get(bytes); 88 // Check that both direct and non-direct buffers work 89 ByteBuffer[] buffers = new ByteBuffer[] { ByteBuffer.allocateDirect(4), ByteBuffer.allocate(4) }; local [all...] |
/external/chromium_org/media/base/ |
decoder_buffer_queue.h | 21 // queue i.e., the queue must have at least 2 in-order buffers to calculate 41 // Removes all queued buffers. 48 // the timestamps of the earliest and latest buffers, ignoring out of order 49 // buffers. 58 // A subset of |queue_| that contains buffers that are in strictly 60 // out-of-order buffers.
|
/device/generic/goldfish/camera/fake-pipeline2/ |
JpegCompressor.h | 19 * This class simulates a hardware JPEG compressor. It receives image buffers 57 // Start compressing COMPRESSED format buffers; JpegCompressor takes 58 // ownership of the Buffers vector. 59 status_t start(Buffers *buffers, JpegListener *listener); 62 status_t compressSynchronous(Buffers *buffers); 82 Buffers *mBuffers;
|
/external/valgrind/main/memcheck/tests/ |
null_socket.c | 7 // It's legit to have NULL buffers; before the bug was fixed Valgrind 8 // reported spurious errors for the buffers.
|
/hardware/libhardware/modules/camera/ |
Stream.h | 34 // Register buffers with hardware 54 // Handle to framework's stream, used as a cookie for buffers 58 // Width in pixels of the buffers in this stream 60 // Height in pixels of the buffers in this stream 66 // Max simultaneous in-flight buffers for this stream 68 // Buffers have been registered for this stream and are ready 70 // Array of handles to buffers currently in use by the stream 72 // Number of buffers in mBuffers
|
/external/chromium_org/media/filters/ |
source_buffer_stream_unittest.cc | 315 SourceBufferStream::BufferQueue buffers; local 336 buffers.push_back(buffer); 340 EXPECT_EQ(expect_success, stream_->Append(buffers)); 345 for (size_t i = 0; i < buffers.size(); i++) { 347 wrapper.push_back(buffers[i]); 359 // Append 15 buffers at positions 0 through 14. 364 // Check buffers in range. 370 // Append 15 buffers starting at position 0, one buffer at a time. 377 // Check buffers in range. 383 // Append 5 buffers at positions 0 through 4 [all...] |
/external/chromium_org/gpu/ |
gles2_cmd_helper.gypi | 6 # Library helps make GLES2 command buffers.
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/ |
package.html | 11 for reading from {@link com.jme3.scene.mesh.IndexBuffer index buffers}. 15 <li>{@link com.jme3.scene.mesh.IndexByteBuffer} - For reading 8-bit index buffers</li> 16 <li>{@link com.jme3.scene.mesh.IndexShortBuffer} - For reading 16-bit index buffers</li> 17 <li>{@link com.jme3.scene.mesh.IndexIntBuffer} - For reading 32-bit index buffers</li>
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_GL_SwapBuffers.3 | 11 Swap the OpenGL buffers, if double-buffering is supported\&.
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
TrustletSession.cpp | 55 if (!buffers.empty()) { 56 LOG_W("%s: Mapped buffers still available %u", __func__, buffers.size()); 58 for ( it = buffers.begin() ; it != buffers.end(); it++ ) 61 buffers.clear(); 91 if (buffers.find(pWsm->handle) != buffers.end()) { 95 buffers[pWsm->handle] = pWsm; 102 if (buffers.find(handle) == buffers.end()) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_clear.h | 37 * Clear the given buffers to the specified values. 42 struct pipe_framebuffer_state *framebuffer, unsigned buffers, 45 if (buffers & PIPE_CLEAR_COLOR) { 53 if (buffers & PIPE_CLEAR_DEPTHSTENCIL) { 55 pipe->clear_depth_stencil(pipe, ps, buffers & PIPE_CLEAR_DEPTHSTENCIL,
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_clear.h | 37 * Clear the given buffers to the specified values. 42 struct pipe_framebuffer_state *framebuffer, unsigned buffers, 45 if (buffers & PIPE_CLEAR_COLOR) { 53 if (buffers & PIPE_CLEAR_DEPTHSTENCIL) { 55 pipe->clear_depth_stencil(pipe, ps, buffers & PIPE_CLEAR_DEPTHSTENCIL,
|