/external/skia/tests/ |
D | CopySurfaceTest.cpp | 25 static const int kW = 10; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 27 static const size_t kRowBytes = sizeof(uint32_t) * kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 31 baseDesc.fWidth = kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 34 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 35 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 39 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 40 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 45 { 0, 0, kW , kH }, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 46 {-1, -1, kW+1, kH+1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 47 { 1, 1, kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ApplyGammaTest.cpp | 99 static const int kW = 256; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 101 static const size_t kRowBytes = sizeof(uint32_t) * kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 105 baseDesc.fWidth = kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 108 const SkImageInfo ii = SkImageInfo::MakeN32Premul(kW, kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 110 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 112 for (int x = 0; x < kW; ++x) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 113 srcPixels.get()[y*kW+x] = SkPreMultiplyARGB(x, y, x, 0xFF); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 120 SkAutoTMalloc<uint32_t> read(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 146 sk_memset32(read.get(), 0, kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 155 for (int x = 0; x < kW && !abort; ++x) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | VkWrapTests.cpp | 28 const int kW = 1024; variable 36 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_tex_test() 48 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 59 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 69 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 81 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_rt_test() 86 GrBackendRenderTarget origBackendRT(kW, kH, 1, 0, *imageInfo); in wrap_rt_test() 95 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test() 105 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test() 118 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_trt_test() [all …]
|
D | ClearTest.cpp | 50 static const int kW = 10; in clear_op_test() local 53 SkIRect fullRect = SkIRect::MakeWH(kW, kH); in clear_op_test() 58 SkIRect mid1Rect = SkIRect::MakeXYWH(1, 1, kW-2, kH-2); in clear_op_test() 60 SkIRect outerTopEdge = SkIRect::MakeXYWH(0, 0, kW, 1); in clear_op_test() 61 SkIRect outerRightEdge = SkIRect::MakeXYWH(kW-1, 0, 1, kH); in clear_op_test() 62 SkIRect outerBottomEdge = SkIRect::MakeXYWH(0, kH-1, kW, 1); in clear_op_test() 66 SkIRect mid2Rect = SkIRect::MakeXYWH(2, 2, kW-4, kH-4); in clear_op_test() 68 SkIRect innerTopEdge = SkIRect::MakeXYWH(1, 1, kW-2, 1); in clear_op_test() 69 SkIRect innerRightEdge = SkIRect::MakeXYWH(kW-2, 1, 1, kH-2); in clear_op_test() 70 SkIRect innerBottomEdge = SkIRect::MakeXYWH(1, kH-2, kW-2, 1); in clear_op_test() [all …]
|
D | SRGBReadWritePixelsTest.cpp | 185 static constexpr int kW = 255; variable 189 std::unique_ptr<uint32_t[]> data(new uint32_t[kW * kH]); in make_data() 191 for (int i = 0; i < kW; ++i) { in make_data() 192 data[j * kW + i] = (j << 24) | (i << 16) | (i << 8) | i; in make_data() 203 desc.fWidth = kW; in make_surface_context() 223 auto writeII = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, in text_write_fails() 240 auto writeII = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, in test_write_read() 249 auto readII = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, in test_write_read()
|
D | SurfaceTest.cpp | 834 const int kW = surface->width(); in test_surface_draw_partially() local 839 surface->getCanvas()->drawRect(SkRect::MakeWH(SkIntToScalar(kW), SkIntToScalar(kH)/2), in test_surface_draw_partially() 841 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kW * kH]); in test_surface_draw_partially() 842 sk_memset32(pixels.get(), ~origColor, kW * kH); in test_surface_draw_partially() 844 SkImageInfo readInfo = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in test_surface_draw_partially() 845 SkAssertResult(surface->readPixels(readInfo, pixels.get(), kW * sizeof(uint32_t), 0, 0)); in test_surface_draw_partially() 856 for (int x = 0; x < kW && !stop; ++x) { in test_surface_draw_partially() 857 REPORTER_ASSERT(reporter, rectColorPM == pixels[x + y * kW]); in test_surface_draw_partially() 858 if (rectColorPM != pixels[x + y * kW]) { in test_surface_draw_partially() 865 for (int x = 0; x < kW && !stop; ++x) { in test_surface_draw_partially() [all …]
|
/external/skqp/tests/ |
D | CopySurfaceTest.cpp | 25 static const int kW = 10; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 27 static const size_t kRowBytes = sizeof(uint32_t) * kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 31 baseDesc.fWidth = kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 34 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 35 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 39 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 40 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 45 { 0, 0, kW , kH }, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 46 {-1, -1, kW+1, kH+1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 47 { 1, 1, kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ApplyGammaTest.cpp | 84 static const int kW = 256; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 86 static const size_t kRowBytes = sizeof(uint32_t) * kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 90 baseDesc.fWidth = kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 93 const SkImageInfo ii = SkImageInfo::MakeN32Premul(kW, kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 95 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 97 for (int x = 0; x < kW; ++x) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 98 srcPixels.get()[y*kW+x] = SkPreMultiplyARGB(x, y, x, 0xFF); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 105 SkAutoTMalloc<uint32_t> read(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 131 sk_memset32(read.get(), 0, kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 140 for (int x = 0; x < kW && !abort; ++x) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | VkWrapTests.cpp | 28 const int kW = 1024; variable 36 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_tex_test() 48 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 59 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 69 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 81 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_rt_test() 86 GrBackendRenderTarget origBackendRT(kW, kH, 1, 0, *imageInfo); in wrap_rt_test() 95 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test() 105 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test() 118 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_trt_test() [all …]
|
D | ClearTest.cpp | 50 static const int kW = 10; in clear_op_test() local 53 SkIRect fullRect = SkIRect::MakeWH(kW, kH); in clear_op_test() 58 SkIRect mid1Rect = SkIRect::MakeXYWH(1, 1, kW-2, kH-2); in clear_op_test() 60 SkIRect outerTopEdge = SkIRect::MakeXYWH(0, 0, kW, 1); in clear_op_test() 61 SkIRect outerRightEdge = SkIRect::MakeXYWH(kW-1, 0, 1, kH); in clear_op_test() 62 SkIRect outerBottomEdge = SkIRect::MakeXYWH(0, kH-1, kW, 1); in clear_op_test() 66 SkIRect mid2Rect = SkIRect::MakeXYWH(2, 2, kW-4, kH-4); in clear_op_test() 68 SkIRect innerTopEdge = SkIRect::MakeXYWH(1, 1, kW-2, 1); in clear_op_test() 69 SkIRect innerRightEdge = SkIRect::MakeXYWH(kW-2, 1, 1, kH-2); in clear_op_test() 70 SkIRect innerBottomEdge = SkIRect::MakeXYWH(1, kH-2, kW-2, 1); in clear_op_test() [all …]
|
D | SRGBReadWritePixelsTest.cpp | 151 static const int kW = 63; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 154 static const int kW = 255; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 157 uint32_t origData[kW * kH]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 159 for (int i = 0; i < kW; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 160 origData[j * kW + i] = (j << 24) | (i << 16) | (i << 8) | i; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 164 const SkImageInfo iiSRGBA = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 167 const SkImageInfo iiRGBA = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 172 desc.fWidth = kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | SurfaceTest.cpp | 717 const int kW = surface->width(); in test_surface_draw_partially() local 722 surface->getCanvas()->drawRect(SkRect::MakeWH(SkIntToScalar(kW), SkIntToScalar(kH)/2), in test_surface_draw_partially() 724 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kW * kH]); in test_surface_draw_partially() 725 sk_memset32(pixels.get(), ~origColor, kW * kH); in test_surface_draw_partially() 727 SkImageInfo readInfo = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in test_surface_draw_partially() 728 SkAssertResult(surface->readPixels(readInfo, pixels.get(), kW * sizeof(uint32_t), 0, 0)); in test_surface_draw_partially() 739 for (int x = 0; x < kW && !stop; ++x) { in test_surface_draw_partially() 740 REPORTER_ASSERT(reporter, rectColorPM == pixels[x + y * kW]); in test_surface_draw_partially() 741 if (rectColorPM != pixels[x + y * kW]) { in test_surface_draw_partially() 748 for (int x = 0; x < kW && !stop; ++x) { in test_surface_draw_partially() [all …]
|
/external/skqp/gm/ |
D | shadowutils.cpp | 22 static constexpr int kW = 800; variable 66 if (x + dx > kW - 3 * kPad) { in draw_paths() 128 DEF_SIMPLE_GM(shadow_utils, canvas, kW, kH) { in DEF_SIMPLE_GM() argument 132 DEF_SIMPLE_GM(shadow_utils_occl, canvas, kW, kH) { in DEF_SIMPLE_GM() argument 136 DEF_SIMPLE_GM(shadow_utils_gray, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
|
D | tonalshadows.cpp | 18 static constexpr int kW = 1225; variable 76 DEF_SIMPLE_GM(tonalshadows_light, canvas, kW, kH) { in DEF_SIMPLE_GM() argument 80 DEF_SIMPLE_GM(tonalshadows_dark, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
|
D | circulararcs.cpp | 17 constexpr int kW = 1000; variable 53 constexpr SkScalar kGridW = kW / 2.f; in draw_arcs() 64 canvas->drawLine(0.f , kGridH, SkIntToScalar(kW), kGridH, linePaint); in draw_arcs() 67 #define DEF_ARC_GM(name) DEF_SIMPLE_GM(circular_arcs_##name, canvas, kW, kH)
|
/external/skia/gm/ |
D | tonalshadows.cpp | 18 static constexpr int kW = 1225; variable 85 DEF_SIMPLE_GM(tonalshadows_light, canvas, kW, kH) { in DEF_SIMPLE_GM() argument 89 DEF_SIMPLE_GM(tonalshadows_dark, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
|
D | shadowutils.cpp | 26 static constexpr int kW = 800; variable 91 if (x + dx > kW - 3 * kPad) { in draw_paths() 204 DEF_SIMPLE_GM(shadow_utils, canvas, kW, kH) { in DEF_SIMPLE_GM() argument 208 DEF_SIMPLE_GM(shadow_utils_occl, canvas, kW, kH) { in DEF_SIMPLE_GM() argument 212 DEF_SIMPLE_GM(shadow_utils_gray, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
|
D | circulararcs.cpp | 17 constexpr int kW = 1000; variable 53 constexpr SkScalar kGridW = kW / 2.f; in draw_arcs() 64 canvas->drawLine(0.f , kGridH, SkIntToScalar(kW), kGridH, linePaint); in draw_arcs() 67 #define DEF_ARC_GM(name) DEF_SIMPLE_GM(circular_arcs_##name, canvas, kW, kH)
|
/external/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 | 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"}
|
D | cy.txt | 1990 dnam{"kW"} 1991 few{"{0}kW"} 1992 many{"{0}kW"} 1993 one{"{0}kW"} 1994 other{"{0}kW"} 1995 two{"{0}kW"} 1996 zero{"{0}kW"} 2789 dnam{"kW-awr"} 2790 few{"{0} kW-awr"} 2791 many{"{0} kW-awr"} [all …]
|
/external/v8/src/ |
D | unicode.cc | 85 template <int kW> 88 uchar chars[kW]; 103 template <bool ranges_are_linear, int kW> 106 const MultiCharacterSpecialCase<kW>* multi_chars, in LookupMapping() 155 const MultiCharacterSpecialCase<kW>& mapping = multi_chars[value >> 2]; in LookupMapping() 157 for (length = 0; length < kW; length++) { in LookupMapping() 159 if (mapped == MultiCharacterSpecialCase<kW>::kEndOfEncoding) break; in LookupMapping()
|
/external/skqp/samplecode/ |
D | SampleShadowUtils.cpp | 150 static constexpr int kW = 800; in onDrawContent() local 178 if (x + dx > kW - 3 * kPad) { in onDrawContent()
|