Searched refs:oldsz (Results 1 – 3 of 3) sorted by relevance
/external/libedit/src/ |
D | hist.c | 195 hist_enlargebuf(EditLine *el, size_t oldsz, size_t newsz) in hist_enlargebuf() argument 203 (void) memset(&newbuf[oldsz], '\0', (newsz - oldsz) * sizeof(*newbuf)); in hist_enlargebuf()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_mman.cc | 206 uptr oldsz = user_alloc_usable_size(p); in user_realloc() local 207 internal_memcpy(p2, p, min(oldsz, sz)); in user_realloc()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_save_api.c | 680 GLuint oldsz; in _save_upgrade_vertex() local 700 oldsz = save->attrsz[attr]; in _save_upgrade_vertex() 704 save->vertex_size += newsz - oldsz; in _save_upgrade_vertex() 739 assert(oldsz == 0); in _save_upgrade_vertex() 749 if (oldsz) { in _save_upgrade_vertex() 750 COPY_CLEAN_4V_TYPE_AS_UNION(dest, oldsz, data, in _save_upgrade_vertex() 752 data += oldsz; in _save_upgrade_vertex()
|