Searched refs:ramSize (Results 1 – 2 of 2) sorted by relevance
/external/lzma/CPP/7zip/UI/Console/ |
D | BenchCon.cpp | 161 UInt64 ramSize = NWindows::NSystem::GetRamSize(); // in LzmaBenchCon() local 163 PrintRequirements(f, "size: ", ramSize, "CPU hardware threads:", numCPUs); in LzmaBenchCon() 172 if (GetBenchMemoryUsage(numThreads, ((UInt32)1 << dicSizeLog)) + (8 << 20) <= ramSize) in LzmaBenchCon() 247 UInt64 ramSize = NWindows::NSystem::GetRamSize(); in CrcBenchCon() local 249 PrintRequirements(f, "size: ", ramSize, "CPU hardware threads:", numCPUs); in CrcBenchCon()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 1237 const uint64_t ramSize = sk_64_mul(ramRB, height); in ReadRawPixels() local 1239 if (!buffer->validate((snugSize <= ramSize) && (ramSize <= max_size_t))) { in ReadRawPixels() 1243 SkAutoDataUnref data(SkData::NewUninitialized(SkToSizeT(ramSize))); in ReadRawPixels() 1247 if (snugSize != ramSize) { in ReadRawPixels()
|