Home
last modified time | relevance | path

Searched refs:old_buf (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_video.c95 struct rvid_buffer old_buf = *new_buf; in si_vid_resize_buffer() local
101 src = ws->buffer_map(ws, old_buf.res->buf, cs, PIPE_MAP_READ | RADEON_MAP_TEMPORARY); in si_vid_resize_buffer()
116 ws->buffer_unmap(ws, old_buf.res->buf); in si_vid_resize_buffer()
117 si_vid_destroy_buffer(&old_buf); in si_vid_resize_buffer()
122 ws->buffer_unmap(ws, old_buf.res->buf); in si_vid_resize_buffer()
124 *new_buf = old_buf; in si_vid_resize_buffer()
Dsi_buffer.c170 struct pb_buffer *old_buf, *new_buf; in si_alloc_resource() local
183 old_buf = res->buf; in si_alloc_resource()
197 radeon_bo_reference(sscreen->ws, &old_buf, NULL); in si_alloc_resource()
/third_party/mesa3d/src/gallium/drivers/r600/
Dradeon_video.c94 struct rvid_buffer old_buf = *new_buf; in rvid_resize_buffer() local
100 src = ws->buffer_map(ws, old_buf.res->buf, cs, in rvid_resize_buffer()
117 ws->buffer_unmap(ws, old_buf.res->buf); in rvid_resize_buffer()
118 rvid_destroy_buffer(&old_buf); in rvid_resize_buffer()
123 ws->buffer_unmap(ws, old_buf.res->buf); in rvid_resize_buffer()
125 *new_buf = old_buf; in rvid_resize_buffer()
Dr600_buffer_common.c168 struct pb_buffer *old_buf, *new_buf; in r600_alloc_resource() local
182 old_buf = res->buf; in r600_alloc_resource()
190 pb_reference(&old_buf, NULL); in r600_alloc_resource()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-arraybuffer-prototype.c139 lit_utf8_byte_t *old_buf = ecma_arraybuffer_get_buffer (object_p); in ecma_builtin_arraybuffer_prototype_object_slice() local
142 memcpy (new_buf, old_buf + start, new_len); in ecma_builtin_arraybuffer_prototype_object_slice()
/third_party/mesa3d/src/gallium/frontends/va/
Dpicture.c760 struct pipe_video_buffer *old_buf = surf->buffer; in vlVaEndPicture() local
768 if (old_buf->interlaced) { in vlVaEndPicture()
776 old_buf, surf->buffer, in vlVaEndPicture()
785 old_buf->destroy(old_buf); in vlVaEndPicture()
/third_party/alsa-lib/src/seq/
Dseq_midi_event.c282 unsigned char *new_buf, *old_buf; in snd_midi_event_resize_buffer() local
289 old_buf = dev->buf; in snd_midi_event_resize_buffer()
293 free(old_buf); in snd_midi_event_resize_buffer()
/third_party/skia/third_party/externals/libwebp/src/dec/
Didec_dec.c209 const uint8_t* const old_buf = mem->buf_; in RemapMemBuffer() local
211 (old_buf == NULL) ? NULL : old_buf + mem->start_; in RemapMemBuffer()
212 assert(old_buf != NULL || mem->start_ == 0); in RemapMemBuffer()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state.c678 struct pipe_resource *old_buf = i915->constants[shader]; in i915_set_constant_buffer() local
679 struct i915_buffer *old = old_buf ? i915_buffer(old_buf) : NULL; in i915_set_constant_buffer()
/third_party/ffmpeg/libavformat/
Dhttp.c1903 uint8_t old_buf[BUFFER_SIZE]; in http_seek_internal() local
1948 memcpy(old_buf, s->buf_ptr, old_buf_size); in http_seek_internal()
1954 memcpy(s->buffer, old_buf, old_buf_size); in http_seek_internal()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_context.cpp1394 struct d3d12_resource *old_buf = d3d12_resource(ctx->cbufs[shader][index].buffer); in d3d12_set_constant_buffer() local
1395 if (old_buf) in d3d12_set_constant_buffer()
1396 d3d12_decrement_constant_buffer_bind_count(ctx, shader, old_buf); in d3d12_set_constant_buffer()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth.c3358 static u8 * replace_ie(const char *name, const u8 *old_buf, size_t *len, u8 eid, in replace_ie() argument
3366 old_buf, *len); in replace_ie()
3370 os_memcpy(buf, old_buf, *len); in replace_ie()