OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:unit_amount
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/ui/base/text/
bytes_formatting.cc
48
double
unit_amount
= static_cast<double>(bytes);
local
50
unit_amount
/= 1024.0;
53
if (bytes != 0 && units != DATA_UNITS_BYTE &&
unit_amount
< 100)
56
string16 result = base::FormatDouble(
unit_amount
, fractional_digits);
/external/chromium_org/base/strings/
string_util.cc
582
double
unit_amount
= static_cast<double>(bytes);
local
585
while (
unit_amount
>= kKilo &&
587
unit_amount
/= kKilo;
592
if (bytes != 0 && dimension > 0 &&
unit_amount
< 100) {
593
base::snprintf(buf, arraysize(buf), "%.1lf%s",
unit_amount
,
596
base::snprintf(buf, arraysize(buf), "%.0lf%s",
unit_amount
,
/external/chromium/base/
string_util.cc
681
double
unit_amount
= static_cast<double>(bytes);
local
683
unit_amount
/= 1024.0;
686
if (bytes != 0 && units != DATA_UNITS_BYTE &&
unit_amount
< 100)
687
base::snprintf(buf, arraysize(buf), "%.1lf",
unit_amount
);
689
base::snprintf(buf, arraysize(buf), "%.0lf",
unit_amount
);
[
all
...]
Completed in 1585 milliseconds