Searched refs:new_max (Results 1 - 25 of 26) 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/pdfium/third_party/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
724 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,
235 FT_UInt new_max = count; local
[all...]
/external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/
H A Dutil.py217 def ScaleData(data, old_min, old_max, new_min, new_max):
219 new_min-new_max.
229 scale = (new_max - new_min) / float(old_max - old_min)
H A Dbase_encoder_test.py444 def FakeScale(self, data, old_min, old_max, new_min, new_max):
/external/libevent/
H A Dsignal.c226 int new_max = evsignal + 1; local
229 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old));
236 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old));
238 sig->sh_old_max = 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/pdfium/third_party/freetype/src/cid/
H A Dcidload.c441 FT_UInt new_max = FT_PAD_CEIL( num_subrs + 1, 4 ); local
444 if ( new_max <= max_offsets )
450 if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) )
453 max_offsets = new_max;
/external/pdfium/third_party/freetype/src/truetype/
H A Dttinterp.h312 FT_ULong new_max );
H A Dttinterp.c341 /* new_max :: The new capacity (size) of the buffer. */
357 FT_ULong new_max )
363 if ( *size < new_max )
365 if ( FT_REALLOC( *pbuff, *size * multiplier, new_max * multiplier ) )
367 *size = new_max;
/external/v8/src/compiler/
H A Doperation-typer.cc90 double new_max = current_max; local
94 new_max = V8_INFINITY;
97 new_max = max;
103 return Type::Range(new_min, new_max, zone());
H A Dtyper.cc1248 double new_max = current_max; local
1252 new_max = V8_INFINITY;
1255 new_max = max;
1262 Type::Range(new_min, new_max, typer_->zone()),
/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/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/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/truetype/
H A Dttinterp.h439 FT_ULong new_max );
H A Dttinterp.c325 /* new_max :: The new capacity (size) of the buffer. */
341 FT_ULong new_max )
347 if ( *size < new_max )
349 if ( FT_REALLOC( *pbuff, *size * multiplier, new_max * multiplier ) )
351 *size = new_max;
/external/libpng/
H A Dpngpread.c482 png_size_t new_max; local
491 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256;
494 (png_size_t)new_max);
504 png_ptr->save_buffer_max = new_max;
/external/pdfium/third_party/lpng_v163/
H A Dpngpread.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/skia/src/ports/
H A DSkFontMgr_fontconfig.cpp260 SkFixed new_min, SkFixed new_max)
263 SkASSERT(new_min <= new_max);
264 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min);
258 map_range(SkFixed value, SkFixed old_min, SkFixed old_max, SkFixed new_min, SkFixed new_max) argument
/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;

Completed in 713 milliseconds

12