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 | 154 uptr oldsz = user_alloc_usable_size(p); in user_realloc() local 155 internal_memcpy(p2, p, min(oldsz, sz)); in user_realloc()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_save_api.c | 553 GLuint oldsz; in _save_upgrade_vertex() local 573 oldsz = save->attrsz[attr]; in _save_upgrade_vertex() 576 save->vertex_size += newsz - oldsz; in _save_upgrade_vertex() 611 assert(oldsz == 0); in _save_upgrade_vertex() 619 if (oldsz) { in _save_upgrade_vertex() 620 COPY_CLEAN_4V_TYPE_AS_FLOAT(dest, oldsz, data, in _save_upgrade_vertex() 622 data += oldsz; in _save_upgrade_vertex()
|