Home
last modified time | relevance | path

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

12345678910>>...71

/external/swiftshader/tests/regres/cov/
Dspan_test.go26 l.Add(span(3, 1, 3, 5))
27 checkSpanList(t, l, span(3, 1, 3, 5))
29 l.Add(span(4, 1, 4, 5))
30 checkSpanList(t, l, span(3, 1, 3, 5), span(4, 1, 4, 5))
32 l.Add(span(2, 1, 2, 5))
33 checkSpanList(t, l, span(2, 1, 2, 5), span(3, 1, 3, 5), span(4, 1, 4, 5))
37 l := cov.SpanList{span(1, 1, 1, 5), span(5, 4, 5, 7), span(9, 1, 9, 5)}
40 l.Add(span(5, 1, 5, 5))
41 checkSpanList(t, l, span(1, 1, 1, 5), span(5, 1, 5, 7), span(9, 1, 9, 5))
44 l.Add(span(5, 5, 5, 9))
[all …]
/external/dokka/core/testdata/format/website/dataTags/
Dmultiplatform.package.md18span class="keyword">fun </span><span class="identifier">jre7</span><span class="symbol">(</span><
25span class="keyword">fun </span><span class="identifier">jre7New</span><span class="symbol">(</spa…
32span class="keyword">fun </span><span class="identifier">js</span><span class="symbol">(</span><sp…
39span class="keyword">fun </span><span class="identifier">jsNew</span><span class="symbol">(</span>…
46span class="keyword">fun </span><span class="identifier">jvm</span><span class="symbol">(</span><s…
53span class="keyword">fun </span><span class="identifier">jvmNew</span><span class="symbol">(</span
60span class="keyword">fun </span><span class="identifier">shared</span><span class="symbol">(</span
67span class="keyword">fun </span><span class="identifier">sharedNew</span><span class="symbol">(</s…
/external/mesa3d/src/mesa/swrast/
Ds_span.c68 _swrast_span_default_attribs(struct gl_context *ctx, SWspan *span) in _swrast_span_default_attribs() argument
75 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F); in _swrast_span_default_attribs()
79 span->z = (GLint)tmpf; in _swrast_span_default_attribs()
81 span->zStep = 0; in _swrast_span_default_attribs()
82 span->interpMask |= SPAN_Z; in _swrast_span_default_attribs()
86 span->attrStart[VARYING_SLOT_POS][3] = 1.0; in _swrast_span_default_attribs()
87 span->attrStepX[VARYING_SLOT_POS][3] = 0.0; in _swrast_span_default_attribs()
88 span->attrStepY[VARYING_SLOT_POS][3] = 0.0; in _swrast_span_default_attribs()
96 span->red = r; in _swrast_span_default_attribs()
97 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 …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_tri.c68 #define RENDER_SPAN( span ) { \ argument
69 GLint x = span.x, y = YFLIP(xrb, span.y); \
71 for (i = 0; i < span.end; i++, x++) { \
72 const DEPTH_TYPE z = FixedToDepth(span.z); \
75 PACK_TRUECOLOR(p, FixedToInt(span.red), \
76 FixedToInt(span.green), FixedToInt(span.blue)); \
80 span.red += span.redStep; \
81 span.green += span.greenStep; \
82 span.blue += span.blueStep; \
83 span.z += span.zStep; \
[all …]
/external/rust/crates/regex-syntax/src/ast/
Dparse.rs34 fn span(&self) -> &Span { in span() method
36 Primitive::Literal(ref x) => &x.span, in span()
37 Primitive::Assertion(ref x) => &x.span, in span()
38 Primitive::Dot(ref span) => span, in span()
39 Primitive::Perl(ref x) => &x.span, in span()
40 Primitive::Unicode(ref x) => &x.span, in span()
49 Primitive::Dot(span) => Ast::Dot(span), in into_ast()
70 x => Err(p.error(*x.span(), ast::ErrorKind::ClassEscapeInvalid)), in into_class_set_item()
88 x => Err(p.error(*x.span(), ast::ErrorKind::ClassRangeLiteral)), in into_class_literal()
383 fn error(&self, span: Span, kind: ast::ErrorKind) -> ast::Error { in error()
[all …]
/external/llvm-project/libcxx/test/std/containers/views/span.cons/
Dspan.fail.cpp28 std::span<T, extent> createImplicitSpan(std::span<T, otherExtent> s) { in createImplicitSpan()
35 std::span<const int> csp; in checkCV()
36 std::span< volatile int> vsp; in checkCV()
37 std::span<const volatile int> cvsp; in checkCV()
40 std::span<const int, 0> csp0; in checkCV()
41 std::span< volatile int, 0> vsp0; in checkCV()
42 std::span<const volatile int, 0> cvsp0; in checkCV()
46 …std::span< int> s1{ csp}; // expected-error {{no matching constructor for initializa… in checkCV()
47 …std::span< int> s2{ vsp}; // expected-error {{no matching constructor for initializa… in checkCV()
48 …std::span< int> s3{cvsp}; // expected-error {{no matching constructor for initializa… in checkCV()
[all …]
/external/libcxx/test/std/containers/views/span.cons/
Dspan.fail.cpp31 std::span<const int> csp; in checkCV()
32 std::span< volatile int> vsp; in checkCV()
33 std::span<const volatile int> cvsp; in checkCV()
36 std::span<const int, 0> csp0; in checkCV()
37 std::span< volatile int, 0> vsp0; in checkCV()
38 std::span<const volatile int, 0> cvsp0; in checkCV()
42 …std::span< int> s1{ csp}; // expected-error {{no matching constructor for initializa… in checkCV()
43 …std::span< int> s2{ vsp}; // expected-error {{no matching constructor for initializa… in checkCV()
44 …std::span< int> s3{cvsp}; // expected-error {{no matching constructor for initializa… in checkCV()
46 …std::span<const int> s4{ vsp}; // expected-error {{no matching constructor for initializa… in checkCV()
[all …]
Dcontainer.fail.cpp71 …std::span<int> s1{IsAContainer<int>()}; // expected-error {{no matching constructor fo… in main()
72 …std::span<int, 0> s2{IsAContainer<int>()}; // expected-error {{no matching constructor fo… in main()
73 …std::span<int> s3{NotAContainerNoData<int>()}; // expected-error {{no matching constructor fo… in main()
74 …std::span<int, 0> s4{NotAContainerNoData<int>()}; // expected-error {{no matching constructor fo… in main()
75 …std::span<int> s5{NotAContainerNoSize<int>()}; // expected-error {{no matching constructor fo… in main()
76 …std::span<int, 0> s6{NotAContainerNoSize<int>()}; // expected-error {{no matching constructor fo… in main()
77 …std::span<int> s7{NotAContainerPrivate<int>()}; // expected-error {{no matching constructor fo… in main()
78 …std::span<int, 0> s8{NotAContainerPrivate<int>()}; // expected-error {{no matching constructor fo… in main()
81 …std::span<int> s11{std::deque<int>()}; // expected-error {{no matching constructor fo… in main()
82 …std::span<int, 0> s12{std::deque<int>()}; // expected-error {{no matching constructor fo… in main()
[all …]
/external/libchrome/base/containers/
Dspan_unittest.cc25 span<int> dynamic_span; in TEST()
29 constexpr span<int, 0> static_span; in TEST()
35 constexpr span<int> empty_span(nullptr, 0); in TEST()
41 span<int> dynamic_span(vector.data(), vector.size()); in TEST()
48 span<int, 6> static_span(vector.data(), vector.size()); in TEST()
57 constexpr span<int> empty_span(nullptr, nullptr); in TEST()
63 span<int> dynamic_span(vector.data(), vector.data() + vector.size() / 2); in TEST()
70 span<int, 3> static_span(vector.data(), vector.data() + vector.size() / 2); in TEST()
81 constexpr span<const int> dynamic_span(kArray); in TEST()
91 constexpr span<const int, base::size(kArray)> static_span(kArray); in TEST()
[all …]
/external/libcxx/test/std/containers/views/span.elem/
Ddata.pass.cpp48 static_assert(testConstexprSpan(std::span<int>(), nullptr), ""); in main()
49 static_assert(testConstexprSpan(std::span<long>(), nullptr), ""); in main()
50 static_assert(testConstexprSpan(std::span<double>(), nullptr), ""); in main()
51 static_assert(testConstexprSpan(std::span<A>(), nullptr), ""); in main()
52 static_assert(testConstexprSpan(std::span<std::string>(), nullptr), ""); in main()
54 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), iArr1), ""); in main()
55 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), iArr1), ""); in main()
56 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), iArr1), ""); in main()
57 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), iArr1), ""); in main()
59 static_assert(testConstexprSpan(std::span<const int>(iArr1 + 1, 1), iArr1 + 1), ""); in main()
[all …]
Dop_idx.pass.cpp57 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), 0), ""); in main()
59 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 0), ""); in main()
60 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 1), ""); in main()
62 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 0), ""); in main()
63 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 1), ""); in main()
64 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 2), ""); in main()
66 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 0), ""); in main()
67 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 1), ""); in main()
68 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 2), ""); in main()
69 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 3), ""); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/views/span.elem/
Ddata.pass.cpp47 static_assert(testConstexprSpan(std::span<int>(), nullptr), ""); in main()
48 static_assert(testConstexprSpan(std::span<long>(), nullptr), ""); in main()
49 static_assert(testConstexprSpan(std::span<double>(), nullptr), ""); in main()
50 static_assert(testConstexprSpan(std::span<A>(), nullptr), ""); in main()
51 static_assert(testConstexprSpan(std::span<std::string>(), nullptr), ""); in main()
53 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), iArr1), ""); in main()
54 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), iArr1), ""); in main()
55 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), iArr1), ""); in main()
56 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), iArr1), ""); in main()
58 static_assert(testConstexprSpan(std::span<const int>(iArr1 + 1, 1), iArr1 + 1), ""); in main()
[all …]
Dop_idx.pass.cpp52 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), 0), ""); in main()
54 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 0), ""); in main()
55 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 1), ""); in main()
57 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 0), ""); in main()
58 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 1), ""); in main()
59 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 2), ""); in main()
61 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 0), ""); in main()
62 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 1), ""); in main()
63 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 2), ""); in main()
64 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 3), ""); in main()
[all …]
/external/pigweed/pw_span/
Dspan_test.cc64 auto the_span = span(array); in TEST()
75 constexpr auto the_span = span(array); in TEST()
85 auto the_span = span(array); in TEST()
96 constexpr auto the_span = span(array); in TEST()
105 auto the_span = span(string); in TEST()
114 auto the_span = span(string); in TEST()
145 span<char> data_;
152 auto the_span = span(view); in TEST()
163 auto the_span = span(string); in TEST()
172 auto the_span = span(string); in TEST()
[all …]
/external/dokka/core/testdata/format/website/
DoverloadGroup.md12span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span>…
25span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span>…
DreturnTag.md10span class="keyword">fun </span><a href="test/-foo/index"><span class="identifier">Foo</span></a><
Dsample.md12span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><s…
27span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><s…
/external/llvm-project/libcxx/test/std/containers/views/span.obs/
Dsize.pass.cpp45 static_assert(testConstexprSpan(std::span<int>(), 0), ""); in main()
46 static_assert(testConstexprSpan(std::span<long>(), 0), ""); in main()
47 static_assert(testConstexprSpan(std::span<double>(), 0), ""); in main()
48 static_assert(testConstexprSpan(std::span<A>(), 0), ""); in main()
49 static_assert(testConstexprSpan(std::span<std::string>(), 0), ""); in main()
51 static_assert(testConstexprSpan(std::span<int, 0>(), 0), ""); in main()
52 static_assert(testConstexprSpan(std::span<long, 0>(), 0), ""); in main()
53 static_assert(testConstexprSpan(std::span<double, 0>(), 0), ""); in main()
54 static_assert(testConstexprSpan(std::span<A, 0>(), 0), ""); in main()
55 static_assert(testConstexprSpan(std::span<std::string, 0>(), 0), ""); in main()
[all …]
Dsize_bytes.pass.cpp46 static_assert(testConstexprSpan(std::span<int>(), 0), ""); in main()
47 static_assert(testConstexprSpan(std::span<long>(), 0), ""); in main()
48 static_assert(testConstexprSpan(std::span<double>(), 0), ""); in main()
49 static_assert(testConstexprSpan(std::span<A>(), 0), ""); in main()
50 static_assert(testConstexprSpan(std::span<std::string>(), 0), ""); in main()
52 static_assert(testConstexprSpan(std::span<int, 0>(), 0), ""); in main()
53 static_assert(testConstexprSpan(std::span<long, 0>(), 0), ""); in main()
54 static_assert(testConstexprSpan(std::span<double, 0>(), 0), ""); in main()
55 static_assert(testConstexprSpan(std::span<A, 0>(), 0), ""); in main()
56 static_assert(testConstexprSpan(std::span<std::string, 0>(), 0), ""); in main()
[all …]
Dempty.pass.cpp29 static_assert( noexcept(std::span<int> ().empty()), ""); in main()
30 static_assert( noexcept(std::span<int, 0>().empty()), ""); in main()
33 static_assert( std::span<int>().empty(), ""); in main()
34 static_assert( std::span<long>().empty(), ""); in main()
35 static_assert( std::span<double>().empty(), ""); in main()
36 static_assert( std::span<A>().empty(), ""); in main()
37 static_assert( std::span<std::string>().empty(), ""); in main()
39 static_assert( std::span<int, 0>().empty(), ""); in main()
40 static_assert( std::span<long, 0>().empty(), ""); in main()
41 static_assert( std::span<double, 0>().empty(), ""); in main()
[all …]
/external/libcxx/test/std/containers/views/span.obs/
Dsize.pass.cpp46 static_assert(testConstexprSpan(std::span<int>(), 0), ""); in main()
47 static_assert(testConstexprSpan(std::span<long>(), 0), ""); in main()
48 static_assert(testConstexprSpan(std::span<double>(), 0), ""); in main()
49 static_assert(testConstexprSpan(std::span<A>(), 0), ""); in main()
50 static_assert(testConstexprSpan(std::span<std::string>(), 0), ""); in main()
52 static_assert(testConstexprSpan(std::span<int, 0>(), 0), ""); in main()
53 static_assert(testConstexprSpan(std::span<long, 0>(), 0), ""); in main()
54 static_assert(testConstexprSpan(std::span<double, 0>(), 0), ""); in main()
55 static_assert(testConstexprSpan(std::span<A, 0>(), 0), ""); in main()
56 static_assert(testConstexprSpan(std::span<std::string, 0>(), 0), ""); in main()
[all …]
Dsize_bytes.pass.cpp47 static_assert(testConstexprSpan(std::span<int>(), 0), ""); in main()
48 static_assert(testConstexprSpan(std::span<long>(), 0), ""); in main()
49 static_assert(testConstexprSpan(std::span<double>(), 0), ""); in main()
50 static_assert(testConstexprSpan(std::span<A>(), 0), ""); in main()
51 static_assert(testConstexprSpan(std::span<std::string>(), 0), ""); in main()
53 static_assert(testConstexprSpan(std::span<int, 0>(), 0), ""); in main()
54 static_assert(testConstexprSpan(std::span<long, 0>(), 0), ""); in main()
55 static_assert(testConstexprSpan(std::span<double, 0>(), 0), ""); in main()
56 static_assert(testConstexprSpan(std::span<A, 0>(), 0), ""); in main()
57 static_assert(testConstexprSpan(std::span<std::string, 0>(), 0), ""); in main()
[all …]
Dempty.pass.cpp30 static_assert( noexcept(std::span<int> ().empty()), ""); in main()
31 static_assert( noexcept(std::span<int, 0>().empty()), ""); in main()
34 static_assert( std::span<int>().empty(), ""); in main()
35 static_assert( std::span<long>().empty(), ""); in main()
36 static_assert( std::span<double>().empty(), ""); in main()
37 static_assert( std::span<A>().empty(), ""); in main()
38 static_assert( std::span<std::string>().empty(), ""); in main()
40 static_assert( std::span<int, 0>().empty(), ""); in main()
41 static_assert( std::span<long, 0>().empty(), ""); in main()
42 static_assert( std::span<double, 0>().empty(), ""); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/views/span.iterators/
Dbegin.pass.cpp65 static_assert(testConstexprSpan(std::span<int>()), ""); in main()
66 static_assert(testConstexprSpan(std::span<long>()), ""); in main()
67 static_assert(testConstexprSpan(std::span<double>()), ""); in main()
68 static_assert(testConstexprSpan(std::span<A>()), ""); in main()
69 static_assert(testConstexprSpan(std::span<std::string>()), ""); in main()
71 static_assert(testConstexprSpan(std::span<int, 0>()), ""); in main()
72 static_assert(testConstexprSpan(std::span<long, 0>()), ""); in main()
73 static_assert(testConstexprSpan(std::span<double, 0>()), ""); in main()
74 static_assert(testConstexprSpan(std::span<A, 0>()), ""); in main()
75 static_assert(testConstexprSpan(std::span<std::string, 0>()), ""); in main()
[all …]

12345678910>>...71