• Home
  • Raw
  • Download

Lines Matching refs:start

309   void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);  in TEST_F()  local
310 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
313 extinfo.reserved_addr = start; in TEST_F()
319 EXPECT_GE(reinterpret_cast<void*>(f), start); in TEST_F()
321 reinterpret_cast<char*>(start) + kLibSize); in TEST_F()
328 void* new_start = mmap(start, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F()
329 ASSERT_NE(start, new_start) << "dlclose unmapped reserved space"; in TEST_F()
333 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() local
334 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
337 extinfo.reserved_addr = start; in TEST_F()
344 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() local
345 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
348 extinfo.reserved_addr = start; in TEST_F()
355 EXPECT_GE(reinterpret_cast<void*>(f), start); in TEST_F()
357 reinterpret_cast<char*>(start) + kLibSize); in TEST_F()
362 EXPECT_GE(reinterpret_cast<void*>(f), start); in TEST_F()
364 reinterpret_cast<char*>(start) + kLibSize); in TEST_F()
369 EXPECT_GE(reinterpret_cast<void*>(taxicab_number), start); in TEST_F()
370 EXPECT_LT(reinterpret_cast<void*>(taxicab_number), reinterpret_cast<char*>(start) + kLibSize); in TEST_F()
375 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() local
376 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
379 extinfo.reserved_addr = start; in TEST_F()
386 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() local
387 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
390 extinfo.reserved_addr = start; in TEST_F()
396 EXPECT_GE(reinterpret_cast<void*>(f), start); in TEST_F()
398 reinterpret_cast<char*>(start) + kLibSize); in TEST_F()
403 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() local
404 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
407 extinfo.reserved_addr = start; in TEST_F()
413 EXPECT_TRUE(reinterpret_cast<void*>(f) < start || in TEST_F()
415 reinterpret_cast<char*>(start) + PAGE_SIZE)); in TEST_F()
423 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in SetUp() local
424 ASSERT_TRUE(start != MAP_FAILED); in SetUp()
426 extinfo_.reserved_addr = start; in SetUp()
703 [&](uint64_t start, uint64_t end, uint16_t, uint16_t, ino_t, const char* name) { in FindMappingName() argument
704 if (addr >= start && addr < end) { in FindMappingName()