/external/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()
|
/external/skqp/gm/ |
D | modecolorfilters.cpp | 39 static sk_sp<SkShader> make_bg_shader(int checkSize) { in make_bg_shader() argument 41 bmp.allocN32Pixels(2 * checkSize, 2 * checkSize); in make_bg_shader() 47 SkIntToScalar(checkSize), SkIntToScalar(checkSize)); in make_bg_shader() 48 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(checkSize), SkIntToScalar(checkSize), in make_bg_shader() 49 SkIntToScalar(checkSize), SkIntToScalar(checkSize)); in make_bg_shader()
|
/external/skia/tools/ |
D | ToolUtils.h | 105 void draw_checkerboard(SkCanvas* canvas, SkColor color1, SkColor color2, int checkSize); 108 SkBitmap create_checkerboard_bitmap(int w, int h, SkColor c1, SkColor c2, int checkSize); 110 sk_sp<SkImage> create_checkerboard_image(int w, int h, SkColor c1, SkColor c2, int checkSize);
|
D | ToolUtils.cpp | 136 SkBitmap create_checkerboard_bitmap(int w, int h, SkColor c1, SkColor c2, int checkSize) { in create_checkerboard_bitmap() argument 141 ToolUtils::draw_checkerboard(&canvas, c1, c2, checkSize); in create_checkerboard_bitmap() 145 sk_sp<SkImage> create_checkerboard_image(int w, int h, SkColor c1, SkColor c2, int checkSize) { in create_checkerboard_image() argument 147 ToolUtils::draw_checkerboard(surf->getCanvas(), c1, c2, checkSize); in create_checkerboard_image()
|
/external/icu/android_icu4j/src/main/tests/android/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
|
/external/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
|
/external/bcc/src/cc/frontends/p4/compiler/ |
D | ebpfAction.py | 120 def checkSize(self, call, args, program): member in EbpfAction 204 size = self.checkSize(callee, 233 size = self.checkSize(callee, 252 size = self.checkSize(callee,
|
/external/skqp/tools/ |
D | sk_tool_utils.h | 103 int checkSize); 108 int checkSize);
|
D | sk_tool_utils.cpp | 100 SkBitmap create_checkerboard_bitmap(int w, int h, SkColor c1, SkColor c2, int checkSize) { in create_checkerboard_bitmap() argument 105 sk_tool_utils::draw_checkerboard(&canvas, c1, c2, checkSize); in create_checkerboard_bitmap()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zIn.cpp | 1523 unsigned checkSize = kCheckSize; in ReadDatabase2() local 1525 checkSize = (unsigned)(rem); in ReadDatabase2() 1526 if (checkSize < 3) in ReadDatabase2() 1528 RINOK(_stream->Seek(fileSize - checkSize, STREAM_SEEK_SET, NULL)); in ReadDatabase2() 1529 RINOK(ReadStream_FALSE(_stream, buf, (size_t)checkSize)); in ReadDatabase2() 1531 if (buf[checkSize - 1] != 0) in ReadDatabase2() 1535 for (i = checkSize - 2;; i--) in ReadDatabase2() 1543 nextHeaderSize = checkSize - i; in ReadDatabase2()
|
/external/deqp/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()
|
/external/lzma/C/ |
D | XzDec.c | 1190 UInt32 checkSize = XzFlags_GetCheckSize(p->streamFlags); in XzUnpacker_Code() local 1191 UInt32 cur = checkSize - p->pos; in XzUnpacker_Code() 1205 if (checkSize != p->pos) in XzUnpacker_Code() 1212 if (XzCheck_Final(&p->check, digest) && memcmp(digest, p->buf, checkSize) != 0) in XzUnpacker_Code() 1741 UInt32 checkSize = XzFlags_GetCheckSize(coder->dec.streamFlags); in XzDecMt_Callback_Parse() local 1742 UInt64 blockPackSum = coder->inPreSize + packSizeAligned + checkSize; in XzDecMt_Callback_Parse() 1746 … coder->blockPackSize_for_Index = (size_t)(coder->dec.blockHeaderSize + packSize + checkSize); in XzDecMt_Callback_Parse()
|
/external/llvm/lib/Object/ |
D | COFFObjectFile.cpp | 34 static bool checkSize(MemoryBufferRef M, std::error_code &EC, uint64_t Size) { in checkSize() function 638 if (!checkSize(Data, EC, sizeof(coff_file_header))) in COFFObjectFile() 649 if (checkSize(Data, EC, sizeof(dos_header) + sizeof(COFF::PEMagic))) { in COFFObjectFile() 672 checkSize(Data, EC, sizeof(coff_bigobj_file_header))) { in COFFObjectFile()
|
/external/llvm-project/llvm/lib/Object/ |
D | COFFObjectFile.cpp | 47 static bool checkSize(MemoryBufferRef M, std::error_code &EC, uint64_t Size) { in checkSize() function 723 if (!checkSize(Data, EC, sizeof(coff_file_header))) in initialize() 734 if (checkSize(Data, EC, sizeof(dos_header) + sizeof(COFF::PEMagic))) { in initialize() 756 checkSize(Data, EC, sizeof(coff_bigobj_file_header))) { in initialize()
|
/external/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()
|