Searched refs:new_max (Results 1 - 25 of 28) sorted by relevance

12

/external/freetype/src/base/
H A Dftgloadr.c211 FT_UInt new_max, old_max; local
215 new_max = (FT_UInt)base->n_points + (FT_UInt)current->n_points +
219 if ( new_max > old_max )
221 new_max = FT_PAD_CEIL( new_max, 8 );
223 if ( new_max > FT_OUTLINE_POINTS_MAX )
226 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) ||
227 FT_RENEW_ARRAY( base->tags, old_max, new_max ) )
233 old_max * 2, new_max * 2 ) )
236 FT_ARRAY_MOVE( loader->base.extra_points + new_max,
286 FT_UInt new_max, old_max; local
[all...]
H A Dftstroke.c331 FT_UInt new_max = border->num_points + new_points; local
335 if ( new_max > old_max )
341 while ( cur_max < new_max )
/external/freetype/src/autofit/
H A Dafhints.c57 FT_Int new_max = old_max; local
67 new_max += ( new_max >> 2 ) + 4;
68 if ( new_max < old_max || new_max > big_max )
69 new_max = big_max;
73 if ( FT_NEW_ARRAY( axis->segments, new_max ) )
80 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) )
84 axis->max_segments = new_max;
122 FT_Int new_max local
737 FT_UInt old_max, new_max; local
[all...]
/external/freetype/src/pshinter/
H A Dpshrec.c66 FT_UInt new_max = count; local
70 if ( new_max > old_max )
73 new_max = FT_PAD_CEIL( new_max, 8 );
74 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) )
75 table->max_hints = new_max;
141 FT_UInt new_max = ( count + 7 ) >> 3; local
145 if ( new_max > old_max )
147 new_max = FT_PAD_CEIL( new_max,
235 FT_UInt new_max = count; local
[all...]
/external/libevent/
H A Dsignal.c228 int new_max = evsignal + 1; local
231 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old));
238 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old));
240 sig->sh_old_max = new_max;
/external/freetype/src/pfr/
H A Dpfrgload.c296 FT_UInt new_max = FT_PAD_CEIL( count, 8 ); local
301 new_max ) )
304 glyph->max_xy_control = new_max;
601 FT_UInt new_max = ( org_count + count + 3 ) & (FT_UInt)-4; local
606 if ( new_max > 64 )
614 if ( FT_RENEW_ARRAY( glyph->subs, glyph->max_subs, new_max ) )
617 glyph->max_subs = new_max;
H A Dpfrload.c476 FT_UInt new_max = FT_PAD_CEIL( phy_font->num_strikes + count, 4 ); local
481 new_max ) )
484 phy_font->max_strikes = new_max;
/external/freetype/src/cid/
H A Dcidload.c470 FT_UInt new_max = FT_PAD_CEIL( num_subrs + 1, 4 ); local
473 if ( new_max <= max_offsets )
479 if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) )
482 max_offsets = new_max;
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_cs.c322 unsigned new_max = local
328 new_buffers = MALLOC(new_max * sizeof(*new_buffers));
329 new_handles = MALLOC(new_max * sizeof(*new_handles));
330 new_flags = MALLOC(new_max * sizeof(*new_flags));
348 cs->max_real_buffers = new_max;
393 unsigned new_max = local
399 new_max * sizeof(*new_buffers));
405 cs->max_slab_buffers = new_max;
/external/iputils/
H A Drdisc.c1446 int new_max = max_preference(); local
1447 if (new_max != INELIGIBLE_PREF) {
1450 if (tp->preference == new_max &&
1461 int new_max = max_preference(); local
1464 if (tp->preference < new_max && tp->in_kernel) {
/external/skia/src/ports/
H A DSkFontConfigInterface_direct.cpp373 SkFixed new_min, SkFixed new_max)
376 SkASSERT(new_min <= new_max);
377 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min);
371 map_range(SkFixed value, SkFixed old_min, SkFixed old_max, SkFixed new_min, SkFixed new_max) argument
H A DSkFontMgr_fontconfig.cpp290 SkFixed new_min, SkFixed new_max)
293 SkASSERT(new_min <= new_max);
294 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min);
288 map_range(SkFixed value, SkFixed old_min, SkFixed old_max, SkFixed new_min, SkFixed new_max) argument
/external/skqp/src/ports/
H A DSkFontConfigInterface_direct.cpp373 SkFixed new_min, SkFixed new_max)
376 SkASSERT(new_min <= new_max);
377 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min);
371 map_range(SkFixed value, SkFixed old_min, SkFixed old_max, SkFixed new_min, SkFixed new_max) argument
H A DSkFontMgr_fontconfig.cpp290 SkFixed new_min, SkFixed new_max)
293 SkASSERT(new_min <= new_max);
294 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min);
288 map_range(SkFixed value, SkFixed old_min, SkFixed old_max, SkFixed new_min, SkFixed new_max) argument
/external/e2fsprogs/lib/ext2fs/
H A Dblkmap64_rb.c278 static void rb_truncate(__u64 new_max, struct rb_root *root) argument
287 if ((ext->start + ext->count - 1) <= new_max)
289 else if (ext->start > new_max) {
295 ext->count = new_max - ext->start + 1;
/external/freetype/src/truetype/
H A Dttinterp.h463 FT_ULong new_max );
/external/libpng/
H A Dpngpread.c485 png_size_t new_max; local
494 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256;
497 (png_size_t)new_max);
510 png_ptr->save_buffer_max = new_max;
/external/pdfium/third_party/libpng16/
H A Dpngpread.c484 png_size_t new_max; local
493 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256;
496 (png_size_t)new_max);
506 png_ptr->save_buffer_max = new_max;
/external/syslinux/com32/lib/libpng/
H A Dpngpread.c694 png_size_t new_max; local
703 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256;
706 (png_uint_32)new_max);
714 png_ptr->save_buffer_max = new_max;
/external/v8/src/compiler/
H A Doperation-typer.cc98 double new_max = current_max; local
102 new_max = V8_INFINITY;
105 new_max = max;
111 return Type::Range(new_min, new_max, zone());
H A Dtyper.cc1218 double new_max = current_max; local
1222 new_max = V8_INFINITY;
1225 new_max = max;
1232 Type::Range(new_min, new_max, typer_->zone()),
/external/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_cs.c311 unsigned new_max = MAX2(csc->max_slab_buffers + 16, local
316 new_max * sizeof(*new_buffers));
322 csc->max_slab_buffers = new_max;
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_tgsi_setup.c349 unsigned new_max = MAX2(ctx->flow_depth << 1, RADEON_LLVM_INITIAL_CF_DEPTH); local
352 new_max * sizeof(*ctx->flow));
353 ctx->flow_depth_max = new_max;
/external/blktrace/
H A Dblkparse.c507 int new_max = (cpu + CPUS_PER_LONG) & ~(CPUS_PER_LONG - 1); local
508 unsigned long *map = malloc(new_max / sizeof(long));
510 memset(map, 0, new_max / sizeof(long));
518 pdi->cpu_map_max = new_max;
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
H A Dtest_widgets.py827 new_max = max + 10
828 self.scale.set(new_max)

Completed in 776 milliseconds

12