Home
last modified time | relevance | path

Searched refs:fdin (Results 1 – 7 of 7) sorted by relevance

/external/openssh/
Dserverloop.c93 static int fdin; /* Descriptor for stdin (for writing) */ variable
333 if (fdin != -1 && buffer_len(&stdin_buffer) > 0) in wait_until_can_do_something()
334 FD_SET(fdin, *writesetp); in wait_until_can_do_something()
473 if (!compat20 && fdin != -1 && FD_ISSET(fdin, writeset)) { in process_output()
476 len = write(fdin, data, dlen); in process_output()
481 if (fdin != fdout) in process_output()
482 close(fdin); in process_output()
484 shutdown(fdin, SHUT_WR); /* We will no longer send. */ in process_output()
485 fdin = -1; in process_output()
489 tcgetattr(fdin, &tio) == 0 && in process_output()
[all …]
Dscp.c121 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
290 *fdin = pout[0]; in do_cmd()
303 do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout) in do_cmd2() argument
317 dup2(fdin, 0); in do_cmd2()
Dsession.c2273 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/linux-tools-perf/util/
Drun-command.c21 int fdin[2], fdout[2], fderr[2]; in start_command() local
30 if (pipe(fdin) < 0) { in start_command()
35 cmd->in = fdin[1]; in start_command()
44 close_pair(fdin); in start_command()
56 close_pair(fdin); in start_command()
74 dup2(fdin[0], 0); in start_command()
75 close_pair(fdin); in start_command()
124 close_pair(fdin); in start_command()
139 close(fdin[0]); in start_command()
/external/dropbear/libtomcrypt/demos/
Dencrypt.c105 FILE *fdin, *fdout; in main() local
127 fdin = fopen(infile,"rb"); in main()
128 if (fdin == NULL) { in main()
168 if (fread(IV,1,ivsize,fdin) != ivsize) { in main()
180 y = fread(inbuf,1,sizeof(inbuf),fdin); in main()
192 fclose(fdin); in main()
221 y = fread(inbuf,1,sizeof(inbuf),fdin); in main()
234 fclose(fdin); in main()
/external/dropbear/
Dscp.c169 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc) in do_cmd() argument
259 *fdin = pout[0]; in do_cmd()
/external/qemu/
Dqemu-char.c2510 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()
2519 snprintf(temp, sizeof temp, "%d", fdin); in qemu_chr_parse_compat()