Searched refs:MathRoundup (Results 1 – 2 of 2) sorted by relevance
110 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate()114 m_CurrentAddrVramA = MathRoundup(m_CurrentAddrVramA, addrAlign); in Allocate()121 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate()125 m_CurrentAddrVramB = MathRoundup(m_CurrentAddrVramB, addrAlign); in Allocate()
94 uptr MathRoundup(uptr x, int base) in MathRoundup() function