Searched refs:new_sz (Results 1 – 4 of 4) sorted by relevance
/external/valgrind/main/coregrind/m_debuginfo/ |
D | storage.c | 234 UInt new_sz, i; in ML_() local 241 new_sz = 2 * di->symtab_size; in ML_() 242 if (new_sz == 0) new_sz = 500; in ML_() 244 new_sz * sizeof(DiSym) ); in ML_() 251 di->symtab_size = new_sz; in ML_() 265 UInt new_sz = di->symtab_used; in ML_() local 266 if (new_sz == di->symtab_size) return; in ML_() 269 new_sz * sizeof(DiSym) ); in ML_() 270 VG_(memcpy)(new_tab, di->symtab, new_sz * sizeof(DiSym)); in ML_() 274 di->symtab_size = new_sz; in ML_() [all …]
|
/external/valgrind/main/helgrind/ |
D | hg_wordset.c | 236 UInt i, new_sz; in ensure_ix2vec_space() local 241 new_sz = 2 * wsu->ix2vec_size; in ensure_ix2vec_space() 242 if (new_sz == 0) new_sz = 2; in ensure_ix2vec_space() 243 new_vec = wsu->alloc( wsu->cc, new_sz * sizeof(WordVec*) ); in ensure_ix2vec_space() 250 wsu->ix2vec_size = new_sz; in ensure_ix2vec_space()
|
/external/valgrind/main/coregrind/ |
D | m_transtab.c | 386 Int old_sz, new_sz, i, r; in addEClassNo() local 400 new_sz = old_sz==0 ? 8 : old_sz<64 ? 2*old_sz : (3*old_sz)/2; in addEClassNo() 402 new_sz * sizeof(UShort)); in addEClassNo() 407 sec->ec2tte_size[ec] = new_sz; in addEClassNo() 410 if (0) VG_(printf)("expand ec %d to %d\n", ec, new_sz); in addEClassNo()
|
/external/libvpx/ |
D | vpxenc.c | 231 size_t new_sz = stats->buf_alloc_sz + 64 * 1024; in stats_write() local 232 char *new_ptr = realloc(stats->buf.buf, new_sz); in stats_write() 238 stats->buf_alloc_sz = new_sz; in stats_write()
|