Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/asn1/
Dtime_support.c105 int offset_hms, offset_day; in julian_adj() local
111 offset_hms = offset_sec - (offset_day * SECS_PER_DAY); in julian_adj()
114 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; in julian_adj()
116 if (offset_hms >= SECS_PER_DAY) { in julian_adj()
118 offset_hms -= SECS_PER_DAY; in julian_adj()
119 } else if (offset_hms < 0) { in julian_adj()
121 offset_hms += SECS_PER_DAY; in julian_adj()
140 *psec = offset_hms; in julian_adj()