Home
last modified time | relevance | path

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

/bionic/linker/tests/
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()
Dlinker_memory_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()
/bionic/tools/relocation_packer/src/
Delf_file.cc40 static const size_t kPageSize = 4096; variable
46 static const size_t kPreserveAlignment = kPageSize;
311 if (program_header->p_align > kPageSize) { in ClampLoadSegmentAlignment()
312 program_header->p_align = kPageSize; in ClampLoadSegmentAlignment()
332 if (program_header->p_align == kPageSize) { in RestoreLoadSegmentAlignment()
/bionic/tests/
Dpthread_test.cpp2536 const auto kPageSize = sysconf(_SC_PAGE_SIZE); in TEST() local
2543 void* page = mmap(nullptr, kPageSize, prot, MAP_ANON|MAP_PRIVATE, -1, 0); in TEST()
2557 ASSERT_EQ(0, munmap(pages[i], kPageSize)); in TEST()
2565 ASSERT_EQ(0, munmap(pages[i], kPageSize)); in TEST()