Searched refs:kLibSize (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | dlext_test.cpp | 66 constexpr auto kLibSize = 1024 * 1024; // how much address space to reserve for it variable 324 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 329 extinfo.reserved_size = kLibSize; in TEST_F() 336 reinterpret_cast<char*>(start) + kLibSize); in TEST_F() 359 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 364 extinfo.reserved_size = kLibSize; in TEST_F() 372 reinterpret_cast<char*>(start) + kLibSize); in TEST_F() 379 reinterpret_cast<char*>(start) + kLibSize); in TEST_F() 387 EXPECT_LT(addr, reinterpret_cast<char*>(start) + kLibSize); in TEST_F() 403 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() [all …]
|