/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | PrimitiveTopologyTests.cpp | 106 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 },
|
D | BufferZeroInitTests.cpp | 723 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/ |
D | PrimitiveTopologyTests.cpp | 103 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/ |
D | distantclip.cpp | 29 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()
|
D | gm.cpp | 38 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/ |
D | distantclip.cpp | 29 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()
|
D | gm.cpp | 41 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/ |
D | HandleRangeAllocator_unittest.cpp | 99 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/ |
D | eliminate_redundant_op.cc | 105 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/ |
D | es31cVertexAttribBindingTests.cpp | 2480 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/ |
D | RobustResourceInitTest.cpp | 1478 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/ |
D | decoration_validation_test.cc | 62 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/ |
D | RobustResourceInitTest.cpp | 1694 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()
|
D | AtomicCounterBufferTest.cpp | 256 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/ |
D | parameter_usage.h | 43 kOffset, enumerator
|
D | parameter_usage.cc | 50 case ParameterUsage::kOffset: in str()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cVertexAttribBindingTests.cpp | 3004 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/ |
D | prior_box.cc | 98 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/ |
D | BootAnimationTest.cpp | 138 constexpr unsigned int kOffset = 7; in checkMaskColor() local 144 ((iterationCount - maskSlot + kOffset) / kColorsInARow) % kPossibleColors; in checkMaskColor()
|
/third_party/mindspore/tests/ut/cpp/mindrecord/ |
D | ut_shard_page_test.cc | 56 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/ |
D | SkSVGStop.cpp | 28 case SkSVGAttribute::kOffset: in onSetAttribute()
|
D | SkSVGAttribute.h | 30 kOffset, enumerator
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_bad_pixels.cpp | 1038 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/ |
D | font_data.h | 45 kOffset = 2 enumerator
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/data/ |
D | font_data.h | 45 kOffset = 2 enumerator
|