Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/freetype/src/base/
Dftgloadr.c211 FT_UInt new_max, old_max; in FT_GlyphLoader_CheckPoints() local
215 new_max = base->n_points + current->n_points + n_points; in FT_GlyphLoader_CheckPoints()
218 if ( new_max > old_max ) in FT_GlyphLoader_CheckPoints()
220 new_max = FT_PAD_CEIL( new_max, 8 ); in FT_GlyphLoader_CheckPoints()
222 if ( new_max > FT_OUTLINE_POINTS_MAX ) in FT_GlyphLoader_CheckPoints()
225 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) || in FT_GlyphLoader_CheckPoints()
226 FT_RENEW_ARRAY( base->tags, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints()
232 old_max * 2, new_max * 2 ) ) in FT_GlyphLoader_CheckPoints()
235 FT_ARRAY_MOVE( loader->base.extra_points + new_max, in FT_GlyphLoader_CheckPoints()
239 loader->base.extra_points2 = loader->base.extra_points + new_max; in FT_GlyphLoader_CheckPoints()
[all …]
/external/freetype/src/base/
Dftgloadr.c211 FT_UInt new_max, old_max; in FT_GlyphLoader_CheckPoints() local
215 new_max = base->n_points + current->n_points + n_points; in FT_GlyphLoader_CheckPoints()
218 if ( new_max > old_max ) in FT_GlyphLoader_CheckPoints()
220 new_max = FT_PAD_CEIL( new_max, 8 ); in FT_GlyphLoader_CheckPoints()
222 if ( new_max > FT_OUTLINE_POINTS_MAX ) in FT_GlyphLoader_CheckPoints()
225 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) || in FT_GlyphLoader_CheckPoints()
226 FT_RENEW_ARRAY( base->tags, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints()
232 old_max * 2, new_max * 2 ) ) in FT_GlyphLoader_CheckPoints()
235 FT_ARRAY_MOVE( loader->base.extra_points + new_max, in FT_GlyphLoader_CheckPoints()
239 loader->base.extra_points2 = loader->base.extra_points + new_max; in FT_GlyphLoader_CheckPoints()
[all …]
/external/chromium_org/third_party/freetype/src/autofit/
Dafhints.c49 FT_Int new_max = old_max; in af_axis_hints_new_segment() local
59 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_segment()
60 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_segment()
61 new_max = big_max; in af_axis_hints_new_segment()
63 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in af_axis_hints_new_segment()
66 axis->max_segments = new_max; in af_axis_hints_new_segment()
94 FT_Int new_max = old_max; in af_axis_hints_new_edge() local
104 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_edge()
105 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_edge()
106 new_max = big_max; in af_axis_hints_new_edge()
[all …]
/external/freetype/src/autofit/
Dafhints.c49 FT_Int new_max = old_max; in af_axis_hints_new_segment() local
59 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_segment()
60 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_segment()
61 new_max = big_max; in af_axis_hints_new_segment()
63 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in af_axis_hints_new_segment()
66 axis->max_segments = new_max; in af_axis_hints_new_segment()
94 FT_Int new_max = old_max; in af_axis_hints_new_edge() local
104 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_edge()
105 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_edge()
106 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/chromium_org/third_party/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/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_ng/src/hb-old/
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/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_org/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/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/skia/src/fonts/
DSkFontMgr_fontconfig.cpp130 int old_min, int old_max, int new_min, int new_max) { in map_range() argument
132 SkASSERT(new_min < new_max); in map_range()
134 new_max - new_min, old_max - old_min); in map_range()
/external/chromium_org/third_party/skia/src/fonts/
DSkFontMgr_fontconfig.cpp130 int old_min, int old_max, int new_min, int new_max) { in map_range() argument
132 SkASSERT(new_min < new_max); in map_range()
134 new_max - new_min, old_max - old_min); in map_range()
/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/chromium_org/third_party/tcmalloc/chromium/src/
Dthread_cache.h178 void set_max_length(size_t new_max) { in set_max_length() argument
179 max_length_ = new_max; in set_max_length()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dthread_cache.h173 void set_max_length(size_t new_max) { in set_max_length() argument
174 max_length_ = new_max; in set_max_length()
/external/iputils/
Drdisc.c1446 int new_max = max_preference(); in record_router() local
1447 if (new_max != INELIGIBLE_PREF) { in record_router()
1450 if (tp->preference == new_max && in record_router()
1461 int new_max = max_preference(); in record_router() local
1464 if (tp->preference < new_max && tp->in_kernel) { in record_router()
/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/chromium_org/third_party/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.h321 FT_ULong new_max );
/external/chromium_org/third_party/freetype/src/truetype/
Dttinterp.h321 FT_ULong new_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/chromium_org/third_party/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()

12