Home
last modified time | relevance | path

Searched refs:old_size (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dos_memory_debug.h58 void *old_ptr, size_t old_size, size_t new_size );
Du_debug_memory.c224 void *old_ptr, size_t old_size, size_t new_size ) in debug_realloc() argument
283 memcpy( new_ptr, old_ptr, old_size < new_size ? old_size : new_size ); in debug_realloc()
Dralloc.c201 rerzalloc_size(const void *ctx, void *ptr, size_t old_size, size_t new_size) in rerzalloc_size() argument
209 if (new_size > old_size) in rerzalloc_size()
210 memset((char *)ptr + old_size, 0, new_size - old_size); in rerzalloc_size()
1149 unsigned old_size = 0; in linear_realloc() local
1157 old_size = ((linear_size_chunk*)old)[-1].size; in linear_realloc()
1159 if (likely(new_ptr && old_size)) in linear_realloc()
1160 memcpy(new_ptr, old, MIN2(old_size, new_size)); in linear_realloc()
Dralloc.h139 size_t old_size, size_t new_size);