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_alloc.h556 auto pointer_as_uint = reinterpret_cast<uintptr_t>(ptr); in PartitionSuperPageToMetadataArea() local
557 DCHECK(!(pointer_as_uint & kSuperPageOffsetMask)); in PartitionSuperPageToMetadataArea()
560 return reinterpret_cast<char*>(pointer_as_uint + kSystemPageSize); in PartitionSuperPageToMetadataArea()
564 auto pointer_as_uint = reinterpret_cast<uintptr_t>(ptr); in PartitionPointerToPageNoAlignmentCheck() local
566 reinterpret_cast<char*>(pointer_as_uint & kSuperPageBaseMask); in PartitionPointerToPageNoAlignmentCheck()
568 (pointer_as_uint & kSuperPageOffsetMask) >> kPartitionPageShift; in PartitionPointerToPageNoAlignmentCheck()
585 auto pointer_as_uint = reinterpret_cast<uintptr_t>(page); in PartitionPageToPointer() local
586 uintptr_t super_page_offset = (pointer_as_uint & kSuperPageOffsetMask); in PartitionPageToPointer()
596 uintptr_t super_page_base = (pointer_as_uint & kSuperPageBaseMask); in PartitionPageToPointer()