| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_async_debug.c | 49 size_t new_max = MAX2(16, adbg->max * 2); local 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.old/dist/src/gallium/auxiliary/util/ |
| u_async_debug.c | 49 size_t new_max = MAX2(16, adbg->max * 2); local 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/base/ |
| ftgloadr.c | 215 FT_UInt new_max, old_max; local 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 [all...] |
| ftstroke.c | 331 FT_UInt new_max = border->num_points + new_points; local 335 if ( new_max > old_max ) 341 while ( cur_max < new_max )
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_sampler_view.c | 92 unsigned new_max = 2 * views->max; local 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/gallium/winsys/radeon/drm/ |
| radeon_drm_cs.c | 331 unsigned new_max = MAX2(csc->max_slab_buffers + 16, local 336 new_max * sizeof(*new_buffers)); 342 csc->max_slab_buffers = new_max;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_sampler_view.c | 124 unsigned new_max = 2 * views->max; local 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/MesaLib.old/dist/src/gallium/winsys/radeon/drm/ |
| radeon_drm_cs.c | 303 unsigned new_max = MAX2(csc->max_slab_buffers + 16, local 308 new_max * sizeof(*new_buffers)); 314 csc->max_slab_buffers = new_max;
|
| /xsrc/external/mit/freetype/dist/src/cid/ |
| cidload.c | 546 FT_UInt new_max = FT_PAD_CEIL( num_subrs + 1, 4 ); local 549 if ( new_max <= max_offsets ) 555 if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) ) 558 max_offsets = new_max;
|
| /xsrc/external/mit/freetype/dist/src/pfr/ |
| pfrgload.c | 296 FT_UInt new_max = FT_PAD_CEIL( count, 8 ); local 301 new_max ) ) 304 glyph->max_xy_control = new_max; 601 FT_UInt new_max = ( org_count + count + 3 ) & (FT_UInt)-4; local 606 if ( new_max > 64 ) 614 if ( FT_RENEW_ARRAY( glyph->subs, glyph->max_subs, new_max ) ) 617 glyph->max_subs = new_max;
|
| pfrload.c | 476 FT_UInt new_max = FT_PAD_CEIL( phy_font->num_strikes + count, 4 ); local 481 new_max ) ) 484 phy_font->max_strikes = new_max;
|
| /xsrc/external/mit/freetype/dist/src/pshinter/ |
| pshrec.c | 65 FT_UInt new_max = count; local 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 144 if ( new_max > old_max ) 146 new_max = FT_PAD_CEIL( new_max, 8 ) 234 FT_UInt new_max = count; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/amdgpu/drm/ |
| amdgpu_cs.c | 482 unsigned new_max = local 486 new_buffers = MALLOC(new_max * sizeof(*new_buffers)); 498 cs->max_real_buffers = new_max; 556 unsigned new_max = local 562 new_max * sizeof(*new_buffers)); 568 cs->max_slab_buffers = new_max; 601 unsigned new_max = local 607 new_max * sizeof(*new_buffers)); 613 cs->max_sparse_buffers = new_max;
|
| /xsrc/external/mit/MesaLib/dist/src/loader/ |
| loader_dri3_helper.c | 280 int new_max; local 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.old/dist/src/gallium/winsys/amdgpu/drm/ |
| amdgpu_cs.c | 448 unsigned new_max = local 452 new_buffers = MALLOC(new_max * sizeof(*new_buffers)); 464 cs->max_real_buffers = new_max; 520 unsigned new_max = local 526 new_max * sizeof(*new_buffers)); 532 cs->max_slab_buffers = new_max; 564 unsigned new_max = local 570 new_max * sizeof(*new_buffers)); 576 cs->max_sparse_buffers = new_max;
|
| /xsrc/external/mit/freetype/dist/src/autofit/ |
| afhints.c | 57 FT_Int new_max = old_max; local 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 = old_max local 767 FT_UInt old_max, new_max; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| pan_indirect_draw.c | 1040 nir_ssa_def *new_max; local 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/amd/common/ |
| ac_llvm_build.c | 3119 unsigned new_max = MAX2(ctx->flow_depth << 1, local 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/ |
| ac_llvm_build.c | 3099 unsigned new_max = MAX2(ctx->flow->depth << 1, AC_LLVM_INITIAL_CF_DEPTH); local 3101 ctx->flow->stack = realloc(ctx->flow->stack, new_max * sizeof(*ctx->flow->stack)); 3102 ctx->flow->depth_max = new_max;
|