Searched refs:unit_amount (Results 1 – 1 of 1) sorted by relevance
681 double unit_amount = static_cast<double>(bytes); in FormatBytesInternal() local683 unit_amount /= 1024.0; in FormatBytesInternal()686 if (bytes != 0 && units != DATA_UNITS_BYTE && unit_amount < 100) in FormatBytesInternal()687 base::snprintf(buf, arraysize(buf), "%.1lf", unit_amount); in FormatBytesInternal()689 base::snprintf(buf, arraysize(buf), "%.0lf", unit_amount); in FormatBytesInternal()