Home
last modified time | relevance | path

Searched refs:_fileno (Results 1 – 25 of 130) sorted by relevance

123456

/external/tensorflow/tensorflow/tsl/platform/windows/
Dstacktrace_handler.cc105 (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/
Dplatform.h114 # 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/
Dplatform.h139 # 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/
Dio.h27 #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/
Dio.h27 #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/
Dio.h27 #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/
Dunix_events.py455 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/
Dtool.cc98 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/
Dtool.cc97 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/
Dtool.cc98 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/
Dxsum_os_specific.c55 # 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/
Dlaunch_win.cc183 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/
Dnx_dbg.h34 flock(nx_gzip_log->_fileno, LOCK_EX); \
42 flock(nx_gzip_log->_fileno, LOCK_UN); \
/external/python/cpython3/Lib/
Dasyncore.py233 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/
Dasyncore.py239 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/
Dunicode.h66 prev_mode = _setmode(_fileno(STREAM), _O_U8TEXT); \
69 (void)_setmode(_fileno(STREAM), prev_mode); \
/external/icu/icu4c/source/io/
Dufile.cpp34 #define _fileno(__F) ((__F)->_file) macro
35 #define fileno(__F) _fileno(__F)
59 #define fileno _fileno
/external/cronet/third_party/icu/source/io/
Dufile.cpp34 #define _fileno(__F) ((__F)->_file) macro
35 #define fileno(__F) _fileno(__F)
59 #define fileno _fileno
/external/libdivsufsort/examples/
Dmksary.c97 if(_setmode(_fileno(stdin), _O_BINARY) == -1) {
121 if(_setmode(_fileno(stdout), _O_BINARY) == -1) {
Dunbwt.c111 if(_setmode(_fileno(stdin), _O_BINARY) == -1) {
135 if(_setmode(_fileno(stdout), _O_BINARY) == -1) {
Dbwt.c118 if(_setmode(_fileno(stdin), _O_BINARY) == -1) {
143 if(_setmode(_fileno(stdout), _O_BINARY) == -1) {
/external/flac/src/share/grabbag/
Dfile.c186 _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/
Dstatus.h83 #define STDIN_FILENO _fileno(stdin)
84 #define STDOUT_FILENO _fileno(stdout)
85 #define STDERR_FILENO _fileno(stderr)
/external/arm-trusted-firmware/tools/fiptool/
Dwin_posix.h50 #define fileno(fileptr) _fileno(fileptr)
/external/libconfig/lib/
Dwincompat.h45 #define fileno _fileno

123456