Home
last modified time | relevance | path

Searched refs:fileno (Results 51 - 75 of 410) sorted by relevance

12345678910>>...17

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dfile_metadata_stream.cpp211 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 Dproactor_events.py80 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 Dplatform.h107 * 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 Dfwscanf.c22 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 Dbro.py34 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 Dfileno.c4 int fileno(FILE *f) in fileno() function
/third_party/musl/porting/uniproton/kernel/src/stdio/
H A Dfileno.c4 int fileno(FILE *f) in fileno() function
/third_party/curl/src/
H A Dtool_binmode.c46 (void)setmode(fileno(stream), O_BINARY); in set_binmode()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DDriverIncludes.h40 #undef fileno /* we redefine this in vm_basic_defs.h */ macro
/third_party/musl/porting/linux/user/src/stdio/
H A Dfileno.c14 int fileno(FILE *f) in fileno() function
/third_party/musl/src/stdio/
H A Dfileno.c14 int fileno(FILE *f) in fileno() function
/third_party/littlefs/scripts/
H A Dchangeprefix.py31 return os.fdopen(os.dup(sys.stdin.fileno()), mode, buffering)
33 return os.fdopen(os.dup(sys.stdout.fileno()), mode, buffering)
H A Dtailpipe.py26 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 Dconformance_python.py47 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 Dsetup.py23 stderr_fd = sys.__stderr__.fileno()
119 fd = stdout.fileno()
/third_party/python/Lib/multiprocessing/
H A Dforkserver.py147 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 Dpng2pnm.c116 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 Dufile.cpp25 // 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 Dfileobject.c171 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 Dfoomaticrip.c75 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 Dwpng.c309 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 Dtest_fileinput.py224 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 Dstats-viewer.py121 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 Dsocketserver.py163 - 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 Dasyncore.py293 self._fileno = sock.fileno()
628 def fileno(self): member in .file_wrapper
637 fd = fd.fileno()
646 self._fileno = self.socket.fileno()

Completed in 17 milliseconds

12345678910>>...17