/third_party/skia/tests/ |
D | CopySurfaceTest.cpp | 35 static const int kW = 10; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 37 static const size_t kRowBytes = sizeof(uint32_t) * kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 39 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 40 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 44 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 45 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 50 { 0, 0, kW , kH }, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 51 {-1, -1, kW+1, kH+1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 52 { 1, 1, kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 59 { kW/2, kH/4}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ClearTest.cpp | 77 static const int kW = 10; in clear_op_test() local 80 SkIRect fullRect = SkIRect::MakeWH(kW, kH); in clear_op_test() 85 SkIRect mid1Rect = SkIRect::MakeXYWH(1, 1, kW-2, kH-2); in clear_op_test() 87 SkIRect outerTopEdge = SkIRect::MakeXYWH(0, 0, kW, 1); in clear_op_test() 88 SkIRect outerRightEdge = SkIRect::MakeXYWH(kW-1, 0, 1, kH); in clear_op_test() 89 SkIRect outerBottomEdge = SkIRect::MakeXYWH(0, kH-1, kW, 1); in clear_op_test() 93 SkIRect mid2Rect = SkIRect::MakeXYWH(2, 2, kW-4, kH-4); in clear_op_test() 95 SkIRect innerTopEdge = SkIRect::MakeXYWH(1, 1, kW-2, 1); in clear_op_test() 96 SkIRect innerRightEdge = SkIRect::MakeXYWH(kW-2, 1, 1, kH-2); in clear_op_test() 97 SkIRect innerBottomEdge = SkIRect::MakeXYWH(1, kH-2, kW-2, 1); in clear_op_test() [all …]
|
D | VkWrapTests.cpp | 30 const int kW = 1024; variable 38 dContext, kW, kH, kRGBA_8888_SkColorType, GrMipmapped::kNo, GrRenderable::kNo); in wrap_tex_test() 59 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 72 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 84 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 106 gpu->createTestingOnlyBackendRenderTarget({kW, kH}, ct, sampleCnt); in wrap_rt_test() 121 GrBackendRenderTarget backendRT(kW, kH, 1, backendCopy); in wrap_rt_test() 131 GrBackendRenderTarget backendRT(kW, kH, 1, backendCopy); in wrap_rt_test() 144 dContext, kW, kH, kRGBA_8888_SkColorType, GrMipmapped::kNo, GrRenderable::kYes); in wrap_trt_test() 162 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_trt_test() [all …]
|
D | SRGBReadWritePixelsTest.cpp | 178 static constexpr int kW = 255; variable 182 std::unique_ptr<uint32_t[]> data(new uint32_t[kW * kH]); in make_data() 184 for (int i = 0; i < kW; ++i) { in make_data() 185 data[j * kW + i] = (0xFF << 24) | (i << 16) | (i << 8) | i; in make_data() 197 kW, kH); in make_surface_context() 217 auto writeII = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, in test_write_read() 220 GrCPixmap dataPM(writeII, data.get(), kW*sizeof(uint32_t)); in test_write_read() 227 auto readII = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, in test_write_read()
|
D | VkProtectedContextTest.cpp | 29 const int kW = 8; in create_protected_sksurface() local 35 {kW, kH}, in create_protected_sksurface() 45 {kW, kH}, in create_protected_sksurface() 102 const int kW = 8; in DEF_GPUTEST() local 106 kW, kH, kRGBA_8888_SkColorType, GrMipmapped::kNo, GrRenderable::kNo, in DEF_GPUTEST() 118 const int kW = 8; in DEF_GPUTEST() local 122 kW, kH, kRGBA_8888_SkColorType, GrMipmapped::kNo, GrRenderable::kNo, in DEF_GPUTEST()
|
D | ReadWritePixelsGpuTest.cpp | 389 static constexpr int kW = 16; in gpu_read_pixels_test_driver() local 392 const std::vector<SkIRect> longRectArray = make_long_rect_array(kW, kH); in gpu_read_pixels_test_driver() 393 const std::vector<SkIRect> shortRectArray = make_short_rect_array(kW, kH); in gpu_read_pixels_test_driver() 413 auto refInfo = SkImageInfo::Make(kW, kH, in gpu_read_pixels_test_driver() 976 static constexpr int kW = 16; in gpu_write_pixels_test_driver() local 979 const std::vector<SkIRect> longRectArray = make_long_rect_array(kW, kH); in gpu_write_pixels_test_driver() 980 const std::vector<SkIRect> shortRectArray = make_short_rect_array(kW, kH); in gpu_write_pixels_test_driver() 996 const auto dstInfo = SkImageInfo::Make(kW, kH, dstCT, dstAT, SkColorSpace::MakeSRGB()); in gpu_write_pixels_test_driver() 1107 static constexpr int kW = 25, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 1109 SkAutoPixmapStorage refP = make_ref_data(SkImageInfo::Make({kW, kH}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | SurfaceTest.cpp | 840 const int kW = surface->width(); in test_surface_draw_partially() local 845 surface->getCanvas()->drawRect(SkRect::MakeIWH(kW, kH/2), paint); in test_surface_draw_partially() 848 SkImageInfo readInfo = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in test_surface_draw_partially() 868 for (int x = 0; x < kW && !stop; ++x) { in test_surface_draw_partially() 869 REPORTER_ASSERT(reporter, rectColorPM == readback.addr32()[x + y * kW]); in test_surface_draw_partially() 870 if (rectColorPM != readback.addr32()[x + y * kW]) { in test_surface_draw_partially() 872 readback.addr32()[x + y * kW], rectColorPM, x, y); in test_surface_draw_partially() 879 for (int x = 0; x < kW && !stop; ++x) { in test_surface_draw_partially() 880 REPORTER_ASSERT(reporter, origColorPM == readback.addr32()[x + y * kW]); in test_surface_draw_partially() 881 if (origColorPM != readback.addr32()[x + y * kW]) { in test_surface_draw_partially() [all …]
|
/third_party/skia/docs/examples/ |
D | skbug6031.cpp | 6 constexpr float kW = 512; in draw() local 12 canvas->clipRect(SkRect{0, 0, 2 * kW, 2 * kH}, replaceClipOp); in draw() 16 canvas->clipRect(SkRect{0, 0, kW, kH}, replaceClipOp); in draw() 20 canvas->clipRect(SkRect{0, kH, kW, 3 * kH}, replaceClipOp); in draw() 24 canvas->clipRect(SkRect{kW, 0, 3 * kW, kH}, replaceClipOp); in draw() 28 canvas->clipRect(SkRect{kW, kH, 3 * kW, 3 * kH}, replaceClipOp); in draw()
|
/third_party/node/src/ |
D | base_object.h | 264 template <typename U, bool kW> 265 inline BaseObjectPtrImpl(const BaseObjectPtrImpl<U, kW>& other); 267 template <typename U, bool kW> 268 inline BaseObjectPtrImpl& operator=(const BaseObjectPtrImpl<U, kW>& other); 279 template <typename U, bool kW> 280 inline bool operator ==(const BaseObjectPtrImpl<U, kW>& other) const; 281 template <typename U, bool kW> 282 inline bool operator !=(const BaseObjectPtrImpl<U, kW>& other) const;
|
D | base_object-inl.h | 204 template <typename U, bool kW> 206 const BaseObjectPtrImpl<U, kW>& other) in BaseObjectPtrImpl() 214 template <typename U, bool kW> 216 const BaseObjectPtrImpl<U, kW>& other) { 273 template <typename U, bool kW> 275 const BaseObjectPtrImpl<U, kW>& other) const { 280 template <typename U, bool kW> 282 const BaseObjectPtrImpl<U, kW>& other) const {
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ScissorTests.cpp | 79 constexpr uint32_t kW = 5; in TEST_P() local 86 pass.SetScissorRect(kX, kY, kW, kH); in TEST_P() 98 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kZero, renderPass.color, kX + kW, kY + kH); in TEST_P() 99 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, kX + kW - 1, kY + kH - 1); in TEST_P()
|
/third_party/skia/third_party/externals/icu/source/data/unit/ |
D | uz_Cyrl.txt | 161 one{"{0} kW"} 162 other{"{0} kW"} 372 one{"{0} kW"} 373 other{"{0} kW"} 583 one{"{0} kW"} 584 other{"{0} kW"}
|
D | ug.txt | 339 one{"{0}kW"} 340 other{"{0}kW"} 542 one{"{0} kW"} 543 other{"{0} kW"}
|
D | ksh.txt | 459 one{"{0}kW"} 460 other{"{0}kW"} 461 zero{"{0}kW"} 729 one{"{0} kW"} 730 other{"{0} kW"} 731 zero{"{0} kW"}
|
D | cy.txt | 711 few{"{0} kW-awr"} 712 many{"{0} kW-awr"} 715 two{"{0} kW-awr"} 716 zero{"{0} kW-awr"} 1237 few{"{0} kW"} 1238 many{"{0} kW"} 1241 two{"{0} kW"} 1242 zero{"{0} kW"} 2470 dnam{"kW"} 2471 few{"{0}kW"} [all …]
|
D | se.txt | 496 one{"{0}kW"} 497 other{"{0}kW"} 498 two{"{0}kW"} 787 one{"{0} kW"} 788 other{"{0} kW"} 789 two{"{0} kW"}
|
/third_party/icu/icu4c/source/data/unit/ |
D | uz_Cyrl.txt | 161 one{"{0} kW"} 162 other{"{0} kW"} 372 one{"{0} kW"} 373 other{"{0} kW"} 583 one{"{0} kW"} 584 other{"{0} kW"}
|
D | ug.txt | 339 one{"{0}kW"} 340 other{"{0}kW"} 542 one{"{0} kW"} 543 other{"{0} kW"}
|
D | ksh.txt | 459 one{"{0}kW"} 460 other{"{0}kW"} 461 zero{"{0}kW"} 729 one{"{0} kW"} 730 other{"{0} kW"} 731 zero{"{0} kW"}
|
D | cy.txt | 730 few{"{0} kW-awr"} 731 many{"{0} kW-awr"} 734 two{"{0} kW-awr"} 735 zero{"{0} kW-awr"} 1265 few{"{0} kW"} 1266 many{"{0} kW"} 1269 two{"{0} kW"} 1270 zero{"{0} kW"} 2641 dnam{"kW"} 2642 few{"{0}kW"} [all …]
|
D | se.txt | 496 one{"{0}kW"} 497 other{"{0}kW"} 498 two{"{0}kW"} 787 one{"{0} kW"} 788 other{"{0} kW"} 789 two{"{0} kW"}
|
/third_party/skia/gm/ |
D | shadowutils.cpp | 39 static constexpr int kW = 800; variable 103 if (x + dx > kW - 3 * kPad) { in draw_paths() 225 DEF_SIMPLE_GM(shadow_utils, canvas, kW, kH) { in DEF_SIMPLE_GM() argument 229 DEF_SIMPLE_GM(shadow_utils_occl, canvas, kW, kH) { in DEF_SIMPLE_GM() argument 233 DEF_SIMPLE_GM(shadow_utils_gray, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
|
D | drawimageset.cpp | 220 static constexpr SkScalar kW = kM * kTileW; in onDraw() local 226 matrices[1].setRotate(90, kW / 2.f, kH / 2.f); in onDraw() 231 matrices[3].postTranslate(kW, kH); in onDraw() 235 matrices[4].postRotate(90, kW / 2.f, kH / 2.f); in onDraw() 241 static constexpr SkScalar kTranslate = std::max(kW, kH) * 2.f + 10.f; in onDraw()
|
D | circulararcs.cpp | 34 constexpr int kW = 1000; variable 70 constexpr SkScalar kGridW = kW / 2.f; in draw_arcs() 81 canvas->drawLine(0.f , kGridH, SkIntToScalar(kW), kGridH, linePaint); in draw_arcs() 84 #define DEF_ARC_GM(name) DEF_SIMPLE_GM(circular_arcs_##name, canvas, kW, kH)
|
/third_party/node/deps/v8/src/strings/ |
D | unicode.cc | 86 template <int kW> 89 uchar chars[kW]; 104 template <bool ranges_are_linear, int kW> 106 const MultiCharacterSpecialCase<kW>* multi_chars, in LookupMapping() 153 const MultiCharacterSpecialCase<kW>& mapping = multi_chars[value >> 2]; in LookupMapping() 155 for (length = 0; length < kW; length++) { in LookupMapping() 157 if (mapped == MultiCharacterSpecialCase<kW>::kEndOfEncoding) break; in LookupMapping()
|