Searched refs:aDividend (Results 1 – 2 of 2) sorted by relevance
101 static uint16_t DivideAndGetRemainder(uint32_t &aDividend, uint32_t aDivisor) in DivideAndGetRemainder() argument106 uint32_t quotient = aDividend / aDivisor; in DivideAndGetRemainder()108 aDividend -= quotient * aDivisor; in DivideAndGetRemainder()
202 template <typename IntType> inline IntType DivideAndRoundToClosest(IntType aDividend, IntType aDivi… in DivideAndRoundToClosest() argument204 return (aDividend + (aDivisor / 2)) / aDivisor; in DivideAndRoundToClosest()