Lines Matching refs:uptr
38 static uptr RoundDown(uptr addr) in RoundDown()
44 static uptr RoundUp(uptr addr) in RoundUp()
62 void Initialize(uptr addr, size_t numPages) in Initialize()
121 uptr addr = GetAddressFromPage(*pPage); in AllocateByOrder()
141 NN_ASSERT((reinterpret_cast<uptr>(p) - m_HeapStart) % PAGE_SIZE == 0); in Free()
143 Page* pPage = GetPageFromAddress(reinterpret_cast<uptr>(p)); in Free()
171 return m_HeapStart <= reinterpret_cast<uptr>(addr) in HasAddress()
172 && reinterpret_cast<uptr>(addr) < m_HeapStart + m_HeapSize; in HasAddress()
293 uptr m_HeapStart;
362 inline uptr GetAddressFromPage(const Page& page) const in GetAddressFromPage()
367 inline Page* GetPageFromAddress(uptr addr) in GetPageFromAddress()
446 void Initialize(uptr addr, size_t size) in Initialize()
448 uptr addrAligned = Base::RoundUp<Base::ALIGN>(addr); in Initialize()
544 return reinterpret_cast<void*>(reinterpret_cast<uptr>(p) + ALIGN);
553 p = reinterpret_cast<void*>(reinterpret_cast<uptr>(p) - ALIGN); in Free()