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/
H A Dftgloadr.c215 FT_UInt new_max, old_max; in FT_BASE_DEF() local
225 old_max = loader->max_points; in FT_BASE_DEF()
227 if ( new_max > old_max ) in FT_BASE_DEF()
234 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) || in FT_BASE_DEF()
235 FT_RENEW_ARRAY( base->tags, old_max, new_max ) ) in FT_BASE_DEF()
241 old_max * 2, new_max * 2 ) ) in FT_BASE_DEF()
245 loader->base.extra_points + old_max, in FT_BASE_DEF()
246 old_max ); in FT_BASE_DEF()
260 old_max = loader->max_contours; in FT_BASE_DEF()
263 if ( new_max > old_max ) in FT_BASE_DEF()
298 FT_UInt new_max, old_max; FT_BASE_DEF() local
[all...]
H A 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/
H A Dafhints.c154 FT_Int old_max = axis->max_segments; in FT_LOCAL_DEF() local
155 FT_Int new_max = old_max; in FT_LOCAL_DEF()
159 if ( old_max >= big_max ) in FT_LOCAL_DEF()
166 if ( new_max < old_max || new_max > big_max ) in FT_LOCAL_DEF()
178 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in FT_LOCAL_DEF()
219 FT_Int old_max = axis->max_edges; in FT_LOCAL() local
220 FT_Int new_max = old_max; in FT_LOCAL()
224 if ( old_max >= big_max ) in FT_LOCAL()
231 if ( new_max < old_max || new_max > big_max ) in FT_LOCAL()
243 if ( FT_RENEW_ARRAY( axis->edges, old_max, new_ma in FT_LOCAL()
865 FT_Int old_max, new_max; FT_LOCAL_DEF() local
[all...]
/third_party/skia/third_party/externals/freetype/src/pshinter/
H A 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/skia/src/ports/
H A DSkFontConfigInterface_direct.cpp360 SkScalar old_min, SkScalar old_max, in map_range()
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()
359 map_range(SkScalar value, SkScalar old_min, SkScalar old_max, SkScalar new_min, SkScalar new_max) map_range() argument
H A DSkFontMgr_fontconfig.cpp269 SkScalar old_min, SkScalar old_max, in map_range()
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()
268 map_range(SkScalar value, SkScalar old_min, SkScalar old_max, SkScalar new_min, SkScalar new_max) map_range() argument
/third_party/mesa3d/src/mesa/state_tracker/
H A 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/mesa3d/src/gallium/drivers/radeonsi/
H A 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/libcoap/tests/
H A 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/
H A 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/llvmpipe/
H A 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_buffers[0])); in llvmpipe_set_global_binding()
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A 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()

Completed in 21 milliseconds