Home
last modified time | relevance | path

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

/external/libchrome/base/trace_event/
Dprocess_memory_dump_unittest.cc497 const size_t kVeryLargeMemorySize = 15 * 1024 * 1024; in TEST() local
498 void* memory2 = Map(kVeryLargeMemorySize); in TEST()
499 memset(memory2, 0, kVeryLargeMemorySize); in TEST()
501 ProcessMemoryDump::CountResidentBytes(memory2, kVeryLargeMemorySize); in TEST()
502 ASSERT_EQ(res2, kVeryLargeMemorySize); in TEST()
503 Unmap(memory2, kVeryLargeMemorySize); in TEST()
537 const size_t kVeryLargeMemorySize = 15 * 1024 * 1024; in TEST() local
539 shared_memory2.CreateAndMapAnonymous(kVeryLargeMemorySize); in TEST()
540 memset(shared_memory2.memory(), 0, kVeryLargeMemorySize); in TEST()
545 ASSERT_EQ(res2.value(), kVeryLargeMemorySize); in TEST()
[all …]