Home
last modified time | relevance | path

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

123

/external/python/cpython3/Lib/asyncio/
Dunix_events.py431 self._fileno = pipe.fileno()
435 mode = os.fstat(self._fileno).st_mode
440 self._fileno = None
444 os.set_blocking(self._fileno, False)
449 self._fileno, self._read_ready)
465 selector, self._fileno, selectors.EVENT_READ)
478 data = os.read(self._fileno, self.max_size)
490 self._loop._remove_reader(self._fileno)
495 self._loop._remove_reader(self._fileno)
498 self._loop._add_reader(self._fileno, self._read_ready)
[all …]
/external/lz4/programs/
Dplatform.h113 # define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream))
121 …return _isatty(_fileno(stdStream)) && GetConsoleMode((HANDLE)_get_osfhandle(_fileno(stdStream)), &…
137 # define SET_BINARY_MODE(file) { int unused=_setmode(_fileno(file), _O_BINARY); (void)unused; }
138 # define SET_SPARSE_FILE_MODE(file) { DWORD dw; DeviceIoControl((HANDLE) _get_osfhandle(_fileno(…
/external/boringssl/src/tool/
Dtool.cc95 if (_setmode(_fileno(stdin), _O_BINARY) == -1) { in main()
99 if (_setmode(_fileno(stdout), _O_BINARY) == -1) { in main()
103 if (_setmode(_fileno(stderr), _O_BINARY) == -1) { in main()
/external/python/cpython3/Lib/
Dasyncore.py226 self._fileno = None
271 map[self._fileno] = self
274 fd = self._fileno
280 self._fileno = None
290 self._fileno = sock.fileno()
643 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/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) {
Dsuftest.c97 if(_setmode(_fileno(stdin), _O_BINARY) == -1) {
/external/libchrome/mojo/core/test/
Dtest_utils_win.cc23 reinterpret_cast<HANDLE>(_get_osfhandle(_fileno(fp.get()))), in PlatformHandleFromFILE()
/external/skqp/src/ports/
DSkOSFile_win.cpp41 int fileno = _fileno((FILE*)f); in sk_ino()
119 return _fileno((FILE*)f); in sk_fileno()
/external/skia/src/ports/
DSkOSFile_win.cpp41 int fileno = _fileno((FILE*)f); in sk_ino()
119 return _fileno((FILE*)f); in sk_fileno()
/external/skqp/tools/
Dskp_parser.cpp71 (void)_setmode(_fileno(stdout), _O_BINARY); in main()
/external/skia/tools/
Dskp_parser.cpp71 (void)_setmode(_fileno(stdout), _O_BINARY); in main()
/external/skia/third_party/icu/
DSkLoadICU.cpp31 int fileno = _fileno(stream.get()); in win_mmap()
/external/clang/tools/c-arcmt-test/
Dc-arcmt-test.c117 _setmode( _fileno(stdout), _O_BINARY ); in main()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DProgram.inc391 int result = _setmode( _fileno(stdin), _O_BINARY );
396 int result = _setmode( _fileno(stdout), _O_BINARY );
401 int result = _setmode( _fileno(stderr), _O_BINARY );
/external/libcxx/utils/google-benchmark/src/
Dcolorprint.cc162 return 0 != _isatty(_fileno(stdout)); in IsColorTerminal()
/external/libvpx/libvpx/
Dtools_common.h50 #define fileno _fileno
Dtools_common.c33 #define _fileno fileno macro
52 _setmode(_fileno(stream), _O_BINARY); in set_binary_mode()
/external/compiler-rt/lib/profile/
DInstrProfilingPort.h21 #define COMPILER_RT_FTRUNCATE(f,l) _chsize(_fileno(f),l)
/external/libaom/libaom/common/
Dtools_common.h54 #define fileno _fileno
/external/google-benchmark/src/
Dcolorprint.cc162 return 0 != _isatty(_fileno(stdout)); in IsColorTerminal()
/external/libpcap/pcap/
Dpcap.h430 pcap_hopen_offline_with_tstamp_precision(_get_osfhandle(_fileno(f)), p, b)
432 pcap_hopen_offline(_get_osfhandle(_fileno(f)), b)
/external/catch2/include/internal/
Dcatch_output_redirect.cpp22 #define fileno _fileno

123