Home
last modified time | relevance | path

Searched refs:kHalfSize (Results 1 – 4 of 4) sorted by relevance

/third_party/node/deps/v8/src/snapshot/embedded/
Dplatform-embedded-file-writer-base.cc48 size_t kHalfSize = kSize / 2; in WriteByteChunk() local
63 memcpy(&high, data, kHalfSize); in WriteByteChunk()
64 memcpy(&low, data + kHalfSize, kHalfSize); in WriteByteChunk()
66 memcpy(&high, data + kHalfSize, kHalfSize); in WriteByteChunk()
67 memcpy(&low, data, kHalfSize); in WriteByteChunk()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DClearTest.cpp1193 constexpr uint32_t kHalfSize = kSize / 2; in TEST_P() local
1242 glScissor(0, 0, kHalfSize, kHalfSize); in TEST_P()
1274 EXPECT_PIXEL_COLOR_EQ(0, kHalfSize - 1, expect); in TEST_P()
1275 EXPECT_PIXEL_COLOR_EQ(kHalfSize - 1, 0, expect); in TEST_P()
1276 EXPECT_PIXEL_COLOR_EQ(kHalfSize - 1, kHalfSize - 1, expect); in TEST_P()
1277 EXPECT_PIXEL_EQ(kHalfSize + 1, kHalfSize + 1, 0, 0, 0, 0); in TEST_P()
1285 EXPECT_PIXEL_8I(0, kHalfSize - 1, clearValuei[0], clearValuei[1], clearValuei[2], in TEST_P()
1287 EXPECT_PIXEL_8I(kHalfSize - 1, 0, clearValuei[0], clearValuei[1], clearValuei[2], in TEST_P()
1289 EXPECT_PIXEL_8I(kHalfSize - 1, kHalfSize - 1, clearValuei[0], clearValuei[1], in TEST_P()
1291 EXPECT_PIXEL_8I(kHalfSize + 1, kHalfSize + 1, 0, 0, 0, 0); in TEST_P()
[all …]
DStateChangeTest.cpp3957 constexpr int kHalfSize = kWindowSize / 2; in TEST_P() local
3959 EXPECT_PIXEL_RECT_EQ(0, 0, kHalfSize, kHalfSize, GLColor::red); in TEST_P()
3960 EXPECT_PIXEL_RECT_EQ(kHalfSize, 0, kHalfSize, kHalfSize, GLColor::green); in TEST_P()
3961 EXPECT_PIXEL_RECT_EQ(0, kHalfSize, kHalfSize, kHalfSize, GLColor::blue); in TEST_P()
3962 EXPECT_PIXEL_RECT_EQ(kHalfSize, kHalfSize, kHalfSize, kHalfSize, GLColor::yellow); in TEST_P()
4030 constexpr int kHalfSize = kWindowSize / 2; in TEST_P() local
4033 EXPECT_PIXEL_RECT_EQ(0, 0, kHalfSize, kHalfSize, GLColor::red); in TEST_P()
4034 EXPECT_PIXEL_RECT_EQ(kHalfSize, 0, kHalfSize, kHalfSize, GLColor::green); in TEST_P()
4035 EXPECT_PIXEL_RECT_EQ(0, kHalfSize, kHalfSize, kHalfSize, GLColor::blue); in TEST_P()
4036 EXPECT_PIXEL_RECT_EQ(kHalfSize, kHalfSize, kHalfSize, kHalfSize, GLColor::yellow); in TEST_P()
/third_party/skia/tests/
DWritePixelsTest.cpp517 static const int kHalfSize = 31; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
524 const SkImageInfo halfII = SkImageInfo::Make(kHalfSize, kFullSize, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
543 sk_sp<SkSurface> leftSurf = create_surf(context, kHalfSize, kFullSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
544 sk_sp<SkSurface> rightSurf = create_surf(context, kHalfSize, kFullSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
550 dest->getCanvas()->drawImage(std::move(rightImg), kHalfSize, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
566 for (int x = kHalfSize; x < kHalfSize+16; ++x) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()