OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:one_sec
(Results
1 - 5
of
5
) sorted by null
/external/chromium/chrome/common/
time_format_unittest.cc
54
const TimeDelta
one_sec
= TimeDelta::FromSeconds(1);
local
61
TestTimeFormats(
one_sec
- twohundred_millisecs, "0 secs");
62
TestTimeFormats(
one_sec
+ twohundred_millisecs, "1 sec");
/external/chromium_org/ui/base/l10n/
time_format_unittest.cc
34
const TimeDelta
one_sec
= TimeDelta::FromSeconds(1);
local
41
TestTimeFormats(
one_sec
- twohundred_millisecs, "0 secs");
42
TestTimeFormats(
one_sec
+ twohundred_millisecs, "1 sec");
/art/runtime/
utils_test.cc
162
const uint64_t
one_sec
= 1000000000;
local
166
EXPECT_EQ("1s", PrettyDuration(1 *
one_sec
));
167
EXPECT_EQ("10s", PrettyDuration(10 *
one_sec
));
168
EXPECT_EQ("100s", PrettyDuration(100 *
one_sec
));
169
EXPECT_EQ("1.001s", PrettyDuration(1 *
one_sec
+ one_ms));
170
EXPECT_EQ("1.000001s", PrettyDuration(1 *
one_sec
+ one_us));
171
EXPECT_EQ("1.000000001s", PrettyDuration(1 *
one_sec
+ 1));
utils.cc
469
const uint64_t
one_sec
= 1000 * 1000 * 1000;
local
472
if (nano_duration >=
one_sec
) {
484
const uint64_t
one_sec
= 1000 * 1000 * 1000;
local
490
return
one_sec
;
[
all
...]
/art/runtime/base/
mutex.cc
84
const int32_t
one_sec
= 1000 * 1000 * 1000; // one second in nanoseconds.
local
89
result_ts->tv_nsec +=
one_sec
;
90
} else if (result_ts->tv_nsec >
one_sec
) {
92
result_ts->tv_nsec -=
one_sec
;
Completed in 543 milliseconds