Searched refs:kUintPtrTOne (Results 1 – 1 of 1) sorted by relevance
26 static constexpr uintptr_t kUintPtrTOne = 1U; variable44 return (static_cast<uintptr_t>(value) & ~((kUintPtrTOne << size) - 1)) == 0; in IsValid()49 return (kUintPtrTOne << size) - 1; in Mask()55 return ((kUintPtrTOne << size) - 1) << position; in MaskInPlace()77 return static_cast<T>((value >> position) & ((kUintPtrTOne << size) - 1)); in Decode()