Home
last modified time | relevance | path

Searched refs:new_max (Results 1 – 17 of 17) 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 ( new_max > FT_OUTLINE_POINTS_MAX ) in FT_GlyphLoader_CheckPoints()
224 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) || in FT_GlyphLoader_CheckPoints()
225 FT_RENEW_ARRAY( base->tags, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints()
231 old_max * 2, new_max * 2 ) ) in FT_GlyphLoader_CheckPoints()
234 FT_ARRAY_MOVE( loader->base.extra_points + new_max, in FT_GlyphLoader_CheckPoints()
238 loader->base.extra_points2 = loader->base.extra_points + new_max; in FT_GlyphLoader_CheckPoints()
[all …]
Dftstroke.c321 FT_UInt new_max = border->num_points + new_points; in ft_stroke_border_grow() local
325 if ( new_max > old_max ) in ft_stroke_border_grow()
331 while ( cur_max < new_max ) in ft_stroke_border_grow()
/external/freetype/src/autofit/
Dafhints.c38 FT_Int new_max = old_max; in af_axis_hints_new_segment() local
48 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_segment()
49 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_segment()
50 new_max = big_max; in af_axis_hints_new_segment()
52 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in af_axis_hints_new_segment()
55 axis->max_segments = new_max; in af_axis_hints_new_segment()
83 FT_Int new_max = old_max; in af_axis_hints_new_edge() local
93 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_edge()
94 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_edge()
95 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.c66 FT_UInt new_max = count; in ps_hint_table_ensure() local
70 if ( new_max > old_max ) in ps_hint_table_ensure()
73 new_max = FT_PAD_CEIL( new_max, 8 ); in ps_hint_table_ensure()
74 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) ) in ps_hint_table_ensure()
75 table->max_hints = new_max; in ps_hint_table_ensure()
141 FT_UInt new_max = ( count + 7 ) >> 3; in ps_mask_ensure() local
145 if ( new_max > old_max ) in ps_mask_ensure()
147 new_max = FT_PAD_CEIL( new_max, 8 ); in ps_mask_ensure()
148 if ( !FT_RENEW_ARRAY( mask->bytes, old_max, new_max ) ) in ps_mask_ensure()
149 mask->max_bits = new_max * 8; in ps_mask_ensure()
[all …]
/external/linux-tools-perf/util/
Dcpumap.c62 int new_max = nr_cpus + cpu - prev - 1; in cpu_map__read_all_cpu_map() local
64 if (new_max >= max_entries) { in cpu_map__read_all_cpu_map()
65 max_entries = new_max + MAX_NR_CPUS / 2; in cpu_map__read_all_cpu_map()
/external/harfbuzz/src/
Dharfbuzz-open.c816 HB_UShort min, max, new_min, new_max, middle; in Coverage_Index1() local
827 new_max = cf1->GlyphCount - 1; in Coverage_Index1()
832 max = new_max; in Coverage_Index1()
848 new_max = middle - 1; in Coverage_Index1()
866 HB_UShort min, max, new_min, new_max, middle; in Coverage_Index2() local
877 new_max = cf2->RangeCount - 1; in Coverage_Index2()
882 max = new_max; in Coverage_Index2()
898 new_max = middle - 1; in Coverage_Index2()
1197 HB_UShort min, max, new_min, new_max, middle; in Get_Class2() local
1214 new_max = cdf2->ClassRangeCount - 1; in Get_Class2()
[all …]
/external/chromium/third_party/libevent/
Dsignal.c156 int new_max = evsignal + 1; in _evsignal_set_handler() local
159 p = realloc(sig->sh_old, new_max * sizeof(*sig->sh_old)); in _evsignal_set_handler()
166 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old)); in _evsignal_set_handler()
168 sig->sh_old_max = new_max; in _evsignal_set_handler()
/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/freetype/src/pfr/
Dpfrload.c368 FT_UInt new_max = FT_PAD_CEIL( phy_font->num_strikes + count, 4 ); in pfr_extra_item_load_bitmap_info() local
373 new_max ) ) in pfr_extra_item_load_bitmap_info()
376 phy_font->max_strikes = new_max; in pfr_extra_item_load_bitmap_info()
/external/freetype/src/truetype/
Dttinterp.h248 FT_ULong new_max );
Dttinterp.c520 FT_ULong new_max ) in Update_Max() argument
526 if ( *size < new_max ) in Update_Max()
528 if ( FT_REALLOC( *pbuff, *size * multiplier, new_max * multiplier ) ) in Update_Max()
530 *size = new_max; in Update_Max()
/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/libpng/
Dpngpread.c694 png_size_t new_max; in png_push_save_buffer() local
703 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
706 (png_uint_32)new_max); in png_push_save_buffer()
714 png_ptr->save_buffer_max = new_max; in png_push_save_buffer()
/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/qemu/android/
Dconsole.c150 int new_max = old_max + (old_max >> 1) + 4; in control_global_add_redir() local
152 Redir new_redirs = realloc( global->redirs, new_max*sizeof(global->redirs[0]) ); in control_global_add_redir()
157 global->max_redirs = new_max; in control_global_add_redir()
/external/v8/src/
Djsregexp.cc3828 int new_max = (max == kInfinity) ? max : max - min; in ToNode() local
3832 0, new_max, is_greedy, body, compiler, on_success, true); in ToNode()