Searched refs:safe_memcpy (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/ddebug/ |
D | dd_context.c | 35 safe_memcpy(void *dst, const void *src, size_t size) in safe_memcpy() function 368 safe_memcpy(&dctx->draw_state.constant_buffers[shader][index], 381 safe_memcpy(&dctx->draw_state.scissors[start_slot], states, in dd_context_set_scissor_states() 394 safe_memcpy(&dctx->draw_state.viewports[start_slot], states, in dd_context_set_viewport_states() 506 safe_memcpy(&dctx->draw_state.sampler_views[shader][start], views, in dd_context_set_sampler_views() 520 safe_memcpy(&dctx->draw_state.shader_images[shader][start], views, in dd_context_set_shader_images() 533 safe_memcpy(&dctx->draw_state.shader_buffers[shader][start], buffers, in dd_context_set_shader_buffers() 546 safe_memcpy(&dctx->draw_state.vertex_buffers[start], buffers, in dd_context_set_vertex_buffers() 562 safe_memcpy(dstate->so_targets, tgs, sizeof(*tgs) * num_targets); in dd_context_set_stream_output_targets() 563 safe_memcpy(dstate->so_offsets, offsets, sizeof(*offsets) * num_targets); in dd_context_set_stream_output_targets()
|
/external/libchrome/base/debug/ |
D | stack_trace_posix.cc | 599 auto safe_memcpy = [&mem_fd](void* dst, uintptr_t src, size_t size) { in SetBaseAddressesForMemoryRegions() local 608 safe_memcpy(&ehdr, r.start, sizeof(ElfW(Ehdr))) && in SetBaseAddressesForMemoryRegions() 626 if (safe_memcpy(&phdr, r.start + ehdr.e_phoff + i * sizeof(phdr), in SetBaseAddressesForMemoryRegions()
|