Searched refs:range (Results 1 - 25 of 547) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_range.h25 * 1D integer range, capable of the union and intersection operations.
45 /* for the range to be consistent with multiple contexts: */
51 util_range_set_empty(struct util_range *range) argument
53 range->start = ~0;
54 range->end = 0;
59 util_range_add(struct util_range *range, unsigned start, unsigned end) argument
61 if (start < range->start || end > range->end) {
62 mtx_lock(&range->write_mutex);
63 range
70 util_ranges_intersect(const struct util_range * range,unsigned start,unsigned end) argument
80 util_range_init(struct util_range * range) argument
87 util_range_destroy(struct util_range * range) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_range.h25 * 1D integer range, capable of the union and intersection operations.
48 /* for the range to be consistent with multiple contexts: */
54 util_range_set_empty(struct util_range *range) argument
56 range->start = ~0;
57 range->end = 0;
62 util_range_add(struct pipe_resource *resource, struct util_range *range, argument
65 if (start < range->start || end > range->end) {
68 range->start = MIN2(start, range
80 util_ranges_intersect(const struct util_range * range,unsigned start,unsigned end) argument
90 util_range_init(struct util_range * range) argument
97 util_range_destroy(struct util_range * range) argument
[all...]
/xsrc/external/mit/freetype/dist/src/base/
H A Dftgasp.c37 TT_GaspRange range = ttface->gasp.gaspRanges; local in function:FT_Get_Gasp
38 TT_GaspRange range_end = range + ttface->gasp.numRanges;
41 while ( ppem > range->maxPPEM )
43 range++;
44 if ( range >= range_end )
48 result = range->gaspFlag;
/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dpatch.cc60 /* pspec[i].range is uninit here */
96 /* set scale range */
97 pspec[0].range[0] = geo->qspec[0].breakpoints[geo->qspec[0].index];
98 pspec[0].range[1] = geo->qspec[0].breakpoints[geo->qspec[0].index+1];
99 pspec[0].range[2] = pspec[0].range[1] - pspec[0].range[0];
101 pspec[1].range[0] = geo->qspec[1].breakpoints[geo->qspec[1].index];
102 pspec[1].range[1] = geo->qspec[1].breakpoints[geo->qspec[1].index+1];
103 pspec[1].range[
[all...]
H A Dcurvelist.cc53 range[0] = pta;
54 range[1] = ptb;
55 range[2] = ptb - pta;
66 range[0] = upper.range[0];
67 range[1] = value;
68 range[2] = value - upper.range[0];
69 upper.range[0] = value;
70 upper.range[
[all...]
H A Dcurve.cc81 /* set untrimmed curve range */
82 range[0] = qs->breakpoints[qs->index];
83 range[1] = qs->breakpoints[qs->index+1];
84 range[2] = range[1] - range[0];
86 if( range[0] != pta ) {
91 if( range[1] != ptb ) {
112 REAL d = (value - upper.range[0]) / upper.range[
[all...]
H A Dpatchlist.cc53 pspec[0].range[0] = pta[0];
54 pspec[0].range[1] = ptb[0];
55 pspec[0].range[2] = ptb[0] - pta[0];
57 pspec[1].range[0] = pta[1];
58 pspec[1].range[1] = ptb[1];
59 pspec[1].range[2] = ptb[1] - pta[1];
70 lower.pspec[0].range[0] = upper.pspec[0].range[0];
71 lower.pspec[0].range[1] = value;
72 lower.pspec[0].range[
[all...]
H A Dcurvesub.cc92 REAL mid = ( curvelist.range[0] + curvelist.range[1] ) * 0.5;
97 long nu = 1 + ((long) (curvelist.range[2] / curvelist.stepsize));
98 backend.curvgrid( curvelist.range[0], curvelist.range[1], nu );
H A Dcurvelist.h58 float range[3]; member in class:Curvelist
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/codegen/templates/
H A Dgen_header_init.hpp36 %for num in range(numFiles):
42 %for num in range(numFiles):
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/codegen/templates/
H A Dgen_header_init.hpp36 %for num in range(numFiles):
42 %for num in range(numFiles):
/xsrc/external/mit/libxcb/dist/src/
H A Dxcb_xid.c49 xcb_xc_misc_get_xid_range_reply_t *range; local in function:xcb_generate_id
52 /* finish setting up initial range */
62 /* get new range */
63 range = xcb_xc_misc_get_xid_range_reply(c,
67 if(!range || (range->start_id == 0 && range->count == 1))
72 assert(range->count > 0 && range->start_id > 0);
73 c->xid.last = range
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dformat_srgb.py63 for j in range(0, 256, 4):
65 print(' '.join(['%.7e,' % srgb_to_linear(i / 255.0) for i in range(j, j + 4)]))
70 for j in range(0, 256, 16):
72 print(' '.join(['%3u,' % int(srgb_to_linear(i / 255.0) * 255.0 + 0.5) for i in range(j, j + 16)]))
77 for j in range(0, 256, 16):
79 print(' '.join(['%3u,' % int(linear_to_srgb(i / 255.0) * 255.0 + 0.5) for i in range(j, j + 16)]))
96 for i in range(0, bucketsize):
102 for bucket in range(0, nbuckets):
107 for i in range(0, bucketsize):
129 for j in range(
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dformat_srgb.py61 for j in range(0, 256, 4):
63 print(' '.join(['%.7ef,' % srgb_to_linear(i / 255.0) for i in range(j, j + 4)]))
68 for j in range(0, 256, 16):
70 print(' '.join(['%3u,' % int(srgb_to_linear(i / 255.0) * 255.0 + 0.5) for i in range(j, j + 16)]))
75 for j in range(0, 256, 16):
77 print(' '.join(['%3u,' % int(linear_to_srgb(i / 255.0) * 255.0 + 0.5) for i in range(j, j + 16)]))
94 for i in range(0, bucketsize):
100 for bucket in range(0, nbuckets):
105 for i in range(0, bucketsize):
127 for j in range(
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_vulkan.h10 VkSamplerYcbcrRange range,
H A Dnir_range_analysis.h38 enum ssa_ranges range; member in struct:ssa_result_range
H A Dnir_range_analysis.c30 * Analyzes a sequence of operations to determine some aspects of the range of
49 return (void *)(uintptr_t)(r.range | r.is_integral << 8 | r.is_finite << 9 |
59 .range = v & 0xff,
154 r.range = eq_zero;
156 r.range = gt_zero;
158 r.range = ge_zero;
160 r.range = lt_zero;
162 r.range = le_zero;
164 r.range = ne_zero;
166 r.range
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_bufmgr.cpp164 d3d12_bo_map(struct d3d12_bo *bo, D3D12_RANGE *range) argument
173 if (!range || offset == 0) {
175 } else if (range->Begin >= range->End) {
178 range = &offset_range;
180 offset_range.Begin = range->Begin + offset;
181 offset_range.End = range->End + offset;
182 range = &offset_range;
185 if (FAILED(base_bo->res->Map(0, range, &ptr)))
188 return (uint8_t *)ptr + (range
192 d3d12_bo_unmap(struct d3d12_bo * bo,D3D12_RANGE * range) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/
H A Dvirgl_buffer.c41 if (trans->range.end <= trans->range.start) {
46 transfer->box.x += trans->range.start;
47 transfer->box.width = trans->range.end - trans->range.start;
76 util_range_add(transfer->resource, &trans->range, box->x, box->x + box->width);
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
H A Dir3_nir_analyze_ubo_ranges.c63 if (r.start < state->range[block].start)
64 state->range[block].start = r.start;
65 if (state->range[block].end < r.end)
66 state->range[block].end = r.end;
84 * We don't have a good way of determining the range of the dynamic
91 * upload. Reject if we're now outside the range.
94 if (!(state->range[block].start <= r.start &&
95 r.end <= state->range[block].end))
109 (state->range[block].offset - state->range[bloc
[all...]
/xsrc/external/mit/fontconfig/dist/src/
H A Dfcrange.c57 FcRangeDestroy (FcRange *range) argument
59 if (range)
60 free (range);
64 FcRangeCopy (const FcRange *range) argument
66 return FcRangeCreateDouble (range->begin, range->end);
70 FcRangeGetDouble(const FcRange *range, double *begin, double *end) argument
72 if (!range)
75 *begin = range->begin;
77 *end = range
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_nir_analyze_ubo_ranges.c43 * by pushing the range). We then sort the list to obtain the four best
49 struct brw_ubo_range range; member in struct:ubo_range_entry
56 return 2 * entry->benefit - entry->range.length;
60 * Compares score for two UBO range entries.
75 delta = b->range.block - a->range.block;
79 delta = b->range.block - a->range.block;
186 struct ubo_block_info *info = get_block_info(state, entry->range.block);
191 entry->range
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_analyze_ubo_ranges.c43 * by pushing the range). We then sort the list to obtain the four best
49 struct brw_ubo_range range; member in struct:ubo_range_entry
56 return 2 * entry->benefit - entry->range.length;
60 * Compares score for two UBO range entries.
75 delta = b->range.block - a->range.block;
79 delta = b->range.block - a->range.block;
188 struct ubo_block_info *info = get_block_info(state, entry->range.block);
193 entry->range
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_builder.h.py95 % for dest in range(ops[opcode]["dests"]):
98 % for src in range(src_count(ops[opcode])):
184 ["bi_index dest{}".format(i) for i in range(0 if no_dests else op["dests"])] +
185 ["bi_index src{}".format(i) for i in range(src_count(op))] +
196 ["bi_temp(b->shader)" if temp_dest else 'dest{}'.format(i) for i in range(op["dests"])] +
197 ["src{}".format(i) for i in range(src_count(op))] +
/xsrc/external/ofl/font-liberation-ttf/dist/scripts/
H A DsetisFixedPitch-fonttools.py33 for i in range(1, len(sys.argv)):

Completed in 14 milliseconds

1234567891011>>