HomeSort by: relevance | last modified time | path
    Searched refs:from_fd (Results 1 - 10 of 10) sorted by relevancy

  /src/lib/libc/gen/
extattr.c 100 extattr_copy_fd(int from_fd, int to_fd, int namespace)
109 llen = extattr_list_fd(from_fd, namespace, NULL, 0);
125 llen = extattr_list_fd(from_fd, namespace, alist, (size_t)llen);
142 vlen = extattr_get_fd(from_fd, namespace, aname, NULL, 0);
152 if ((vlen = extattr_get_fd(from_fd, namespace, aname,
325 fcpxattr(int from_fd, int to_fd)
334 if ((error = extattr_copy_fd(from_fd, to_fd, *ns)) != 0)
  /src/external/bsd/nvi/dist/ex/
tag.h 28 int from_fd; /* from cscope: file descriptor. */ member in struct:_csc
ex_cscope.c 432 csc->from_fd = from_cs[0];
  /src/bin/mv/
mv.c 278 int from_fd, to_fd; local
282 if ((from_fd = open(from, O_RDONLY, 0)) < 0) {
289 (void)close(from_fd);
295 (void)close(from_fd);
299 while ((nread = read(from_fd, bp, blen)) > 0) {
318 (void)close(from_fd);
323 if (fcpxattr(from_fd, to_fd) == -1)
326 (void)close(from_fd);
  /src/bin/cp/
utils.c 103 int ch, checkch, from_fd, rcount, rval, to_fd, tolnk, wcount; local
117 if ((from_fd = open(entp->fts_path, O_RDONLY, 0)) == -1) {
144 (void)close(from_fd);
153 (void)close(from_fd);
175 (void)close(from_fd);
201 from_fd, (off_t)0);
241 while ((rcount = read(from_fd, buf, MAXBSIZE)) > 0) {
258 if (pflag && (fcpxattr(from_fd, to_fd) != 0))
262 if (pflag && preserve_fd_acls(from_fd, to_fd) != 0)
266 (void)close(from_fd);
    [all...]
  /src/usr.bin/xinstall/
xinstall.c 672 int devnull, from_fd, to_fd, serrno, tmpmode; local
751 if ((from_fd = open(from_name, O_RDONLY, 0)) < 0) {
756 copy(from_fd, from_name, to_fd, to_name, from_sb.st_size);
757 (void)close(from_fd);
860 copy(int from_fd, char *from_name, int to_fd, char *to_name, off_t size)
913 MAP_FILE|MAP_SHARED, from_fd, (off_t)0))
954 while ((nr = read(from_fd, buf, sizeof(buf))) > 0) {
  /src/usr.sbin/pwd_mkdb/
pwd_mkdb.c 640 int from_fd, to_fd; local
643 if ((from_fd = open(from, O_RDONLY, 0)) < 0)
646 (void)close(from_fd);
649 while ((rcount = read(from_fd, buf, MAXBSIZE)) > 0) {
652 (void)close(from_fd);
658 close(from_fd);
  /src/external/gpl3/gdb/dist/gdb/
darwin-nat.c 1851 scoped_fd from_fd = gdb_open_cloexec (shell, O_RDONLY, 0); local
1852 if (from_fd.get () < 0)
1869 if (fcopyfile (from_fd.get (), to_fd.get (), nullptr,
  /src/external/gpl3/gdb.old/dist/gdb/
darwin-nat.c 1848 scoped_fd from_fd = gdb_open_cloexec (shell, O_RDONLY, 0); local
1849 if (from_fd.get () < 0)
1866 if (fcopyfile (from_fd.get (), to_fd.get (), nullptr,
  /src/external/apache2/llvm/dist/libcxx/src/filesystem/
operations.cpp 900 FileDescriptor from_fd = FileDescriptor::create_with_status( local
905 auto from_st = from_fd.get_status();
906 StatT const& from_stat = from_fd.get_stat();
975 if (!copy_file_impl(from_fd, to_fd, m_ec)) {

Completed in 37 milliseconds