Searched refs:new_allocated (Results 1 – 3 of 3) sorted by relevance
154 int new_allocated = ds->allocated; in dyn_string_resize() local160 while (space > new_allocated) in dyn_string_resize()161 new_allocated *= 2; in dyn_string_resize()163 if (new_allocated != ds->allocated) in dyn_string_resize()165 ds->allocated = new_allocated; in dyn_string_resize()
89 unsigned int new_allocated = allocated; in enlarge() local97 while (size >= new_allocated) in enlarge()98 new_allocated += (new_allocated >> 1) + 32; in enlarge()101 if (unlikely (_hb_unsigned_int_mul_overflows (new_allocated, sizeof (info[0])))) in enlarge()104 new_pos = (hb_glyph_position_t *) realloc (pos, new_allocated * sizeof (pos[0])); in enlarge()105 new_info = (hb_glyph_info_t *) realloc (info, new_allocated * sizeof (info[0])); in enlarge()119 allocated = new_allocated; in enlarge()
350 unsigned int new_allocated = allocated + (allocated >> 1) + 8; in push() local354 new_array = (Type *) calloc (new_allocated, sizeof (Type)); in push()358 …bool overflows = (new_allocated < allocated) || _hb_unsigned_int_mul_overflows (new_allocated, siz… in push()360 new_array = (Type *) realloc (array, new_allocated * sizeof (Type)); in push()368 allocated = new_allocated; in push()