Lines Matching defs:exp10
757 fixup_bytes(enum pipe_driver_query_type type, int position, uint64_t *exp10)
760 *exp10 = (*exp10 / 1000) * 1024;
771 uint64_t exp10;
781 /* Find the left-most digit. Make sure exp10 * 10 and fixup_bytes doesn't
783 exp10 = 1;
784 for (i = 0; exp10 <= UINT64_MAX / 11 && exp10 * 9 < value; i++) {
785 exp10 *= 10;
786 fixup_bytes(pane->type, i + 1, &exp10);
789 leftmost_digit = DIV_ROUND_UP(value, exp10);
794 exp10 *= 10;
795 fixup_bytes(pane->type, i + 1, &exp10);
821 if (leftmost_digit == i && value <= (i - 0.5) * exp10) {
830 if (value <= (1 + i*0.2) * exp10) {
838 pane->max_value = leftmost_digit * exp10;