Searched refs:res_value (Results 1 – 2 of 2) sorted by relevance
67 uint64_t res_value; in bw_frc_to_fixed() local73 res_value = div64_u64_rem(arg1_value, arg2_value, &remainder); in bw_frc_to_fixed()75 ASSERT(res_value <= BW_FIXED_MAX_I32); in bw_frc_to_fixed()85 res_value <<= 1; in bw_frc_to_fixed()89 res_value |= 1; in bw_frc_to_fixed()99 ASSERT(res_value <= MAX_I64 - summand); in bw_frc_to_fixed()101 res_value += summand; in bw_frc_to_fixed()104 res.value = (int64_t)(res_value); in bw_frc_to_fixed()
85 unsigned long long res_value = complete_integer_division_u64( in dc_fixpt_from_fraction() local88 ASSERT(res_value <= LONG_MAX); in dc_fixpt_from_fraction()97 res_value <<= 1; in dc_fixpt_from_fraction()100 res_value |= 1; in dc_fixpt_from_fraction()110 ASSERT(res_value <= LLONG_MAX - summand); in dc_fixpt_from_fraction()112 res_value += summand; in dc_fixpt_from_fraction()115 res.value = (long long)res_value; in dc_fixpt_from_fraction()
Completed in 4 milliseconds