Lines Matching refs:uptr
37 static uptr RoundDown(uptr addr) in RoundDown()
43 static uptr RoundUp(uptr addr) in RoundUp()
73 void Initialize(uptr addr, size_t numPages) in Initialize()
144 uptr addr = GetAddressFromPage(*pPage); in AllocateByOrder()
171 NN_ASSERT((reinterpret_cast<uptr>(p) - m_HeapStart) % PAGE_SIZE == 0); in Free()
173 Page* pPage = GetPageFromAddress(reinterpret_cast<uptr>(p)); in Free()
205 return m_HeapStart <= reinterpret_cast<uptr>(addr) in HasAddress()
206 && reinterpret_cast<uptr>(addr) < m_HeapStart + m_HeapSize; in HasAddress()
379 uptr m_HeapStart;
490 inline uptr GetAddressFromPage(const Page& page) const in GetAddressFromPage()
502 inline Page* GetPageFromAddress(uptr addr) in GetPageFromAddress()
610 void Initialize(uptr addr, size_t size) in Initialize()
612 uptr addrAligned = Base::RoundUp<Base::ALIGN>(addr); in Initialize()
723 return reinterpret_cast<void*>(reinterpret_cast<uptr>(p) + ALIGN);
733 p = reinterpret_cast<void*>(reinterpret_cast<uptr>(p) - ALIGN); in Free()