Searched refs:span (Results 1 - 25 of 252) sorted by relevance

1234567891011

/external/Microsoft-GSL/tests/
H A Dstring_span_tests.cpp132 cstring_span<> span = "Hello"; local
135 // comparison to empty span
136 CHECK(span1 != span);
137 CHECK(span != span1);
141 cstring_span<> span = "Hello"; local
144 // comparison to different span
145 CHECK(span1 != span);
146 CHECK(span != span1);
150 cstring_span<> span = "Hello"; local
158 gsl::span<cons
191 string_span<> span = ar; local
234 cstring_span<> span = "Hello"; local
359 cstring_span<> span = "Hello"; local
394 string_span<> span = ar; local
450 string_span<> span = ensure_z(ptr); local
464 cstring_span<> span = sp; local
472 string_span<> span = sp; local
480 cstring_span<> span = std::string("Hello"); local
486 cstring_span<> span; local
498 cstring_span<> span = "Hello"; local
505 cstring_span<> span = ar; local
512 cstring_span<> span = ar; local
556 cstring_span<> span = str; local
563 cstring_span<> span = str; local
570 cstring_span<> span = vec; local
577 cstring_span<> span = vec; local
585 cstring_span<> span = inner; local
593 cstring_span<> span = inner; local
601 cstring_span<> span = tmp; local
609 cstring_span<> span = tmp; local
618 string_span<> span = "Hello"; local
626 string_span<> span = ar; local
634 string_span<> span = ar; local
659 string_span<> span = str; local
667 string_span<> span = str; local
675 string_span<> span = vec; local
683 string_span<> span = vec; local
692 string_span<> span = inner; local
701 string_span<> span = inner; local
710 string_span<> span = inner; local
720 string_span<> span = tmp; local
729 string_span<> span = tmp; local
738 string_span<> span = tmp; local
747 string_span<> span = tmp; local
768 cstring_span<> span = "Hello"; local
773 cstring_span<> span = "Hello"; local
778 cstring_span<> span = "Hello"; local
785 span<const char> span = ensure_z("Hello"); local
790 span<const char> span = ensure_z("Hello"); local
799 string_span<> span = std::move(str); local
806 string_span<> span = move_wrapper<std::string>(std::move(str)); local
820 string_span<> span = std::move(vec); local
827 string_span<> span = move_wrapper<std::vector<char>>(std::move(vec)); local
841 cstring_span<> span = "Hello"; local
847 CreateTempName(string_span< span) argument
904 CreateTempNameW(wstring_span< span) argument
[all...]
H A Dspan_tests.cpp18 #include <gsl/span>
46 span<int> s;
49 span<const int> cs;
54 span<int, 0> s;
57 span<const int, 0> cs;
63 span<int, 1> s;
69 span<int> s{};
72 span<const int> cs{};
80 span<int> s;
85 span<in
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_atifragshader.h35 _swrast_exec_fragment_shader( struct gl_context *ctx, SWspan *span );
H A Ds_texcombine.h35 _swrast_texture_span( struct gl_context *ctx, SWspan *span );
H A Ds_span.c59 * Set default fragment attributes for the span using the
64 _swrast_span_default_attribs(struct gl_context *ctx, SWspan *span) argument
71 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F);
75 span->z = (GLint)tmpf;
77 span->zStep = 0;
78 span->interpMask |= SPAN_Z;
82 span->attrStart[FRAG_ATTRIB_WPOS][3] = 1.0;
83 span->attrStepX[FRAG_ATTRIB_WPOS][3] = 0.0;
84 span->attrStepY[FRAG_ATTRIB_WPOS][3] = 0.0;
92 span
171 interpolate_active_attribs(struct gl_context *ctx, SWspan *span, GLbitfield64 attrMask) argument
219 interpolate_int_colors(struct gl_context *ctx, SWspan *span) argument
319 interpolate_float_colors(SWspan *span) argument
470 interpolate_texcoords(struct gl_context *ctx, SWspan *span) argument
622 interpolate_wpos(struct gl_context *ctx, SWspan *span) argument
656 stipple_polygon_span(struct gl_context *ctx, SWspan *span) argument
831 add_specular(struct gl_context *ctx, SWspan *span) argument
880 apply_aa_coverage(SWspan *span) argument
914 clamp_colors(SWspan *span) argument
935 convert_color_type(SWspan *span, GLenum newType, GLuint output) argument
975 shade_texture_span(struct gl_context *ctx, SWspan *span) argument
1130 _swrast_write_rgba_span( struct gl_context *ctx, SWspan *span) argument
1571 _swrast_get_dest_rgba(struct gl_context *ctx, struct gl_renderbuffer *rb, SWspan *span) argument
[all...]
H A Ds_points.c86 SWspan span; local
96 span.z = FloatToFixed(vert->attrib[FRAG_ATTRIB_WPOS][2] + 0.5F);
98 span.z = (GLuint) (vert->attrib[FRAG_ATTRIB_WPOS][2] + 0.5F);
99 span.zStep = 0;
103 /* span init */
104 INIT_SPAN(span, GL_POINT);
105 span.interpMask = SPAN_Z | SPAN_RGBA;
107 span.facing = swrast->PointLineFacing;
109 span.red = ChanToFixed(vert->color[0]);
110 span
246 SWspan span; local
366 SWspan span; local
460 SWspan *span = &(swrast->PointSpan); local
[all...]
H A Ds_alpha.h36 _swrast_alpha_test( const struct gl_context *ctx, SWspan *span );
H A Ds_linetemp.h69 SWspan span; local
225 span.red = ChanToFixed(vert0->color[0]);
226 span.green = ChanToFixed(vert0->color[1]);
227 span.blue = ChanToFixed(vert0->color[2]);
228 span.alpha = ChanToFixed(vert0->color[3]);
229 span.redStep = (ChanToFixed(vert1->color[0]) - span.red ) / numPixels;
230 span.greenStep = (ChanToFixed(vert1->color[1]) - span.green) / numPixels;
231 span
[all...]
H A Ds_bitmap.c56 SWspan span; local
72 INIT_SPAN(span, GL_BITMAP);
73 span.end = width;
74 span.arrayMask = SPAN_XY;
75 _swrast_span_default_attribs(ctx, &span);
86 span.array->x[count] = px + col;
87 span.array->y[count] = py + row;
108 span.array->x[count] = px + col;
109 span.array->y[count] = py + row;
127 /* flush the span */
[all...]
H A Ds_depth.h38 _swrast_depth_test_span( struct gl_context *ctx, SWspan *span);
41 _swrast_depth_clamp_span( struct gl_context *ctx, SWspan *span );
44 _swrast_depth_bounds_test( struct gl_context *ctx, SWspan *span );
H A Ds_fog.h40 _swrast_fog_rgba_span( const struct gl_context *ctx, SWspan *span );
H A Ds_fragprog.h38 _swrast_exec_fragment_program(struct gl_context *ctx, SWspan *span);
H A Ds_logic.h37 SWspan *span);
H A Ds_masking.h39 SWspan *span, GLuint buf);
H A Ds_tritemp.h58 * RENDER_SPAN(span) - code to write a span of pixels.
100 GLfixed endVal = span.CHANNEL + (LEN) * span.CHANNELSTEP; \
102 span.CHANNEL -= endVal; \
104 if (span.CHANNEL < 0) { \
105 span.CHANNEL = 0; \
142 SWspan span; local
146 INIT_SPAN(span, GL_POLYGON);
147 span
[all...]
H A Ds_alpha.c89 * \return 0 if all pixels in the span failed the alpha test,
93 _swrast_alpha_test(const struct gl_context *ctx, SWspan *span) argument
95 const GLuint n = span->end;
96 GLubyte *mask = span->array->mask;
107 span->writeAll = GL_FALSE;
111 if (span->arrayMask & SPAN_RGBA) {
113 if (span->array->ChanType == GL_UNSIGNED_BYTE) {
114 GLubyte (*rgba)[4] = span->array->rgba8;
119 else if (span->array->ChanType == GL_UNSIGNED_SHORT) {
120 GLushort (*rgba)[4] = span
[all...]
H A Ds_fog.c90 if (span->arrayAttribs & FRAG_BIT_FOGC) { \
92 for (i = 0; i < span->end; i++) { \
93 const GLfloat fogCoord = span->array->attribs[FRAG_ATTRIB_FOGC][i][0]; \
105 const GLfloat fogStep = span->attrStepX[FRAG_ATTRIB_FOGC][0]; \
106 GLfloat fogCoord = span->attrStart[FRAG_ATTRIB_FOGC][0]; \
107 const GLfloat wStep = span->attrStepX[FRAG_ATTRIB_WPOS][3]; \
108 GLfloat w = span->attrStart[FRAG_ATTRIB_WPOS][3]; \
110 for (i = 0; i < span->end; i++) { \
125 * Apply fog to a span of RGBA pixels.
126 * The fog value are either in the span
[all...]
H A 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_spa
270 affine_span(struct gl_context *ctx, SWspan *span, struct affine_info *info) argument
607 fast_persp_span(struct gl_context *ctx, SWspan *span, struct persp_info *info) argument
[all...]
H A Ds_blend.h38 _swrast_blend_span(struct gl_context *ctx, struct gl_renderbuffer *rb, SWspan *span);
/external/mesa3d/src/mesa/drivers/x11/
H A Dxm_tri.c67 #define RENDER_SPAN( span ) { \
68 GLint x = span.x, y = YFLIP(xrb, span.y); \
70 for (i = 0; i < span.end; i++, x++) { \
71 const DEPTH_TYPE z = FixedToDepth(span.z); \
74 PACK_TRUECOLOR(p, FixedToInt(span.red), \
75 FixedToInt(span.green), FixedToInt(span.blue)); \
79 span.red += span
[all...]
/external/ImageMagick/MagickCore/
H A Dmonitor.h34 const MagickSizeType span)
36 if (span <= 100)
38 if (offset == (MagickOffsetType) (span-1))
40 if ((offset % (span/100)) == 0)
33 QuantumTick(const MagickOffsetType offset, const MagickSizeType span) argument
/external/skia/src/core/
H A DSkSpanProcs.cpp19 static void load_l32(const SkPixmap& src, int x, int y, SkPM4f span[], int count) { argument
25 swizzle_rb_if_bgra(Sk4f_fromL32(addr[i])).store(span[i].fVec);
29 static void load_s32(const SkPixmap& src, int x, int y, SkPM4f span[], int count) { argument
35 swizzle_rb_if_bgra(Sk4f_fromS32(addr[i])).store(span[i].fVec);
39 static void load_f16(const SkPixmap& src, int x, int y, SkPM4f span[], int count) { argument
45 SkHalfToFloat_finite_ftz(addr[i]).store(span[i].fVec);
67 static void alpha_filterspan(const SkPaint& paint, SkPM4f span[], int count) { argument
72 (Sk4f::Load(span[i].fVec) * scale).store(span[i].fVec);
76 static void colorfilter_filterspan(const SkPaint& paint, SkPM4f span[], in argument
82 colorfilter_alpha_filterspan(const SkPaint& paint, SkPM4f span[], int count) argument
[all...]
H A DSkSpanProcs.h18 typedef void (*SkLoadSpanProc)(const SkPixmap&, int x, int y, SkPM4f span[], int count);
19 typedef void (*SkFilterSpanProc)(const SkPaint& paint, SkPM4f span[], int count);
/external/icu/icu4j/
H A Dstylesheet6.css60 span.j-blk /* block comment */
65 span.j-cmt /* line comment */
70 span.j-key /* keyword */
77 span.j-str /* string constants */
82 span.j-chr /* char constants */
87 span.j-num /* number constants */
91 span.j-sym /* symbols, punctuation */
95 span.j-typ /* primitive types */
101 span.j-jdoc /* javadoc */
106 span
[all...]
/external/skia/src/pathops/
H A DSkPathOpsWinding.cpp19 // given the top span, project the most perpendicular ray and look for intersections
84 SkOpRayDir makeTestBase(SkOpSpan* span, double t) { argument
86 fSpan = span;
87 fT = span->t() * (1 - t) + span->next()->t() * t;
88 SkOpSegment* segment = span->segment();
171 SkOpSpan* span = this->windingSpanAtT(t); local
172 if (!span) {
174 } else if (!span->windValue() && !span
189 SkOpSpan* span = &fHead; local
276 SkOpSpan* span = hit->fSpan; local
299 SkOpSpan* span = hit->fSpan; local
370 SkOpSpan* span = &fHead; local
[all...]

Completed in 1226 milliseconds

1234567891011