Home | History | Annotate | Download | only in base

Lines Matching refs:new_max

211     FT_UInt      new_max, old_max;
215 new_max = (FT_UInt)base->n_points + (FT_UInt)current->n_points +
219 if ( new_max > old_max )
221 new_max = FT_PAD_CEIL( new_max, 8 );
223 if ( new_max > FT_OUTLINE_POINTS_MAX )
226 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) ||
227 FT_RENEW_ARRAY( base->tags, old_max, new_max ) )
233 old_max * 2, new_max * 2 ) )
236 FT_ARRAY_MOVE( loader->base.extra_points + new_max,
240 loader->base.extra_points2 = loader->base.extra_points + new_max;
244 loader->max_points = new_max;
249 new_max = (FT_UInt)base->n_contours + (FT_UInt)current->n_contours +
251 if ( new_max > old_max )
253 new_max = FT_PAD_CEIL( new_max, 4 );
255 if ( new_max > FT_OUTLINE_CONTOURS_MAX )
258 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) )
262 loader->max_contours = new_max;
286 FT_UInt new_max, old_max;
292 new_max = base->num_subglyphs + current->num_subglyphs + n_subs;
294 if ( new_max > old_max )
296 new_max = FT_PAD_CEIL( new_max, 2 );
297 if ( FT_RENEW_ARRAY( base->subglyphs, old_max, new_max ) )
300 loader->max_subglyphs = new_max;