/third_party/python/Lib/test/ |
H A D | test_httplib.py | 1339 # Make sure fd returned by fileno is valid. 1364 s = socket.socket(fileno=response.fileno())
|
H A D | test_tempfile.py | 1100 'fileno', 'seek', 'truncate', 'close', 'closed', '__enter__', 1210 # A SpooledTemporaryFile should roll over to a real file on fileno() 1213 self.assertTrue(f.fileno() > 0) 1391 self.assertEqual(os.fstat(f.fileno()).st_size, 20)
|
H A D | test_shutil.py | 145 infd = src.fileno() 146 outfd = dst.fileno() 2665 @unittest.skipUnless(os.isatty(sys.__stdout__.fileno()), "not on tty") 2695 # sys.__stdout__ has no fileno() 2702 # or fileno() not in (0, 1, 2) on Windows
|
/third_party/python/Lib/ |
H A D | pydoc.py | 1644 fd = sys.stdin.fileno() 2381 rd, wr, ex = select.select([self.socket.fileno()], [], [], 1)
|
/drivers/peripheral/audio/test/unittest/common/render/ |
H A D | audio_render_common_test.cpp | 526 int fd = fileno(file); in HWTEST_F()
|
/drivers/peripheral/audio/test/systemtest/common/hdi_common/src/ |
H A D | audio_hdi_common.cpp | 1002 int fd = fileno(fp); in InitMmapDesc()
|
/drivers/peripheral/audio/test/systemtest/common/hdi_service_common/src/ |
H A D | hdi_service_common.cpp | 852 int fd = fileno(fp); in InitMmapDesc()
|
/drivers/peripheral/audio/test/unittest/common/capture/ |
H A D | audio_capture_common_test.cpp | 457 int fd = fileno(file);
in HWTEST_F()
|
/kernel/linux/linux-6.6/tools/tracing/latency/ |
H A D | latency-collector.c | 315 fd_stdout = fileno(stdout); in open_stdout() 317 err(EXIT_FAILURE, "fileno() failed"); in open_stdout()
|
/test/xts/hats/hdf/audio/idl/common/capture/src/ |
H A D | audio_capture_common_test.cpp | 463 int fd = fileno(file);
in HWTEST_F()
|
/test/xts/hats/hdf/audio/idl/common/render/src/ |
H A D | audio_render_common_test.cpp | 503 int fd = fileno(file); in HWTEST_F()
|
/third_party/curl/lib/ |
H A D | telnet.c | 1529 pfd[1].fd = fileno((FILE *)data->state.in); in telnet_do()
|
/third_party/backends/backend/ |
H A D | dell1600n_net.c | 1902 fdTmp = fileno (fTmp); in ProcessPageData()
|
/third_party/cups-filters/filter/ |
H A D | rastertopdf.cpp | 1396 fd = fileno(input); in main()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_file.c | 246 fd = fileno(pipe); in snd_pcm_file_open_output_file()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | ArchiveCommandLine.cpp | 65 // #define MY_isatty_fileno(x) (isatty(fileno(x)))
73 isatty(fileno(x))
in MY_IS_TERMINAL()
|
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 2000 inline int FileNo(FILE* file) { return fileno(file); }
|
/third_party/libfuse/test/ |
H A D | test_examples.py | 793 fd = fh.fileno()
|
/third_party/rust/crates/libc/src/ |
H A D | wasi.rs | 598 pub fn fileno(stream: *mut ::FILE) -> ::c_int; in fileno() functions
|
/third_party/python/Lib/logging/ |
H A D | handlers.py | 487 sres = os.fstat(self.stream.fileno())
|
/third_party/python/Parser/ |
H A D | tokenizer.c | 443 fd = fileno(tok->fp); in fp_setreadl()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | unistdndk.cpp | 1173 int freturn = ftruncate(fileno(fptr), SIZE_100);
in Ftruncate() 1185 int freturn = ftruncate64(fileno(fptr), SIZE_100);
in Ftruncate64()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | doio.c | 3842 fcntl(fileno(stream), F_SETLKW, &flk); in doio_fprintf() 3853 fcntl(fileno(stream), F_SETLKW, &flk); in doio_fprintf()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_sockmap.c | 433 fp = fileno(file); in msg_loop_sendpage()
|
/kernel/linux/linux-5.10/scripts/mod/ |
H A D | modpost.c | 2439 if (fstat(fileno(file), &st) < 0) in write_if_changed()
|