Lines Matching refs:new_max
57 FT_Int new_max = old_max;
67 new_max += ( new_max >> 2 ) + 4;
68 if ( new_max < old_max || new_max > big_max )
69 new_max = big_max;
73 if ( FT_NEW_ARRAY( axis->segments, new_max ) )
80 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) )
84 axis->max_segments = new_max;
122 FT_Int new_max = old_max;
132 new_max += ( new_max >> 2 ) + 4;
133 if ( new_max < old_max || new_max > big_max )
134 new_max = big_max;
138 if ( FT_NEW_ARRAY( axis->edges, new_max ) )
145 if ( FT_RENEW_ARRAY( axis->edges, old_max, new_max ) )
149 axis->max_edges = new_max;
724 FT_UInt old_max, new_max;
741 new_max = (FT_UInt)outline->n_contours;
744 if ( new_max <= AF_CONTOURS_EMBEDDED )
752 else if ( new_max > old_max )
757 new_max = ( new_max + 3 ) & ~3U; /* round up to a multiple of 4 */
759 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) )
762 hints->max_contours = (FT_Int)new_max;
770 new_max = (FT_UInt)( outline->n_points + 2 );
773 if ( new_max <= AF_POINTS_EMBEDDED )
781 else if ( new_max > old_max )
786 new_max = ( new_max + 2 + 7 ) & ~7U; /* round up to a multiple of 8 */
788 if ( FT_RENEW_ARRAY( hints->points, old_max, new_max ) )
791 hints->max_points = (FT_Int)new_max;