Home
last modified time | relevance | path

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

/bionic/libc/dns/nameser/
Dns_ttl.c52 int secs, mins, hours, days, weeks, x; in ns_format_ttl() local
55 secs = (int)(src % 60); src /= 60; in ns_format_ttl()
78 if (secs || !(weeks || days || hours || mins)) { in ns_format_ttl()
79 T(fmt1(secs, 'S', &dst, &dstlen)); in ns_format_ttl()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dalarm.c35 alarm(unsigned int secs) in alarm() argument
40 itv.it_value.tv_sec = secs; in alarm()
/bionic/libc/tzcode/
Dstrptime.c630 time_t secs; in epoch_to_tm() local
634 secs = strtoll(*buf, &ep, 10); in epoch_to_tm()
637 if (secs < 0 || in epoch_to_tm()
638 secs == LLONG_MAX && errno == ERANGE) in epoch_to_tm()
640 if (localtime_r(&secs, tm) == NULL) in epoch_to_tm()
/bionic/libc/dns/resolv/
Dres_debug.c839 int deg = 0, min = 0, secs = 0, secsfrac = 0; in latlon2ul() local
862 secs = secs * 10 + (*cp++ - '0'); in latlon2ul()
888 + (((((deg * 60) + min) * 60) + secs) * 1000) in latlon2ul()
894 - (((((deg * 60) + min) * 60) + secs) * 1000) in latlon2ul()
1179 p_secstodate (u_long secs) { in p_secstodate() argument
1182 time_t myclock = secs; in p_secstodate()