/external/freetype/src/base/ |
D | ftgloadr.c | 211 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/base/ |
D | ftgloadr.c | 211 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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
D | ftgloadr.c | 211 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/ |
D | afhints.c | 49 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/ |
D | afhints.c | 49 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/ |
D | stralloc.c | 66 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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/ |
D | pshrec.c | 66 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/ |
D | pshrec.c | 66 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/chromium_org/third_party/freetype/src/pshinter/ |
D | pshrec.c | 66 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/chromium_org/third_party/libevent/ |
D | signal.c | 156 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/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | cpumap.c | 59 int new_max = nr_cpus + cpu - prev - 1; in cpu_map__read() local 61 if (new_max >= max_entries) { in cpu_map__read() 62 max_entries = new_max + MAX_NR_CPUS / 2; in cpu_map__read()
|
/external/chromium_org/third_party/skia/src/fonts/ |
D | SkFontMgr_fontconfig.cpp | 161 int old_min, int old_max, int new_min, int new_max) { in map_range() argument 163 SkASSERT(new_min < new_max); in map_range() 165 new_max - new_min, old_max - old_min); in map_range()
|
/external/skia/src/fonts/ |
D | SkFontMgr_fontconfig.cpp | 166 int old_min, int old_max, int new_min, int new_max) { in map_range() argument 168 SkASSERT(new_min < new_max); in map_range() 170 new_max - new_min, old_max - old_min); in map_range()
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cid/ |
D | cidload.c | 426 FT_UInt new_max = FT_PAD_CEIL( num_subrs + 1, 4 ); in cid_read_subrs() local 429 if ( new_max <= max_offsets ) in cid_read_subrs() 435 if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) ) in cid_read_subrs() 438 max_offsets = new_max; in cid_read_subrs()
|
/external/qemu/telephony/ |
D | gsm.c | 288 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/vendor/src/ |
D | thread_cache.h | 173 void set_max_length(size_t new_max) { in set_max_length() argument 174 max_length_ = new_max; in set_max_length()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
D | thread_cache.h | 178 void set_max_length(size_t new_max) { in set_max_length() argument 179 max_length_ = new_max; in set_max_length()
|
/external/e2fsprogs/lib/ext2fs/ |
D | blkmap64_rb.c | 276 static void rb_truncate(__u64 new_max, struct rb_root *root) in rb_truncate() argument 285 if ((ext->start + ext->count - 1) <= new_max) in rb_truncate() 287 else if (ext->start > new_max) { in rb_truncate() 293 ext->count = new_max - ext->start + 1; in rb_truncate()
|
/external/iputils/ |
D | rdisc.c | 1446 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/libpng/ |
D | pngpread.c | 681 png_size_t new_max; in png_push_save_buffer() local 690 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer() 693 (png_size_t)new_max); in png_push_save_buffer() 703 png_ptr->save_buffer_max = new_max; in png_push_save_buffer()
|
/external/freetype/src/pfr/ |
D | pfrload.c | 368 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/ |
D | pfrload.c | 368 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/cython/src/Cython/Utility/ |
D | ModuleSetupCode.c | 465 int new_max = __pyx_code_cache.max_count + 64; in __pyx_insert_code_object() local 467 __pyx_code_cache.entries, (size_t)new_max*sizeof(__Pyx_CodeObjectCacheEntry)); in __pyx_insert_code_object() 472 __pyx_code_cache.max_count = new_max; in __pyx_insert_code_object()
|
/external/chromium_org/third_party/freetype/src/truetype/ |
D | ttinterp.h | 321 FT_ULong new_max );
|
/external/freetype/src/truetype/ |
D | ttinterp.h | 319 FT_ULong new_max );
|