/third_party/musl/libc-test/src/regression/ |
H A D | lseek-large.c | 20 A((fd = fileno(f)) != -1); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/fcntl/fcntl_gtest/ |
H A D | fcntl_posix_fallocate64_test.cpp | 27 int fd = fileno(fp); in HWTEST_F()
|
H A D | fcntl_posix_fadvise64_test.cpp | 24 int fd = fileno(fp); in HWTEST_F()
|
/third_party/musl/libc-test/src/functionalext/supplement/manual/unistd/ |
H A D | isatty.c | 29 int result = isatty(fileno(stdout)); in isatty_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
H A D | munmap.c | 35 char *p_map = mmap(NULL, sizeof(char) * 10, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(fptr), 0); in munmap_0100()
|
H A D | msync.c | 36 int fd = fileno(fp); in msync_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/ |
H A D | unistd_ftruncate64_test.cpp | 26 EXPECT_EQ(0, ftruncate64(fileno(fptr), SIZE_1024)); in HWTEST_F()
|
H A D | unistd_dup2_test.cpp | 28 int result2 = dup2(fd, fileno(fp)); in HWTEST_F()
|
/third_party/alsa-utils/aplay/ |
H A D | aplay.c | 566 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 D | randfile.c | 45 # define fileno _fileno macro 112 if (fstat(fileno(in), &sb) < 0) { in RAND_load_file()
|
/third_party/openssl/crypto/rand/ |
H A D | randfile.c | 46 # 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 D | rdjpgcom.c | 492 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 D | SkOSFile_posix.cpp | 53 int fd = fileno(a); in sk_ino() 100 return fileno(f); in sk_fileno()
|
/third_party/python/Lib/ |
H A D | lzma.py | 163 def fileno(self): member in LZMAFile 166 return self._fp.fileno()
|
H A D | bz2.py | 126 def fileno(self): member in BZ2File 129 return self._fp.fileno()
|
/third_party/backends/frontend/ |
H A D | sicc.c | 40 fstat(fileno(fd), &s); in sanei_load_icc_profile()
|
/third_party/curl/docs/examples/ |
H A D | fileupload.c | 46 if(fstat(fileno(fd), &file_info) != 0) in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/mman_gtest/ |
H A D | mman_msync_test.cpp | 25 int fd = fileno(fp); in HWTEST_F()
|
/third_party/python/Lib/curses/ |
H A D | __init__.py | 30 fd=_sys.__stdout__.fileno())
|
/third_party/python/Python/ |
H A D | frozenmain.c | 74 if (inspect && isatty((int)fileno(stdin))) { in Py_FrozenMain()
|
H A D | pylifecycle.c | 2281 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 D | test_faulthandler.py | 329 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 D | test_socketserver.py | 155 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 D | mmapmodule.c | 1147 "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 D | lib541.c | 58 hd = fstat(fileno(hd_src), &file_info); in test()
|