Home
last modified time | relevance | path

Searched refs:user_buffer (Results 1 – 25 of 53) sorted by relevance

123

/external/u-boot/common/
Dbouncebuf.c18 if ((ulong)state->user_buffer & align_mask) { in addr_aligned()
19 debug("Unaligned buffer address %p\n", state->user_buffer); in addr_aligned()
36 state->user_buffer = data; in bounce_buffer_start()
49 memcpy(state->bounce_buffer, state->user_buffer, in bounce_buffer_start()
73 if (state->bounce_buffer == state->user_buffer) in bounce_buffer_stop()
77 memcpy(state->user_buffer, state->bounce_buffer, state->len); in bounce_buffer_stop()
/external/python/cpython3/Modules/
Doverlapped.c57 Py_buffer user_buffer; member
558 memset(&self->user_buffer, 0, sizeof(Py_buffer)); in Overlapped_new()
577 if (self->user_buffer.obj) { in Overlapped_clear()
578 PyBuffer_Release(&self->user_buffer); in Overlapped_clear()
797 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in Overlapped_ReadFileInto()
801 if (self->user_buffer.len > (Py_ssize_t)ULONG_MAX) { in Overlapped_ReadFileInto()
802 PyBuffer_Release(&self->user_buffer); in Overlapped_ReadFileInto()
811 return do_ReadFile(self, handle, self->user_buffer.buf, in Overlapped_ReadFileInto()
812 (DWORD)self->user_buffer.len); in Overlapped_ReadFileInto()
904 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in Overlapped_WSARecvInto()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_constants.c58 if (cb->user_buffer) { in svga_set_constant_buffer()
60 (void *) cb->user_buffer, in svga_set_constant_buffer()
80 svga->curr.constbufs[shader][index].user_buffer = NULL; /* not used */ in svga_set_constant_buffer()
92 if (cb && cb->user_buffer) { in svga_set_constant_buffer()
/external/libvpx/libvpx/vp8/decoder/
Ddboolhuff.c19 br->user_buffer = source; in vp8dx_start_decode()
35 const unsigned char *bufptr = br->user_buffer; in vp8dx_bool_decoder_fill()
61 ++br->user_buffer; in vp8dx_bool_decoder_fill()
Ddboolhuff.h37 const unsigned char *user_buffer; member
/external/mesa3d/src/gallium/drivers/swr/
Dswr_scratch.cpp34 const void *user_buffer, in swr_copy_to_scratch_space() argument
72 if (user_buffer) in swr_copy_to_scratch_space()
73 memcpy(ptr, user_buffer, size); in swr_copy_to_scratch_space()
Dswr_scratch.h58 const void *user_buffer,
/external/mesa3d/src/gallium/state_trackers/nine/
Dtexture9.c56 void *user_buffer = NULL, *user_buffer_for_level; in NineTexture9_ctor() local
152 user_buffer = (void *)*pSharedHandle; in NineTexture9_ctor()
164 user_buffer = align_calloc( in NineTexture9_ctor()
168 This->managed_buffer = user_buffer; in NineTexture9_ctor()
198 user_buffer_for_level = user_buffer ? user_buffer + in NineTexture9_ctor()
Dsurface9.c55 void *user_buffer, in NineSurface9_ctor() argument
73 assert(allocate || pResource || user_buffer || in NineSurface9_ctor()
75 assert(!allocate || (!pResource && !user_buffer)); in NineSurface9_ctor()
76 assert(!pResource || !user_buffer); in NineSurface9_ctor()
77 assert(!user_buffer || pDesc->Pool != D3DPOOL_DEFAULT); in NineSurface9_ctor()
82 This->data = (uint8_t *)user_buffer; in NineSurface9_ctor()
160 assert(!user_buffer); in NineSurface9_ctor()
828 void *user_buffer, in NineSurface9_new() argument
836 pContainer, pResource, user_buffer, in NineSurface9_new()
Dsurface9.h67 void *user_buffer,
79 void *user_buffer,
Dnine_state.c366 cb.user_buffer = context->vs_const_f_swvp; in prepare_vs_constants_userbuf_swvp()
373 float *src = (float *)cb.user_buffer; in prepare_vs_constants_userbuf_swvp()
382 cb.user_buffer = dst; in prepare_vs_constants_userbuf_swvp()
387 context->pipe_data.cb0_swvp.user_buffer = cb.user_buffer; in prepare_vs_constants_userbuf_swvp()
389 cb.user_buffer = (char *)cb.user_buffer + 4096 * sizeof(float[4]); in prepare_vs_constants_userbuf_swvp()
392 context->pipe_data.cb1_swvp.user_buffer = cb.user_buffer; in prepare_vs_constants_userbuf_swvp()
402 cb.user_buffer = context->vs_const_i; in prepare_vs_constants_userbuf_swvp()
406 context->pipe_data.cb2_swvp.user_buffer = cb.user_buffer; in prepare_vs_constants_userbuf_swvp()
415 cb.user_buffer = context->vs_const_b; in prepare_vs_constants_userbuf_swvp()
419 context->pipe_data.cb3_swvp.user_buffer = cb.user_buffer; in prepare_vs_constants_userbuf_swvp()
[all …]
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h451 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
463 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
529 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_uniforms.c69 if (cb->user_buffer) { in etna_uniforms_write()
72 memcpy(uniforms, cb->user_buffer, size); in etna_uniforms_write()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_inlines.h493 cb.user_buffer = NULL; in pipe_set_constant_buffer()
613 dst->user_buffer = src->user_buffer; in util_copy_constant_buffer()
619 dst->user_buffer = NULL; in util_copy_constant_buffer()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_shader.c350 if (cb && cb->user_buffer) { in softpipe_set_constant_buffer()
352 (void *) cb->user_buffer, in softpipe_set_constant_buffer()
376 if (cb && cb->user_buffer) { in softpipe_set_constant_buffer()
/external/mesa3d/src/gallium/auxiliary/util/
Du_inlines.h499 cb.user_buffer = NULL; in pipe_set_constant_buffer()
624 dst->user_buffer = src->user_buffer; in util_copy_constant_buffer()
630 dst->user_buffer = NULL; in util_copy_constant_buffer()
/external/u-boot/include/
Dbouncebuf.h41 void *user_buffer; member
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c422 if (!buf->user_buffer){ in virgl_set_constant_buffer()
430 … virgl_encoder_write_constant_buffer(vctx, shader, index, buf->buffer_size / 4, buf->user_buffer); in virgl_set_constant_buffer()
594 ib.user_buffer = info.has_user_indices ? info.index.user : NULL; in virgl_draw_vbo()
598 if (ib.user_buffer) { in virgl_draw_vbo()
600 ib.user_buffer, &ib.offset, &ib.buffer); in virgl_draw_vbo()
601 ib.user_buffer = NULL; in virgl_draw_vbo()
Dvirgl_encode.h46 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c337 if (cb && cb->user_buffer) { in nv30_set_constant_buffer()
338 buf = nouveau_user_buffer_create(pipe->screen, (void*)cb->user_buffer, in nv30_set_constant_buffer()
358 if (cb && cb->user_buffer) { in nv30_set_constant_buffer()
/external/mesa3d/src/gallium/tests/graw/
Dfs-test.c117 cb1.user_buffer = constants1; in init_fs_constbuf()
125 cb2.user_buffer = constants2; in init_fs_constbuf()
/external/u-boot/drivers/ata/
Dahci.c762 u8 *user_buffer = pccb->pdata; in ata_scsiop_read_write() local
838 sizeof(fis), user_buffer, transfer_size, in ata_scsiop_read_write()
855 user_buffer += transfer_size; in ata_scsiop_read_write()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_emit.c85 if (cb->user_buffer) { in emit_constants()
86 dwords = cb->user_buffer; in emit_constants()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c690 if (cb && cb->user_buffer) { in i915_set_constant_buffer()
691 buf = i915_user_buffer_create(pipe->screen, (void *) cb->user_buffer, in i915_set_constant_buffer()
727 if (cb && cb->user_buffer) { in i915_set_constant_buffer()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_constbuf.c105 cb.user_buffer = params->ParameterValues; in st_upload_constants()

123