Lines Matching refs:inFd
321 static void stdinout_raw_prologue(int inFd, int outFd, int& old_stdin_mode, int& old_stdout_mode) { in stdinout_raw_prologue() argument
322 if (inFd == STDIN_FILENO) { in stdinout_raw_prologue()
342 static void stdinout_raw_epilogue(int inFd, int outFd, int old_stdin_mode, int old_stdout_mode) { in stdinout_raw_epilogue() argument
343 if (inFd == STDIN_FILENO) { in stdinout_raw_epilogue()
361 void copy_to_file(int inFd, int outFd) { in copy_to_file() argument
368 D("copy_to_file(%d -> %d)", inFd, outFd); in copy_to_file()
370 stdinout_raw_prologue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
373 if (inFd == STDIN_FILENO) { in copy_to_file()
374 len = unix_read(inFd, buf.data(), buf.size()); in copy_to_file()
376 len = adb_read(inFd, buf.data(), buf.size()); in copy_to_file()
395 stdinout_raw_epilogue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()