/external/pdfium/third_party/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 | 330 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/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 | 330 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/fio/lib/ |
D | output_buffer.c | 27 size_t old_max = out->max_buflen; in buf_output_add() local 33 old_max = max(old_max, out->buflen + len); in buf_output_add() 34 if (old_max + need > out->max_buflen) in buf_output_add() 35 need = out->max_buflen - old_max; in buf_output_add() 36 memset(&out->buf[old_max], 0, need); in buf_output_add()
|
/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/pdfium/third_party/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 | 109 const GLuint old_max = *num_textures; in update_textures() local 116 if (samplers_used == 0x0 && old_max == 0) in update_textures() 138 else if (samplers_used == 0 && unit >= old_max) { in update_textures()
|
D | st_atom_sampler.c | 256 const GLuint old_max = *num_samplers; in update_shader_samplers() local 275 else if (samplers_used != 0 || unit < old_max) { in update_shader_samplers()
|
/external/skia/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 372 SkFixed old_min, SkFixed old_max, in map_range() argument 375 SkASSERT(old_min < old_max); in map_range() 377 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min); in map_range()
|
D | SkFontMgr_fontconfig.cpp | 277 SkFixed old_min, SkFixed old_max, in map_range() argument 280 SkASSERT(old_min < old_max); in map_range() 282 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min); in map_range()
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | battery_utils_test.py | 265 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/chromium-trace/catapult/devil/devil/android/ |
D | battery_utils_test.py | 265 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/syslinux/com32/lib/libpng/ |
D | pngwutil.c | 246 int old_max; in png_text_compress() local 248 old_max = comp->max_output_ptr; in png_text_compress() 258 png_memcpy(comp->output_ptr, old_ptr, old_max in png_text_compress() 297 int old_max; in png_text_compress() local 299 old_max = comp->max_output_ptr; in png_text_compress() 311 old_max * png_sizeof(png_charp)); in png_text_compress()
|
D | pngset.c | 673 int old_max; in png_set_text_2() local 675 old_max = info_ptr->max_text; in png_set_text_2() 685 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max * in png_set_text_2()
|
/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/pdfium/third_party/freetype/src/sfnt/ |
D | ttcmap.c | 2883 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()
|
/external/freetype/src/sfnt/ |
D | ttcmap.c | 2959 FT_UInt32 old_max = cmap->max_results; in tt_cmap14_ensure() local 2967 if ( FT_QRENEW_ARRAY( cmap->results, old_max, num_results ) ) in tt_cmap14_ensure()
|