Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_block_allocator_test.cpp60 static size_t kPageSize = sysconf(_SC_PAGE_SIZE); variable
108 size_t n = kPageSize/sizeof(test_struct_larger) + 1 - 2; in TEST()
123 size_t n = kPageSize/sizeof(test_struct_larger) - 1; in protect_all()
/bionic/tests/
Dbionic_allocator_test.cpp62 static size_t kPageSize = sysconf(_SC_PAGE_SIZE); variable
168 reinterpret_cast<uintptr_t>(ptr1)/kPageSize != reinterpret_cast<uintptr_t>(ptr2)/kPageSize); in TEST()
189 size_t n = kPageSize / sizeof(test_struct_large) + 1 - 2; in TEST()
Dpthread_test.cpp2831 const auto kPageSize = sysconf(_SC_PAGE_SIZE); in TEST() local
2838 void* page = mmap(nullptr, kPageSize, prot, MAP_ANON|MAP_PRIVATE, -1, 0); in TEST()
2852 ASSERT_EQ(0, munmap(pages[i], kPageSize)); in TEST()
2860 ASSERT_EQ(0, munmap(pages[i], kPageSize)); in TEST()