Home | History | Annotate | Download | only in autofit

Lines Matching defs:new_max

38       FT_Int  new_max = old_max;
48 new_max += ( new_max >> 2 ) + 4;
49 if ( new_max < old_max || new_max > big_max )
50 new_max = big_max;
52 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) )
55 axis->max_segments = new_max;
83 FT_Int new_max = old_max;
93 new_max += ( new_max >> 2 ) + 4;
94 if ( new_max < old_max || new_max > big_max )
95 new_max = big_max;
97 if ( FT_RENEW_ARRAY( axis->edges, old_max, new_max ) )
100 axis->max_edges = new_max;
576 FT_UInt old_max, new_max;
593 new_max = (FT_UInt)outline->n_contours;
595 if ( new_max > old_max )
597 new_max = ( new_max + 3 ) & ~3; /* round up to a multiple of 4 */
599 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) )
602 hints->max_contours = new_max;
610 new_max = (FT_UInt)( outline->n_points + 2 );
612 if ( new_max > old_max )
614 new_max = ( new_max + 2 + 7 ) & ~7; /* round up to a multiple of 8 */
616 if ( FT_RENEW_ARRAY( hints->points, old_max, new_max ) )
619 hints->max_points = new_max;