/third_party/python/Python/ |
H A D | bltinmodule.c | 2128 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 D | stdiondk1.cpp | 526 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 D | test_io.py | 101 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 D | smq_test.cpp | 133 int resFd = fileno(res);
in QueryOpendFdsByHostPid()
|
/foundation/ability/ability_runtime/test/unittest/dataobs_mgr_service_test/ |
H A D | dataobs_mgr_service_test.cpp | 584 int ret = dataObsMgrServer->Dump(fileno(fp), args); in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/src/ |
H A D | file_source_stream.cpp | 339 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 D | fscrypt_control.c | 294 int fd = fileno(f); in ReadKeyFile()
|
/third_party/alsa-utils/amidi/ |
H A D | amidi.c | 749 if (isatty(fileno(stdout))) in main()
|
/third_party/cups-filters/filter/ |
H A D | bannertopdf.c | 475 if (fstat (fileno (s), &st) < 0) { in generate_banner_pdf()
|
H A D | urftopdf.cpp | 437 fd = fileno(input); in main()
|
/third_party/mbedtls/programs/aes/ |
H A D | crypt_and_hash.c | 9 /* 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 D | build_log.cc | 196 SetCloseOnExec(fileno(log_file_));
in OpenForWriteIfNeeded()
|
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | vms_term_sock.c | 20 * 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 D | utils.py | 448 fd = int(fd.fileno())
|
/third_party/python/Lib/idlelib/ |
H A D | iomenu.py | 246 os.fsync(f.fileno())
|
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
H A D | rpng-win.c | 100 int fd = fileno(stdin); in repl_getch()
|
/third_party/openssl/apps/lib/ |
H A D | vms_term_sock.c | 20 * On VMS, you need to define this to get the declaration of fileno(). The 592 fsync (fileno (stderr));
|
/third_party/vixl/tools/ |
H A D | test.py | 238 line = os.read(p.stdout.fileno(), 1024)
|
/third_party/python/Include/internal/ |
H A D | pycore_global_strings.h | 263 STRUCT_FOR_ID(fileno)
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsclone.c | 2382 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 D | image-tiff.c | 85 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 D | gtest-port.h | 2001 inline int FileNo(FILE* file) { return fileno(file); } 2013 inline int FileNo(FILE* file) { return fileno(file); }
|
/third_party/littlefs/scripts/ |
H A D | bench.py | 42 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 D | ll_prof.py | 351 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 D | gtest-port.h | 2027 inline int FileNo(FILE* file) { return fileno(file); } 2039 inline int FileNo(FILE* file) { return fileno(file); }
|