Home
last modified time | relevance | path

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

/openthread-3.6.0/src/core/common/
Duptime.cpp101 static uint16_t DivideAndGetRemainder(uint32_t &aDividend, uint32_t aDivisor) in DivideAndGetRemainder() argument
106 uint32_t quotient = aDividend / aDivisor; in DivideAndGetRemainder()
108 aDividend -= quotient * aDivisor; in DivideAndGetRemainder()
Dnum_utils.hpp202 template <typename IntType> inline IntType DivideAndRoundToClosest(IntType aDividend, IntType aDivi… in DivideAndRoundToClosest() argument
204 return (aDividend + (aDivisor / 2)) / aDivisor; in DivideAndRoundToClosest()