Home
last modified time | relevance | path

Searched refs:kOffset (Results 1 – 25 of 47) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DPrimitiveTopologyTests.cpp106 constexpr static unsigned int kOffset = kRTSize / 8; variable
109 { kRTSize * 1 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
110 { kRTSize * 1 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
111 { kRTSize * 2 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
112 { kRTSize * 2 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
113 { kRTSize * 3 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
114 { kRTSize * 3 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
DBufferZeroInitTests.cpp723 constexpr uint64_t kOffset = 8u; in TEST_P() local
725 EXPECT_LAZY_CLEAR(1u, MapAsyncAndWait(buffer, kMapMode, kOffset, kSize)); in TEST_P()
728 static_cast<const uint32_t*>(buffer.GetConstMappedRange(kOffset)); in TEST_P()
769 constexpr uint64_t kOffset = 8u; in TEST_P() local
771 EXPECT_LAZY_CLEAR(1u, MapAsyncAndWait(buffer, kMapMode, kOffset, kSize)); in TEST_P()
889 constexpr uint64_t kOffset = 0; in TEST_P() local
890 const uint32_t totalBufferSize = requiredBufferSizeForCopy + kOffset; in TEST_P()
893 buffer, kOffset, kTextureBytesPerRowAlignment, kTextureSize.height); in TEST_P()
907 constexpr uint64_t kOffset = 8u; in TEST_P() local
908 const uint32_t totalBufferSize = requiredBufferSizeForCopy + kOffset; in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DPrimitiveTopologyTests.cpp103 constexpr static unsigned int kOffset = kRTSize / 8; variable
106 { kRTSize * 1 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
107 { kRTSize * 1 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
108 { kRTSize * 2 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
109 { kRTSize * 2 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
110 { kRTSize * 3 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
111 { kRTSize * 3 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
/third_party/skia/gm/
Ddistantclip.cpp29 constexpr SkScalar kOffset = 35000.0f; in onDraw() local
36 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents); in onDraw()
39 SkRect r = SkRect::MakeXYWH(-kExtents, kOffset - kExtents, 2 * kExtents, 2 * kExtents); in onDraw()
52 canvas->translate(kExtents / 2, -(kOffset - kExtents / 2)); in onDraw()
Dgm.cpp38 constexpr SkScalar kOffset = 5.0f; in draw_failure_message() local
44 canvas->drawString(failureMsg, kOffset, bounds.height() + kOffset, font, textPaint); in draw_failure_message()
/third_party/flutter/skia/gm/
Ddistantclip.cpp29 constexpr SkScalar kOffset = 35000.0f; in onDraw() local
36 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents, nullptr, 0); in onDraw()
39 SkRect r = SkRect::MakeXYWH(-kExtents, kOffset - kExtents, 2 * kExtents, 2 * kExtents); in onDraw()
55 canvas->translate(kExtents / 2, -(kOffset - kExtents / 2)); in onDraw()
Dgm.cpp41 constexpr SkScalar kOffset = 5.0f; in draw_failure_message() local
47 canvas->drawString(failureMsg, kOffset, bounds.height() + kOffset, font, textPaint); in draw_failure_message()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DHandleRangeAllocator_unittest.cpp99 const GLuint kOffset = 123456; in TEST_F() local
101 GLuint id1 = allocator->allocateAtOrAbove(kOffset); in TEST_F()
102 EXPECT_EQ(kOffset, id1); in TEST_F()
103 GLuint id2 = allocator->allocateAtOrAbove(kOffset); in TEST_F()
104 EXPECT_GT(id2, kOffset); in TEST_F()
105 GLuint id3 = allocator->allocateAtOrAbove(kOffset); in TEST_F()
106 EXPECT_GT(id3, kOffset); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Deliminate_redundant_op.cc105 constexpr size_t kOffset = 2; in ProcessMatchedNodes() local
112 if (pass_size < kOffset) { in ProcessMatchedNodes()
115 for (size_t idx = pass_size - kOffset; idx > 0; --idx) { in ProcessMatchedNodes()
117 if (idx == pass_size - kOffset) { in ProcessMatchedNodes()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cVertexAttribBindingTests.cpp2480 const GLintptr kOffset[2] = { 0, 8 }; in Run() local
2484 glBufferData(GL_ARRAY_BUFFER, kOffset[0] + 4 * kStride[0], NULL, GL_STATIC_DRAW); in Run()
2486 glMapBufferRange(GL_ARRAY_BUFFER, 0, kOffset[0] + 4 * kStride[0], GL_MAP_WRITE_BIT)); in Run()
2487 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 0 * kStride[0]]) = Vec2(-1.0f, -1.0f); in Run()
2488 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 1 * kStride[0]]) = Vec2(1.0f, -1.0f); in Run()
2489 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 2 * kStride[0]]) = Vec2(1.0f, 1.0f); in Run()
2490 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 3 * kStride[0]]) = Vec2(-1.0f, 1.0f); in Run()
2493 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 8 + i * kStride[0]]) = Vec2(0.0f, 1.0f); in Run()
2494 *reinterpret_cast<float*>(&ptr[kOffset[0] + 16 + i * kStride[0]]) = 0.0f; in Run()
2495 *reinterpret_cast<UVec3*>(&ptr[kOffset[0] + 20 + i * kStride[0]]) = UVec3(1, 2, 3); in Run()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustResourceInitTest.cpp1478 static constexpr int kOffset = kSrcSize / 2; in TEST_P() local
1502 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, kOffset, kOffset, 0, 0, kSrcSize, kSrcSize); in TEST_P()
1509 return (x >= kOffset) && x < (kDestSize - kOffset) && (y >= kOffset) && in TEST_P()
1510 y < (kDestSize - kOffset); in TEST_P()
1527 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, kOffset, kOffset, 0, 0, kSrcSize, kSrcSize); in TEST_P()
1545 static constexpr int kOffset = kSrcSize / 2; in TEST_P() local
1570 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, kOffset, kOffset, 0, 0, 0, kSrcSize, kSrcSize); in TEST_P()
1577 return (x >= kOffset) && x < (kDestSize - kOffset) && (y >= kOffset) && in TEST_P()
1578 y < (kDestSize - kOffset); in TEST_P()
1598 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, kOffset, kOffset, 0, 0, 0, kSrcSize, kSrcSize); in TEST_P()
/third_party/skia/third_party/externals/tint/src/resolver/
Ddecoration_validation_test.cc62 kOffset, enumerator
110 case DecorationKind::kOffset: in createDecorations()
160 TestParams{DecorationKind::kOffset, false},
195 TestParams{DecorationKind::kOffset, false},
244 TestParams{DecorationKind::kOffset, false},
283 TestParams{DecorationKind::kOffset, false},
333 TestParams{DecorationKind::kOffset, false},
381 TestParams{DecorationKind::kOffset, false},
431 TestParams{DecorationKind::kOffset, false},
477 TestParams{DecorationKind::kOffset, false},
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustResourceInitTest.cpp1694 static constexpr int kOffset = kSrcSize / 2; in TEST_P() local
1718 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, kOffset, kOffset, 0, 0, kSrcSize, kSrcSize); in TEST_P()
1725 return (x >= kOffset) && x < (kDestSize - kOffset) && (y >= kOffset) && in TEST_P()
1726 y < (kDestSize - kOffset); in TEST_P()
1743 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, kOffset, kOffset, 0, 0, kSrcSize, kSrcSize); in TEST_P()
1813 static constexpr int kOffset = kSrcSize / 2; in TEST_P() local
1838 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, kOffset, kOffset, 0, 0, 0, kSrcSize, kSrcSize); in TEST_P()
1845 return (x >= kOffset) && x < (kDestSize - kOffset) && (y >= kOffset) && in TEST_P()
1846 y < (kDestSize - kOffset); in TEST_P()
1866 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, kOffset, kOffset, 0, 0, 0, kSrcSize, kSrcSize); in TEST_P()
DAtomicCounterBufferTest.cpp256 constexpr GLintptr kOffset = 20; in TEST_P() local
268 glBindBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, atomicCounterBuffer, kOffset, in TEST_P()
269 sizeof(bufferData) - kOffset); in TEST_P()
/third_party/skia/third_party/externals/tint/src/sem/
Dparameter_usage.h43 kOffset, enumerator
Dparameter_usage.cc50 case ParameterUsage::kOffset: in str()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp3004 const GLintptr kOffset[2] = { 0, 8 }; in Run() local
3013 glBufferData(GL_ARRAY_BUFFER, kOffset[0] + 4 * kStride[0], NULL, GL_STATIC_DRAW); in Run()
3016 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 0 * kStride[0]]) = Vec2(-1.0f, -1.0f); in Run()
3017 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 1 * kStride[0]]) = Vec2(1.0f, -1.0f); in Run()
3018 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 2 * kStride[0]]) = Vec2(1.0f, 1.0f); in Run()
3019 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 3 * kStride[0]]) = Vec2(-1.0f, 1.0f); in Run()
3023 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 8 + i * kStride[0]]) = Vec2(0.0f, 1.0f); in Run()
3024 *reinterpret_cast<float*>(&ptr[kOffset[0] + 16 + i * kStride[0]]) = 0.0f; in Run()
3028 memcpy(&ptr[kOffset[0] + 20 + i * kStride[0]], u.c, 3 * sizeof(double)); in Run()
3029 *reinterpret_cast<IVec2*>(&ptr[kOffset[0] + 44 + i * kStride[0]]) = IVec2(1, 2); in Run()
[all …]
/third_party/mindspore/mindspore/core/ops/
Dprior_box.cc98 void PriorBox::set_offset(const float offset) { (void)this->AddAttr(kOffset, MakeValue(offset)); } in set_offset()
101 auto value_ptr = GetAttr(kOffset); in get_offset()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DBootAnimationTest.cpp138 constexpr unsigned int kOffset = 7; in checkMaskColor() local
144 ((iterationCount - maskSlot + kOffset) / kColorsInARow) % kPossibleColors; in checkMaskColor()
/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_shard_page_test.cc56 const uint64_t kOffset = 6; in TEST_F() local
67 ASSERT_TRUE(std::make_pair(4, kOffset) == page.GetLastRowGroupID()); in TEST_F()
/third_party/flutter/skia/experimental/svg/model/
DSkSVGStop.cpp28 case SkSVGAttribute::kOffset: in onSetAttribute()
DSkSVGAttribute.h30 kOffset, enumerator
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_bad_pixels.cpp1038 static const int32 kOffset [kNumSets] [kSetSize] [2] = in FixClusteredPixel() local
1069 if (!isGreen && (kOffset [set] [0] [0] & 1) == 1) in FixClusteredPixel()
1080 dng_point offset (kOffset [set] [entry] [0], in FixClusteredPixel()
1081 kOffset [set] [entry] [1]); in FixClusteredPixel()
1547 static const int32 kOffset [kNumSets] [kSetSize] [2] = in FixClusteredRect() local
1648 if (!isGreen && (kOffset [set] [0] [0] & 1) == 1) in FixClusteredRect()
1659 dng_point offset (kOffset [set] [entry] [0], in FixClusteredRect()
1660 kOffset [set] [entry] [1]); in FixClusteredRect()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dfont_data.h45 kOffset = 2 enumerator
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dfont_data.h45 kOffset = 2 enumerator

12