Home | History | Annotate | Download | only in base

Lines Matching refs:new_max

211     FT_UInt      new_max, old_max;
215 new_max = base->n_points + current->n_points + n_points;
218 if ( new_max > old_max )
220 new_max = FT_PAD_CEIL( new_max, 8 );
222 if ( new_max > FT_OUTLINE_POINTS_MAX )
225 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) ||
226 FT_RENEW_ARRAY( base->tags, old_max, new_max ) )
232 old_max * 2, new_max * 2 ) )
235 FT_ARRAY_MOVE( loader->base.extra_points + new_max,
239 loader->base.extra_points2 = loader->base.extra_points + new_max;
243 loader->max_points = new_max;
248 new_max = base->n_contours + current->n_contours +
250 if ( new_max > old_max )
252 new_max = FT_PAD_CEIL( new_max, 4 );
254 if ( new_max > FT_OUTLINE_CONTOURS_MAX )
257 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) )
261 loader->max_contours = new_max;
285 FT_UInt new_max, old_max;
291 new_max = base->num_subglyphs + current->num_subglyphs + n_subs;
293 if ( new_max > old_max )
295 new_max = FT_PAD_CEIL( new_max, 2 );
296 if ( FT_RENEW_ARRAY( base->subglyphs, old_max, new_max ) )
299 loader->max_subglyphs = new_max;