/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 | 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() 122 FT_Int new_max = old_max; in af_axis_hints_new_edge() local 132 new_max += ( new_max >> 2 ) + 4; in af_axis_hints_new_edge() 133 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_edge() [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/freetype/src/pfr/ |
D | pfrgload.c | 296 FT_UInt new_max = FT_PAD_CEIL( count, 8 ); in pfr_glyph_load_simple() local 301 new_max ) ) in pfr_glyph_load_simple() 304 glyph->max_xy_control = new_max; in pfr_glyph_load_simple() 601 FT_UInt new_max = ( org_count + count + 3 ) & (FT_UInt)-4; in pfr_glyph_load_compound() local 606 if ( new_max > 64 ) in pfr_glyph_load_compound() 614 if ( FT_RENEW_ARRAY( glyph->subs, glyph->max_subs, new_max ) ) in pfr_glyph_load_compound() 617 glyph->max_subs = new_max; in pfr_glyph_load_compound()
|
D | pfrload.c | 476 FT_UInt new_max = FT_PAD_CEIL( phy_font->num_strikes + count, 4 ); in pfr_extra_item_load_bitmap_info() local 481 new_max ) ) in pfr_extra_item_load_bitmap_info() 484 phy_font->max_strikes = new_max; in pfr_extra_item_load_bitmap_info()
|
/external/libevent/ |
D | signal.c | 228 int new_max = evsignal + 1; in evsig_set_handler_() local 231 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old)); in evsig_set_handler_() 238 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old)); in evsig_set_handler_() 240 sig->sh_old_max = new_max; in evsig_set_handler_()
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_cs.c | 322 unsigned new_max = in amdgpu_lookup_or_add_real_buffer() local 328 new_buffers = MALLOC(new_max * sizeof(*new_buffers)); in amdgpu_lookup_or_add_real_buffer() 329 new_handles = MALLOC(new_max * sizeof(*new_handles)); in amdgpu_lookup_or_add_real_buffer() 330 new_flags = MALLOC(new_max * sizeof(*new_flags)); in amdgpu_lookup_or_add_real_buffer() 348 cs->max_real_buffers = new_max; in amdgpu_lookup_or_add_real_buffer() 393 unsigned new_max = in amdgpu_lookup_or_add_slab_buffer() local 399 new_max * sizeof(*new_buffers)); in amdgpu_lookup_or_add_slab_buffer() 405 cs->max_slab_buffers = new_max; in amdgpu_lookup_or_add_slab_buffer()
|
/external/freetype/src/cid/ |
D | cidload.c | 470 FT_UInt new_max = FT_PAD_CEIL( num_subrs + 1, 4 ); in cid_read_subrs() local 473 if ( new_max <= max_offsets ) in cid_read_subrs() 479 if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) ) in cid_read_subrs() 482 max_offsets = new_max; in cid_read_subrs()
|
/external/pdfium/third_party/libpng16/ |
D | pngpread.c | 484 png_size_t new_max; in png_push_save_buffer() local 493 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer() 496 (png_size_t)new_max); in png_push_save_buffer() 506 png_ptr->save_buffer_max = new_max; in png_push_save_buffer()
|
/external/libpng/ |
D | pngpread.c | 485 png_size_t new_max; in png_push_save_buffer() local 494 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer() 497 (png_size_t)new_max); in png_push_save_buffer() 510 png_ptr->save_buffer_max = new_max; in png_push_save_buffer()
|
/external/skia/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 373 SkFixed new_min, SkFixed new_max) in map_range() argument 376 SkASSERT(new_min <= new_max); in map_range() 377 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min); in map_range()
|
D | SkFontMgr_fontconfig.cpp | 290 SkFixed new_min, SkFixed new_max) in map_range() argument 293 SkASSERT(new_min <= new_max); in map_range() 294 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min); in map_range()
|
/external/skqp/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 373 SkFixed new_min, SkFixed new_max) in map_range() argument 376 SkASSERT(new_min <= new_max); in map_range() 377 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min); in map_range()
|
D | SkFontMgr_fontconfig.cpp | 290 SkFixed new_min, SkFixed new_max) in map_range() argument 293 SkASSERT(new_min <= new_max); in map_range() 294 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min); in map_range()
|
/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/e2fsprogs/lib/ext2fs/ |
D | blkmap64_rb.c | 278 static void rb_truncate(__u64 new_max, struct rb_root *root) in rb_truncate() argument 287 if ((ext->start + ext->count - 1) <= new_max) in rb_truncate() 289 else if (ext->start > new_max) { in rb_truncate() 295 ext->count = new_max - ext->start + 1; in rb_truncate()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_cs.c | 311 unsigned new_max = MAX2(csc->max_slab_buffers + 16, in radeon_lookup_or_add_slab_buffer() local 316 new_max * sizeof(*new_buffers)); in radeon_lookup_or_add_slab_buffer() 322 csc->max_slab_buffers = new_max; in radeon_lookup_or_add_slab_buffer()
|
/external/freetype/src/truetype/ |
D | ttinterp.h | 463 FT_ULong new_max );
|
D | ttinterp.c | 345 FT_ULong new_max ) in Update_Max() argument 351 if ( *size < new_max ) in Update_Max() 353 if ( FT_REALLOC( *pbuff, *size * multiplier, new_max * multiplier ) ) in Update_Max() 355 *size = new_max; in Update_Max()
|
/external/v8/src/compiler/ |
D | operation-typer.cc | 98 double new_max = current_max; in WeakenRange() local 102 new_max = V8_INFINITY; in WeakenRange() 105 new_max = max; in WeakenRange() 111 return Type::Range(new_min, new_max, zone()); in WeakenRange()
|
D | typer.cc | 1218 double new_max = current_max; in Weaken() local 1222 new_max = V8_INFINITY; in Weaken() 1225 new_max = max; in Weaken() 1232 Type::Range(new_min, new_max, typer_->zone()), in Weaken()
|
/external/syslinux/com32/lib/libpng/ |
D | pngpread.c | 694 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/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_setup.c | 349 unsigned new_max = MAX2(ctx->flow_depth << 1, RADEON_LLVM_INITIAL_CF_DEPTH); in push_flow() local 352 new_max * sizeof(*ctx->flow)); in push_flow() 353 ctx->flow_depth_max = new_max; in push_flow()
|
/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()
|