/external/dropbear/libtomcrypt/demos/ |
encrypt.c | 105 FILE *fdin, *fdout; local 133 fdout = fopen(outfile,"wb"); 134 if (fdout == NULL) { 187 if (fwrite(plaintext,1,y,fdout) != y) { 193 fclose(fdout); 210 if (fwrite(IV,1,ivsize,fdout) != ivsize) { 228 if (fwrite(ciphertext,1,y,fdout) != y) { 233 fclose(fdout);
|
/external/linux-tools-perf/util/ |
run-command.c | 21 int fdin[2], fdout[2], fderr[2]; local 42 if (pipe(fdout) < 0) { 49 cmd->out = fdout[0]; 60 close_pair(fdout); 93 dup2(fdout[1], 1); 94 close_pair(fdout); 128 close_pair(fdout); 144 close(fdout[1]);
|
/external/openssh/ |
serverloop.c | 94 static int fdout; /* Descriptor for stdout (for reading); variable 102 static int fdout_eof = 0; /* EOF encountered reading from fdout. */ 325 FD_SET(fdout, *readsetp); 374 FD_SET(fdout, *readsetp); 423 if (!fdout_eof && FD_ISSET(fdout, readset)) { 425 len = read(fdout, buf, sizeof(buf)); 432 } else if ((!isatty(fdout) && len <= 0) || 433 (isatty(fdout) && (len < 0 || (len == 0 && errno != 0)))) { 481 if (fdin != fdout) 579 fdout = fdout_arg [all...] |
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) 288 *fdout = pin[1]; 303 do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout) 318 dup2(fdout, 1);
|
session.c | 623 * handle the case that fdin and fdout are the same. 645 int fdout, ptyfd, ttyfd, ptymaster; local 660 if ((fdout = dup(ptyfd)) < 0) { 671 close(fdout); 679 close(fdout); 687 close(fdout); 750 session_set_fds(s, ptyfd, fdout, -1, 1, 1); 752 server_loop(pid, ptyfd, fdout, -1); 753 /* server_loop _has_ closed ptyfd and fdout. */ [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
util.py | 107 fdout, ccout = tempfile.mkstemp() 108 os.close(fdout)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
util.py | 107 fdout, ccout = tempfile.mkstemp() 108 os.close(fdout)
|
/system/core/adb/ |
sysdeps_win32.c | 865 int fdout; member in struct:BipBufferRec_ 886 buffer->fdout = 0; 909 BIPD(( "bip_buffer_done: %d->%d\n", bip->fdin, bip->fdout )); 923 BIPD(( "bip_buffer_write: enter %d->%d len %d\n", bip->fdin, bip->fdout, len )); 939 D( "bip_buffer_write: error %d->%d WaitForSingleObject returned %d, error %ld\n", bip->fdin, bip->fdout, ret, GetLastError() ); 949 BIPD(( "bip_buffer_write: exec %d->%d len %d\n", bip->fdin, bip->fdout, len )); 998 bip->fdin, bip->fdout, count, bip->a_start, bip->a_end, bip->b_end, bip->can_write, bip->can_read )); 1012 BIPD(( "bip_buffer_read: enter %d->%d len %d\n", bip->fdin, bip->fdout, len )); 1032 D( "bip_buffer_read: error %d->%d WaitForSingleObject returned %d, error %ld\n", bip->fdin, bip->fdout, ret, GetLastError()); 1043 BIPD(( "bip_buffer_read: exec %d->%d len %d\n", bip->fdin, bip->fdout, len )) [all...] |
/external/dropbear/ |
scp.c | 169 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc) 257 *fdout = pin[1];
|
/external/qemu/ |
qemu-char.c | 737 int fd_out = qemu_opt_get_number(opts, "fdout",-1); 2510 int fdin, fdout; local [all...] |