Home
last modified time | relevance | path

Searched refs:safeSize (Results 1 – 5 of 5) sorted by relevance

/external/skia/tests/
DBitmapCopyTest.cpp336 int64_t safeSize = tstSafeSize.computeSafeSize64(); in DEF_TEST() local
337 if (safeSize < 0) { in DEF_TEST()
349 if (safeSize != 0x2386F26FC10000LL) { in DEF_TEST()
356 if (safeSize != 0x470DE4DF820000LL) { in DEF_TEST()
362 if (safeSize != 0x8E1BC9BF040000LL) { in DEF_TEST()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp292 FX_SAFE_DWORD safeSize = yw; in sycc420_to_rgb() local
293 safeSize *= yh; in sycc420_to_rgb()
294 if (!safeSize.IsValid()) in sycc420_to_rgb()
296 int* r = FX_Alloc(int, safeSize.ValueOrDie()); in sycc420_to_rgb()
297 int* g = FX_Alloc(int, safeSize.ValueOrDie()); in sycc420_to_rgb()
298 int* b = FX_Alloc(int, safeSize.ValueOrDie()); in sycc420_to_rgb()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser_old.cpp1004 FX_SAFE_DWORD safeSize = 0; in Continue() local
1006 safeSize += stream->GetSize(); in Continue()
1007 safeSize += 1; in Continue()
1009 if (!safeSize.IsValid()) { in Continue()
1013 m_Size = safeSize.ValueOrDie(); in Continue()
/external/skia/src/core/
DSkBitmap.cpp471 size_t safeSize = src.getSafeSize(); in copy_pixels_to() local
472 if (safeSize > dstSize || safeSize == 0) in copy_pixels_to()
478 memcpy(dst, src.addr(), safeSize); in copy_pixels_to()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp3598 FX_SAFE_DWORD safeSize = pdfium::base::checked_cast<FX_DWORD>(offset); in IsDataAvail() local
3599 safeSize += size; in IsDataAvail()
3600 safeSize += 512; in IsDataAvail()
3601 if (!safeSize.IsValid() || safeSize.ValueOrDie() > m_dwFileLen) in IsDataAvail()
4788 FX_SAFE_DWORD safeSize = m_dwNSharedObjsArray[i]; in ReadPageHintTable() local
4789 safeSize *= dwSharedNumeratorBits; in ReadPageHintTable()
4790 if (!CanReadFromBitStream(hStream, safeSize)) in ReadPageHintTable()
4792 hStream->SkipBits(safeSize.ValueOrDie()); in ReadPageHintTable()