Searched refs:old_size (Results 1 – 4 of 4) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | os_memory_debug.h | 58 void *old_ptr, size_t old_size, size_t new_size );
|
D | u_debug_memory.c | 224 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()
|
D | ralloc.c | 201 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()
|
D | ralloc.h | 139 size_t old_size, size_t new_size);
|