Searched refs:tdays (Results 1 - 1 of 1) sorted by relevance

/system/core/libcutils/
H A Dtztime.c1407 register time_t tdays; local
1445 tdays = *timep / SECSPERDAY;
1446 rem = *timep - tdays * SECSPERDAY;
1447 while (tdays < 0 || tdays >= year_lengths[isleap(y)]) {
1453 tdelta = tdays / DAYSPERLYEAR;
1458 idelta = (tdays < 0) ? -1 : 1;
1464 tdays -= ((time_t) newy - y) * DAYSPERNYEAR;
1465 tdays -= leapdays;
1471 seconds = tdays * SECSPERDA
[all...]

Completed in 26 milliseconds