Home
last modified time | relevance | path

Searched refs:fileno (Results 76 - 100 of 367) sorted by relevance

12345678910>>...15

/third_party/musl/libc-test/src/regression/
H A Dlseek-large.c20 A((fd = fileno(f)) != -1); in main()
/third_party/musl/libc-test/src/functionalext/supplement/fcntl/fcntl_gtest/
H A Dfcntl_posix_fallocate64_test.cpp27 int fd = fileno(fp); in HWTEST_F()
H A Dfcntl_posix_fadvise64_test.cpp24 int fd = fileno(fp); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/manual/unistd/
H A Disatty.c29 int result = isatty(fileno(stdout)); in isatty_0100()
/third_party/musl/libc-test/src/functionalext/supplement/mman/
H A Dmunmap.c35 char *p_map = mmap(NULL, sizeof(char) * 10, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(fptr), 0); in munmap_0100()
H A Dmsync.c36 int fd = fileno(fp); in msync_0100()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/
H A Dunistd_ftruncate64_test.cpp26 EXPECT_EQ(0, ftruncate64(fileno(fptr), SIZE_1024)); in HWTEST_F()
H A Dunistd_dup2_test.cpp28 int result2 = dup2(fd, fileno(fp)); in HWTEST_F()
/third_party/alsa-utils/aplay/
H A Daplay.c566 if (isatty(fileno(direction)) && (argc == 1)) {
868 isatty(fileno(stdin)) &&
1563 if (!isatty(fileno(stdin))) {
1567 tcgetattr(fileno(stdin), &term);
1569 if (fd == fileno(stdin))
1571 flags = fcntl(fileno(stdin), F_GETFL);
1572 if (flags < 0 || fcntl(fileno(stdin), F_SETFL, flags|O_NONBLOCK) < 0)
1575 tcsetattr(fileno(stdin), TCSANOW, &term);
1584 if (fd == fileno(stdin) || term_c_lflag == -1)
1586 tcgetattr(fileno(stdi
[all...]
/third_party/node/deps/openssl/openssl/crypto/rand/
H A Drandfile.c45 # define fileno _fileno macro
112 if (fstat(fileno(in), &sb) < 0) { in RAND_load_file()
/third_party/openssl/crypto/rand/
H A Drandfile.c46 # define fileno _fileno macro
113 if (fstat(fileno(in), &sb) < 0) { in RAND_load_file()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Drdjpgcom.c492 setmode(fileno(stdin), O_BINARY); in main()
495 if ((infile = fdopen(fileno(stdin), READ_BINARY)) == NULL) { in main()
/third_party/skia/src/ports/
H A DSkOSFile_posix.cpp53 int fd = fileno(a); in sk_ino()
100 return fileno(f); in sk_fileno()
/third_party/python/Lib/
H A Dlzma.py163 def fileno(self): member in LZMAFile
166 return self._fp.fileno()
H A Dbz2.py126 def fileno(self): member in BZ2File
129 return self._fp.fileno()
/third_party/backends/frontend/
H A Dsicc.c40 fstat(fileno(fd), &s); in sanei_load_icc_profile()
/third_party/curl/docs/examples/
H A Dfileupload.c46 if(fstat(fileno(fd), &file_info) != 0) in main()
/third_party/musl/libc-test/src/functionalext/supplement/mman/mman_gtest/
H A Dmman_msync_test.cpp25 int fd = fileno(fp); in HWTEST_F()
/third_party/python/Lib/curses/
H A D__init__.py30 fd=_sys.__stdout__.fileno())
/third_party/python/Python/
H A Dfrozenmain.c74 if (inspect && isatty((int)fileno(stdin))) { in Py_FrozenMain()
H A Dpylifecycle.c2281 if (buffered_stdio && (isatty || fd == fileno(stderr))) in create_stdio()
2404 if (_Py_fstat_noraise(fileno(stdin), &sb) == 0 && in init_sys_streams()
2415 fd = fileno(stdin); in init_sys_streams()
2417 * and fileno() may point to an invalid file descriptor. For example in init_sys_streams()
2430 fd = fileno(stdout); in init_sys_streams()
2442 fd = fileno(stderr); in init_sys_streams()
2816 fatal_error(fileno(stderr), 1, NULL, msg, -1); in Py_FatalError()
2823 fatal_error(fileno(stderr), 1, func, msg, -1); in _Py_FatalErrorFunc()
2838 const int fd = fileno(stream); in _Py_FatalErrorFormat()
2878 fatal_error(fileno(stder in Py_ExitStatusException()
[all...]
/third_party/python/Lib/test/
H A Dtest_faulthandler.py329 fd = fp.fileno()
390 # faulthandler.enable() requires that sys.stderr has a fileno()
506 self.check_dump_traceback(fd=fp.fileno())
631 file = sys.stderr.fileno()
677 self.check_dump_traceback_later(fd=fp.fileno())
718 file = sys.stderr.fileno()
779 self.check_register(fd=fp.fileno())
800 # instead of just an attribute error: "None has no attribute fileno".
H A Dtest_socketserver.py155 self.assertEqual(-1, server.socket.fileno())
303 self.assertEqual(-1, server.socket.fileno())
401 self.server.wfile_fileno = self.wfile.fileno()
402 self.server.request_fileno = self.request.fileno()
/third_party/python/Modules/
H A Dmmapmodule.c1147 "Windows: mmap(fileno, length[, tagname[, access[, offset]]])\n\
1149 Maps length bytes from the file specified by the file handle fileno,\n\
1156 Unix: mmap(fileno, length[, flags[, prot[, access[, offset]]]])\n\
1158 Maps length bytes from the file specified by the file descriptor fileno,\n\
1167 To map anonymous memory, pass -1 as the fileno (both versions).");
1224 static char *keywords[] = {"fileno", "length", in new_mmap_object()
1398 int fileno; in new_mmap_object() local
1402 static char *keywords[] = { "fileno", "length", in new_mmap_object()
1407 &fileno, &map_size, in new_mmap_object()
1413 fileno, map_siz in new_mmap_object()
[all...]
/third_party/curl/tests/libtest/
H A Dlib541.c58 hd = fstat(fileno(hd_src), &file_info); in test()

Completed in 19 milliseconds

12345678910>>...15