Searched refs:new_max (Results 1 - 21 of 21) sorted by relevance

/xsrc/external/mit/freetype/dist/src/base/
H A Dftgloadr.c215 FT_UInt new_max, old_max; local in function:FT_GlyphLoader_CheckPoints
223 new_max = (FT_UInt)base->n_points + (FT_UInt)current->n_points +
227 if ( new_max > old_max )
229 new_max = FT_PAD_CEIL( new_max, 8 );
231 if ( new_max > FT_OUTLINE_POINTS_MAX )
234 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) ||
235 FT_RENEW_ARRAY( base->tags, old_max, new_max ) )
241 old_max * 2, new_max * 2 ) )
244 FT_ARRAY_MOVE( loader->base.extra_points + new_max,
298 FT_UInt new_max, old_max; local in function:FT_GlyphLoader_CheckSubGlyphs
[all...]
H A Dftstroke.c331 FT_UInt new_max = border->num_points + new_points; local in function:ft_stroke_border_grow
335 if ( new_max > old_max )
341 while ( cur_max < new_max )
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_async_debug.c49 size_t new_max = MAX2(16, adbg->max * 2); local in function:u_async_debug_message
51 if (new_max < adbg->max ||
52 new_max > SIZE_MAX / sizeof(*adbg->messages)) {
58 realloc(adbg->messages, new_max * sizeof(*adbg->messages));
64 adbg->max = new_max;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_async_debug.c49 size_t new_max = MAX2(16, adbg->max * 2); local in function:u_async_debug_message
51 if (new_max < adbg->max ||
52 new_max > SIZE_MAX / sizeof(*adbg->messages)) {
58 realloc(adbg->messages, new_max * sizeof(*adbg->messages));
64 adbg->max = new_max;
/xsrc/external/mit/freetype/dist/src/autofit/
H A Dafhints.c57 FT_Int new_max = old_max; local in function:af_axis_hints_new_segment
67 new_max += ( new_max >> 2 ) + 4;
68 if ( new_max < old_max || new_max > big_max )
69 new_max = big_max;
73 if ( FT_NEW_ARRAY( axis->segments, new_max ) )
80 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) )
84 axis->max_segments = new_max;
122 FT_Int new_max local in function:af_axis_hints_new_edge
767 FT_UInt old_max, new_max; local in function:af_glyph_hints_reload
[all...]
/xsrc/external/mit/freetype/dist/src/pshinter/
H A Dpshrec.c65 FT_UInt new_max = count; local in function:ps_hint_table_ensure
69 if ( new_max > old_max )
72 new_max = FT_PAD_CEIL( new_max, 8 );
73 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) )
74 table->max_hints = new_max;
140 FT_UInt new_max = ( count + 7 ) >> 3; local in function:ps_mask_ensure
144 if ( new_max > old_max )
146 new_max = FT_PAD_CEIL( new_max,
234 FT_UInt new_max = count; local in function:ps_mask_table_ensure
[all...]
/xsrc/external/mit/freetype/dist/src/pfr/
H A Dpfrgload.c296 FT_UInt new_max = FT_PAD_CEIL( count, 8 ); local in function:pfr_glyph_load_simple
301 new_max ) )
304 glyph->max_xy_control = new_max;
601 FT_UInt new_max = ( org_count + count + 3 ) & (FT_UInt)-4; local in function:pfr_glyph_load_compound
606 if ( new_max > 64 )
614 if ( FT_RENEW_ARRAY( glyph->subs, glyph->max_subs, new_max ) )
617 glyph->max_subs = new_max;
H A Dpfrload.c476 FT_UInt new_max = FT_PAD_CEIL( phy_font->num_strikes + count, 4 ); local in function:pfr_extra_item_load_bitmap_info
481 new_max ) )
484 phy_font->max_strikes = new_max;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_sampler_view.c92 unsigned new_max = 2 * views->max; local in function:st_texture_set_sampler_view
93 unsigned new_size = sizeof(*views) + new_max * sizeof(views->views[0]);
95 if (new_max < views->max ||
96 new_max > (UINT_MAX - sizeof(*views)) / sizeof(views->views[0])) {
108 new_views->max = new_max;
117 (new_max - views->count) * sizeof(views->views[0]));
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_sampler_view.c124 unsigned new_max = 2 * views->max; local in function:st_texture_set_sampler_view
125 unsigned new_size = sizeof(*views) + new_max * sizeof(views->views[0]);
127 if (new_max < views->max ||
128 new_max > (UINT_MAX - sizeof(*views)) / sizeof(views->views[0])) {
140 new_views->max = new_max;
149 (new_max - views->count) * sizeof(views->views[0]));
/xsrc/external/mit/freetype/dist/src/cid/
H A Dcidload.c546 FT_UInt new_max = FT_PAD_CEIL( num_subrs + 1, 4 ); local in function:cid_read_subrs
549 if ( new_max <= max_offsets )
555 if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) )
558 max_offsets = new_max;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_cs.c448 unsigned new_max = local in function:amdgpu_do_add_real_buffer
452 new_buffers = MALLOC(new_max * sizeof(*new_buffers));
464 cs->max_real_buffers = new_max;
520 unsigned new_max = local in function:amdgpu_lookup_or_add_slab_buffer
526 new_max * sizeof(*new_buffers));
532 cs->max_slab_buffers = new_max;
564 unsigned new_max = local in function:amdgpu_lookup_or_add_sparse_buffer
570 new_max * sizeof(*new_buffers));
576 cs->max_sparse_buffers = new_max;
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_cs.c482 unsigned new_max = local in function:amdgpu_do_add_real_buffer
486 new_buffers = MALLOC(new_max * sizeof(*new_buffers));
498 cs->max_real_buffers = new_max;
556 unsigned new_max = local in function:amdgpu_lookup_or_add_slab_buffer
562 new_max * sizeof(*new_buffers));
568 cs->max_slab_buffers = new_max;
601 unsigned new_max = local in function:amdgpu_lookup_or_add_sparse_buffer
607 new_max * sizeof(*new_buffers));
613 cs->max_sparse_buffers = new_max;
/xsrc/external/mit/freetype/dist/src/truetype/
H A Dttinterp.h462 FT_ULong new_max );
H A Dttinterp.c343 * new_max ::
362 FT_ULong new_max )
368 if ( *size < new_max )
370 if ( FT_REALLOC( *pbuff, *size * multiplier, new_max * multiplier ) )
372 *size = new_max;
358 Update_Max(FT_Memory memory,FT_ULong * size,FT_ULong multiplier,void * _pbuff,FT_ULong new_max) argument
/xsrc/external/mit/MesaLib/dist/src/loader/
H A Dloader_dri3_helper.c280 int new_max; local in function:dri3_update_max_num_back
283 new_max = 4;
285 new_max = 3;
287 assert(new_max <= LOADER_DRI3_MAX_BACK);
289 if (new_max != draw->max_num_back) {
294 if (new_max < draw->max_num_back)
297 draw->max_num_back = new_max;
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_indirect_draw.c1040 nir_ssa_def *new_max; local in function:get_index_min_max
1047 new_max = nir_umax(b, old_max, data);
1050 new_max = nir_bcsel(b, nir_ine(b, restart_index, data), new_max, old_max);
1053 old_max = new_max;
1057 nir_store_var(b, max_var, new_max, 1);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_cs.c303 unsigned new_max = MAX2(csc->max_slab_buffers + 16, local in function:radeon_lookup_or_add_slab_buffer
308 new_max * sizeof(*new_buffers));
314 csc->max_slab_buffers = new_max;
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_cs.c331 unsigned new_max = MAX2(csc->max_slab_buffers + 16, local in function:radeon_lookup_or_add_slab_buffer
336 new_max * sizeof(*new_buffers));
342 csc->max_slab_buffers = new_max;
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_llvm_build.c3119 unsigned new_max = MAX2(ctx->flow_depth << 1, local in function:push_flow
3122 ctx->flow = realloc(ctx->flow, new_max * sizeof(*ctx->flow));
3123 ctx->flow_depth_max = new_max;
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_llvm_build.c3099 unsigned new_max = MAX2(ctx->flow->depth << 1, AC_LLVM_INITIAL_CF_DEPTH); local in function:push_flow
3101 ctx->flow->stack = realloc(ctx->flow->stack, new_max * sizeof(*ctx->flow->stack));
3102 ctx->flow->depth_max = new_max;

Completed in 47 milliseconds