Searched refs:multiple_of (Results 1 - 5 of 5) sorted by relevance
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_safe_arithmetic.cpp | 229 bool RoundUpUint32ToMultiple(std::uint32_t val, std::uint32_t multiple_of, in RoundUpUint32ToMultiple() argument 232 *result = RoundUpUint32ToMultiple(val, multiple_of); in RoundUpUint32ToMultiple() 240 std::uint32_t multiple_of) { in RoundUpUint32ToMultiple() 241 if (multiple_of == 0) { in RoundUpUint32ToMultiple() 242 ThrowProgramError("multiple_of is zero in RoundUpUint32ToMultiple"); in RoundUpUint32ToMultiple() 245 const std::uint32_t remainder = val % multiple_of; in RoundUpUint32ToMultiple() 249 return SafeUint32Add(val, multiple_of - remainder); in RoundUpUint32ToMultiple() 239 RoundUpUint32ToMultiple(std::uint32_t val, std::uint32_t multiple_of) RoundUpUint32ToMultiple() argument
|
H A D | dng_safe_arithmetic.h | 166 // Finds the smallest integer multiple of 'multiple_of' that is greater than or 168 // and returns true. Otherwise, or if 'multiple_of' is zero, returns false and 170 bool RoundUpUint32ToMultiple(std::uint32_t val, std::uint32_t multiple_of, 173 // Returns the smallest integer multiple of 'multiple_of' that is greater than 175 // 'multiple_of' is zero, throws a dng_exception with error code 178 std::uint32_t multiple_of);
|
/third_party/lame/libmp3lame/ |
H A D | machine.h | 162 #define multiple_of(CHUNK, COUNT) (\ macro
|
H A D | gain_analysis.c | 112 static const Float_t ABYule[9][multiple_of(4, 2 * YULE_ORDER + 1)] = { 125 static const Float_t ABButter[9][multiple_of(4, 2 * BUTTER_ORDER + 1)] = {
|
/third_party/vixl/src/aarch32/ |
H A D | operands-aarch32.h | 791 int multiple_of = 1) const { in IsOffsetImmediateWithinRange() 793 ((offset_ % multiple_of) == 0); in IsOffsetImmediateWithinRange()
|
Completed in 5 milliseconds