Searched defs:seconds (Results 1 - 8 of 8) sorted by relevance
/system/core/toolbox/ |
H A D | sleep.c | 45 unsigned long seconds; local 52 seconds = strtoul(argv[1], &endptr, 10); 59 sleep((unsigned int)seconds);
|
H A D | uptime.c | 42 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 D | test_timer_create.c | 49 create(int seconds, int id) argument 68 ts.it_interval.tv_sec = seconds;
|
H A D | test_timer_create2.c | 49 create(int seconds, int id) argument 67 ts.it_interval.tv_sec = seconds;
|
H A D | test_timer_create3.c | 66 create(int seconds, int id) argument 84 ts.it_interval.tv_sec = seconds;
|
/system/core/include/utils/ |
H A D | Timers.h | 34 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 D | usb_windows.c | 376 void sleep(int seconds) argument 378 Sleep(seconds * 1000);
|
/system/core/sh/ |
H A D | eval.c | 1214 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