Home
last modified time | relevance | path

Searched refs:old_max (Results 1 – 18 of 18) sorted by relevance

/external/freetype/src/base/
Dftgloadr.c211 FT_UInt new_max, old_max; in FT_GlyphLoader_CheckPoints() local
217 old_max = loader->max_points; in FT_GlyphLoader_CheckPoints()
219 if ( new_max > old_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()
237 loader->base.extra_points + old_max, in FT_GlyphLoader_CheckPoints()
238 old_max ); in FT_GlyphLoader_CheckPoints()
248 old_max = loader->max_contours; in FT_GlyphLoader_CheckPoints()
251 if ( new_max > old_max ) in FT_GlyphLoader_CheckPoints()
[all …]
Dftstroke.c320 FT_UInt old_max = border->max_points; in ft_stroke_border_grow() local
325 if ( new_max > old_max ) in ft_stroke_border_grow()
327 FT_UInt cur_max = old_max; in ft_stroke_border_grow()
334 if ( FT_RENEW_ARRAY( border->points, old_max, cur_max ) || in ft_stroke_border_grow()
335 FT_RENEW_ARRAY( border->tags, old_max, cur_max ) ) in ft_stroke_border_grow()
/external/pdfium/third_party/freetype/src/base/
Dftgloadr.c211 FT_UInt new_max, old_max; in FT_GlyphLoader_CheckPoints() local
217 old_max = loader->max_points; in FT_GlyphLoader_CheckPoints()
219 if ( new_max > old_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()
237 loader->base.extra_points + old_max, in FT_GlyphLoader_CheckPoints()
238 old_max ); in FT_GlyphLoader_CheckPoints()
248 old_max = loader->max_contours; in FT_GlyphLoader_CheckPoints()
251 if ( new_max > old_max ) in FT_GlyphLoader_CheckPoints()
[all …]
Dftstroke.c330 FT_UInt old_max = border->max_points; in ft_stroke_border_grow() local
335 if ( new_max > old_max ) in ft_stroke_border_grow()
337 FT_UInt cur_max = old_max; in ft_stroke_border_grow()
344 if ( FT_RENEW_ARRAY( border->points, old_max, cur_max ) || in ft_stroke_border_grow()
345 FT_RENEW_ARRAY( border->tags, old_max, cur_max ) ) in ft_stroke_border_grow()
/external/freetype/src/autofit/
Dafhints.c56 FT_Int old_max = axis->max_segments; in af_axis_hints_new_segment() local
57 FT_Int new_max = old_max; in af_axis_hints_new_segment()
61 if ( old_max >= big_max ) in af_axis_hints_new_segment()
68 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_segment()
80 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in af_axis_hints_new_segment()
120 FT_Int old_max = axis->max_edges; in af_axis_hints_new_edge() local
121 FT_Int new_max = old_max; in af_axis_hints_new_edge()
125 if ( old_max >= big_max ) in af_axis_hints_new_edge()
132 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_edge()
144 if ( FT_RENEW_ARRAY( axis->edges, old_max, new_max ) ) in af_axis_hints_new_edge()
[all …]
/external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/
Dutil.py217 def ScaleData(data, old_min, old_max, new_min, new_max): argument
226 if old_min == old_max:
229 scale = (new_max - new_min) / float(old_max - old_min)
Dbase_encoder_test.py444 def FakeScale(self, data, old_min, old_max, new_min, new_max): argument
446 self.max = old_max
/external/pdfium/third_party/freetype/src/pshinter/
Dpshrec.c65 FT_UInt old_max = table->max_hints; in ps_hint_table_ensure() local
70 if ( new_max > old_max ) in ps_hint_table_ensure()
74 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) ) in ps_hint_table_ensure()
140 FT_UInt old_max = ( mask->max_bits + 7 ) >> 3; in ps_mask_ensure() local
145 if ( new_max > old_max ) in ps_mask_ensure()
148 if ( !FT_RENEW_ARRAY( mask->bytes, old_max, new_max ) ) in ps_mask_ensure()
234 FT_UInt old_max = table->max_masks; in ps_mask_table_ensure() local
239 if ( new_max > old_max ) in ps_mask_table_ensure()
242 if ( !FT_RENEW_ARRAY( table->masks, old_max, new_max ) ) in ps_mask_table_ensure()
/external/freetype/src/pshinter/
Dpshrec.c65 FT_UInt old_max = table->max_hints; in ps_hint_table_ensure() local
70 if ( new_max > old_max ) in ps_hint_table_ensure()
74 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) ) in ps_hint_table_ensure()
140 FT_UInt old_max = ( mask->max_bits + 7 ) >> 3; in ps_mask_ensure() local
145 if ( new_max > old_max ) in ps_mask_ensure()
148 if ( !FT_RENEW_ARRAY( mask->bytes, old_max, new_max ) ) in ps_mask_ensure()
234 FT_UInt old_max = table->max_masks; in ps_mask_table_ensure() local
239 if ( new_max > old_max ) in ps_mask_table_ensure()
242 if ( !FT_RENEW_ARRAY( table->masks, old_max, new_max ) ) in ps_mask_table_ensure()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c266 const GLuint old_max = *num_textures; in update_textures() local
270 if (samplers_used == 0x0 && old_max == 0) in update_textures()
289 else if (samplers_used == 0 && unit >= old_max) { in update_textures()
301 new_count = MAX2(*num_textures, old_max); in update_textures()
Dst_atom_sampler.c218 const GLuint old_max = *num_samplers; in update_shader_samplers() local
240 else if (samplers_used != 0 || unit < old_max) { in update_shader_samplers()
/external/skia/src/fonts/
DSkFontMgr_fontconfig.cpp161 int old_min, int old_max, int new_min, int new_max) { in map_range() argument
162 SkASSERT(old_min < old_max); in map_range()
165 new_max - new_min, old_max - old_min); in map_range()
/external/chromium-trace/catapult/devil/devil/android/
Dbattery_utils_test.py265 old_max = battery_utils._MAX_CHARGE_ERROR
270 battery_utils._MAX_CHARGE_ERROR = old_max
280 old_max = battery_utils._MAX_CHARGE_ERROR
285 battery_utils._MAX_CHARGE_ERROR = old_max
/external/skia/src/ports/
DSkFontMgr_fontconfig.cpp259 SkFixed old_min, SkFixed old_max, in map_range() argument
262 SkASSERT(old_min < old_max); in map_range()
264 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min); in map_range()
/external/opencv3/3rdparty/libpng/
Dpngwutil.c452 int old_max; in png_text_compress() local
454 old_max = comp->max_output_ptr; in png_text_compress()
466 png_memcpy(comp->output_ptr, old_ptr, old_max in png_text_compress()
508 int old_max; in png_text_compress() local
510 old_max = comp->max_output_ptr; in png_text_compress()
524 old_max * png_sizeof(png_charp)); in png_text_compress()
/external/iputils/
Drdisc.c1398 int old_max = max_preference(); in record_router() local
1413 tp->preference == old_max) in record_router()
1420 if (preference > old_max) in record_router()
/external/freetype/src/sfnt/
Dttcmap.c2757 FT_UInt32 old_max = cmap->max_results; in tt_cmap14_ensure() local
2765 if ( FT_QRENEW_ARRAY( cmap->results, old_max, num_results ) ) in tt_cmap14_ensure()
/external/pdfium/third_party/freetype/src/sfnt/
Dttcmap.c2883 FT_UInt32 old_max = cmap->max_results; in tt_cmap14_ensure() local
2891 if ( FT_QRENEW_ARRAY( cmap->results, old_max, num_results ) ) in tt_cmap14_ensure()