Home
last modified time | relevance | path

Searched refs:ramSize (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkBitmap.cpp689 const uint64_t ramSize = sk_64_mul(ramRB, height); in ReadRawPixels() local
691 if (!buffer->validate((snugSize <= ramSize) && (ramSize <= max_size_t))) { in ReadRawPixels()
695 sk_sp<SkData> data(SkData::MakeUninitialized(SkToSizeT(ramSize))); in ReadRawPixels()
699 if (snugSize != ramSize) { in ReadRawPixels()
729 for (uint64_t i = 0; i < ramSize; ++i) { in ReadRawPixels()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp2455 UInt64 ramSize = (UInt64)(sizeof(size_t)) << 29; in Bench() local
2461 bool ramSize_Defined = NSystem::GetRamSize(ramSize); in Bench()
2645 …PrintRequirements(*printCallback, "size: ", ramSize_Defined, ramSize, "CPU hardware threads:", num… in Bench()
2841 …(GetBenchMemoryUsage(numThreads, ((UInt32)1 << dicSizeLog), totalBenchMode) + (8 << 20) <= ramSize) in Bench()