Home
last modified time | relevance | path

Searched refs:inFd (Results 1 – 2 of 2) sorted by relevance

/system/core/adb/client/
Dcommandline.h103 bool copy_to_file(int inFd, int outFd);
Dcommandline.cpp334 static void stdinout_raw_prologue(int inFd, int outFd, int& old_stdin_mode, int& old_stdout_mode) { in stdinout_raw_prologue() argument
335 if (inFd == STDIN_FILENO) { in stdinout_raw_prologue()
355 static void stdinout_raw_epilogue(int inFd, int outFd, int old_stdin_mode, int old_stdout_mode) { in stdinout_raw_epilogue() argument
356 if (inFd == STDIN_FILENO) { in stdinout_raw_epilogue()
374 bool copy_to_file(int inFd, int outFd) { in copy_to_file() argument
382 D("copy_to_file(%d -> %d)", inFd, outFd); in copy_to_file()
384 stdinout_raw_prologue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
387 if (inFd == STDIN_FILENO) { in copy_to_file()
388 len = unix_read(inFd, buf.data(), buf.size()); in copy_to_file()
390 len = adb_read(inFd, buf.data(), buf.size()); in copy_to_file()
[all …]