Searched refs:seconds (Results 1 – 9 of 9) sorted by relevance
/system/core/toolbox/ |
D | sleep.c | 45 unsigned long seconds; in sleep_main() local 52 seconds = strtoul(argv[1], &endptr, 10); in sleep_main() 59 sleep((unsigned int)seconds); in sleep_main()
|
D | uptime.c | 42 int seconds, minutes, hours, days; in format_time() local 44 seconds = time % 60; in format_time() 52 sprintf(buffer, "%d days, %02d:%02d:%02d", days, hours, minutes, seconds); in format_time() 54 sprintf(buffer, "%02d:%02d:%02d", hours, minutes, seconds); in format_time()
|
/system/extras/tests/bionic/libc/other/ |
D | test_timer_create.c | 49 create(int seconds, int id) in create() argument 68 ts.it_interval.tv_sec = seconds; in create()
|
D | test_timer_create2.c | 49 create(int seconds, int id) in create() argument 67 ts.it_interval.tv_sec = seconds; in create()
|
D | test_timer_create3.c | 66 create(int seconds, int id) in create() argument 84 ts.it_interval.tv_sec = seconds; in create()
|
/system/core/sh/ |
D | eval.c | 1214 conv_time(clock_t ticks, char *seconds, size_t l) in conv_time() argument 1221 snprintf(seconds, l, "%.4f", (ticks - mins * tpm) * 60.0 / tpm ); in conv_time() 1223 if (seconds[0] == '6' && seconds[1] == '0') { in conv_time() 1226 strlcpy(seconds, "0.0", l); in conv_time() 1231 i = strlen(seconds) - 1; in conv_time() 1232 for (; seconds[i] == '0' && seconds[i - 1] != '.'; i--) in conv_time() 1233 seconds[i] = 0; in conv_time()
|
/system/core/init/ |
D | README.BOOTCHART | 11 activated for <timeout> seconds. 18 Where the value of $TIMEOUT corresponds to the wanted bootcharted period in seconds;
|
D | readme.txt | 239 currently defaults to five seconds.
|
/system/core/fastboot/ |
D | usb_windows.c | 376 void sleep(int seconds) in sleep() argument 378 Sleep(seconds * 1000); in sleep()
|