/external/freetype/src/base/ |
D | ftgloadr.c | 211 FT_UInt new_max, old_max; in FT_GlyphLoader_CheckPoints() local 215 new_max = (FT_UInt)base->n_points + (FT_UInt)current->n_points + in FT_GlyphLoader_CheckPoints() 219 if ( new_max > old_max ) in FT_GlyphLoader_CheckPoints() 221 new_max = FT_PAD_CEIL( new_max, 8 ); in FT_GlyphLoader_CheckPoints() 223 if ( new_max > FT_OUTLINE_POINTS_MAX ) in FT_GlyphLoader_CheckPoints() 226 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) || in FT_GlyphLoader_CheckPoints() 227 FT_RENEW_ARRAY( base->tags, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints() 233 old_max * 2, new_max * 2 ) ) in FT_GlyphLoader_CheckPoints() 236 FT_ARRAY_MOVE( loader->base.extra_points + new_max, in FT_GlyphLoader_CheckPoints() 240 loader->base.extra_points2 = loader->base.extra_points + new_max; in FT_GlyphLoader_CheckPoints() [all …]
|
D | ftstroke.c | 321 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/pdfium/third_party/freetype/src/base/ |
D | ftgloadr.c | 211 FT_UInt new_max, old_max; in FT_GlyphLoader_CheckPoints() local 215 new_max = (FT_UInt)base->n_points + (FT_UInt)current->n_points + in FT_GlyphLoader_CheckPoints() 219 if ( new_max > old_max ) in FT_GlyphLoader_CheckPoints() 221 new_max = FT_PAD_CEIL( new_max, 8 ); in FT_GlyphLoader_CheckPoints() 223 if ( new_max > FT_OUTLINE_POINTS_MAX ) in FT_GlyphLoader_CheckPoints() 226 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) || in FT_GlyphLoader_CheckPoints() 227 FT_RENEW_ARRAY( base->tags, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints() 233 old_max * 2, new_max * 2 ) ) in FT_GlyphLoader_CheckPoints() 236 FT_ARRAY_MOVE( loader->base.extra_points + new_max, in FT_GlyphLoader_CheckPoints() 240 loader->base.extra_points2 = loader->base.extra_points + new_max; in FT_GlyphLoader_CheckPoints() [all …]
|
D | ftstroke.c | 331 FT_UInt new_max = border->num_points + new_points; in ft_stroke_border_grow() local 335 if ( new_max > old_max ) in ft_stroke_border_grow() 341 while ( cur_max < new_max ) in ft_stroke_border_grow()
|
/external/freetype/src/autofit/ |
D | afhints.c | 57 FT_Int new_max = old_max; in af_axis_hints_new_segment() local 67 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_segment() 68 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_segment() 69 new_max = big_max; in af_axis_hints_new_segment() 73 if ( FT_NEW_ARRAY( axis->segments, new_max ) ) in af_axis_hints_new_segment() 80 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in af_axis_hints_new_segment() 84 axis->max_segments = new_max; in af_axis_hints_new_segment() 121 FT_Int new_max = old_max; in af_axis_hints_new_edge() local 131 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_edge() 132 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_edge() [all …]
|
/external/pdfium/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/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/libevent/ |
D | signal.c | 226 int new_max = evsignal + 1; in _evsig_set_handler() local 229 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old)); in _evsig_set_handler() 236 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old)); in _evsig_set_handler() 238 sig->sh_old_max = new_max; in _evsig_set_handler()
|
/external/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/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/ |
D | util.py | 217 def ScaleData(data, old_min, old_max, new_min, new_max): argument 229 scale = (new_max - new_min) / float(old_max - old_min)
|
D | base_encoder_test.py | 444 def FakeScale(self, data, old_min, old_max, new_min, new_max): argument
|
/external/pdfium/third_party/freetype/src/cid/ |
D | cidload.c | 441 FT_UInt new_max = FT_PAD_CEIL( num_subrs + 1, 4 ); in cid_read_subrs() local 444 if ( new_max <= max_offsets ) in cid_read_subrs() 450 if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) ) in cid_read_subrs() 453 max_offsets = new_max; in cid_read_subrs()
|
/external/libpng/ |
D | pngpread.c | 482 png_size_t new_max; in png_push_save_buffer() local 491 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer() 494 (png_size_t)new_max); in png_push_save_buffer() 504 png_ptr->save_buffer_max = new_max; in png_push_save_buffer()
|
/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/pdfium/third_party/lpng_v163/ |
D | pngpread.c | 679 png_size_t new_max; in png_push_save_buffer() local 688 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer() 691 (png_size_t)new_max); in png_push_save_buffer() 701 png_ptr->save_buffer_max = new_max; in png_push_save_buffer()
|
/external/opencv3/3rdparty/libpng/ |
D | pngpread.c | 706 png_size_t new_max; in png_push_save_buffer() local 715 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer() 717 png_ptr->save_buffer = (png_bytep)png_malloc_warn(png_ptr, new_max); in png_push_save_buffer() 727 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/freetype/src/truetype/ |
D | ttinterp.h | 312 FT_ULong new_max );
|
D | ttinterp.c | 364 FT_ULong new_max ) in Update_Max() argument 370 if ( *size < new_max ) in Update_Max() 372 if ( FT_REALLOC( *pbuff, *size * multiplier, new_max * multiplier ) ) in Update_Max() 374 *size = new_max; in Update_Max()
|
/external/pdfium/third_party/freetype/src/truetype/ |
D | ttinterp.h | 312 FT_ULong new_max );
|
D | ttinterp.c | 357 FT_ULong new_max ) in Update_Max() argument 363 if ( *size < new_max ) in Update_Max() 365 if ( FT_REALLOC( *pbuff, *size * multiplier, new_max * multiplier ) ) in Update_Max() 367 *size = new_max; in Update_Max()
|
/external/skia/src/ports/ |
D | SkFontMgr_fontconfig.cpp | 260 SkFixed new_min, SkFixed new_max) in map_range() argument 263 SkASSERT(new_min <= new_max); in map_range() 264 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min); in map_range()
|
/external/blktrace/ |
D | blkparse.c | 507 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/v8/src/compiler/ |
D | typer.cc | 1362 double new_max = current_max; in Weaken() local 1366 new_max = V8_INFINITY; in Weaken() 1369 new_max = max; in Weaken() 1376 Type::Range(new_min, new_max, typer_->zone()), in Weaken()
|