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

/system/core/toolbox/
H A Dsleep.c45 unsigned long seconds; local
52 seconds = strtoul(argv[1], &endptr, 10);
59 sleep((unsigned int)seconds);
H A Duptime.c42 int seconds, minutes, hours, days; local
44 seconds = time % 60;
52 sprintf(buffer, "%d days, %02d:%02d:%02d", days, hours, minutes, seconds);
54 sprintf(buffer, "%02d:%02d:%02d", hours, minutes, seconds);
/system/extras/tests/bionic/libc/other/
H A Dtest_timer_create.c49 create(int seconds, int id) argument
68 ts.it_interval.tv_sec = seconds;
H A Dtest_timer_create2.c49 create(int seconds, int id) argument
67 ts.it_interval.tv_sec = seconds;
H A Dtest_timer_create3.c66 create(int seconds, int id) argument
84 ts.it_interval.tv_sec = seconds;
/system/core/sh/
H A Deval.c1214 conv_time(clock_t ticks, char *seconds, size_t l) argument
1221 snprintf(seconds, l, "%.4f", (ticks - mins * tpm) * 60.0 / tpm );
1223 if (seconds[0] == '6' && seconds[1] == '0') {
1226 strlcpy(seconds, "0.0", l);
1231 i = strlen(seconds) - 1;
1232 for (; seconds[i] == '0' && seconds[i - 1] != '.'; i--)
1233 seconds[i] = 0;
/system/core/fastboot/
H A Dusb_windows.c376 void sleep(int seconds) argument
378 Sleep(seconds * 1000);
/system/core/libcutils/
H A Dtztime.c120 long tt_gmtoff; /* UTC offset in seconds */
702 ** Given a pointer into a time zone string, extract a number of seconds,
706 ** of seconds.
734 /* `SECSPERMIN' allows for leap seconds. */
1199 register time_t seconds; local
1204 seconds = sp->ats[0] - t;
1205 else seconds = t - sp->ats[sp->timecnt - 1];
1206 --seconds;
1207 tcycles = seconds / YEARSPERREPEAT / AVGSECSPERYEAR;
1212 seconds
1469 register long seconds; local
[all...]

Completed in 2538 milliseconds