/external/freetype/src/base/ |
D | ftgloadr.c | 211 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 …]
|
D | ftstroke.c | 325 FT_UInt old_max = border->max_points; in ft_stroke_border_grow() local 330 if ( new_max > old_max ) in ft_stroke_border_grow() 332 FT_UInt cur_max = old_max; in ft_stroke_border_grow() 339 if ( FT_RENEW_ARRAY( border->points, old_max, cur_max ) || in ft_stroke_border_grow() 340 FT_RENEW_ARRAY( border->tags, old_max, cur_max ) ) in ft_stroke_border_grow()
|
/external/boringssl/src/crypto/buf/ |
D | buf_test.cc | 35 size_t old_max = buf->max; in TEST() local 37 EXPECT_EQ(old_max, buf->max); in TEST() 43 EXPECT_EQ(old_max, buf->max); in TEST() 47 ASSERT_TRUE(BUF_MEM_reserve(buf.get(), old_max + 1)); in TEST() 48 ASSERT_GE(buf->max, old_max + 1); in TEST()
|
/external/freetype/src/autofit/ |
D | afhints.c | 56 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() 121 FT_Int old_max = axis->max_edges; in af_axis_hints_new_edge() local 122 FT_Int new_max = old_max; in af_axis_hints_new_edge() 126 if ( old_max >= big_max ) in af_axis_hints_new_edge() 133 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_edge() 145 if ( FT_RENEW_ARRAY( axis->edges, old_max, new_max ) ) in af_axis_hints_new_edge() [all …]
|
/external/freetype/src/pshinter/ |
D | pshrec.c | 65 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/ |
D | st_atom_texture.c | 107 const GLuint old_max = *out_num_textures; in update_textures() local 114 if (samplers_used == 0x0 && old_max == 0) in update_textures() 123 for (unit = 0; samplers_used || unit < old_max; in update_textures()
|
/external/skqp/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 372 SkScalar old_min, SkScalar old_max, in map_range() argument 375 SkASSERT(old_min < old_max); in map_range() 377 return new_min + ((value - old_min) * (new_max - new_min) / (old_max - old_min)); in map_range()
|
D | SkFontMgr_fontconfig.cpp | 290 SkScalar old_min, SkScalar old_max, in map_range() argument 293 SkASSERT(old_min < old_max); in map_range() 295 return new_min + ((value - old_min) * (new_max - new_min) / (old_max - old_min)); in map_range()
|
/external/skia/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 372 SkScalar old_min, SkScalar old_max, in map_range() argument 375 SkASSERT(old_min < old_max); in map_range() 377 return new_min + ((value - old_min) * (new_max - new_min) / (old_max - old_min)); in map_range()
|
D | SkFontMgr_fontconfig.cpp | 290 SkScalar old_min, SkScalar old_max, in map_range() argument 293 SkASSERT(old_min < old_max); in map_range() 295 return new_min + ((value - old_min) * (new_max - new_min) / (old_max - old_min)); in map_range()
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | battery_utils_test.py | 268 old_max = battery_utils._MAX_CHARGE_ERROR 273 battery_utils._MAX_CHARGE_ERROR = old_max 283 old_max = battery_utils._MAX_CHARGE_ERROR 288 battery_utils._MAX_CHARGE_ERROR = old_max
|
/external/iputils/ |
D | rdisc.c | 1398 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/ |
D | ttcmap.c | 2982 FT_UInt32 old_max = cmap->max_results; in tt_cmap14_ensure() local 2990 if ( FT_QRENEW_ARRAY( cmap->results, old_max, num_results ) ) in tt_cmap14_ensure()
|