Home
last modified time | relevance | path

Searched refs:span (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/external/Microsoft-GSL/tests/
Dstring_span_tests.cpp132 cstring_span<> span = "Hello"; in SUITE() local
136 CHECK(span1 != span); in SUITE()
137 CHECK(span != span1); in SUITE()
141 cstring_span<> span = "Hello"; in SUITE() local
145 CHECK(span1 != span); in SUITE()
146 CHECK(span != span1); in SUITE()
150 cstring_span<> span = "Hello"; in SUITE() local
158 gsl::span<const char> sp = ensure_z("Hello"); in SUITE()
161 CHECK(span == cstring_span<>("Hello")); in SUITE()
164 CHECK(span == cstring_span<>(ar)); in SUITE()
[all …]
Dspan_tests.cpp46 span<int> s; in SUITE()
49 span<const int> cs; in SUITE()
54 span<int, 0> s; in SUITE()
57 span<const int, 0> cs; in SUITE()
63 span<int, 1> s; in SUITE()
69 span<int> s{}; in SUITE()
72 span<const int> cs{}; in SUITE()
80 span<int> s; in SUITE()
85 span<int, 0> s; in SUITE()
93 span<int> s = nullptr; in SUITE()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_span.c65 _swrast_span_default_attribs(struct gl_context *ctx, SWspan *span) in _swrast_span_default_attribs() argument
72 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F); in _swrast_span_default_attribs()
76 span->z = (GLint)tmpf; in _swrast_span_default_attribs()
78 span->zStep = 0; in _swrast_span_default_attribs()
79 span->interpMask |= SPAN_Z; in _swrast_span_default_attribs()
83 span->attrStart[VARYING_SLOT_POS][3] = 1.0; in _swrast_span_default_attribs()
84 span->attrStepX[VARYING_SLOT_POS][3] = 0.0; in _swrast_span_default_attribs()
85 span->attrStepY[VARYING_SLOT_POS][3] = 0.0; in _swrast_span_default_attribs()
93 span->red = r; in _swrast_span_default_attribs()
94 span->green = g; in _swrast_span_default_attribs()
[all …]
Ds_points.c85 SWspan span; in sprite_point() local
95 span.z = FloatToFixed(vert->attrib[VARYING_SLOT_POS][2] + 0.5F); in sprite_point()
97 span.z = (GLuint) (vert->attrib[VARYING_SLOT_POS][2] + 0.5F); in sprite_point()
98 span.zStep = 0; in sprite_point()
103 INIT_SPAN(span, GL_POINT); in sprite_point()
104 span.interpMask = SPAN_Z | SPAN_RGBA; in sprite_point()
106 span.facing = swrast->PointLineFacing; in sprite_point()
108 span.red = ChanToFixed(vert->color[0]); in sprite_point()
109 span.green = ChanToFixed(vert->color[1]); in sprite_point()
110 span.blue = ChanToFixed(vert->color[2]); in sprite_point()
[all …]
Ds_tritemp.h105 GLfixed endVal = span.CHANNEL + (LEN) * span.CHANNELSTEP; \
107 span.CHANNEL -= endVal; \
109 if (span.CHANNEL < 0) { \
110 span.CHANNEL = 0; \
147 SWspan span; in NAME() local
151 INIT_SPAN(span, GL_POLYGON); in NAME()
152 span.y = 0; /* silence warnings */ in NAME()
251 span.facing = oneOverArea * bf > 0.0F; in NAME()
339 span.interpMask |= SPAN_Z; in NAME()
343span.attrStepX[VARYING_SLOT_POS][2] = oneOverArea * (eMaj_dz * eBot.dy - eMaj.dy * eBot_dz); in NAME()
[all …]
Ds_triangle.c82 span.interpMask |= SPAN_RGBA; \
83 span.red = ChanToFixed(v2->color[0]); \
84 span.green = ChanToFixed(v2->color[1]); \
85 span.blue = ChanToFixed(v2->color[2]); \
86 span.alpha = ChanToFixed(v2->color[3]); \
87 span.redStep = 0; \
88 span.greenStep = 0; \
89 span.blueStep = 0; \
90 span.alphaStep = 0;
91 #define RENDER_SPAN( span ) _swrast_write_rgba_span(ctx, &span); argument
[all …]
Ds_linetemp.h69 SWspan span; in NAME() local
225 span.red = ChanToFixed(vert0->color[0]); in NAME()
226 span.green = ChanToFixed(vert0->color[1]); in NAME()
227 span.blue = ChanToFixed(vert0->color[2]); in NAME()
228 span.alpha = ChanToFixed(vert0->color[3]); in NAME()
229 span.redStep = (ChanToFixed(vert1->color[0]) - span.red ) / numPixels; in NAME()
230 span.greenStep = (ChanToFixed(vert1->color[1]) - span.green) / numPixels; in NAME()
231 span.blueStep = (ChanToFixed(vert1->color[2]) - span.blue ) / numPixels; in NAME()
232 span.alphaStep = (ChanToFixed(vert1->color[3]) - span.alpha) / numPixels; in NAME()
235 span.red = ChanToFixed(vert1->color[0]); in NAME()
[all …]
Ds_fog.c90 if (span->arrayAttribs & VARYING_BIT_FOGC) { \
92 for (i = 0; i < span->end; i++) { \
93 const GLfloat fogCoord = span->array->attribs[VARYING_SLOT_FOGC][i][0]; \
105 const GLfloat fogStep = span->attrStepX[VARYING_SLOT_FOGC][0]; \
106 GLfloat fogCoord = span->attrStart[VARYING_SLOT_FOGC][0]; \
107 const GLfloat wStep = span->attrStepX[VARYING_SLOT_POS][3]; \
108 GLfloat w = span->attrStart[VARYING_SLOT_POS][3]; \
110 for (i = 0; i < span->end; i++) { \
132 _swrast_fog_rgba_span( const struct gl_context *ctx, SWspan *span ) in _swrast_fog_rgba_span() argument
138 assert(span->arrayMask & SPAN_RGBA); in _swrast_fog_rgba_span()
[all …]
Ds_bitmap.c56 SWspan span; in _swrast_Bitmap() local
72 INIT_SPAN(span, GL_BITMAP); in _swrast_Bitmap()
73 span.end = width; in _swrast_Bitmap()
74 span.arrayMask = SPAN_XY; in _swrast_Bitmap()
75 _swrast_span_default_attribs(ctx, &span); in _swrast_Bitmap()
86 span.array->x[count] = px + col; in _swrast_Bitmap()
87 span.array->y[count] = py + row; in _swrast_Bitmap()
108 span.array->x[count] = px + col; in _swrast_Bitmap()
109 span.array->y[count] = py + row; in _swrast_Bitmap()
128 span.end = count; in _swrast_Bitmap()
[all …]
Ds_alpha.c92 _swrast_alpha_test(const struct gl_context *ctx, SWspan *span) in _swrast_alpha_test() argument
94 const GLuint n = span->end; in _swrast_alpha_test()
95 GLubyte *mask = span->array->mask; in _swrast_alpha_test()
106 span->writeAll = GL_FALSE; in _swrast_alpha_test()
110 if (span->arrayMask & SPAN_RGBA) { in _swrast_alpha_test()
112 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_alpha_test()
113 GLubyte (*rgba)[4] = span->array->rgba8; in _swrast_alpha_test()
118 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_alpha_test()
119 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_alpha_test()
125 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_alpha_test()
[all …]
Ds_zoom.c130 zoom_span( struct gl_context *ctx, GLint imgX, GLint imgY, const SWspan *span, in zoom_span() argument
138 if (!compute_zoomed_bounds(ctx, imgX, imgY, span->x, span->y, span->end, in zoom_span()
155 assert((span->arrayMask & SPAN_XY) == 0); in zoom_span()
156 assert(span->primitive == GL_BITMAP); in zoom_span()
162 zoomed.array->ChanType = span->array->ChanType; in zoom_span()
170 COPY_4V(zoomed.attrStart[VARYING_SLOT_POS], span->attrStart[VARYING_SLOT_POS]); in zoom_span()
171 COPY_4V(zoomed.attrStepX[VARYING_SLOT_POS], span->attrStepX[VARYING_SLOT_POS]); in zoom_span()
172 COPY_4V(zoomed.attrStepY[VARYING_SLOT_POS], span->attrStepY[VARYING_SLOT_POS]); in zoom_span()
174 zoomed.attrStart[VARYING_SLOT_FOGC][0] = span->attrStart[VARYING_SLOT_FOGC][0]; in zoom_span()
175 zoomed.attrStepX[VARYING_SLOT_FOGC][0] = span->attrStepX[VARYING_SLOT_FOGC][0]; in zoom_span()
[all …]
Ds_lines.c62 draw_wide_line( struct gl_context *ctx, SWspan *span, GLboolean xMajor ) in draw_wide_line() argument
69 assert(span->end < SWRAST_MAX_WIDTH); in draw_wide_line()
77 GLint *y = span->array->y; in draw_wide_line()
82 for (i = 0; i < span->end; i++) in draw_wide_line()
86 for (i = 0; i < span->end; i++) in draw_wide_line()
89 _swrast_write_rgba_span(ctx, span); in draw_wide_line()
93 GLint *x = span->array->x; in draw_wide_line()
98 for (i = 0; i < span->end; i++) in draw_wide_line()
102 for (i = 0; i < span->end; i++) in draw_wide_line()
105 _swrast_write_rgba_span(ctx, span); in draw_wide_line()
[all …]
Ds_fragprog.c162 const struct gl_program *program, const SWspan *span, GLuint col) in init_machine() argument
164 GLfloat *wpos = span->array->attribs[VARYING_SLOT_POS][col]; in init_machine()
175 machine->Attribs = span->array->attribs; in init_machine()
177 machine->DerivX = (GLfloat (*)[4]) span->attrStepX; in init_machine()
178 machine->DerivY = (GLfloat (*)[4]) span->attrStepY; in init_machine()
186 machine->Attribs[VARYING_SLOT_FACE][col][0] = 1.0F - span->facing; in init_machine()
203 run_program(struct gl_context *ctx, SWspan *span, GLuint start, GLuint end) in run_program() argument
212 if (span->array->mask[i]) { in run_program()
213 init_machine(ctx, machine, program, span, i); in run_program()
219 COPY_4V(span->array->attribs[VARYING_SLOT_COL0][i], in run_program()
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_tri.c69 #define RENDER_SPAN( span ) { \ argument
70 GLint x = span.x, y = YFLIP(xrb, span.y); \
72 for (i = 0; i < span.end; i++, x++) { \
73 const DEPTH_TYPE z = FixedToDepth(span.z); \
76 PACK_TRUECOLOR(p, FixedToInt(span.red), \
77 FixedToInt(span.green), FixedToInt(span.blue)); \
81 span.red += span.redStep; \
82 span.green += span.greenStep; \
83 span.blue += span.blueStep; \
84 span.z += span.zStep; \
[all …]
/external/llvm/docs/
DCoverageMappingFormat.rst113span>int main(int argc, const char *argv[]) </span><span style='background-color:#4A789C'>{ </s…
114 <span style='background-color:#4A789C'> </span>
115span style='background-color:#4A789C'> if (argc &gt; 1) </span><span style='background-color:#85C…
116 <span style='background-color:#85C1F5'> printf("%s\n", argv[1]); </span>
117span style='background-color:#85C1F5'> }</span><span style='background-color:#4A789C'> else </spa…
118 <span style='background-color:#F6D55D'> printf("\n"); </span>
119 …<span style='background-color:#F6D55D'> }</span><span style='background-color:#4A789C'> …
120 <span style='background-color:#4A789C'> return 0; </span>
121 <span style='background-color:#4A789C'>}</span>
130 …al;'><span>int main() </span><span style='background-color:#4A789C'>{ </span> <span
[all …]
/external/skia/src/pathops/
DSkPathOpsWinding.cpp84 SkOpRayDir makeTestBase(SkOpSpan* span, double t) { in makeTestBase()
86 fSpan = span; in makeTestBase()
87 fT = span->t() * (1 - t) + span->next()->t() * t; in makeTestBase()
88 SkOpSegment* segment = span->segment(); in makeTestBase()
171 SkOpSpan* span = this->windingSpanAtT(t); in rayCheck() local
172 if (!span) { in rayCheck()
174 } else if (!span->windValue() && !span->oppValue()) { in rayCheck()
181 newHit->fSpan = span; in rayCheck()
189 SkOpSpan* span = &fHead; in windingSpanAtT() local
192 next = span->next(); in windingSpanAtT()
[all …]
DSkOpSpan.cpp13 return this->span()->ptT() != this; in alias()
99 void SkOpPtT::init(SkOpSpanBase* span, double t, const SkPoint& pt, bool duplicate) { in init() argument
102 fSpan = span; in init()
107 SkDEBUGCODE(fID = span->globalState()->nextPtTID()); in init()
111 const SkOpSpanBase* span = this->span(); in onEnd() local
112 if (span->ptT() != this) { in onEnd()
116 return span == segment->head() || span == segment->tail(); in onEnd()
140 return span()->segment(); in segment()
144 return span()->segment(); in segment()
148 SkASSERT(this->span()->debugDeleted() || this->span()->ptT() != this); in setDeleted()
[all …]
/external/skia/tests/
DSkLinearBitmapPipelineTest.cpp38 Span span, SkScalar dx, SkScalar cut, SkPoint start, SkScalar len, int count) { in check_span_result() argument
40 std::tie(originalStart, originalLen, originalCount) = span; in check_span_result()
42 Span prefix = span.breakAt(cut, dx); in check_span_result()
47 REPORTER_ASSERT_MESSAGE(reporter, prefixStart == start, dump(cut, prefix, span)); in check_span_result()
48 REPORTER_ASSERT_MESSAGE(reporter, prefixLen == len, dump(cut, prefix, span)); in check_span_result()
49 REPORTER_ASSERT_MESSAGE(reporter, prefixCount == count, dump(cut, prefix, span)); in check_span_result()
63 if (!span.isEmpty()) { in check_span_result()
67 std::tie(remainderStart, remainderLen, remainderCount) = span; in check_span_result()
70 dump(cut, prefix, span)); in check_span_result()
73 dump(cut, prefix, span)); in check_span_result()
[all …]
/external/libnl/doc/stylesheets/
Ddocbook-xsl.css6 span.strong {
174 dt span.term {
283 span.aqua { color: aqua; }
284 span.black { color: black; }
285 span.blue { color: blue; }
286 span.fuchsia { color: fuchsia; }
287 span.gray { color: gray; }
288 span.green { color: green; }
289 span.lime { color: lime; }
290 span.maroon { color: maroon; }
[all …]
Dasciidoc.css224 span.image img { border-style: none; }
307 span.footnote, span.footnoteref {
373 span.aqua { color: aqua; }
374 span.black { color: black; }
375 span.blue { color: blue; }
376 span.fuchsia { color: fuchsia; }
377 span.gray { color: gray; }
378 span.green { color: green; }
379 span.lime { color: lime; }
380 span.maroon { color: maroon; }
[all …]
/external/skia/src/core/
DSkLinearBitmapPipeline_tile.h50 Span span{{x, y}, length, count}; in maybeProcessSpan()
52 if (span.completelyWithin(0.0f, fXMax)) { in maybeProcessSpan()
53 next->pointSpan(span); in maybeProcessSpan()
90 Span leftClamped = span.breakAt(SK_ScalarHalf, dx); in maybeProcessSpan()
95 Span center = span.breakAt(fXMax, dx); in maybeProcessSpan()
99 if (!span.isEmpty()) { in maybeProcessSpan()
100 span.clampToSinglePixel({fXMaxPixel, y}); in maybeProcessSpan()
101 next->pointSpan(span); in maybeProcessSpan()
104 Span rightClamped = span.breakAt(fXMax, dx); in maybeProcessSpan()
109 Span center = span.breakAt(SK_ScalarHalf, dx); in maybeProcessSpan()
[all …]
/external/Microsoft-GSL/gsl/
Dspan91 class span;
102 struct is_span_oracle<gsl::span<ElementType, Extent>> : std::true_type
154 constexpr span_iterator(const Span* span, typename Span::index_type index)
155 : span_(span), index_(index)
157 Expects(span == nullptr || (index_ >= 0 && index <= span_->length()));
305 static_assert(Ext >= 0, "A fixed-size span must be >= 0 in size.");
342 // [span], class template span
344 class span
353 using iterator = details::span_iterator<span<ElementType, Extent>, false>;
354 using const_iterator = details::span_iterator<span<ElementType, Extent>, true>;
[all …]
/external/abi-compliance-checker/modules/Internals/Styles/
DSymbolsList.css17 span.iname {
22 span.section {
29 span:hover.section {
32 span.h_name {
37 span.ns {
41 span.lib_name {
46 span.sym_p {
50 span.sym_kind {
54 span.mangled {
60 span.sym_ver {
[all …]
DReport.css23 span.section {
30 span.new_sign {
35 span.new_sign_lbl {
40 span:hover.section {
43 span.sect_aff {
50 span.sect_info {
57 span.ext {
60 span.h_name {
69 span.ns {
73 span.lib_name {
[all …]
/external/doclava/res/assets/templates-sdk/
Dfooter.cs6 …tnews" id="newsletter" data-modal-toggle="newsletter" href="javascript:;">Get news &amp; tips <span
7 class="dac-fab dac-primary"><i class="dac-sprite dac-mail"></i></span></a>
44 <span id="language" class="locales">
57 </span>
93 <span class="dac-form-required">*</span>
98 <span class="dac-form-required">*</span>
109 <span class="dac-form-required">*</span>
117 …c-form-legend"><span data-t="newsletter.business.label">Which best describes your business:</span>…
143 …ac-form-label dac-form-aside"><span data-t="newsletter.confirmMailingList"></span><span class="dac…
154 …form-label dac-form-aside"><span data-t="newsletter.privacyPolicy" data-t-html></span><span class=…

12345678910>>...16