Home
last modified time | relevance | path

Searched defs:RawPtrBackupRefImpl (Results 1 – 2 of 2) sorted by relevance

/external/cronet/base/allocator/partition_allocator/pointers/
Draw_ptr_backup_ref_impl.h41 struct RawPtrBackupRefImpl { struct
47 static constexpr bool kMustZeroOnInit = true;
48 static constexpr bool kMustZeroOnMove = true;
49 static constexpr bool kMustZeroOnDestruct = true;
52 PA_ALWAYS_INLINE static bool IsSupportedAndNotNull(uintptr_t address) { in IsSupportedAndNotNull()
110 static constexpr uintptr_t OOB_POISON_BIT = static_cast<uintptr_t>(1) << 63;
113 static constexpr uintptr_t OOB_POISON_BIT = static_cast<uintptr_t>(1) << 55;
117 PA_ALWAYS_INLINE static T* UnpoisonPtr(T* ptr) { in UnpoisonPtr()
123 PA_ALWAYS_INLINE static bool IsPtrOOB(T* ptr) { in IsPtrOOB()
129 PA_ALWAYS_INLINE static T* PoisonOOBPtr(T* ptr) { in PoisonOOBPtr()
[all …]
Draw_ptr_backup_ref_impl.cc103 template struct RawPtrBackupRefImpl</*AllowDangling=*/false>; variable
104 template struct RawPtrBackupRefImpl</*AllowDangling=*/true>; variable