Searched refs:multiple_of (Results 1 – 2 of 2) sorted by relevance
229 bool RoundUpUint32ToMultiple(std::uint32_t val, std::uint32_t multiple_of, in RoundUpUint32ToMultiple() argument232 *result = RoundUpUint32ToMultiple(val, multiple_of); in RoundUpUint32ToMultiple()240 std::uint32_t multiple_of) { in RoundUpUint32ToMultiple() argument241 if (multiple_of == 0) { in RoundUpUint32ToMultiple()245 const std::uint32_t remainder = val % multiple_of; in RoundUpUint32ToMultiple()249 return SafeUint32Add(val, multiple_of - remainder); in RoundUpUint32ToMultiple()
170 bool RoundUpUint32ToMultiple(std::uint32_t val, std::uint32_t multiple_of,178 std::uint32_t multiple_of);