Searched defs:new_max (Results 1 - 18 of 18) sorted by relevance

/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.c321 FT_UInt new_max = border->num_points + new_points; local
325 if ( new_max > old_max )
331 while ( cur_max < new_max )
/external/pdfium/third_party/freetype/src/base/
H A Dftgloadr.c211 FT_UInt new_max, old_max; local
215 new_max = base->n_points + current->n_points + n_points;
218 if ( new_max > old_max )
220 new_max = FT_PAD_CEIL( new_max, 8 );
222 if ( new_max > FT_OUTLINE_POINTS_MAX )
225 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) ||
226 FT_RENEW_ARRAY( base->tags, old_max, new_max ) )
232 old_max * 2, new_max * 2 ) )
235 FT_ARRAY_MOVE( loader->base.extra_points + new_max,
285 FT_UInt new_max, old_max; local
[all...]
H A Dftstroke.c321 FT_UInt new_max = border->num_points + new_points; local
325 if ( new_max > old_max )
331 while ( cur_max < new_max )
/external/freetype/src/pfr/
H A Dpfrload.c368 FT_UInt new_max = FT_PAD_CEIL( phy_font->num_strikes + count, 4 ); local
373 new_max ) )
376 phy_font->max_strikes = new_max;
/external/linux-tools-perf/src/tools/perf/util/
H A Dcpumap.c59 int new_max = nr_cpus + cpu - prev - 1; local
61 if (new_max >= max_entries) {
62 max_entries = new_max + MAX_NR_CPUS / 2;
/external/pdfium/third_party/freetype/src/cid/
H A Dcidload.c437 FT_UInt new_max = FT_PAD_CEIL( num_subrs + 1, 4 ); local
440 if ( new_max <= max_offsets )
446 if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) )
449 max_offsets = new_max;
/external/skia/src/fonts/
H A DSkFontMgr_fontconfig.cpp161 int old_min, int old_max, int new_min, int new_max) {
163 SkASSERT(new_min < new_max);
165 new_max - new_min, old_max - old_min);
160 map_range(int value, int old_min, int old_max, int new_min, int new_max) argument
/external/skia/src/ports/
H A DSkFontMgr_fontconfig.cpp252 SkFixed new_min, SkFixed new_max)
255 SkASSERT(new_min <= new_max);
256 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min);
250 map_range(SkFixed value, SkFixed old_min, SkFixed old_max, SkFixed new_min, SkFixed new_max) argument
/external/libpng/
H A Dpngpread.c681 png_size_t new_max; local
690 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256;
693 (png_size_t)new_max);
703 png_ptr->save_buffer_max = new_max;
/external/pdfium/samples/fx_lpng/lpng_v163/
H A Dfx_pngpread.c679 png_size_t new_max; local
688 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256;
691 (png_size_t)new_max);
701 png_ptr->save_buffer_max = new_max;
/external/e2fsprogs/lib/ext2fs/
H A Dblkmap64_rb.c276 static void rb_truncate(__u64 new_max, struct rb_root *root) argument
285 if ((ext->start + ext->count - 1) <= new_max)
287 else if (ext->start > new_max) {
293 ext->count = new_max - ext->start + 1;
/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;
121 FT_Int new_max local
603 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/pdfium/third_party/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,
238 FT_UInt new_max = count; local
[all...]
/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/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/v8/src/
H A Djsregexp.cc4952 int new_max = (max == kInfinity) ? max : max - min; local
4956 0, new_max, is_greedy, body, compiler, on_success, true);

Completed in 691 milliseconds