Searched refs:total_memory (Results 1 – 3 of 3) sorted by relevance
60 int64 total_memory = base::SysInfo::AmountOfPhysicalMemory(); in Init() local62 if (total_memory <= 0) { in Init()69 total_memory = total_memory * 2 / 100; in Init()70 if (total_memory > kDefaultCacheSize * 5) in Init()73 max_size_ = static_cast<int32>(total_memory); in Init()
2109 static int64 total_memory = base::SysInfo::AmountOfPhysicalMemory(); in MaxBuffersSize() local2116 total_memory = total_memory * 2 / 100; in MaxBuffersSize()2117 if (total_memory > kMaxBuffersSize || total_memory <= 0) in MaxBuffersSize()2118 total_memory = kMaxBuffersSize; in MaxBuffersSize()2123 return static_cast<int>(total_memory); in MaxBuffersSize()
437 unsigned short total_memory; member