/third_party/skia/gm/ |
D | modecolorfilters.cpp | 53 static sk_sp<SkShader> make_bg_shader(int checkSize) { in make_bg_shader() argument 55 bmp.allocN32Pixels(2 * checkSize, 2 * checkSize); in make_bg_shader() 61 SkIntToScalar(checkSize), SkIntToScalar(checkSize)); in make_bg_shader() 62 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(checkSize), SkIntToScalar(checkSize), in make_bg_shader() 63 SkIntToScalar(checkSize), SkIntToScalar(checkSize)); in make_bg_shader()
|
/third_party/flutter/skia/gm/ |
D | modecolorfilters.cpp | 53 static sk_sp<SkShader> make_bg_shader(int checkSize) { in make_bg_shader() argument 55 bmp.allocN32Pixels(2 * checkSize, 2 * checkSize); in make_bg_shader() 61 SkIntToScalar(checkSize), SkIntToScalar(checkSize)); in make_bg_shader() 62 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(checkSize), SkIntToScalar(checkSize), in make_bg_shader() 63 SkIntToScalar(checkSize), SkIntToScalar(checkSize)); in make_bg_shader()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TrieMapTest.java | 357 int size = checkSize(0, null, Option.SMALL, 0); in TestSize() 358 checkSize(size, Style.BYTES, Option.SMALL, 0.20); in TestSize() 359 checkSize(size, Style.BYTES, Option.FAST, 0.20); in TestSize() 360 checkSize(size, Style.CHARS, Option.SMALL, 0.30); in TestSize() 361 checkSize(size, Style.CHARS, Option.FAST, 0.30); in TestSize() 369 private int checkSize(int comparisonSize, Style style, Option option, double ratioToMap) { in checkSize() method in TrieMapTest
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | TrieMapTest.java | 360 int size = checkSize(0, null, Option.SMALL, 0); in TestSize() 361 checkSize(size, Style.BYTES, Option.SMALL, 0.20); in TestSize() 362 checkSize(size, Style.BYTES, Option.FAST, 0.20); in TestSize() 363 checkSize(size, Style.CHARS, Option.SMALL, 0.30); in TestSize() 364 checkSize(size, Style.CHARS, Option.FAST, 0.30); in TestSize() 372 private int checkSize(int comparisonSize, Style style, Option option, double ratioToMap) { in checkSize() method in TrieMapTest
|
/third_party/skia/tools/ |
D | ToolUtils.h | 99 void draw_checkerboard(SkCanvas* canvas, SkColor color1, SkColor color2, int checkSize); 102 SkBitmap create_checkerboard_bitmap(int w, int h, SkColor c1, SkColor c2, int checkSize); 104 sk_sp<SkImage> create_checkerboard_image(int w, int h, SkColor c1, SkColor c2, int checkSize);
|
D | ToolUtils.cpp | 141 SkBitmap create_checkerboard_bitmap(int w, int h, SkColor c1, SkColor c2, int checkSize) { in create_checkerboard_bitmap() argument 146 ToolUtils::draw_checkerboard(&canvas, c1, c2, checkSize); in create_checkerboard_bitmap() 150 sk_sp<SkImage> create_checkerboard_image(int w, int h, SkColor c1, SkColor c2, int checkSize) { in create_checkerboard_image() argument 152 ToolUtils::draw_checkerboard(surf->getCanvas(), c1, c2, checkSize); in create_checkerboard_image()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 966 const IVec4 checkSize = tcu::min(imageSize, IVec4(MAX_VERIFICATION_REGION_SIZE, in testWithSizeReduction() local 970 const IVec4 checkOffset = (imageSize - checkSize) / 2; in testWithSizeReduction() 973 …const VkDeviceSize colorBufferSize = product(checkSize) * tcu::getPixelSize(mapVkFormat(caseDe… in testWithSizeReduction() 1158 static_cast<deUint32>(checkSize.w()), // uint32_t layerCount; in testWithSizeReduction() 1168 makeExtent3D(checkSize.swizzle(0, 1, 2)), // VkExtent3D imageExtent; in testWithSizeReduction() 1201 const int checkDepth = maxLayersOrDepth(checkSize); in testWithSizeReduction() 1203 …const tcu::ConstPixelBufferAccess resultImage (format, checkSize.x(), checkSize.y(), checkDepth, … in testWithSizeReduction() 1204 tcu::TextureLevel textureLevel (format, checkSize.x(), checkSize.y(), checkDepth); in testWithSizeReduction() 1208 generateExpectedImage(expectedImage, checkSize.swizzle(0, 1), depthOffset); in testWithSizeReduction()
|
/third_party/flutter/skia/tools/ |
D | ToolUtils.h | 101 void draw_checkerboard(SkCanvas* canvas, SkColor color1, SkColor color2, int checkSize); 104 SkBitmap create_checkerboard_bitmap(int w, int h, SkColor c1, SkColor c2, int checkSize);
|
D | ToolUtils.cpp | 120 SkBitmap create_checkerboard_bitmap(int w, int h, SkColor c1, SkColor c2, int checkSize) { in create_checkerboard_bitmap() argument 125 ToolUtils::draw_checkerboard(&canvas, c1, c2, checkSize); in create_checkerboard_bitmap()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | COFFObjectFile.cpp | 46 static bool checkSize(MemoryBufferRef M, std::error_code &EC, uint64_t Size) { in checkSize() function 674 if (!checkSize(Data, EC, sizeof(coff_file_header))) in COFFObjectFile() 685 if (checkSize(Data, EC, sizeof(dos_header) + sizeof(COFF::PEMagic))) { in COFFObjectFile() 708 checkSize(Data, EC, sizeof(coff_bigobj_file_header))) { in COFFObjectFile()
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | chip.dart | 2642 final double checkSize = avatar.size.height * 0.75; 2645 _paintCheck(context.canvas, offset + checkOffset, checkSize);
|