Home
last modified time | relevance | path

Searched refs:new_array (Results 1 – 5 of 5) sorted by relevance

/hardware/intel/img/psb_video/src/
Dvsp_cmdbuf.c179 psb_buffer_p *new_array; in vsp_cmdbuf_buffer_ref() local
180 new_array = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * new_size); in vsp_cmdbuf_buffer_ref()
181 if (NULL == new_array) { in vsp_cmdbuf_buffer_ref()
184 memcpy(new_array, cmdbuf->buffer_refs, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in vsp_cmdbuf_buffer_ref()
187 cmdbuf->buffer_refs = new_array; in vsp_cmdbuf_buffer_ref()
Dpnw_cmdbuf.c237 psb_buffer_p *new_array; in pnw_cmdbuf_buffer_ref() local
238 new_array = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * new_size); in pnw_cmdbuf_buffer_ref()
239 if (NULL == new_array) { in pnw_cmdbuf_buffer_ref()
242 … memcpy(new_array, cmdbuf->buffer_refs, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in pnw_cmdbuf_buffer_ref()
245 cmdbuf->buffer_refs = new_array; in pnw_cmdbuf_buffer_ref()
Dtng_cmdbuf.c300 psb_buffer_p *new_array; in tng_cmdbuf_buffer_ref() local
301 new_array = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * new_size); in tng_cmdbuf_buffer_ref()
302 if (NULL == new_array) { in tng_cmdbuf_buffer_ref()
305 … memcpy(new_array, cmdbuf->buffer_refs, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in tng_cmdbuf_buffer_ref()
308 cmdbuf->buffer_refs = new_array; in tng_cmdbuf_buffer_ref()
Dpsb_cmdbuf.c269 psb_buffer_p *new_array; in psb_cmdbuf_buffer_ref() local
270 new_array = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * new_size); in psb_cmdbuf_buffer_ref()
271 if (NULL == new_array) { in psb_cmdbuf_buffer_ref()
274 … memcpy(new_array, cmdbuf->buffer_refs, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in psb_cmdbuf_buffer_ref()
277 cmdbuf->buffer_refs = new_array; in psb_cmdbuf_buffer_ref()
/hardware/intel/img/psb_video/src/mrst/
Dlnc_cmdbuf.c228 psb_buffer_p *new_array; in lnc_cmdbuf_buffer_ref() local
229 new_array = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * new_size); in lnc_cmdbuf_buffer_ref()
230 if (NULL == new_array) { in lnc_cmdbuf_buffer_ref()
233 … memcpy(new_array, cmdbuf->buffer_refs, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in lnc_cmdbuf_buffer_ref()
236 cmdbuf->buffer_refs = new_array; in lnc_cmdbuf_buffer_ref()