Home
last modified time | relevance | path

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

/system/core/toolbox/
Dsleep.c45 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()
Duptime.c42 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/
Dtest_timer_create.c49 create(int seconds, int id) in create() argument
68 ts.it_interval.tv_sec = seconds; in create()
Dtest_timer_create2.c49 create(int seconds, int id) in create() argument
67 ts.it_interval.tv_sec = seconds; in create()
Dtest_timer_create3.c66 create(int seconds, int id) in create() argument
84 ts.it_interval.tv_sec = seconds; in create()
/system/core/sh/
Deval.c1214 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/
DREADME.BOOTCHART11 activated for <timeout> seconds.
18 Where the value of $TIMEOUT corresponds to the wanted bootcharted period in seconds;
Dreadme.txt239 currently defaults to five seconds.
/system/core/fastboot/
Dusb_windows.c376 void sleep(int seconds) in sleep() argument
378 Sleep(seconds * 1000); in sleep()