Home
last modified time | relevance | path

Searched refs:buffer_map (Results 1 – 25 of 43) sorted by relevance

12

/external/nos/host/android/hals/keymaster/
Dbuffer.cpp114 static map<uint64_t, Operation> buffer_map; variable
119 if (buffer_map.find(handle) != buffer_map.end()) { in buffer_begin()
127 buffer_map.insert( in buffer_begin()
133 if (buffer_map.find(handle) == buffer_map.end()) { in buffer_remaining()
138 const Operation &op = buffer_map.find(handle)->second; in buffer_remaining()
146 if (buffer_map.find(handle) == buffer_map.end()) { in buffer_append()
151 Operation *op = &buffer_map.find(handle)->second; in buffer_append()
159 if (buffer_map.find(handle) == buffer_map.end()) { in buffer_peek()
164 Operation *op = &buffer_map.find(handle)->second; in buffer_peek()
171 if (buffer_map.find(handle) == buffer_map.end()) { in buffer_advance()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorDeviceSycl.h26 mutable std::map<const void *, std::shared_ptr<void>> buffer_map; member
48 auto it = buffer_map.find(p); in deallocate()
49 if (it != buffer_map.end()) { in deallocate()
50 buffer_map.erase(it); in deallocate()
55 std::map<const void *, std::shared_ptr<void>>::iterator it=buffer_map.begin(); in deallocate_all()
56 while (it!=buffer_map.end()) { in deallocate_all()
58 buffer_map.erase(it); in deallocate_all()
60 it=buffer_map.begin(); in deallocate_all()
62 buffer_map.clear(); in deallocate_all()
75 …std::pair<std::map<const void *, std::shared_ptr<void>>::iterator,bool> ret = buffer_map.insert(st… in add_sycl_buffer()
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_draw.c84 const fi_type *src = exec->vtx.buffer_map + last_prim->start * sz; in vbo_copy_vertices()
251 arrays[attr].Ptr = (GLubyte *)exec->vtx.buffer_map + offset; in vbo_exec_bind_arrays()
295 GLsizeiptr length = (exec->vtx.buffer_ptr - exec->vtx.buffer_map) * in vbo_exec_vtx_unmap()
305 exec->vtx.buffer_map) * sizeof(float); in vbo_exec_vtx_unmap()
311 exec->vtx.buffer_map = NULL; in vbo_exec_vtx_unmap()
335 assert(!exec->vtx.buffer_map); in vbo_exec_vtx_map()
341 exec->vtx.buffer_map = in vbo_exec_vtx_map()
349 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_map()
352 exec->vtx.buffer_ptr = exec->vtx.buffer_map = NULL; in vbo_exec_vtx_map()
356 if (!exec->vtx.buffer_map) { in vbo_exec_vtx_map()
[all …]
Dvbo_exec_api.c70 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_buffers()
316 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_upgrade_vertex()
353 assert(exec->vtx.buffer_ptr == exec->vtx.buffer_map); in vbo_exec_wrap_upgrade_vertex()
869 const fi_type *src = exec->vtx.buffer_map + in vbo_exec_End()
871 fi_type *dst = exec->vtx.buffer_map + in vbo_exec_End()
1116 _mesa_align_free(exec->vtx.buffer_map); in vbo_use_buffer_objects()
1117 exec->vtx.buffer_map = NULL; in vbo_use_buffer_objects()
1162 assert(!exec->vtx.buffer_map); in vbo_exec_vtx_init()
1163 exec->vtx.buffer_map = _mesa_align_malloc(VBO_VERT_BUFFER_SIZE, 64); in vbo_exec_vtx_init()
1164 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_init()
[all …]
Dvbo_exec.h95 fi_type *buffer_map; member
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_alias_analysis.cc425 BufferValueMap buffer_map(alias_analysis->dataflow_analysis()); in Run() local
426 buffer_map.MergeAliasedBuffers(); in Run()
432 buffer_map.ComputeSortedBufferNumbers(); in Run()
436 auto& value_set = buffer_map.GetValuesInBuffer(buffer_number); in Run()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_video.c100 src = ws->buffer_map(old_buf.res->buf, cs, PIPE_TRANSFER_READ); in rvid_resize_buffer()
104 dst = ws->buffer_map(new_buf->res->buf, cs, PIPE_TRANSFER_WRITE); in rvid_resize_buffer()
Dradeon_vce.c69 uint32_t *ptr = enc->ws->buffer_map(fb->res->buf, enc->cs, PIPE_TRANSFER_READ_WRITE);
353 uint32_t *ptr = enc->ws->buffer_map(fb->res->buf, enc->cs, PIPE_TRANSFER_READ_WRITE); in rvce_get_feedback()
Dr600_buffer_common.c55 return ctx->ws->buffer_map(resource->buf, NULL, usage); in r600_buffer_map_sync_with_rings()
99 return ctx->ws->buffer_map(resource->buf, NULL, usage); in r600_buffer_map_sync_with_rings()
Dradeon_winsys.h416 void *(*buffer_map)(struct pb_buffer *buf, member
Dradeon_uvd.c150 ptr = dec->ws->buffer_map(buf->res->buf, dec->cs, PIPE_TRANSFER_WRITE); in map_msg_fb_it_buf()
973 dec->bs_ptr = dec->ws->buffer_map( in ruvd_begin_frame()
1020 dec->bs_ptr = dec->ws->buffer_map(buf->res->buf, dec->cs, in ruvd_decode_bitstream()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_transfer.c221 map = r300->rws->buffer_map(trans->linear_texture->buf, in r300_texture_transfer_map()
233 map = r300->rws->buffer_map(tex->buf, r300->cs, usage); in r300_texture_transfer_map()
Dr300_screen_buffer.c129 map = rws->buffer_map(rbuf->buf, r300->cs, usage); in r300_buffer_transfer_map()
Dr300_query.c160 map = r300->rws->buffer_map(q->buf, r300->cs, in r300_get_query_result()
Dr300_render.c375 map[vbi] = (uint32_t*)r300->rws->buffer_map( in r300_draw_arrays_immediate()
609 uint16_t *ptr = r300->rws->buffer_map(r300_resource(orgIndexBuffer)->buf, in r300_draw_elements()
913 r300render->vbo_ptr = rws->buffer_map(r300->vbo, r300->cs, in r300_render_allocate_vertices()
/external/mesa3d/src/gallium/drivers/i915/
Di915_winsys.h195 void *(*buffer_map)(struct i915_winsys *iws, member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.h272 return sws->buffer_map(sws, sbuf->hwbuf, flags); in svga_buffer_hw_storage_map()
Dsvga_winsys.h585 (*buffer_map)( struct svga_winsys_screen *sws, member
Dsvga_resource_texture.c169 hw = sws->buffer_map(sws, st->hwbuf, usage); in svga_transfer_dma()
192 hw = sws->buffer_map(sws, st->hwbuf, PIPE_TRANSFER_READ); in svga_transfer_dma()
395 return sws->buffer_map(sws, st->hwbuf, usage); in svga_texture_transfer_map_dma()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c181 cs->ib_mapped = ws->buffer_map(cs->ib_buffer); in radv_amdgpu_cs_create()
268 cs->ib_mapped = cs->ws->base.buffer_map(cs->ib_buffer); in radv_amdgpu_cs_grow()
681 ptr = ws->buffer_map(bo); in radv_amdgpu_winsys_cs_submit_sysmem()
Dradv_amdgpu_bo.c292 ws->base.buffer_map = radv_amdgpu_winsys_bo_map; in radv_amdgpu_bo_init_functions()
/external/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_buffer.c254 idws->base.buffer_map = i915_drm_buffer_map; in i915_drm_winsys_init_buffer_functions()
/external/mesa3d/src/amd/vulkan/
Dradv_radeon_winsys.h271 void *(*buffer_map)(struct radeon_winsys_bo *bo); member
Dradv_pipeline_cache.c174 void *ptr = device->ws->buffer_map(variant->bo); in radv_create_shader_variant_from_pipeline_cache()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_svga.c439 vws->base.buffer_map = vmw_svga_winsys_buffer_map; in vmw_winsys_screen_init_svga()

12