/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | file_metadata_stream.cpp | 211 HandleFileError("Check EOF", "", fileno(fp_), -1, -1); in IsEof() 341 int fileDescriptor = fileno(fp_); in GetAddr() 390 HandleFileError("Flush file", filePath_, fileno(fp_), -1, -1); in Flush() 399 int fileDescriptor = fileno(fp_); in TruncateFile() 438 HandleFileError("Write file", filePath_, fileno(fp_), bytesWritten, bytesRead); in ReadFromSourceAndWriteToFile()
|
/third_party/python/Lib/asyncio/ |
H A D | proactor_events.py | 80 info.append(f'fd={self._sock.fileno()}') 164 if hasattr(self._sock, 'shutdown') and self._sock.fileno() != -1: 642 signal.set_wakeup_fd(self._csock.fileno()) 733 fileno = file.fileno() 737 fsize = os.fstat(fileno).st_size 862 if sock.fileno() != -1: 875 self._accept_futures[sock.fileno()] = f 890 future = self._accept_futures.pop(sock.fileno(), None)
|
/third_party/lz4/programs/ |
H A D | platform.h | 107 * Detect if isatty() and fileno() are available 111 # define IS_CONSOLE(stdStream) isatty(fileno(stdStream)) 141 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/third_party/musl/libc-test/src/functional/ |
H A D | fwscanf.c | 22 if (write(fileno(f), data, n) != n) { in writetemp() 27 if (lseek(fileno(f), 0, SEEK_SET) != 0) { in writetemp()
|
/third_party/skia/third_party/externals/brotli/python/ |
H A D | bro.py | 34 stdio = os.fdopen(stdio.fileno(), mode, 0) 38 msvcrt.setmode(stdio.fileno(), os.O_BINARY)
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | fileno.c | 4 int fileno(FILE *f) in fileno() function
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
H A D | fileno.c | 4 int fileno(FILE *f) in fileno() function
|
/third_party/curl/src/ |
H A D | tool_binmode.c | 46 (void)setmode(fileno(stream), O_BINARY); in set_binmode()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
H A D | DriverIncludes.h | 40 #undef fileno /* we redefine this in vm_basic_defs.h */ macro
|
/third_party/musl/porting/linux/user/src/stdio/ |
H A D | fileno.c | 14 int fileno(FILE *f) in fileno() function
|
/third_party/musl/src/stdio/ |
H A D | fileno.c | 14 int fileno(FILE *f) in fileno() function
|
/third_party/littlefs/scripts/ |
H A D | changeprefix.py | 31 return os.fdopen(os.dup(sys.stdin.fileno()), mode, buffering) 33 return os.fdopen(os.dup(sys.stdout.fileno()), mode, buffering)
|
H A D | tailpipe.py | 26 return os.fdopen(os.dup(sys.stdin.fileno()), mode, buffering) 28 return os.fdopen(os.dup(sys.stdout.fileno()), mode, buffering)
|
/third_party/protobuf/conformance/ |
H A D | conformance_python.py | 47 sys.stdout = os.fdopen(sys.stdout.fileno(), 'wb', 0) 48 sys.stdin = os.fdopen(sys.stdin.fileno(), 'rb', 0)
|
/third_party/python/Lib/test/libregrtest/ |
H A D | setup.py | 23 stderr_fd = sys.__stderr__.fileno() 119 fd = stdout.fileno()
|
/third_party/python/Lib/multiprocessing/ |
H A D | forkserver.py | 147 fds_to_pass = [listener.fileno(), alive_r] 148 cmd %= (listener.fileno(), alive_r, self._preload_modules, 207 with socket.socket(socket.AF_UNIX, fileno=listener_fd) as listener, \
|
/third_party/skia/third_party/externals/libpng/contrib/pngminus/ |
H A D | png2pnm.c | 116 setmode (fileno (stdin), O_BINARY); in main() 118 setmode (fileno (stdout), O_BINARY); in main() 264 setmode (fileno (pnm_file), O_BINARY); in png2pnm()
|
/third_party/skia/third_party/externals/icu/source/io/ |
H A D | ufile.cpp | 25 // g++, fileno isn't defined if __STRICT_ANSI__ is defined. 47 #if U_PLATFORM_USES_ONLY_WIN32_API && !defined(fileno) 49 #define fileno _fileno macro 70 result->fFileno = fileno(f); in finit_owner()
|
/third_party/python/Objects/ |
H A D | fileobject.c | 171 object's fileno() method is called if it exists; the method must return 185 else if (_PyObject_LookupAttr(o, &_Py_ID(fileno), &meth) < 0) { in PyObject_AsFileDescriptor() 200 "fileno() returned a non-integer"); in PyObject_AsFileDescriptor() 207 "argument must be an int, or have a fileno() method."); in PyObject_AsFileDescriptor() 297 if (fd != fileno(stdout) && fd != fileno(stderr)) { in PyFile_NewStdPrinter() 399 {"fileno", (PyCFunction)stdprinter_fileno, METH_NOARGS, ""},
|
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | foomaticrip.c | 75 if (dup2(fileno(logh), fileno(stderr)) < 0) { in redirect_log_to_stderr() 678 if (dup2(fileno(out), fileno(stdin)) < 0) in print_file() 1170 dup2(fileno(fh), 0); in main()
|
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
H A D | wpng.c | 309 setmode(fileno(stdin), O_BINARY); in main() 310 setmode(fileno(stdout), O_BINARY); in main() 312 if ((wpng_info.infile = fdopen(fileno(stdin), "rb")) == NULL) { in main() 317 if ((wpng_info.outfile = fdopen(fileno(stdout), "wb")) == NULL) { in main() 440 (keybd = fdopen(fileno(stderr), "r")) != NULL && in main()
|
/third_party/python/Lib/test/ |
H A D | test_fileinput.py | 224 self.assertEqual(fi.fileno(), -1) 226 self.assertNotEqual(fi.fileno(), -1) 228 self.assertEqual(fi.fileno(), -1) 230 self.assertEqual(fi.fileno(), -1) 430 def fileno(self): member in FileInputTests.test_fileno_when_ValueError_raised.FilenoRaisesValueError 439 result = fi.fileno() 445 "_file.fileno() was not invoked") 447 self.assertEqual(result, -1, "fileno() should return -1") 535 def fileno(self): member in MockFileInput 536 self.invocation_counts["fileno"] [all...] |
/third_party/node/deps/v8/tools/ |
H A D | stats-viewer.py | 121 size = os.fstat(data_file.fileno()).st_size 122 fileno = data_file.fileno() 123 self.shared_mmap = mmap.mmap(fileno, size, access=mmap.ACCESS_READ)
|
/third_party/python/Lib/ |
H A D | socketserver.py | 163 - fileno() -> int # for selector 403 - fileno() -> int # for selector 491 def fileno(self): member in TCPServer 497 return self.socket.fileno() 838 def fileno(self): member in _SocketWriter 839 return self._sock.fileno()
|
H A D | asyncore.py | 293 self._fileno = sock.fileno() 628 def fileno(self): member in .file_wrapper 637 fd = fd.fileno() 646 self._fileno = self.socket.fileno()
|