Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dcommandline.cpp345 static void stdinout_raw_prologue(int inFd, int outFd, int& old_stdin_mode, int& old_stdout_mode) { in stdinout_raw_prologue() argument
349 old_stdin_mode = _setmode(STDIN_FILENO, _O_BINARY); in stdinout_raw_prologue()
350 if (old_stdin_mode == -1) { in stdinout_raw_prologue()
366 static void stdinout_raw_epilogue(int inFd, int outFd, int old_stdin_mode, int old_stdout_mode) { in stdinout_raw_epilogue() argument
370 if (_setmode(STDIN_FILENO, old_stdin_mode) == -1) { in stdinout_raw_epilogue()
390 int old_stdin_mode = -1; in copy_to_file() local
395 stdinout_raw_prologue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
421 stdinout_raw_epilogue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
1164 int old_stdin_mode = -1; in write_zeros() local
1170 stdinout_raw_prologue(-1, fd.get(), old_stdin_mode, old_stdout_mode); in write_zeros()
[all …]