Home
last modified time | relevance | path

Searched refs:Int2 (Results 1 – 25 of 34) sorted by relevance

12

/third_party/boost/libs/multiprecision/test/
Dbug11922.cpp29 class Int2 class
32 Int2(const mp_int& ) {} in Int2() function in Int2
33 Int2(const Int2& ) = delete;
42 Int2 b(i + 20); in main()
47 std::shared_ptr<Int2> p2 = std::make_shared<Int2>(i + 10); in main()
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/frag/
Dswizzle-scalar.frag6 static int4 Int2;
19 int4 Int2 : SV_Target3;
27 Int2 = int4(10, 10, 10, 10);
39 stage_output.Int2 = Int2;
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/frag/
Dswizzle-scalar.frag6 static int4 Int2;
19 int4 Int2 : SV_Target3;
27 Int2 = int4(10, 10, 10, 10);
39 stage_output.Int2 = Int2;
/third_party/boost/libs/static_assert/test/
Dstatic_assert_test.cpp70 template <class Int2, class Char2>
71 void f(Int2 , Char2 ) in f()
73 BOOST_STATIC_ASSERT(sizeof(Int) == sizeof(Int2)); in f()
75 BOOST_STATIC_ASSERT_MSG(sizeof(Int) == sizeof(Int2), "msg10"); in f()
Dstatic_assert_test_fail_5.cpp26 template <class Int2, class Char2>
27 void f(Int2 , Char2 ) in f()
29 BOOST_STATIC_ASSERT(sizeof(Int) == sizeof(Int2)); in f()
Dstatic_assert_test_fail_6.cpp26 template <class Int2, class Char2>
27 void f(Int2 , Char2 ) in f()
29 BOOST_STATIC_ASSERT(sizeof(Int) == sizeof(Int2)); in f()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
Dx86.hpp65 RValue<Short4> packssdw(RValue<Int2> x, RValue<Int2> y);
78 RValue<Int2> pslld(RValue<Int2> x, unsigned char y);
80 RValue<Int2> psrad(RValue<Int2> x, unsigned char y);
92 RValue<Int2> pmaddwd(RValue<Short4> x, RValue<Short4> y);
DReactor.cpp1966 RValue<Int2> UnpackLow(RValue<Short4> x, RValue<Short4> y) in UnpackLow()
1969 return As<Int2>(Nucleus::createShuffleVector(x.value(), y.value(), shuffle)); in UnpackLow()
1972 RValue<Int2> UnpackHigh(RValue<Short4> x, RValue<Short4> y) in UnpackHigh()
1977 return As<Int2>(Swizzle(As<Int4>(lowHigh), 0x2323)); in UnpackHigh()
2311 Int::Int(RValue<Int2> cast) in Int()
2927 Int2::Int2(RValue<Int4> cast) in Int2() function in rr::Int2
2932 Int2::Int2(int x, int y) in Int2() function in rr::Int2
2938 Int2::Int2(RValue<Int2> rhs) in Int2() function in rr::Int2
2943 Int2::Int2(const Int2 &rhs) in Int2() function in rr::Int2
2948 Int2::Int2(const Reference<Int2> &rhs) in Int2() function in rr::Int2
[all …]
DReactor.hpp107 class Int2;
945 RValue<Int2> MulAdd(RValue<Short4> x, RValue<Short4> y);
948 RValue<Int2> UnpackLow(RValue<Short4> x, RValue<Short4> y);
949 RValue<Int2> UnpackHigh(RValue<Short4> x, RValue<Short4> y);
1141 explicit Int(RValue<Int2> cast);
1354 class Int2 : public LValue<Int2> class
1358 explicit Int2(RValue<Int4> cast);
1360 Int2() = default;
1361 Int2(int x, int y);
1362 Int2(RValue<Int2> rhs);
[all …]
DPrint.hpp250 struct PrintValue::Ty<Int2>
252 static std::string fmt(const RValue<Int2> &v) { return "[%d, %d]"; } in fmt()
253 static std::vector<Value *> val(const RValue<Int2> &v);
DLLVMReactor.cpp2029 Value *short4 = As<Short4>(Int2(As<Int4>(packed))).value(); in Short4()
2049 storeValue(As<Short4>(Int2(v4i32)).value()); in Short4()
2124 RValue<Int2> MulAdd(RValue<Short4> x, RValue<Short4> y) in MulAdd()
2130 return As<Int2>(V(lowerMulAdd(V(x.value()), V(y.value())))); in MulAdd()
2497 RValue<Int2> operator<<(RValue<Int2> lhs, unsigned char rhs) in operator <<()
2505 return As<Int2>(V(lowerVectorShl(V(lhs.value()), rhs))); in operator <<()
2509 RValue<Int2> operator>>(RValue<Int2> lhs, unsigned char rhs) in operator >>()
2517 return As<Int2>(V(lowerVectorAShr(V(lhs.value()), rhs))); in operator >>()
2521 Type *Int2::type() in type()
2532 return As<UInt2>(x86::pslld(As<Int2>(lhs), rhs)); in operator <<()
[all …]
DSubzeroReactor.cpp2539 Value *int2 = RValue<Int2>(Int2(As<Int4>(packed))).value(); in Short4()
2707 RValue<Int2> MulAdd(RValue<Short4> x, RValue<Short4> y) in MulAdd()
2712 Int2 result; in MulAdd()
2727 return As<Int2>(V(result)); in MulAdd()
3335 RValue<Int2> operator<<(RValue<Int2> lhs, unsigned char rhs) in operator <<()
3340 Int2 result; in operator <<()
3348 return RValue<Int2>(Nucleus::createShl(lhs.value(), V(::context->getConstantInt32(rhs)))); in operator <<()
3352 RValue<Int2> operator>>(RValue<Int2> lhs, unsigned char rhs) in operator >>()
3357 Int2 result; in operator >>()
3365 return RValue<Int2>(Nucleus::createAShr(lhs.value(), V(::context->getConstantInt32(rhs)))); in operator >>()
[all …]
/third_party/boost/libs/python/doc/reference/
Dslice.qbk15 template <typename Int1, typename Int2>
16 slice(Int1 start, Int2 stop);
18 template <typename Int1, typename Int2, typename Int3>
19 slice(Int1 start, Int2 stop, Int3 step);
51 template <typename Int1, typename Int2>
52 slice(Int1 start, Int2 stop);
60 template <typename Int1, typename Int2, typename Int3>
61 slice(Int1 start, Int2 stop, Int3 step);
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.cpp511 zValue = As<Short4>(Insert(As<Int2>(zValue), *Pointer<Int>(buffer), 0)); in depthTest16()
512 zValue = As<Short4>(Insert(As<Int2>(zValue), *Pointer<Int>(buffer + pitch), 1)); in depthTest16()
615 Int2 z; in depthBoundsTest16()
729 zValue = As<Short4>(Insert(As<Int2>(zValue), *Pointer<Int>(buffer), 0)); in writeDepth16()
730 zValue = As<Short4>(Insert(As<Int2>(zValue), *Pointer<Int>(buffer + pitch), 1)); in writeDepth16()
737 *Pointer<Int>(buffer) = Extract(As<Int2>(Z), 0); in writeDepth16()
738 *Pointer<Int>(buffer + pitch) = Extract(As<Int2>(Z), 1); in writeDepth16()
955 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
975 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
995 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
[all …]
DShaderCore.cpp474 Int2 tmp0 = UnpackHigh(row0, row1); in transpose4x4()
475 Int2 tmp1 = UnpackHigh(row2, row3); in transpose4x4()
476 Int2 tmp2 = UnpackLow(row0, row1); in transpose4x4()
477 Int2 tmp3 = UnpackLow(row2, row3); in transpose4x4()
487 Int2 tmp0 = UnpackHigh(row0, row1); in transpose4x3()
488 Int2 tmp1 = UnpackHigh(row2, row3); in transpose4x3()
489 Int2 tmp2 = UnpackLow(row0, row1); in transpose4x3()
490 Int2 tmp3 = UnpackLow(row2, row3); in transpose4x3()
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/frag/
Dswizzle-scalar.frag8 layout(location = 3) out ivec4 Int2;
15 Int2 = ivec4(10);
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBuffer.cpp223 *Pointer<Int2>(d) = As<Int2>(PackUnsigned(c0, c1)); in copyRoutine()
269 *Pointer<Int>(d) = Int(As<Int2>(PackUnsigned(c, c))); in copyRoutine()
331 *Pointer<Int2>(d) = As<Int2>(PackUnsigned(c0, c1)); in copyRoutine()
377 *Pointer<Int>(d) = Int(As<Int2>(PackUnsigned(c, c))); in copyRoutine()
471 Int c = Int(As<Int2>(PackUnsigned(cc, cc))); in copyRoutine()
596 Int c = Int(As<Int2>(PackUnsigned(c1, c1))); in blend()
605 Int c = Int(As<Int2>(PackUnsigned(c1, c1))); in blend()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Doptional_test.cc1246 struct Int2 { struct
1247 Int2() = default;
1248 Int2(int i) : i(i) {} // NOLINT(runtime/explicit) in Int2() argument
1253 constexpr bool operator==(const Int1& lhs, const Int2& rhs) { in operator ==()
1256 constexpr bool operator!=(const Int1& lhs, const Int2& rhs) { in operator !=()
1259 constexpr bool operator<(const Int1& lhs, const Int2& rhs) { in operator <()
1262 constexpr bool operator<=(const Int1& lhs, const Int2& rhs) { in operator <=()
1265 constexpr bool operator>(const Int1& lhs, const Int2& rhs) { in operator >()
1268 constexpr bool operator>=(const Int1& lhs, const Int2& rhs) { in operator >=()
1276 TestComparisons<int, Int2, int>(); in TEST()
[all …]
/third_party/abseil-cpp/absl/types/
Doptional_test.cc1246 struct Int2 { struct
1247 Int2() = default;
1248 Int2(int i) : i(i) {} // NOLINT(runtime/explicit) in Int2() argument
1253 constexpr bool operator==(const Int1& lhs, const Int2& rhs) { in operator ==()
1256 constexpr bool operator!=(const Int1& lhs, const Int2& rhs) { in operator !=()
1259 constexpr bool operator<(const Int1& lhs, const Int2& rhs) { in operator <()
1262 constexpr bool operator<=(const Int1& lhs, const Int2& rhs) { in operator <=()
1265 constexpr bool operator>(const Int1& lhs, const Int2& rhs) { in operator >()
1268 constexpr bool operator>=(const Int1& lhs, const Int2& rhs) { in operator >=()
1276 TestComparisons<int, Int2, int>(); in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DVertexFormatTests.cpp145 case dawn::VertexFormat::Int2: in BytesPerComponents()
168 case dawn::VertexFormat::Int2: in ComponentCount()
773 TEST_P(VertexFormatTest, Int2) { in TEST_P() argument
779 DoVertexFormatTest(dawn::VertexFormat::Int2, vertexData, vertexData); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DPixelRoutine.cpp1010 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
1096 c01 = As<Short4>(Insert(As<Int2>(c01), *Pointer<Int>(buffer), 0)); in readPixel()
1098 c01 = As<Short4>(Insert(As<Int2>(c01), *Pointer<Int>(buffer), 1)); in readPixel()
1582 Int c01 = Extract(As<Int2>(current.x), 0); in writeColor()
1600 Int c23 = Extract(As<Int2>(current.x), 1); in writeColor()
1746 Int2 value; in writeColor()
1751 Int2 packedCol = As<Int2>(current.x); in writeColor()
1757 UInt2 rgbaMask = As<UInt2>(Int2(tmpMask, tmpMask)); in writeColor()
1761 packedCol = As<Int2>((As<UInt2>(packedCol) & mergedMask) | (As<UInt2>(value) & ~mergedMask)); in writeColor()
2329 xyzw = As<UShort4>(Insert(As<Int2>(xyzw), *Pointer<Int>(buffer), 0)); in writeColor()
[all …]
DSamplerCore.cpp522 mask = As<Short4>(Int2(As<Int4>(PackSigned(border, border)))); in border()
1707 index[0] = Extract(As<Int2>(uuuu), 0); in computeIndices()
1708 index[1] = Extract(As<Int2>(uuuu), 1); in computeIndices()
1709 index[2] = Extract(As<Int2>(uuu2), 0); in computeIndices()
1710 index[3] = Extract(As<Int2>(uuu2), 1); in computeIndices()
1968 c.x = UnpackLow(As<Int2>(c.x), As<Int2>(c.z)); in sampleTexel()
1969 c.y = UnpackHigh(As<Int2>(c.y), As<Int2>(c.z)); in sampleTexel()
2330 return As<Short4>(Int2(convert)) + Short4(0x8000u); in address()
/third_party/skia/tests/
DSkSLDSLTest.cpp301 EXPECT_EQUAL(Int2(std::numeric_limits<int32_t>::min()), in DEF_GPUTEST_FOR_MOCK_CONTEXT()
303 EXPECT_EQUAL(Int2(0, 1), in DEF_GPUTEST_FOR_MOCK_CONTEXT()
307 EXPECT_EQUAL(Int3(Int2(0, 1), -2), in DEF_GPUTEST_FOR_MOCK_CONTEXT()
313 EXPECT_EQUAL(Int4(Int2(0, 1), Int2(2, 3)), in DEF_GPUTEST_FOR_MOCK_CONTEXT()
315 EXPECT_EQUAL(Int4(0, 1, Int2(2, 3)), in DEF_GPUTEST_FOR_MOCK_CONTEXT()
323 Int2(Int4(1)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
868 DSLExpression(c %= Int2(Int(0), 1)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1081 Expression e2 = (a += b, b += b, Int2(a)); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/
DReactorUnitTests.cpp789 *Pointer<Int2>(out + 16 * 3) = Int2(0x24232221, 0x28272625); in TEST()
825 *Pointer<Int4>(out + 16 * 0) = Int4(Int2(0x04030201, 0x08070605), Int2(0x0C0B0A09, 0x100F0E0D)); in TEST()
908 *Pointer<Int2>(out + 16 * (512 + 2)) = UnpackLow(Short4(1, 2, 3, 4), Short4(5, 6, 7, 8)); in TEST()
909 *Pointer<Int2>(out + 16 * (512 + 3)) = UnpackHigh(Short4(1, 2, 3, 4), Short4(5, 6, 7, 8)); in TEST()
1728 *Pointer<Int2>(out + 8 * 0) = in TEST()
2379 std::pair<int[2], Int2>,
3624 Int2 i2(-1, -2); in TEST()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPipeline.cpp206 case dawn::VertexFormat::Int2: in VertexFormatNumComponents()
249 case dawn::VertexFormat::Int2: in VertexFormatComponentSize()

12