/busybox-1.35.0/libbb/ |
D | safe_poll.c | 14 int FAST_FUNC safe_poll(struct pollfd *ufds, nfds_t nfds, int timeout) in safe_poll() argument 17 int n = poll(ufds, nfds, timeout); in safe_poll() 21 if (timeout > 0) in safe_poll() 22 timeout--; in safe_poll()
|
D | bb_askpass.c | 16 char* FAST_FUNC bb_ask_noecho(int fd, int timeout, const char *prompt) in bb_ask_noecho() argument 52 if (timeout) { in bb_ask_noecho() 54 alarm(timeout); in bb_ask_noecho() 87 if (timeout) { in bb_ask_noecho()
|
D | correct_password.c | 98 int timeout, const char *prompt) in ask_and_check_password_extended() argument 109 plaintext = bb_ask_noecho(STDIN_FILENO, timeout, prompt); in ask_and_check_password_extended()
|
D | read_key.c | 12 int64_t FAST_FUNC read_key(int fd, char *buffer, int timeout) in read_key() argument 128 if (timeout >= -1) { in read_key() 129 if (safe_poll(&pfd, 1, timeout) == 0) { in read_key()
|
/busybox-1.35.0/miscutils/ |
D | rx.c | 60 static int read_byte(unsigned timeout) in read_byte() argument 65 alarm(timeout); in read_byte() 83 unsigned timeout = TIMEOUT_LONG; in receive() local 99 blockBegin = read_byte(timeout); in receive() 101 goto timeout; in receive() 126 timeout = TIMEOUT; in receive() 144 goto timeout; in receive() 149 goto timeout; in receive() 161 goto timeout; in receive() 167 goto timeout; in receive() [all …]
|
D | chat.c | 181 int timeout = DEFAULT_CHAT_TIMEOUT; in chat_main() local 293 timeout = atoi(arg) * 1000; in chat_main() 296 if (!timeout) in chat_main() 297 timeout = DEFAULT_CHAT_TIMEOUT; in chat_main() 368 && poll(&pfd, 1, timeout) > 0 in chat_main() 466 alarm(timeout); in chat_main()
|
D | microcom.c | 69 int timeout = -1; in microcom_main() local 74 &speed, &delay, &timeout in microcom_main() 140 while (!bb_got_signal && poll(pfd, nfd, timeout) > 0) { in microcom_main()
|
/busybox-1.35.0/coreutils/ |
D | timeout.c | 50 static NOINLINE int timeout_wait(int timeout, pid_t pid) in timeout_wait() argument 55 if (--timeout <= 0) in timeout_wait() 71 int timeout; in timeout_main() local 97 timeout = parse_duration_str(argv[optind++]); in timeout_main() 128 if (timeout_wait(timeout, parent) == EXIT_SUCCESS) in timeout_main()
|
/busybox-1.35.0/loginutils/ |
D | sulogin.c | 31 int timeout = 0; in sulogin_main() local 46 getopt32(argv, "t:+", &timeout); in sulogin_main() 65 r = ask_and_check_password_extended(pwd, timeout, in sulogin_main()
|
D | login.c | 146 int timeout; member 310 printf("\r\nLogin timed out after %u seconds\r\n", G.timeout); in alarm_handler() 353 G.timeout = xatoi_positive(getenv("LOGIN_TIMEOUT") ? : "60"); in login_main() 386 alarm(G.timeout); in login_main()
|
D | getty.c | 98 unsigned timeout; member 184 &G.login, &G.timeout in parse_args() 694 alarm(G.timeout); /* if 0, alarm is not set */ in getty_main()
|
/busybox-1.35.0/networking/ |
D | pscan.c | 73 unsigned timeout; in pscan_main() local 88 timeout = xatou_range(opt_timeout, 1, INT_MAX/1000 / 4) * 1000; in pscan_main() 90 rtt_4 = timeout; in pscan_main() 92 DMSG("min_rtt %u timeout %u", min_rtt, timeout); in pscan_main() 165 if (rtt_4 > timeout) in pscan_main() 166 rtt_4 = timeout; in pscan_main()
|
D | isrv.c | 33 int timeout; member 44 #define TIMEOUT (state->timeout) 275 int timeout, in isrv_run() argument 280 state->timeout = timeout; in isrv_run() 297 tv.tv_sec = timeout; in isrv_run() 321 if (timeout) { in isrv_run()
|
D | nbd-client.c | 67 unsigned timeout; in nbdclient_main() local 110 timeout = 0; in nbdclient_main() 125 timeout = xatou(optarg); in nbdclient_main() 246 if (timeout) { in nbdclient_main() 247 if (ioctl(nbd, NBD_SET_TIMEOUT, (unsigned long) timeout)) { in nbdclient_main()
|
D | isrv.h | 57 int timeout,
|
D | nc.c | 113 static void timeout(int signum UNUSED_PARAM) in timeout() function 191 signal(SIGALRM, timeout); in nc_main()
|
D | ftpd.c | 165 unsigned timeout; member 314 alarm(G.timeout); in timeout_handler() 1043 alarm(G.timeout); in cmdio_get_cmd_and_arg() 1187 G.timeout = 2 * 60; in ftpd_main() 1192 &G.timeout, &abs_timeout, IF_FEATURE_FTPD_AUTHENTICATION(&anon_opt,) in ftpd_main() 1199 &G.timeout, &abs_timeout, IF_FEATURE_FTPD_AUTHENTICATION(&anon_opt,) in ftpd_main() 1213 if (abs_timeout | G.timeout) { in ftpd_main() 1217 if (G.timeout > abs_timeout) in ftpd_main() 1218 G.timeout = abs_timeout; in ftpd_main()
|
/busybox-1.35.0/networking/udhcp/ |
D | d6_dhcpc.c | 1189 int timeout; /* must be signed */ in udhcpc6_main() local 1315 timeout = 0; in udhcpc6_main() 1340 if (timeout > 0) { in udhcpc6_main() 1343 if (timeout > INT_MAX/1000) in udhcpc6_main() 1344 timeout = INT_MAX/1000; in udhcpc6_main() 1345 log1("waiting %u seconds", timeout); in udhcpc6_main() 1347 retval = poll(pfds, 2, timeout * 1000); in udhcpc6_main() 1352 timeout -= diff; in udhcpc6_main() 1353 if (timeout < 0) in udhcpc6_main() 1354 timeout = 0; in udhcpc6_main() [all …]
|
D | dhcpc.c | 1224 int timeout; /* must be signed */ in udhcpc_main() local 1374 timeout = 0; in udhcpc_main() 1398 if (timeout > 0) { in udhcpc_main() 1401 if (timeout > INT_MAX/1000) in udhcpc_main() 1402 timeout = INT_MAX/1000; in udhcpc_main() 1403 log1("waiting %u seconds", timeout); in udhcpc_main() 1405 retval = poll(pfds, 2, timeout * 1000); in udhcpc_main() 1410 timeout -= diff; in udhcpc_main() 1411 if (timeout < 0) in udhcpc_main() 1412 timeout = 0; in udhcpc_main() [all …]
|
/busybox-1.35.0/examples/bootfloppy/ |
D | syslinux.cfg | 3 timeout 10
|
/busybox-1.35.0/mailutils/ |
D | mail.h | 12 unsigned timeout; member
|
D | mail.c | 95 if (G.timeout) in send_mail_command() 96 alarm(G.timeout); in send_mail_command()
|
D | popmaildir.c | 75 if (G.timeout) in pop3_checkr() 133 &G.timeout, NULL, NULL, NULL, &opt_nlines in popmaildir_main()
|
/busybox-1.35.0/shell/ |
D | shell_common.c | 175 int timeout; in shell_builtin_read() local 180 timeout = -1; in shell_builtin_read() 182 timeout = end_ms - (unsigned)monotonic_ms(); in shell_builtin_read() 187 if (timeout <= 0) { /* already late? */ in shell_builtin_read() 199 if (poll(pfd, 1, timeout) <= 0) { in shell_builtin_read()
|
/busybox-1.35.0/util-linux/ |
D | eject.c | 82 io_hdr.timeout = 2000; in eject_scsi()
|