Searched defs: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/include/utils/
H A DTimers.h34 typedef int64_t nsecs_t; // nano-seconds
73 static inline nsecs_t seconds(nsecs_t v) { return s2ns(v); } function
/system/core/fastboot/
H A Dusb_windows.c376 void sleep(int seconds) argument
378 Sleep(seconds * 1000);
/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;

Completed in 1459 milliseconds