/external/dropbear/libtomcrypt/demos/ |
D | encrypt.c | 105 FILE *fdin, *fdout; in main() local 133 fdout = fopen(outfile,"wb"); in main() 134 if (fdout == NULL) { in main() 187 if (fwrite(plaintext,1,y,fdout) != y) { in main() 193 fclose(fdout); in main() 210 if (fwrite(IV,1,ivsize,fdout) != ivsize) { in main() 228 if (fwrite(ciphertext,1,y,fdout) != y) { in main() 233 fclose(fdout); in main()
|
/external/linux-tools-perf/util/ |
D | run-command.c | 21 int fdin[2], fdout[2], fderr[2]; in start_command() local 42 if (pipe(fdout) < 0) { in start_command() 49 cmd->out = fdout[0]; in start_command() 60 close_pair(fdout); in start_command() 93 dup2(fdout[1], 1); in start_command() 94 close_pair(fdout); in start_command() 128 close_pair(fdout); in start_command() 144 close(fdout[1]); in start_command()
|
/external/openssh/ |
D | serverloop.c | 94 static int fdout; /* Descriptor for stdout (for reading); variable 325 FD_SET(fdout, *readsetp); in wait_until_can_do_something() 374 FD_SET(fdout, *readsetp); in wait_until_can_do_something() 423 if (!fdout_eof && FD_ISSET(fdout, readset)) { in process_input() 425 len = read(fdout, buf, sizeof(buf)); in process_input() 432 } else if ((!isatty(fdout) && len <= 0) || in process_input() 433 (isatty(fdout) && (len < 0 || (len == 0 && errno != 0)))) { in process_input() 481 if (fdin != fdout) in process_output() 579 fdout = fdout_arg; in server_loop() 584 set_nonblock(fdout); in server_loop() [all …]
|
D | scp.c | 121 int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout); 122 int do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout); 229 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout) in do_cmd() argument 288 *fdout = pin[1]; in do_cmd() 303 do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout) in do_cmd2() argument 318 dup2(fdout, 1); in do_cmd2()
|
D | session.c | 645 int fdout, ptyfd, ttyfd, ptymaster; in do_exec_pty() local 660 if ((fdout = dup(ptyfd)) < 0) { in do_exec_pty() 671 close(fdout); in do_exec_pty() 679 close(fdout); in do_exec_pty() 687 close(fdout); in do_exec_pty() 750 session_set_fds(s, ptyfd, fdout, -1, 1, 1); in do_exec_pty() 752 server_loop(pid, ptyfd, fdout, -1); in do_exec_pty() 2273 session_set_fds(Session *s, int fdin, int fdout, int fderr, int ignore_fderr, in session_set_fds() argument 2285 fdout, fdin, fderr, in session_set_fds()
|
/external/dropbear/ |
D | scp.c | 169 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc) in do_cmd() argument 257 *fdout = pin[1]; in do_cmd()
|
/external/qemu/ |
D | qemu-char.c | 2510 int fdin, fdout; in qemu_chr_parse_compat() local 2513 if (sscanf(p, "%d,%d", &fdin, &fdout) != 2) { in qemu_chr_parse_compat() 2516 if (fdin < 0 || fdout < 0) { in qemu_chr_parse_compat() 2521 snprintf(temp, sizeof temp, "%d", fdout); in qemu_chr_parse_compat()
|