Home
last modified time | relevance | path

Searched refs:DivideRoundingUp (Results 1 – 3 of 3) sorted by relevance

/external/openscreen/util/
Dinteger_division_unittest.cc41 auto* const function_to_test = &DivideRoundingUp<int>; in TEST()
48 auto* const function_to_test = &DivideRoundingUp<std::chrono::milliseconds>; in TEST()
58 EXPECT_EQ(DivideRoundingUp(num, denom), in TEST()
Dinteger_division.h18 constexpr auto DivideRoundingUp(Integer num, Integer denom) { in DivideRoundingUp() function
34 return DivideRoundingUp<typename std::make_unsigned<Integer>::type>(num, in DividePositivesRoundingUp()
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc213 inline int DivideRoundingUp(int i, int j) { return (i + (j - 1)) / j; } in DivideRoundingUp() function
219 return DivideRoundingUp(offset, alignment) * alignment; in AlignTo()
702 DivideRoundingUp(type->field_count(), bitsizeof(uint32)); in GetPrototypeNoLock()