Lines Matching refs:inFd
335 static void stdinout_raw_prologue(int inFd, int outFd, int& old_stdin_mode, int& old_stdout_mode) { in stdinout_raw_prologue() argument
336 if (inFd == STDIN_FILENO) { in stdinout_raw_prologue()
356 static void stdinout_raw_epilogue(int inFd, int outFd, int old_stdin_mode, int old_stdout_mode) { in stdinout_raw_epilogue() argument
357 if (inFd == STDIN_FILENO) { in stdinout_raw_epilogue()
375 bool copy_to_file(int inFd, int outFd) { in copy_to_file() argument
383 D("copy_to_file(%d -> %d)", inFd, outFd); in copy_to_file()
385 stdinout_raw_prologue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
388 if (inFd == STDIN_FILENO) { in copy_to_file()
389 len = unix_read(inFd, buf.data(), buf.size()); in copy_to_file()
391 len = adb_read(inFd, buf.data(), buf.size()); in copy_to_file()
411 stdinout_raw_epilogue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()