Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/freetype/src/base/
Dftgloadr.c215 FT_UInt new_max, old_max; in FT_GlyphLoader_CheckPoints() local
225 old_max = loader->max_points; in FT_GlyphLoader_CheckPoints()
227 if ( new_max > old_max ) in FT_GlyphLoader_CheckPoints()
234 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) || in FT_GlyphLoader_CheckPoints()
235 FT_RENEW_ARRAY( base->tags, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints()
241 old_max * 2, new_max * 2 ) ) in FT_GlyphLoader_CheckPoints()
245 loader->base.extra_points + old_max, in FT_GlyphLoader_CheckPoints()
246 old_max ); in FT_GlyphLoader_CheckPoints()
260 old_max = loader->max_contours; in FT_GlyphLoader_CheckPoints()
263 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()
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafhints.c154 FT_Int old_max = axis->max_segments; in af_axis_hints_new_segment() local
155 FT_Int new_max = old_max; in af_axis_hints_new_segment()
159 if ( old_max >= big_max ) in af_axis_hints_new_segment()
166 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_segment()
178 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in af_axis_hints_new_segment()
219 FT_Int old_max = axis->max_edges; in af_axis_hints_new_edge() local
220 FT_Int new_max = old_max; in af_axis_hints_new_edge()
224 if ( old_max >= big_max ) in af_axis_hints_new_edge()
231 if ( new_max < old_max || new_max > big_max ) in af_axis_hints_new_edge()
243 if ( FT_RENEW_ARRAY( axis->edges, old_max, new_max ) ) in af_axis_hints_new_edge()
[all …]
/third_party/skia/third_party/externals/freetype/src/pshinter/
Dpshrec.c64 FT_UInt old_max = table->max_hints; in ps_hint_table_ensure() local
69 if ( new_max > old_max ) in ps_hint_table_ensure()
73 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) ) in ps_hint_table_ensure()
139 FT_UInt old_max = ( mask->max_bits + 7 ) >> 3; in ps_mask_ensure() local
144 if ( new_max > old_max ) in ps_mask_ensure()
147 if ( !FT_RENEW_ARRAY( mask->bytes, old_max, new_max ) ) in ps_mask_ensure()
233 FT_UInt old_max = table->max_masks; in ps_mask_table_ensure() local
238 if ( new_max > old_max ) in ps_mask_table_ensure()
241 if ( !FT_RENEW_ARRAY( table->masks, old_max, new_max ) ) in ps_mask_table_ensure()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c96 const GLuint old_max = st->state.num_sampler_views[shader_stage]; in st_get_sampler_views() local
103 if (samplers_used == 0x0 && old_max == 0) in st_get_sampler_views()
/third_party/skia/src/ports/
DSkFontConfigInterface_direct.cpp360 SkScalar old_min, SkScalar old_max, in map_range() argument
363 SkASSERT(old_min < old_max); in map_range()
365 return new_min + ((value - old_min) * (new_max - new_min) / (old_max - old_min)); in map_range()
DSkFontMgr_fontconfig.cpp269 SkScalar old_min, SkScalar old_max, in map_range() argument
272 SkASSERT(old_min < old_max); in map_range()
274 return new_min + ((value - old_min) * (new_max - new_min) / (old_max - old_min)); in map_range()
/third_party/libcoap/tests/
Dtest_pdu.c357 size_t old_max = pdu->max_size; in t_encode_pdu2() local
372 coap_pdu_clear(pdu, old_max); /* restore PDU size */ in t_encode_pdu2()
700 size_t old_max = pdu->max_size; in t_encode_pdu11() local
714 pdu->max_size = old_max; in t_encode_pdu11()
/third_party/mesa3d/src/panfrost/lib/
Dpan_indirect_draw.c1055 nir_ssa_def *old_max = nir_load_var(b, max_var); in get_index_min_max() local
1064 new_max = nir_umax(b, old_max, data); in get_index_min_max()
1067 … new_max = nir_bcsel(b, nir_ine(b, restart_index, data), new_max, old_max); in get_index_min_max()
1070 old_max = new_max; in get_index_min_max()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c342 unsigned old_max = program->max_global_buffers; in si_set_global_binding() local
351 memset(&program->global_buffers[old_max], 0, in si_set_global_binding()
352 (program->max_global_buffers - old_max) * sizeof(program->global_buffers[0])); in si_set_global_binding()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c1447 unsigned old_max = cs->max_global_buffers; in llvmpipe_set_global_binding() local
1455 …memset(&cs->global_buffers[old_max], 0, (cs->max_global_buffers - old_max) * sizeof(cs->global_buf… in llvmpipe_set_global_binding()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcmap.c2988 FT_UInt32 old_max = cmap->max_results; in tt_cmap14_ensure() local
2996 if ( FT_QRENEW_ARRAY( cmap->results, old_max, num_results ) ) in tt_cmap14_ensure()