Home
last modified time | relevance | path

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

/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
347 old_stdout_mode = _setmode(STDOUT_FILENO, _O_BINARY); in stdinout_raw_prologue()
348 if (old_stdout_mode == -1) { 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
367 if (_setmode(STDOUT_FILENO, old_stdout_mode) == -1) { in stdinout_raw_epilogue()
380 int old_stdout_mode = -1; in copy_to_file() local
384 stdinout_raw_prologue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
410 stdinout_raw_epilogue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
1218 int old_stdout_mode = -1; in write_zeros() local
1223 stdinout_raw_prologue(-1, fd.get(), old_stdin_mode, old_stdout_mode); in write_zeros()
[all …]