Home
last modified time | relevance | path

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

/system/core/libutils/
DLooper.cpp173 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollOnce() argument
188 if (outFd != nullptr) *outFd = fd; in pollOnce()
199 if (outFd != nullptr) *outFd = 0; in pollOnce()
367 int Looper::pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollAll() argument
371 result = pollOnce(timeoutMillis, outFd, outEvents, outData); in pollAll()
379 int result = pollOnce(timeoutMillis, outFd, outEvents, outData); in pollAll()
/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
333 if (outFd == STDOUT_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
353 if (outFd == STDOUT_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()
386 if (outFd == STDOUT_FILENO) { in copy_to_file()
390 adb_write(outFd, buf.data(), len); in copy_to_file()
395 stdinout_raw_epilogue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
[all …]
Dcommandline.h99 void copy_to_file(int inFd, int outFd);
/system/core/libutils/include/utils/
DLooper.h265 int pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
275 int pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);