Home
last modified time | relevance | path

Searched refs:fileno (Results 276 - 300 of 423) sorted by relevance

1...<<11121314151617

/third_party/python/Python/
H A Dbltinmodule.c2128 tmp = PyObject_CallMethodNoArgs(fin, &_Py_ID(fileno)); in builtin_input_impl()
2138 tty = fd == fileno(stdin) && isatty(fd); in builtin_input_impl()
2141 tmp = PyObject_CallMethodNoArgs(fout, &_Py_ID(fileno)); in builtin_input_impl()
2151 tty = fd == fileno(stdout) && isatty(fd); in builtin_input_impl()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dstdiondk1.cpp526 if (fileno_unlocked(fp) == fileno(fp)) { in Fileno_One()
541 if (fileno(fp) == fileno_unlocked(fp)) { in Fileno_unlocked_One()
1362 int ret = fileno(stderr); in Stderr_One()
1369 int ret = fileno(stdin); in Stdin_One()
1376 int ret = fileno(stdout); in Stdout_One()
/third_party/python/Lib/test/
H A Dtest_io.py101 def fileno(self): member in MockRawIOWithoutRead
435 # The purpose of this test is to try fileno(), reading, writing and
500 obj.fileno()
502 self.assertRaises(OSError, obj.fileno)
742 file = self.open(f.fileno(), "r", encoding="utf-8", closefd=False)
748 file = self.open(f.fileno(), "rb", closefd=False)
763 file = self.open(f.fileno(), "r", encoding="utf-8", closefd=False)
903 fileio = self.FileIO(f1.fileno(), closefd=False)
905 fileio.__init__(f2.fileno(), closefd=False)
946 bad_path = FakePath(f.fileno())
[all...]
/drivers/hdf_core/adapter/uhdf2/hdi/test/smq_test/
H A Dsmq_test.cpp133 int resFd = fileno(res); in QueryOpendFdsByHostPid()
/foundation/ability/ability_runtime/test/unittest/dataobs_mgr_service_test/
H A Ddataobs_mgr_service_test.cpp584 int ret = dataObsMgrServer->Dump(fileno(fp), args); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/src/
H A Dfile_source_stream.cpp339 res = fileno(f); in DupFd()
341 IMAGE_LOGE("[FileSourceStream]Fail to fileno fd."); in DupFd()
/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/
H A Dfscrypt_control.c294 int fd = fileno(f); in ReadKeyFile()
/third_party/alsa-utils/amidi/
H A Damidi.c749 if (isatty(fileno(stdout))) in main()
/third_party/cups-filters/filter/
H A Dbannertopdf.c475 if (fstat (fileno (s), &st) < 0) { in generate_banner_pdf()
H A Durftopdf.cpp437 fd = fileno(input); in main()
/third_party/mbedtls/programs/aes/
H A Dcrypt_and_hash.c9 /* Enable definition of fileno() even when compiling with -std=c99. Must be
221 if ((filesize = lseek(fileno(fin), 0, SEEK_END)) < 0) { in main()
/third_party/ninja/src/
H A Dbuild_log.cc196 SetCloseOnExec(fileno(log_file_)); in OpenForWriteIfNeeded()
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dvms_term_sock.c20 * On VMS, you need to define this to get the declaration of fileno(). The
592 fsync (fileno (stderr));
/third_party/python/Lib/test/test_asyncio/
H A Dutils.py448 fd = int(fd.fileno())
/third_party/python/Lib/idlelib/
H A Diomenu.py246 os.fsync(f.fileno())
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
H A Drpng-win.c100 int fd = fileno(stdin); in repl_getch()
/third_party/openssl/apps/lib/
H A Dvms_term_sock.c20 * On VMS, you need to define this to get the declaration of fileno(). The
592 fsync (fileno (stderr));
/third_party/vixl/tools/
H A Dtest.py238 line = os.read(p.stdout.fileno(), 1024)
/third_party/python/Include/internal/
H A Dpycore_global_strings.h263 STRUCT_FOR_ID(fileno)
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsclone.c2382 if ((fd_in = fileno(stdin)) == -1)
2383 perr_exit("fileno for stdin failed");
2623 if ((fd_out = fileno(stdout)) == -1)
2624 perr_exit("fileno for stdout failed");
2627 if (setmode(fileno(stdout),O_BINARY) == -1)
2646 fd_out = fileno(stream_out);
/third_party/cups-filters/cupsfilters/
H A Dimage-tiff.c85 lseek(fileno(fp), 0, SEEK_SET); /* Work around "feature" in some stdio's */ in _cupsImageReadTIFF()
87 if ((tif = TIFFFdOpen(fileno(fp), "", "r")) == NULL) in _cupsImageReadTIFF()
/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h2001 inline int FileNo(FILE* file) { return fileno(file); }
2013 inline int FileNo(FILE* file) { return fileno(file); }
/third_party/littlefs/scripts/
H A Dbench.py42 return os.fdopen(os.dup(sys.stdin.fileno()), mode, buffering)
44 return os.fdopen(os.dup(sys.stdout.fileno()), mode, buffering)
/third_party/node/deps/v8/tools/
H A Dll_prof.py351 self.log = mmap.mmap(self.log_file.fileno(), 0, mmap.MAP_PRIVATE)
594 self.trace = mmap.mmap(self.trace_file.fileno(), 0, mmap.MAP_PRIVATE)
/third_party/node/deps/googletest/include/gtest/internal/
H A Dgtest-port.h2027 inline int FileNo(FILE* file) { return fileno(file); }
2039 inline int FileNo(FILE* file) { return fileno(file); }

Completed in 37 milliseconds

1...<<11121314151617