Home | History | Annotate | Download | only in crypto

Lines Matching full:offset_hms

240 	int offset_hms, offset_day;
246 offset_hms = offset_sec - (offset_day * SECS_PER_DAY);
249 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec;
251 if (offset_hms >= SECS_PER_DAY)
254 offset_hms -= SECS_PER_DAY;
256 else if (offset_hms < 0)
259 offset_hms += SECS_PER_DAY;
290 tm->tm_hour = offset_hms / 3600;
291 tm->tm_min = (offset_hms / 60) % 60;
292 tm->tm_sec = offset_hms % 60;