Home
last modified time | relevance | path

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

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_page.h120 uintptr_t pointer_as_uint = reinterpret_cast<uintptr_t>(ptr); in PartitionSuperPageToMetadataArea() local
121 DCHECK(!(pointer_as_uint & kSuperPageOffsetMask)); in PartitionSuperPageToMetadataArea()
124 return reinterpret_cast<char*>(pointer_as_uint + kSystemPageSize); in PartitionSuperPageToMetadataArea()
129 uintptr_t pointer_as_uint = reinterpret_cast<uintptr_t>(ptr); in FromPointerNoAlignmentCheck() local
131 reinterpret_cast<char*>(pointer_as_uint & kSuperPageBaseMask); in FromPointerNoAlignmentCheck()
133 (pointer_as_uint & kSuperPageOffsetMask) >> kPartitionPageShift; in FromPointerNoAlignmentCheck()
151 uintptr_t pointer_as_uint = reinterpret_cast<uintptr_t>(page); in ToPointer() local
153 uintptr_t super_page_offset = (pointer_as_uint & kSuperPageOffsetMask); in ToPointer()
168 uintptr_t super_page_base = (pointer_as_uint & kSuperPageBaseMask); in ToPointer()