Home
last modified time | relevance | path

Searched refs:new_max (Results 1 – 11 of 11) sorted by relevance

/external/freetype/src/base/
Dftgloadr.c210 FT_UInt new_max, old_max; in FT_GlyphLoader_CheckPoints() local
214 new_max = base->n_points + current->n_points + n_points; in FT_GlyphLoader_CheckPoints()
217 if ( new_max > old_max ) in FT_GlyphLoader_CheckPoints()
219 new_max = FT_PAD_CEIL( new_max, 8 ); in FT_GlyphLoader_CheckPoints()
221 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) || in FT_GlyphLoader_CheckPoints()
222 FT_RENEW_ARRAY( base->tags, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints()
228 old_max * 2, new_max * 2 ) ) in FT_GlyphLoader_CheckPoints()
231 FT_ARRAY_MOVE( loader->base.extra_points + new_max, in FT_GlyphLoader_CheckPoints()
235 loader->base.extra_points2 = loader->base.extra_points + new_max; in FT_GlyphLoader_CheckPoints()
239 loader->max_points = new_max; in FT_GlyphLoader_CheckPoints()
[all …]
Dftstroke.c263 FT_UInt new_max = border->num_points + new_points; in ft_stroke_border_grow() local
267 if ( new_max > old_max ) in ft_stroke_border_grow()
273 while ( cur_max < new_max ) in ft_stroke_border_grow()
/external/freetype/src/autofit/
Dafhints.c36 FT_Int new_max = old_max; in af_axis_hints_new_segment() local
46 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_segment()
47 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_segment()
48 new_max = big_max; in af_axis_hints_new_segment()
50 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in af_axis_hints_new_segment()
53 axis->max_segments = new_max; in af_axis_hints_new_segment()
79 FT_Int new_max = old_max; in af_axis_hints_new_edge() local
89 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_edge()
90 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_edge()
91 new_max = big_max; in af_axis_hints_new_edge()
[all …]
/external/qemu/android/utils/
Dstralloc.c66 unsigned new_max = old_max; in stralloc_ready() local
68 while (new_max < len) { in stralloc_ready()
69 unsigned new_max2 = new_max + (new_max >> 1) + 16; in stralloc_ready()
70 if (new_max2 < new_max) in stralloc_ready()
72 new_max = new_max2; in stralloc_ready()
75 s->s = realloc( s->s, new_max ); in stralloc_ready()
78 __FUNCTION__, new_max ); in stralloc_ready()
81 s->a = new_max; in stralloc_ready()
/external/freetype/src/pshinter/
Dpshrec.c64 FT_UInt new_max = count; in ps_hint_table_ensure() local
68 if ( new_max > old_max ) in ps_hint_table_ensure()
71 new_max = FT_PAD_CEIL( new_max, 8 ); in ps_hint_table_ensure()
72 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) ) in ps_hint_table_ensure()
73 table->max_hints = new_max; in ps_hint_table_ensure()
139 FT_UInt new_max = ( count + 7 ) >> 3; in ps_mask_ensure() local
143 if ( new_max > old_max ) in ps_mask_ensure()
145 new_max = FT_PAD_CEIL( new_max, 8 ); in ps_mask_ensure()
146 if ( !FT_RENEW_ARRAY( mask->bytes, old_max, new_max ) ) in ps_mask_ensure()
147 mask->max_bits = new_max * 8; in ps_mask_ensure()
[all …]
/external/qemu/telephony/
Dgsm.c288 int new_max = old_max; in gsm_rope_ensure() local
291 while (new_max < new_count) { in gsm_rope_ensure()
292 new_max += (new_max >> 1) + 4; in gsm_rope_ensure()
294 new_data = realloc( old_data, new_max ); in gsm_rope_ensure()
300 rope->max = new_max; in gsm_rope_ensure()
/external/libpng/
Dpngpread.c690 png_size_t new_max; in png_push_save_buffer() local
699 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
702 (png_uint_32)new_max); in png_push_save_buffer()
705 png_ptr->save_buffer_max = new_max; in png_push_save_buffer()
/external/qemu/distrib/libpng-1.2.19/
Dpngpread.c622 png_size_t new_max; in png_push_save_buffer() local
630 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
633 (png_uint_32)new_max); in png_push_save_buffer()
636 png_ptr->save_buffer_max = new_max; in png_push_save_buffer()
/external/qemu/android/
Dconsole.c136 int new_max = old_max + (old_max >> 1) + 4; in control_global_add_redir() local
138 Redir new_redirs = realloc( global->redirs, new_max*sizeof(global->redirs[0]) ); in control_global_add_redir()
143 global->max_redirs = new_max; in control_global_add_redir()
/external/blktrace/
Dblkparse.c507 int new_max = (cpu + CPUS_PER_LONG) & ~(CPUS_PER_LONG - 1); in cpu_mark_online() local
508 unsigned long *map = malloc(new_max / sizeof(long)); in cpu_mark_online()
510 memset(map, 0, new_max / sizeof(long)); in cpu_mark_online()
518 pdi->cpu_map_max = new_max; in cpu_mark_online()
/external/freetype/src/truetype/
Dttinterp.c516 FT_ULong new_max ) in Update_Max() argument
522 if ( *size < new_max ) in Update_Max()
524 if ( FT_REALLOC( *pbuff, *size * multiplier, new_max * multiplier ) ) in Update_Max()
526 *size = new_max; in Update_Max()