OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kMsPerDay
(Results
1 - 3
of
3
) sorted by null
/external/v8/src/
date.h
20
static const int64_t
kMsPerDay
= kSecPerDay * 1000;
21
static const int64_t kMsPerMonth =
kMsPerDay
* 30;
56
// Computes floor(time_ms /
kMsPerDay
).
58
if (time_ms < 0) time_ms -= (
kMsPerDay
- 1);
59
return static_cast<int>(time_ms /
kMsPerDay
);
63
// Computes modulo(time_ms,
kMsPerDay
) given that
64
// days = floor(time_ms /
kMsPerDay
).
66
return static_cast<int>(time_ms - days *
kMsPerDay
);
166
int time_within_day_ms = static_cast<int>(time_ms - days *
kMsPerDay
);
170
return static_cast<int64_t>(new_days) *
kMsPerDay
+ time_within_day_ms
[
all
...]
builtins.cc
[
all
...]
/external/v8/test/cctest/
test-date.cc
106
return (result + day - 1) * DateCache::
kMsPerDay
;
152
time -= DateCache::
kMsPerDay
) {
Completed in 160 milliseconds