Searched refs:inFd (Results 1 – 1 of 1) sorted by relevance
/system/core/adb/ |
D | commandline.cpp | 336 static void stdinout_raw_prologue(int inFd, int outFd, int& old_stdin_mode, int& old_stdout_mode) { in stdinout_raw_prologue() argument 337 if (inFd == STDIN_FILENO) { in stdinout_raw_prologue() 357 static void stdinout_raw_epilogue(int inFd, int outFd, int old_stdin_mode, int old_stdout_mode) { in stdinout_raw_epilogue() argument 358 if (inFd == STDIN_FILENO) { in stdinout_raw_epilogue() 376 static void copy_to_file(int inFd, int outFd) { in copy_to_file() argument 385 D("copy_to_file(%d -> %d)", inFd, outFd); in copy_to_file() 387 stdinout_raw_prologue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file() 390 if (inFd == STDIN_FILENO) { in copy_to_file() 391 len = unix_read(inFd, buf, BUFSIZE); in copy_to_file() 393 len = adb_read(inFd, buf, BUFSIZE); in copy_to_file() [all …]
|