Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/libpandabase/os/
Dmem.h175 enum class MapPtrType { CONST, NON_CONST }; enum
177 template <class T, MapPtrType type>
209 std::conditional_t<type == MapPtrType::CONST, const T *, T *> Get() const in Get()
234 MapPtr<T, MapPtrType::CONST> ToConst() in ToConst()
236 MapPtr<T, MapPtrType::CONST> res(ptr_, size_, page_offset_, deleter_); in ToConst()
285 using BytePtr = MapPtr<std::byte, MapPtrType::NON_CONST>;
286 using ConstBytePtr = MapPtr<std::byte, MapPtrType::CONST>;