Searched refs:max (Results 1 - 25 of 1032) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dvx_descriptor_set.c76 static uint32_t max = 0; local in function:v3dX
78 if (max == 0) {
80 max = MAX2(max, v3dX(descriptor_bo_size)(supported_descriptor_types[i]));
82 assert(max != 0);
84 return max;
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
H A Dir3_sun.c72 * Rπ = max(aπ(1), bπ(1) + max(aπ(2), bπ(2) + max(..., bπ(k−1) + max(aπ(k), bπ(k)))...):
95 unsigned max = 0; local in function:ir3_sun
101 max = MAX2(max, number_instr(ir->outputs[i]));
105 max = MAX2(max, number_instr(block->keeps[i]));
107 max
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dstrndup.h37 strndup(const char *str, size_t max) argument
45 n = strnlen(str, max);
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dstrndup.h37 strndup(const char *str, size_t max) argument
45 n = strnlen(str, max);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_point_size.c38 float min, float max)
51 if (max > 0.0f)
52 psiz = nir_fmin(b, psiz, nir_imm_float(b, max));
76 * Clamps gl_PointSize to the range [min, max]. If either min or max are not
80 nir_lower_point_size(nir_shader *s, float min, float max) argument
85 assert(min > 0.0f || max > 0.0f);
86 assert(min <= 0.0f || max <= 0.0f || min <= max);
99 lower_point_size_instr(&b, instr, min, max);
37 lower_point_size_instr(nir_builder * b,nir_instr * psiz_instr,float min,float max) argument
[all...]
/xsrc/external/mit/pixman/dist/test/
H A Dfuzzer-find-diff.pl30 my $max = shift;
32 # check that [$min, $max] range is "bad", otherwise return
33 if (`$ARGV[0] $min $max 2>/dev/null` eq `$ARGV[1] $min $max 2>/dev/null`) {
43 while ($max != $min + 1) {
44 my $avg = int(($min + $max) / 2);
48 $max = $avg;
53 return $max;
/xsrc/external/mit/freetype/dist/src/psnames/
H A Dpstables.h4147 int count, min, max; local in function:ft_get_adobe_glyph_index
4159 max = count;
4161 while ( min < max )
4163 int mid = ( min + max ) >> 1;
4179 max = mid;
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_liveness.c28 mir_liveness_ins_update(uint16_t *live, midgard_instruction *ins, unsigned max) argument
32 pan_liveness_kill(live, ins->dest, max, mir_bytemask(ins));
38 pan_liveness_gen(live, node, max, bytemask);
43 mir_liveness_ins_update_wrap(uint16_t *live, void *ins, unsigned max) argument
45 mir_liveness_ins_update(live, (midgard_instruction *) ins, max);
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dstencilwrap.c20 int bits, max, i; local in function:RunTest
25 max = (1 << bits) - 1;
32 glClearStencil(max);
37 expected = max;
53 glClearStencil(max);
74 glClearStencil(max);
100 for (i = 1; i < max+10; i++) {
101 expected = (i > max) ? max : i;
118 glClearStencil(max);
[all...]
/xsrc/external/mit/freetype/dist/src/pfr/
H A Dpfrcmap.c73 FT_UInt max = cmap->num_chars; local in function:pfr_cmap_char_index
76 while ( min < max )
82 mid = min + ( max - min ) / 2;
91 max = mid;
108 FT_UInt max = cmap->num_chars; local in function:pfr_cmap_char_next
113 while ( min < max )
115 mid = min + ( ( max - min ) >> 1 );
134 max = mid;
/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dsimplemath.h44 max( int x, int y ) { return ( x < y ) ? y : x; } function in typeref:typename:int
H A Dmapdescv.cc90 // compute max magnitude of all entries in array
91 REAL max = 0.0; local in function:Mapdesc::calcPartialVelocity
93 if( mag[j] > max ) max = mag[j];
94 max = fac * sqrtf( (float) max );
96 return max;
185 REAL max = 0.0; local in function:Mapdesc::calcPartialVelocity
193 if( *mj > max ) max
[all...]
/xsrc/external/mit/libdrm/dist/freedreno/msm/
H A Dmsm_priv.h120 grow(void *ptr, uint32_t nr, uint32_t *max, uint32_t sz) argument
122 if ((nr + 1) > *max) {
123 if ((*max * 2) < (nr + 1))
124 *max = nr + 5;
126 *max = *max * 2;
127 ptr = realloc(ptr, *max * sz);
/xsrc/external/mit/libxcb/dist/src/
H A Dxcb_xid.c47 if(c->xid.last >= c->xid.max - c->xid.inc + 1)
50 assert(c->xid.last == c->xid.max);
53 c->xid.max = c->setup->resource_id_mask;
74 c->xid.max = range->start_id + (range->count - 1) * c->xid.inc;
92 c->xid.max = 0;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_resource.c37 enum pipe_format format, int max,
52 if (max > ARRAY_SIZE(supported_modifiers))
53 max = ARRAY_SIZE(supported_modifiers);
55 if (!max) {
56 max = ARRAY_SIZE(supported_modifiers);
61 for (i = 0; i < max; i++) {
36 nvc0_query_dmabuf_modifiers(struct pipe_screen * screen,enum pipe_format format,int max,uint64_t * modifiers,unsigned int * external_only,int * count) argument
/xsrc/external/mit/MesaLib/dist/src/panfrost/util/
H A Dpan_liveness.c33 pan_liveness_gen(uint16_t *live, unsigned node, unsigned max, uint16_t mask) argument
35 if (node >= max)
42 pan_liveness_kill(uint16_t *live, unsigned node, unsigned max, uint16_t mask) argument
44 if (node >= max)
51 pan_liveness_get(uint16_t *live, unsigned node, uint16_t max) argument
53 if (node >= max)
/xsrc/external/mit/MesaLib/dist/src/freedreno/rnn/
H A Dutil.h35 if ((a ## num) >= (a ## max)) { \
36 if (!(a ## max)) \
37 (a ## max) = 16; \
39 (a ## max) *= 2; \
40 (a) = realloc((a), (a ## max)*sizeof(*(a))); \
77 #define max(a,b) \ macro
/xsrc/external/mit/xgc/dist/
H A Dconstants.h9 /* Find the max of two numbers */
10 #ifndef max
11 #define max(x,y) (((x)>(y))?(x):(y)) macro
/xsrc/external/mit/MesaLib.old/dist/src/broadcom/cle/
H A Dv3d_packet_helpers.h73 const uint64_t max = (1ull << width) - 1; local in function:__gen_uint
74 assert(v <= max);
90 const int64_t max = (1ll << (width - 1)) - 1; local in function:__gen_sint
92 assert(min <= v && v <= max);
129 const float max = ((1 << (end - start)) - 1) / factor; local in function:__gen_sfixed
131 assert(min <= v && v <= max);
148 const float max = ((1 << (end - start + 1)) - 1) / factor; local in function:__gen_ufixed
150 assert(min <= v && v <= max);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_async_debug.c48 if (adbg->count >= adbg->max) {
49 size_t new_max = MAX2(16, adbg->max * 2);
51 if (new_max < adbg->max ||
64 adbg->max = new_max;
H A Du_async_debug.h51 unsigned max; member in struct:util_async_debug_callback
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_async_debug.c48 if (adbg->count >= adbg->max) {
49 size_t new_max = MAX2(16, adbg->max * 2);
51 if (new_max < adbg->max ||
64 adbg->max = new_max;
H A Du_async_debug.h51 unsigned max; member in struct:util_async_debug_callback
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Ddxil_buffer.c81 uint32_t max = tag - 1; local in function:dxil_buffer_emit_vbr_bits
82 while (data > max) {
83 uint32_t value = (data & max) | tag;
/xsrc/external/mit/MesaLib/dist/src/freedreno/decode/scripts/
H A Dsanity-a6xx.lua69 max = pkt[0].DST_OFF + pkt[0].NUM_UNIT
71 dbg("looking for %s.. max=%d vs %d\n", cntl_reg, max, r[cntl_reg].CONSTLEN)
72 if max > r[cntl_reg].CONSTLEN then
73 printf("ERROR: invalid max constant offset for stage %s: %d vs %d\n", stage, max, r[cntl_reg].CONSTLEN)

Completed in 25 milliseconds

1234567891011>>