Searched refs:fragmentSize (Results 1 – 5 of 5) sorted by relevance
174 UINT64 fragmentSize, in ReadFileFragment() argument180 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) { in ReadFileFragment()186 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { in ReadFileFragment()208 SkAutoTMalloc<uint8_t> streamData(static_cast<size_t>(fragmentSize)); in ReadFileFragment()209 if (fStream->read(streamData.get(), static_cast<size_t>(fragmentSize)) != fragmentSize) { in ReadFileFragment()
60 UINT64 fragmentSize,
532 …unsigned long long fragmentSize = static_cast<unsigned long long>(scaledImageSubset.width()) * sta… in shouldCacheResampling() local534 if (fragmentSize > kLargeBitmapSize) in shouldCacheResampling()540 if (fragmentSize <= kSmallBitmapSize) in shouldCacheResampling()550 return fragmentSize > fullSize / 4; in shouldCacheResampling()