Lines Matching refs:D
45 uint32_t D, in scale_u64_to_u64() argument
52 assert(D); in scale_u64_to_u64()
79 if ((tmp2 >> 32) >= D) { in scale_u64_to_u64()
87 r = tmp2 % D; in scale_u64_to_u64()
88 tmp2 /= D; in scale_u64_to_u64()
101 r = tmp1 % D; in scale_u64_to_u64()
102 tmp1 /= D; in scale_u64_to_u64()
131 uint32_t D, in linear_transform_s64_to_s64() argument
156 invert_frac ? D : ABS(N), in linear_transform_s64_to_s64()
157 invert_frac ? ABS(N) : D, in linear_transform_s64_to_s64()
228 template <class T> void LinearTransform::reduce(T* N, T* D) { in reduce() argument
230 if (!N || !D || !(*D)) { in reduce()
236 b = *D; in reduce()
239 *D = 1; in reduce()
255 *D /= b; in reduce()
265 template void LinearTransform::reduce<uint64_t>(uint64_t* N, uint64_t* D);
266 template void LinearTransform::reduce<uint32_t>(uint32_t* N, uint32_t* D);
270 void LinearTransform::reduce(int32_t* N, uint32_t* D) { in reduce() argument
271 if (N && D && *D) { in reduce()
274 reduce(reinterpret_cast<uint32_t*>(N), D); in reduce()
277 reduce(reinterpret_cast<uint32_t*>(N), D); in reduce()