/external/tensorflow/tensorflow/tsl/platform/windows/ |
D | stacktrace_handler.cc | 105 (void)_write(_fileno(stderr), begin_msg, strlen(begin_msg)); in SafePrintStackTracePointers() 114 (void)_write(_fileno(stderr), buffer, strlen(buffer)); in SafePrintStackTracePointers() 118 (void)_write(_fileno(stderr), end_msg, strlen(end_msg)); in SafePrintStackTracePointers() 133 (void)write(_fileno(stderr), buf, strlen(buf)); in StacktraceHandler() 143 (void)write(_fileno(stderr), stacktrace.c_str(), stacktrace.length()); in StacktraceHandler() 171 (void)write(_fileno(stderr), buf, strlen(buf)); in InstallStacktraceHandler() 178 (void)write(_fileno(stderr), buf, strlen(buf)); in InstallStacktraceHandler()
|
/external/lz4/programs/ |
D | platform.h | 114 # define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream)) 122 …return _isatty(_fileno(stdStream)) && GetConsoleMode((HANDLE)_get_osfhandle(_fileno(stdStream)), &… 138 # define SET_BINARY_MODE(file) { int unused=_setmode(_fileno(file), _O_BINARY); (void)unused; } 139 # define SET_SPARSE_FILE_MODE(file) { DWORD dw; DeviceIoControl((HANDLE) _get_osfhandle(_fileno(…
|
/external/zstd/programs/ |
D | platform.h | 139 # define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream)) 146 …return _isatty(_fileno(stdStream)) && GetConsoleMode((HANDLE)_get_osfhandle(_fileno(stdStream)), &… 162 # define SET_BINARY_MODE(file) { int const unused=_setmode(_fileno(file), _O_BINARY); (void)unus… 163 # define SET_SPARSE_FILE_MODE(file) { DWORD dw; DeviceIoControl((HANDLE) _get_osfhandle(_fileno(…
|
/external/swiftshader/third_party/SPIRV-Tools/tools/ |
D | io.h | 27 #define SET_STDIN_TO_BINARY_MODE() _setmode(_fileno(stdin), O_BINARY); 28 #define SET_STDIN_TO_TEXT_MODE() _setmode(_fileno(stdin), O_TEXT); 29 #define SET_STDOUT_TO_BINARY_MODE() _setmode(_fileno(stdout), O_BINARY); 30 #define SET_STDOUT_TO_TEXT_MODE() _setmode(_fileno(stdout), O_TEXT); 31 #define SET_STDOUT_MODE(mode) _setmode(_fileno(stdout), mode);
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/ |
D | io.h | 27 #define SET_STDIN_TO_BINARY_MODE() _setmode(_fileno(stdin), O_BINARY); 28 #define SET_STDIN_TO_TEXT_MODE() _setmode(_fileno(stdin), O_TEXT); 29 #define SET_STDOUT_TO_BINARY_MODE() _setmode(_fileno(stdout), O_BINARY); 30 #define SET_STDOUT_TO_TEXT_MODE() _setmode(_fileno(stdout), O_TEXT); 31 #define SET_STDOUT_MODE(mode) _setmode(_fileno(stdout), mode);
|
/external/deqp-deps/SPIRV-Tools/tools/ |
D | io.h | 27 #define SET_STDIN_TO_BINARY_MODE() _setmode(_fileno(stdin), O_BINARY); 28 #define SET_STDIN_TO_TEXT_MODE() _setmode(_fileno(stdin), O_TEXT); 29 #define SET_STDOUT_TO_BINARY_MODE() _setmode(_fileno(stdout), O_BINARY); 30 #define SET_STDOUT_TO_TEXT_MODE() _setmode(_fileno(stdout), O_TEXT); 31 #define SET_STDOUT_MODE(mode) _setmode(_fileno(stdout), mode);
|
/external/python/cpython3/Lib/asyncio/ |
D | unix_events.py | 455 self._fileno = pipe.fileno() 460 mode = os.fstat(self._fileno).st_mode 465 self._fileno = None 469 os.set_blocking(self._fileno, False) 474 self._fileno, self._read_ready) 490 selector, self._fileno, selectors.EVENT_READ) 503 data = os.read(self._fileno, self.max_size) 515 self._loop._remove_reader(self._fileno) 523 self._loop._remove_reader(self._fileno) 531 self._loop._add_reader(self._fileno, self._read_ready) [all …]
|
/external/boringssl/src/tool/ |
D | tool.cc | 98 if (_setmode(_fileno(stdin), _O_BINARY) == -1) { in main() 102 if (_setmode(_fileno(stdout), _O_BINARY) == -1) { in main() 106 if (_setmode(_fileno(stderr), _O_BINARY) == -1) { in main()
|
/external/rust/crates/quiche/deps/boringssl/src/tool/ |
D | tool.cc | 97 if (_setmode(_fileno(stdin), _O_BINARY) == -1) { in main() 101 if (_setmode(_fileno(stdout), _O_BINARY) == -1) { in main() 105 if (_setmode(_fileno(stderr), _O_BINARY) == -1) { in main()
|
/external/cronet/third_party/boringssl/src/tool/ |
D | tool.cc | 98 if (_setmode(_fileno(stdin), _O_BINARY) == -1) { in main() 102 if (_setmode(_fileno(stdout), _O_BINARY) == -1) { in main() 106 if (_setmode(_fileno(stderr), _O_BINARY) == -1) { in main()
|
/external/rust/crates/grpcio-sys/grpc/third_party/xxhash/cli/ |
D | xsum_os_specific.c | 55 # define XSUM_IS_CONSOLE(stdStream) _isatty(_fileno(stdStream)) 63 …return _isatty(_fileno(stdStream)) && GetConsoleMode((HANDLE)_get_osfhandle(_fileno(stdStream)), &… in XSUM_IS_CONSOLE() 75 # define XSUM_SET_BINARY_MODE(file) { int const unused=_setmode(_fileno(file), _O_BINARY); (void… 286 int fileNb = _fileno(stream); in XSUM_vfprintf()
|
/external/cronet/base/process/ |
D | launch_win.cc | 183 if (_fileno(stdout) >= 0 || _fileno(stderr) >= 0) { in RouteStdioToConsole() 188 intptr_t stdout_handle = _get_osfhandle(_fileno(stdout)); in RouteStdioToConsole() 189 intptr_t stderr_handle = _get_osfhandle(_fileno(stderr)); in RouteStdioToConsole() 225 _dup2(_fileno(stdout), 1); in RouteStdioToConsole() 229 _dup2(_fileno(stderr), 2); in RouteStdioToConsole()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/nx-gzip/include/ |
D | nx_dbg.h | 34 flock(nx_gzip_log->_fileno, LOCK_EX); \ 42 flock(nx_gzip_log->_fileno, LOCK_UN); \
|
/external/python/cpython3/Lib/ |
D | asyncore.py | 233 self._fileno = None 276 map[self._fileno] = self 279 fd = self._fileno 285 self._fileno = None 295 self._fileno = sock.fileno() 648 self._fileno = self.socket.fileno()
|
/external/python/cpython2/Lib/ |
D | asyncore.py | 239 self._fileno = None 284 map[self._fileno] = self 287 fd = self._fileno 293 self._fileno = None 304 self._fileno = sock.fileno() 662 self._fileno = self.socket.fileno()
|
/external/webp/examples/ |
D | unicode.h | 66 prev_mode = _setmode(_fileno(STREAM), _O_U8TEXT); \ 69 (void)_setmode(_fileno(STREAM), prev_mode); \
|
/external/icu/icu4c/source/io/ |
D | ufile.cpp | 34 #define _fileno(__F) ((__F)->_file) macro 35 #define fileno(__F) _fileno(__F) 59 #define fileno _fileno
|
/external/cronet/third_party/icu/source/io/ |
D | ufile.cpp | 34 #define _fileno(__F) ((__F)->_file) macro 35 #define fileno(__F) _fileno(__F) 59 #define fileno _fileno
|
/external/libdivsufsort/examples/ |
D | mksary.c | 97 if(_setmode(_fileno(stdin), _O_BINARY) == -1) { 121 if(_setmode(_fileno(stdout), _O_BINARY) == -1) {
|
D | unbwt.c | 111 if(_setmode(_fileno(stdin), _O_BINARY) == -1) { 135 if(_setmode(_fileno(stdout), _O_BINARY) == -1) {
|
D | bwt.c | 118 if(_setmode(_fileno(stdin), _O_BINARY) == -1) { 143 if(_setmode(_fileno(stdout), _O_BINARY) == -1) {
|
/external/flac/src/share/grabbag/ |
D | file.c | 186 _setmode(_fileno(stdin), _O_BINARY); in grabbag__file_get_binary_stdin() 201 _setmode(_fileno(stdout), _O_BINARY); in grabbag__file_get_binary_stdout()
|
/external/bc/include/ |
D | status.h | 83 #define STDIN_FILENO _fileno(stdin) 84 #define STDOUT_FILENO _fileno(stdout) 85 #define STDERR_FILENO _fileno(stderr)
|
/external/arm-trusted-firmware/tools/fiptool/ |
D | win_posix.h | 50 #define fileno(fileptr) _fileno(fileptr)
|
/external/libconfig/lib/ |
D | wincompat.h | 45 #define fileno _fileno
|