Home
last modified time | relevance | path

Searched refs:time_in_day_ms (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Ddate.cc214 int const time_in_day_ms = TimeInDay(time_ms, days); in BreakDownTime() local
217 *hour = time_in_day_ms / (60 * 60 * 1000); in BreakDownTime()
218 *min = (time_in_day_ms / (60 * 1000)) % 60; in BreakDownTime()
219 *sec = (time_in_day_ms / 1000) % 60; in BreakDownTime()
220 *ms = time_in_day_ms % 1000; in BreakDownTime()
Dobjects.cc18462 int time_in_day_ms = DateCache::TimeInDay(local_time_ms, days); in DoGetField() local
18463 if (index == kMillisecond) return Smi::FromInt(time_in_day_ms % 1000); in DoGetField()
18465 return Smi::FromInt(time_in_day_ms); in DoGetField()
18495 int time_in_day_ms = DateCache::TimeInDay(time_ms, days); in GetUTCField() local
18497 case kHourUTC: return Smi::FromInt(time_in_day_ms / (60 * 60 * 1000)); in GetUTCField()
18498 case kMinuteUTC: return Smi::FromInt((time_in_day_ms / (60 * 1000)) % 60); in GetUTCField()
18499 case kSecondUTC: return Smi::FromInt((time_in_day_ms / 1000) % 60); in GetUTCField()
18500 case kMillisecondUTC: return Smi::FromInt(time_in_day_ms % 1000); in GetUTCField()
18502 case kTimeInDayUTC: return Smi::FromInt(time_in_day_ms); in GetUTCField()
18540 int time_in_day_ms = DateCache::TimeInDay(local_time_ms, days); in SetCachedFields() local
[all …]