Home
last modified time | relevance | path

Searched refs:outFd (Results 1 – 4 of 4) sorted by relevance

/system/core/libutils/
DLooper.cpp175 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollOnce() argument
190 if (outFd != nullptr) *outFd = fd; in pollOnce()
201 if (outFd != nullptr) *outFd = 0; in pollOnce()
369 int Looper::pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollAll() argument
373 result = pollOnce(timeoutMillis, outFd, outEvents, outData); in pollAll()
381 int result = pollOnce(timeoutMillis, outFd, outEvents, outData); in pollAll()
/system/core/libutils/include/utils/
DLooper.h267 int pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
277 int pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
/system/core/adb/client/
Dcommandline.cpp334 static void stdinout_raw_prologue(int inFd, int outFd, int& old_stdin_mode, int& old_stdout_mode) { in stdinout_raw_prologue() argument
346 if (outFd == STDOUT_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
366 if (outFd == STDOUT_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()
401 if (outFd == STDOUT_FILENO) { in copy_to_file()
405 adb_write(outFd, buf.data(), len); in copy_to_file()
410 stdinout_raw_epilogue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
[all …]
Dcommandline.h103 bool copy_to_file(int inFd, int outFd);