Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_utils_test.cpp123 TEST(linker_utils, page_offset) { in TEST() argument
127 ASSERT_EQ(0x0U, page_offset(0x0001000)); in TEST()
128 ASSERT_EQ(0x22fU, page_offset(0x30222f)); in TEST()
129 ASSERT_EQ(0xfffU, page_offset(0x6001fff)); in TEST()
131 ASSERT_EQ(0x0U, page_offset(0x0004000)); in TEST()
132 ASSERT_EQ(0x322fU, page_offset(0x30322f)); in TEST()
133 ASSERT_EQ(0x3fffU, page_offset(0x6003fff)); in TEST()
Dlinker_mapped_file_fragment.cpp57 CHECK(safe_add(&end_offset, end_offset, page_offset(offset))); in Map()
72 data_ = map_start + page_offset(offset); in Map()
Dlinker_phdr.cpp919 if ((phdr->p_flags & PF_W) != 0 && page_offset(unextended_seg_file_end) > 0) { in LoadSegments()
921 kPageSize - page_offset(unextended_seg_file_end)); in LoadSegments()
/bionic/libc/platform/bionic/
Dpage.h51 inline uintptr_t page_offset(uintptr_t x) { in page_offset() function