Home
last modified time | relevance | path

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

123

/external/python/cpython3/Modules/
Doverlapped.c88 Py_buffer user_buffer; member
640 memset(&self->user_buffer, 0, sizeof(Py_buffer)); in _overlapped_Overlapped_impl()
674 if (self->user_buffer.obj) { in Overlapped_clear()
675 PyBuffer_Release(&self->user_buffer); in Overlapped_clear()
1012 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in _overlapped_Overlapped_ReadFileInto_impl()
1016 if (self->user_buffer.len > (Py_ssize_t)ULONG_MAX) { in _overlapped_Overlapped_ReadFileInto_impl()
1017 PyBuffer_Release(&self->user_buffer); in _overlapped_Overlapped_ReadFileInto_impl()
1026 return do_ReadFile(self, handle, self->user_buffer.buf, in _overlapped_Overlapped_ReadFileInto_impl()
1027 (DWORD)self->user_buffer.len); in _overlapped_Overlapped_ReadFileInto_impl()
1121 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in _overlapped_Overlapped_WSARecvInto_impl()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_constants.c56 if (cb->user_buffer) { in svga_set_constant_buffer()
58 (void *) cb->user_buffer, in svga_set_constant_buffer()
78 svga->curr.constbufs[shader][index].user_buffer = NULL; /* not used */ in svga_set_constant_buffer()
107 if (cb && cb->user_buffer) { in svga_set_constant_buffer()
/external/libvpx/vp8/decoder/
Ddboolhuff.c25 br->user_buffer = source; in vp8dx_start_decode()
39 const unsigned char *bufptr = br->user_buffer; in vp8dx_bool_decoder_fill()
65 ++br->user_buffer; in vp8dx_bool_decoder_fill()
Ddboolhuff.h38 const unsigned char *user_buffer; member
/external/mesa3d/src/gallium/drivers/swr/
Dswr_scratch.cpp35 const void *user_buffer, in swr_copy_to_scratch_space() argument
75 if (user_buffer) in swr_copy_to_scratch_space()
76 memcpy(ptr, user_buffer, size); in swr_copy_to_scratch_space()
Dswr_scratch.h60 const void *user_buffer,
/external/mesa3d/src/gallium/frontends/nine/
Dtexture9.c56 void *user_buffer = NULL, *user_buffer_for_level; in NineTexture9_ctor() local
153 user_buffer = (void *)*pSharedHandle; in NineTexture9_ctor()
165 user_buffer = align_calloc( in NineTexture9_ctor()
169 This->managed_buffer = user_buffer; in NineTexture9_ctor()
199 user_buffer_for_level = user_buffer ? user_buffer + in NineTexture9_ctor()
Dnine_state.c371 cb.user_buffer = context->vs_const_f_swvp; in prepare_vs_constants_userbuf_swvp()
378 float *src = (float *)cb.user_buffer; in prepare_vs_constants_userbuf_swvp()
387 cb.user_buffer = dst; in prepare_vs_constants_userbuf_swvp()
392 context->pipe_data.cb0_swvp.user_buffer = cb.user_buffer; in prepare_vs_constants_userbuf_swvp()
394 cb.user_buffer = (char *)cb.user_buffer + 4096 * sizeof(float[4]); in prepare_vs_constants_userbuf_swvp()
397 context->pipe_data.cb1_swvp.user_buffer = cb.user_buffer; in prepare_vs_constants_userbuf_swvp()
407 cb.user_buffer = context->vs_const_i; in prepare_vs_constants_userbuf_swvp()
411 context->pipe_data.cb2_swvp.user_buffer = cb.user_buffer; in prepare_vs_constants_userbuf_swvp()
420 cb.user_buffer = context->vs_const_b; in prepare_vs_constants_userbuf_swvp()
424 context->pipe_data.cb3_swvp.user_buffer = cb.user_buffer; in prepare_vs_constants_userbuf_swvp()
[all …]
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()
167 assert(!user_buffer); in NineSurface9_ctor()
852 void *user_buffer, in NineSurface9_new() argument
860 pContainer, pResource, user_buffer, in NineSurface9_new()
Dsurface9.h67 void *user_buffer,
79 void *user_buffer,
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h452 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
464 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
530 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_const.h44 uint32_t size, const uint32_t *user_buffer);
150 if (cb->user_buffer) { in ir3_emit_user_consts()
152 size / 4, cb->user_buffer + state->range[i].start); in ir3_emit_user_consts()
185 if (cb->user_buffer) { in ir3_emit_ubos()
190 cb->user_buffer, in ir3_emit_ubos()
192 cb->user_buffer = NULL; in ir3_emit_ubos()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_uniforms.c90 assert(cb->user_buffer && val * 4 < cb->buffer_size); in etna_uniforms_write()
91 etna_cmd_stream_emit(stream, ((uint32_t*) cb->user_buffer)[val]); in etna_uniforms_write()
Detnaviv_state.c96 if (unlikely(!cb || (!cb->buffer && !cb->user_buffer))) { in etna_set_constant_buffer()
101 assert(index != 0 || cb->user_buffer != NULL); in etna_set_constant_buffer()
105 …u_upload_data(pctx->const_uploader, 0, cb->buffer_size, 16, cb->user_buffer, &cb->buffer_offset, &… in etna_set_constant_buffer()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_const.c257 if (cb->user_buffer) { in fd6_emit_ubos()
262 cb->user_buffer, in fd6_emit_ubos()
264 cb->user_buffer = NULL; in fd6_emit_ubos()
/external/mesa3d/src/gallium/auxiliary/util/
Du_inlines.h533 cb.user_buffer = NULL; in pipe_set_constant_buffer()
658 dst->user_buffer = src->user_buffer; in util_copy_constant_buffer()
664 dst->user_buffer = NULL; in util_copy_constant_buffer()
Du_compute.c110 cb.user_buffer = data; in util_compute_blit()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_shader.c390 if (cb && cb->user_buffer) { in softpipe_set_constant_buffer()
392 (void *) cb->user_buffer, in softpipe_set_constant_buffer()
416 if (cb && cb->user_buffer) { in softpipe_set_constant_buffer()
/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/drivers/vc4/
Dvc4_uniforms.c197 const uint32_t *gallium_uniforms = cb->cb[0].user_buffer; in vc4_write_uniforms()
262 cb->cb[0].user_buffer, in vc4_write_uniforms()
/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/mesa3d/src/gallium/drivers/v3d/
Dv3d_uniforms.c216 const uint32_t *gallium_uniforms = cb->cb[0].user_buffer; in v3d_write_uniforms()
333 cb->cb[unit].user_buffer, in v3d_write_uniforms()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_compute.c119 .user_buffer = info->input in panfrost_launch_grid()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_context.c508 if (cb->user_buffer) { in zink_set_constant_buffer()
512 cb->user_buffer, &offset, &buffer); in zink_set_constant_buffer()
518 ctx->ubos[shader][index].user_buffer = NULL; in zink_set_constant_buffer()
520 if (cb->user_buffer) in zink_set_constant_buffer()
526 ctx->ubos[shader][index].user_buffer = NULL; in zink_set_constant_buffer()
/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()

123