Home
last modified time | relevance | path

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

/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/pointers/
H A Draw_ptr_backup_ref_impl.h42 struct RawPtrBackupRefImpl { struct
48 static constexpr bool kMustZeroOnConstruct = true;
49 static constexpr bool kMustZeroOnMove = true;
50 static constexpr bool kMustZeroOnDestruct = true;
53 PA_ALWAYS_INLINE static bool UseBrp(uintptr_t address) { in UseBrp()
62 PA_ALWAYS_INLINE static bool IsSupportedAndNotNull(uintptr_t address) { in IsSupportedAndNotNull()
119 static constexpr uintptr_t OOB_POISON_BIT = static_cast<uintptr_t>(1) << 63;
122 static constexpr uintptr_t OOB_POISON_BIT = static_cast<uintptr_t>(1) << 55;
126 PA_ALWAYS_INLINE static T* UnpoisonPtr(T* ptr) { in UnpoisonPtr()
132 PA_ALWAYS_INLINE static bool IsPtrOOB(T* ptr) { in IsPtrOOB()
[all …]
H A Draw_ptr_backup_ref_impl.cc113 template struct RawPtrBackupRefImpl</*AllowDangling=*/false, variable
115 template struct RawPtrBackupRefImpl</*AllowDangling=*/false, variable
117 template struct RawPtrBackupRefImpl</*AllowDangling=*/true, variable
119 template struct RawPtrBackupRefImpl</*AllowDangling=*/true, variable