Home
last modified time | relevance | path

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

/bionic/libc/upstream-freebsd/lib/libc/gen/
Dsleep.c44 __sleep(unsigned int seconds) in __sleep() argument
53 if (seconds > INT_MAX) in __sleep()
54 return (seconds - INT_MAX + __sleep(INT_MAX)); in __sleep()
56 time_to_sleep.tv_sec = seconds; in __sleep()
61 return (seconds); /* best guess */ in __sleep()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_recent.h40 __u32 seconds; member
50 __u32 seconds; member
/bionic/libc/kernel/uapi/scsi/
Dscsi_netlink_fc.h27 uint64_t seconds; member
/bionic/libc/bionic/
Dtime64.c198 Time64_T seconds = 0; in timegm64() local
234 seconds = days * 60 * 60 * 24; in timegm64()
236 seconds += date->tm_hour * 60 * 60; in timegm64()
237 seconds += date->tm_min * 60; in timegm64()
238 seconds += date->tm_sec; in timegm64()
240 return(seconds); in timegm64()
463 Time64_T seconds = 0; in seconds_between_years() local
469 seconds += cycles * seconds_in_gregorian_cycle; in seconds_between_years()
474 seconds += cycles * seconds_in_gregorian_cycle; in seconds_between_years()
478 seconds += length_of_year[IS_LEAP(right_year - 1900)] * 60 * 60 * 24; in seconds_between_years()
[all …]
/bionic/benchmarks/
Dbenchmark_main.cpp151 double seconds = static_cast<double>(g_benchmark_total_time_ns)/1e9; in RunWithArg() local
152 snprintf(throughput, sizeof(throughput), " %8.2f MiB/s", mib_processed/seconds); in RunWithArg()
/bionic/libc/tzcode/
Dlocaltime.c1303 register time_t seconds; in localsub() local
1307 seconds = sp->ats[0] - t; in localsub()
1308 else seconds = t - sp->ats[sp->timecnt - 1]; in localsub()
1309 --seconds; in localsub()
1310 years = (seconds / SECSPERREPEAT + 1) * YEARSPERREPEAT; in localsub()
1311 seconds = years * AVGSECSPERYEAR; in localsub()
1313 newt += seconds; in localsub()
1314 else newt -= seconds; in localsub()
1526 register int_fast32_t seconds; in timesub() local
1528 seconds = tdays * SECSPERDAY; in timesub()
[all …]
/bionic/libc/dns/resolv/
Dres_send.c1055 int resplen, seconds, n, s; in send_dg() local
1136 seconds = get_timeout(statp, ns); in send_dg()
1138 timeout = evConsTime((long)seconds, 0L); in send_dg()
/bionic/libc/kernel/uapi/linux/
Dvideodev2.h392 __u8 seconds; member