Searched refs:minfd (Results 1 – 7 of 7) sorted by relevance
/third_party/NuttX/fs/vfs/ |
D | fs_dupfd.c | 76 int file_dup(struct file *filep, int minfd) in file_dup() argument 90 filep2 = files_allocate(filep->f_vnode, filep->f_oflags, filep->f_pos, filep->f_priv, minfd); in file_dup() 118 int fs_dupfd(int fd, int minfd) in fs_dupfd() argument 133 return file_dup(filep, minfd); in fs_dupfd()
|
/third_party/wayland_standard/src/ |
D | wayland-os.c | 76 wl_os_dupfd_cloexec(int fd, long minfd) in wl_os_dupfd_cloexec() argument 80 newfd = fcntl(fd, F_DUPFD_CLOEXEC, minfd); in wl_os_dupfd_cloexec() 86 newfd = fcntl(fd, F_DUPFD, minfd); in wl_os_dupfd_cloexec()
|
D | wayland-os.h | 33 wl_os_dupfd_cloexec(int fd, long minfd);
|
/third_party/mesa3d/src/util/ |
D | os_file.c | 53 int minfd = 3; in os_dupfd_cloexec() local 54 int newfd = fcntl(fd, F_DUPFD_CLOEXEC, minfd); in os_dupfd_cloexec() 62 newfd = fcntl(fd, F_DUPFD, minfd); in os_dupfd_cloexec()
|
/third_party/NuttX/fs/inode/ |
D | fs_files.c | 419 … *files_allocate(const struct Vnode *vnode_ptr, int oflags, off_t pos, const void *priv, int minfd) in files_allocate() argument 427 if (minfd < FILE_START_FD) in files_allocate() 429 minfd = FILE_START_FD; in files_allocate() 431 i = (unsigned int)minfd; in files_allocate() 580 int alloc_fd(int minfd) in alloc_fd() argument 589 if (minfd < FILE_START_FD) in alloc_fd() 591 minfd = FILE_START_FD; in alloc_fd() 593 i = (unsigned int)minfd; in alloc_fd()
|
/third_party/NuttX/fs/vfs/include/ |
D | file.h | 217 int fs_dupfd(int fd, int minfd); 234 int file_dup(struct file *filep, int minfd); 470 …*files_allocate(const struct Vnode *vnode_ptr, int oflags, off_t pos, const void *priv, int minfd);
|
/third_party/python/Lib/test/ |
D | test_os.py | 1519 minfd = os.dup(1) 1520 os.close(minfd) 1526 self.assertEqual(newfd, minfd)
|