Home
last modified time | relevance | path

Searched refs:checkSize (Results 1 – 15 of 15) sorted by relevance

/external/skia/gm/
Dmodecolorfilters.cpp39 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/skqp/gm/
Dmodecolorfilters.cpp39 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMapTest.java360 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/
DTrieMapTest.java357 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/
DebpfAction.py120 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/
Dsk_tool_utils.h103 int checkSize);
108 int checkSize);
Dsk_tool_utils.cpp100 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/skia/tools/
Dsk_tool_utils.h98 int checkSize);
103 int checkSize);
Dsk_tool_utils.cpp101 SkBitmap create_checkerboard_bitmap(int w, int h, SkColor c1, SkColor c2, int checkSize) { in create_checkerboard_bitmap() argument
106 sk_tool_utils::draw_checkerboard(&canvas, c1, c2, checkSize); in create_checkerboard_bitmap()
/external/lzma/CPP/7zip/Archive/7z/
D7zIn.cpp1523 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/
DvktPipelineRenderToImageTests.cpp969 const IVec4 checkSize = tcu::min(imageSize, IVec4(MAX_VERIFICATION_REGION_SIZE, in testWithSizeReduction() local
973 const IVec4 checkOffset = (imageSize - checkSize) / 2; in testWithSizeReduction()
976 …const VkDeviceSize colorBufferSize = product(checkSize) * tcu::getPixelSize(mapVkFormat(caseDe… in testWithSizeReduction()
1161 static_cast<deUint32>(checkSize.w()), // uint32_t layerCount; in testWithSizeReduction()
1171 makeExtent3D(checkSize.swizzle(0, 1, 2)), // VkExtent3D imageExtent; in testWithSizeReduction()
1204 const int checkDepth = maxLayersOrDepth(checkSize); in testWithSizeReduction()
1206 …const tcu::ConstPixelBufferAccess resultImage (format, checkSize.x(), checkSize.y(), checkDepth, … in testWithSizeReduction()
1207 tcu::TextureLevel textureLevel (format, checkSize.x(), checkSize.y(), checkDepth); in testWithSizeReduction()
1211 generateExpectedImage(expectedImage, checkSize.swizzle(0, 1), depthOffset); in testWithSizeReduction()
/external/swiftshader/third_party/LLVM/lib/Object/
DCOFFObjectFile.cpp31 bool checkSize(const MemoryBuffer *m, error_code &ec, uint64_t size) { in checkSize() function
413 if (!checkSize(Data, ec, sizeof(coff_file_header))) return; in COFFObjectFile()
423 if (!checkSize(Data, ec, 0x3c + 8)) return; in COFFObjectFile()
/external/lzma/C/
DXzDec.c1190 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/
DCOFFObjectFile.cpp34 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/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DCOFFObjectFile.cpp47 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()