/external/chromium_org/net/disk_cache/flash/ |
log_store_entry_unittest.cc | 46 scoped_refptr<net::IOBuffer> buffers[ local 50 buffers[i] = new net::IOBuffer(sizes[i]); 51 CacheTestFillBuffer(buffers[i]->data(), sizes[i], false); 52 EXPECT_EQ(sizes[i], entry->WriteData(i, 0, buffers[i].get(), sizes[i])); 64 EXPECT_EQ(0, memcmp(buffers[i]->data(), buffer->data(), sizes[i]));
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_blit.c | 104 struct i915_winsys_buffer *buffers[2] = {src_buffer, dst_buffer}; local 113 if(!i915_winsys_validate_buffers(i915->batch, buffers, 2)) { 115 assert(i915_winsys_validate_buffers(i915->batch, buffers, 2));
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_blit.c | 104 struct i915_winsys_buffer *buffers[2] = {src_buffer, dst_buffer}; local 113 if(!i915_winsys_validate_buffers(i915->batch, buffers, 2)) { 115 assert(i915_winsys_validate_buffers(i915->batch, buffers, 2));
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
TrustletSession.h | 45 std::map<uint32_t, CWsm_ptr> buffers; member in class:TrustletSession
|
/external/chromium_org/media/audio/ |
audio_util.cc | 81 int buffers = 0; local 84 if (base::StringToInt(buffers_str, &buffers) && buffers > 0) { 85 return buffers; 88 // Use 4 buffers for Vista, 3 for everyone else:
|
/external/chromium_org/ppapi/cpp/dev/ |
video_decoder_dev.cc | 41 const std::vector<PP_PictureBuffer_Dev>& buffers) { 45 pp_resource(), buffers.size(), &buffers[0]); local
|
/external/libvpx/libvpx/vp9/common/ |
vp9_reconinter.h | 61 uint8_t *buffers[4] = {src->y_buffer, src->u_buffer, src->v_buffer, local 69 setup_pred_plane(&pd->dst, buffers[i], strides[i], mi_row, mi_col, NULL, 80 uint8_t* buffers[4] = {src->y_buffer, src->u_buffer, src->v_buffer, local 87 setup_pred_plane(&pd->pre[i], buffers[j], strides[j],
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
BurstCapture.cpp | 90 Vector<CpuConsumer::LockedBuffer*> buffers; local 91 buffers.push_back(imgBuffer); 92 buffers.push_back(imgEncoded); 95 jpeg->start(buffers, 1); 99 return buffers[1];
|
/frameworks/native/include/ui/ |
FramebufferNativeWindow.h | 81 sp<NativeBuffer> buffers[MAX_NUM_FRAME_BUFFERS]; member in class:android::FramebufferNativeWindow
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
buffers.c | 27 * \file buffers.c 34 #include "buffers.h" 46 * Return bitmask of BUFFER_BIT_* flags indicating which color buffers are 93 * Given a GLenum naming one or more color buffers (such as 253 /* none of the named color buffers exist! */ 278 * \param buffers array [n] of renderbuffer names. Unlike glDrawBuffer, the 283 _mesa_DrawBuffersARB(GLsizei n, const GLenum *buffers) 304 if (buffers[output] == GL_NONE) { 308 destMask[output] = draw_buffer_enum_to_bitmask(buffers[output]); 333 _mesa_drawbuffers(ctx, n, buffers, destMask) 476 GLenum buffers[MAX_DRAW_BUFFERS]; local [all...] |
transformfeedback.c | 33 #include "buffers.h" 51 * Do reference counting of transform feedback buffers. 94 * any buffers are missing. 228 for (i = 0; i < Elements(obj->Buffers); i++) { 229 _mesa_reference_buffer_object(ctx, &obj->Buffers[i], NULL); 407 * transform feedback buffers can't be changed while transform feedback is 418 &obj->Buffers[index], 608 unsigned buffers = 1; local 612 buffers++; 615 if (buffers > ctx->Const.MaxTransformFeedbackBuffers) [all...] |
/external/mesa3d/src/mesa/main/ |
buffers.c | 27 * \file buffers.c 34 #include "buffers.h" 46 * Return bitmask of BUFFER_BIT_* flags indicating which color buffers are 93 * Given a GLenum naming one or more color buffers (such as 253 /* none of the named color buffers exist! */ 278 * \param buffers array [n] of renderbuffer names. Unlike glDrawBuffer, the 283 _mesa_DrawBuffersARB(GLsizei n, const GLenum *buffers) 304 if (buffers[output] == GL_NONE) { 308 destMask[output] = draw_buffer_enum_to_bitmask(buffers[output]); 333 _mesa_drawbuffers(ctx, n, buffers, destMask) 476 GLenum buffers[MAX_DRAW_BUFFERS]; local [all...] |
/external/smack/src/org/xbill/DNS/ |
TCPClient.java | 48 ByteBuffer [] buffers = new ByteBuffer[2]; local 49 buffers[0] = ByteBuffer.wrap(lengthArray); 50 buffers[1] = ByteBuffer.wrap(data); 56 long n = channel.write(buffers);
|
/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/base/process/ |
process_metrics.h | 232 int buffers; member in struct:base::SystemMemoryInfoKB
|
/external/chromium_org/content/common/gpu/media/ |
gpu_video_decode_accelerator.cc | 232 std::vector<media::PictureBuffer> buffers; local 276 buffers.push_back(media::PictureBuffer( 279 video_decode_accelerator_->AssignPictureBuffers(buffers);
|
/external/chromium_org/media/webm/ |
webm_cluster_parser.h | 31 const std::deque<scoped_refptr<StreamParserBuffer> >& buffers() const { function in class:media::WebMClusterParser::Track 65 // Otherwise, it returns the buffers for the associated track, and the 67 bool operator()(int* track_num, const BufferQueue** buffers); 96 const BufferQueue& audio_buffers() const { return audio_.buffers(); } 97 const BufferQueue& video_buffers() const { return video_.buffers(); }
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
decode.c | 384 vlVdpDecoderFixVC1Startcode(uint32_t *num_buffers, const void *buffers[], unsigned sizes[]) 391 vl_vlc_init(&vlc, *num_buffers, buffers, sizes); 405 buffers[i] = buffers[i - 1]; 409 buffers[0] = vc1_startcode; 423 const void * buffers[bitstream_buffer_count + 1]; local 491 buffers[i] = bitstream_buffers[i].bitstream; 506 vlVdpDecoderFixVC1Startcode(&bitstream_buffer_count, buffers, sizes); 523 dec->decode_bitstream(dec, vlsurf->video_buffer, &desc.base, bitstream_buffer_count, buffers, sizes);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_dri2.c | 245 DRI2BufferPtr buffers; local 248 buffers = calloc(count, sizeof *buffers); 249 if (!buffers) 257 buffers[i].attachment = attachments[i]; 258 buffers[i].driverPrivate = &privates[i]; 260 if (!dri2_do_create_buffer(pDraw, &buffers[i], 0)) 264 return buffers; 269 free(buffers); 275 dri2_destroy_buffers(DrawablePtr pDraw, DRI2BufferPtr buffers, int count [all...] |
/external/chromium_org/third_party/mesa/src/src/glx/ |
dri2.c | 407 DRI2Buffer *buffers; local 434 buffers = Xmalloc(rep.count * sizeof buffers[0]); 435 if (buffers == NULL) { 444 buffers[i].attachment = repBuffer.attachment; 445 buffers[i].name = repBuffer.name; 446 buffers[i].pitch = repBuffer.pitch; 447 buffers[i].cpp = repBuffer.cpp; 448 buffers[i].flags = repBuffer.flags; 454 return buffers; 466 DRI2Buffer *buffers; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_context.c | 252 __DRIbuffer *buffers = NULL; local 270 buffers = (*screen->dri2.loader->getBuffers)(draw, &draw->w, &draw->h, 273 if (buffers == NULL) 282 switch (buffers[i].attachment) { 306 s->pitch = buffers[i].pitch; 307 s->cpp = buffers[i].cpp; 315 if (!ret && old_name != buffers[i].name) 321 buffers[i].name, &s->bo);
|
/external/libyuv/files/include/libyuv/ |
mjpeg_decoder.h | 115 // GetNumComponents() and they must point to non-overlapping buffers of size 139 Buffer* buffers; member in struct:libyuv::MJpegDecoder::BufferVector 181 // output buffers. Large enough for just one iMCU row.
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
decode.c | 384 vlVdpDecoderFixVC1Startcode(uint32_t *num_buffers, const void *buffers[], unsigned sizes[]) 391 vl_vlc_init(&vlc, *num_buffers, buffers, sizes); 405 buffers[i] = buffers[i - 1]; 409 buffers[0] = vc1_startcode; 423 const void * buffers[bitstream_buffer_count + 1]; local 491 buffers[i] = bitstream_buffers[i].bitstream; 506 vlVdpDecoderFixVC1Startcode(&bitstream_buffer_count, buffers, sizes); 523 dec->decode_bitstream(dec, vlsurf->video_buffer, &desc.base, bitstream_buffer_count, buffers, sizes);
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_dri2.c | 245 DRI2BufferPtr buffers; local 248 buffers = calloc(count, sizeof *buffers); 249 if (!buffers) 257 buffers[i].attachment = attachments[i]; 258 buffers[i].driverPrivate = &privates[i]; 260 if (!dri2_do_create_buffer(pDraw, &buffers[i], 0)) 264 return buffers; 269 free(buffers); 275 dri2_destroy_buffers(DrawablePtr pDraw, DRI2BufferPtr buffers, int count [all...] |
/external/mesa3d/src/glx/ |
dri2.c | 407 DRI2Buffer *buffers; local 434 buffers = Xmalloc(rep.count * sizeof buffers[0]); 435 if (buffers == NULL) { 444 buffers[i].attachment = repBuffer.attachment; 445 buffers[i].name = repBuffer.name; 446 buffers[i].pitch = repBuffer.pitch; 447 buffers[i].cpp = repBuffer.cpp; 448 buffers[i].flags = repBuffer.flags; 454 return buffers; 466 DRI2Buffer *buffers; local [all...] |