Searched refs:oldsz (Results 1 – 4 of 4) 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 | 130 uptr oldsz = user_alloc_usable_size(p); in user_realloc() local 131 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()
|
/external/chromium_org/third_party/mesa/src/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()
|