Home
last modified time | relevance | path

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

/external/skia/gm/
Dmodecolorfilters.cpp39 static 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/dexmaker/src/dx/java/com/android/dx/dex/code/
DCatchTable.java72 int checkSize = Math.min(thisSize, otherSize); in compareTo() local
74 for (int i = 0; i < checkSize; i++) { in compareTo()
DCatchHandlerList.java144 int checkSize = Math.min(thisSize, otherSize); in compareTo() local
146 for (int i = 0; i < checkSize; i++) { in compareTo()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMapTest.java334 int size = checkSize(0, null, Option.SMALL, 0); in TestSize()
335 checkSize(size, Style.BYTES, Option.SMALL, 0.20); in TestSize()
336 checkSize(size, Style.BYTES, Option.FAST, 0.20); in TestSize()
337 checkSize(size, Style.CHARS, Option.SMALL, 0.30); in TestSize()
338 checkSize(size, Style.CHARS, Option.FAST, 0.30); in TestSize()
346 private int checkSize(int comparisonSize, Style style, Option option, double ratioToMap) { in checkSize() method in TrieMapTest
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMapTest.java338 int size = checkSize(0, null, Option.SMALL, 0); in TestSize()
339 checkSize(size, Style.BYTES, Option.SMALL, 0.20); in TestSize()
340 checkSize(size, Style.BYTES, Option.FAST, 0.20); in TestSize()
341 checkSize(size, Style.CHARS, Option.SMALL, 0.30); in TestSize()
342 checkSize(size, Style.CHARS, Option.FAST, 0.30); in TestSize()
350 private int checkSize(int comparisonSize, Style style, Option option, double ratioToMap) { in checkSize() method in TrieMapTest
/external/skia/tools/
Dsk_tool_utils.h102 int checkSize);
107 int checkSize);
Dsk_tool_utils.cpp191 SkBitmap create_checkerboard_bitmap(int w, int h, SkColor c1, SkColor c2, int checkSize) { in create_checkerboard_bitmap() argument
196 sk_tool_utils::draw_checkerboard(&canvas, c1, c2, checkSize); in create_checkerboard_bitmap()
/external/lzma/CPP/7zip/Archive/7z/
D7zIn.cpp1537 unsigned checkSize = kCheckSize; in ReadDatabase2() local
1539 checkSize = (unsigned)(rem); in ReadDatabase2()
1540 if (checkSize < 3) in ReadDatabase2()
1542 RINOK(_stream->Seek(fileSize - checkSize, STREAM_SEEK_SET, NULL)); in ReadDatabase2()
1543 RINOK(ReadStream_FALSE(_stream, buf, (size_t)checkSize)); in ReadDatabase2()
1545 if (buf[checkSize - 1] != 0) in ReadDatabase2()
1549 for (i = checkSize - 2;; i--) in ReadDatabase2()
1557 nextHeaderSize = checkSize - i; in ReadDatabase2()
/external/lzma/C/
DXzDec.c763 UInt32 checkSize = XzFlags_GetCheckSize(p->streamFlags); in XzUnpacker_Code() local
764 UInt32 cur = checkSize - p->pos; in XzUnpacker_Code()
779 if (XzCheck_Final(&p->check, digest) && memcmp(digest, p->buf, checkSize) != 0) in XzUnpacker_Code()
/external/llvm/lib/Object/
DCOFFObjectFile.cpp35 static bool checkSize(MemoryBufferRef M, std::error_code &EC, uint64_t Size) { in checkSize() function
561 if (!checkSize(Data, EC, sizeof(coff_file_header))) in COFFObjectFile()
572 if (checkSize(Data, EC, sizeof(dos_header) + sizeof(COFF::PEMagic))) { in COFFObjectFile()
595 checkSize(Data, EC, sizeof(coff_bigobj_file_header))) { in COFFObjectFile()