Home
last modified time | relevance | path

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

/system/core/adb/client/
Dcommandline.cpp321 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()
[all …]
Dcommandline.h99 void copy_to_file(int inFd, int outFd);