HomeSort by: relevance | last modified time | path
    Searched refs:fromfd (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/external/gpl3/binutils/dist/binutils/
rename.c 34 /* Copy file FROMFD to file TO, performing no translations.
38 simple_copy (int fromfd, const char *to,
45 if (fromfd < 0
46 || lseek (fromfd, 0, SEEK_SET) != 0)
53 close (fromfd);
58 while ((nread = read (fromfd, buf, sizeof buf)) > 0)
63 close (fromfd);
79 close (fromfd);
210 smart_rename (const char *from, const char *to, int fromfd,
217 ret = simple_copy (fromfd, to, target_stat)
    [all...]
  /src/external/gpl3/binutils.old/dist/binutils/
rename.c 34 /* Copy file FROMFD to file TO, performing no translations.
38 simple_copy (int fromfd, const char *to,
45 if (fromfd < 0
46 || lseek (fromfd, 0, SEEK_SET) != 0)
53 close (fromfd);
58 while ((nread = read (fromfd, buf, sizeof buf)) > 0)
63 close (fromfd);
79 close (fromfd);
210 smart_rename (const char *from, const char *to, int fromfd,
217 ret = simple_copy (fromfd, to, target_stat)
    [all...]
  /src/usr.bin/patch/
util.c 60 int fromfd; local
70 fromfd = open(from, O_RDONLY);
71 if (fromfd < 0)
73 while ((i = read(fromfd, buf, bufsz)) > 0)
76 close(fromfd);
172 int tofd, fromfd; local
178 fromfd = open(from, O_RDONLY, 0);
179 if (fromfd < 0)
181 while ((i = read(fromfd, buf, bufsz)) > 0)
184 close(fromfd);
    [all...]
  /src/external/gpl2/xcvs/dist/src/
rsh-client.c 144 int tofd, fromfd; local
194 child_pid = piped_child (argv, &tofd, &fromfd, true);
201 make_bufs_from_fds (tofd, fromfd, child_pid, root, to_server_p,
release.c 61 int tofd, fromfd; local
85 *child_pid = run_piped (&tofd, &fromfd);
91 return fdopen (fromfd, "r");
client.c 3447 make_bufs_from_fds(int tofd, int fromfd, int child_pid, cvsroot_t *root,
3454 assert (tofd == fromfd);
3463 close_on_exec (fromfd);
3468 if (tofd == fromfd)
3470 fromfd = dup (tofd);
3471 if (fromfd < 0)
3482 *from_server_p = fd_buffer_initialize (fromfd, child_pid, root,
3785 int tofd, fromfd;
3823 child_pid = piped_child (command, &tofd, &fromfd, false);
3827 make_bufs_from_fds (tofd, fromfd, child_pid, root, to_server_p
3784 int tofd, fromfd; local
3908 int tofd, fromfd; local
    [all...]
  /src/sys/compat/linux/common/
linux_file.c 1025 syscallarg(int) fromfd;
1033 SCARG(&ua, fromfd) = SCARG(uap, fromfd);
  /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
netbsd_syscall_hooks.h 2525 #define __sanitizer_syscall_pre_renameat(fromfd, from, tofd, to) \
2526 __sanitizer_syscall_pre_impl_renameat((long long)(fromfd), \
2529 #define __sanitizer_syscall_post_renameat(res, fromfd, from, tofd, to) \
2530 __sanitizer_syscall_post_impl_renameat(res, (long long)(fromfd), \
4591 void __sanitizer_syscall_pre_impl_renameat(long long fromfd, long long from,
4593 void __sanitizer_syscall_post_impl_renameat(long long res, long long fromfd,
  /src/sys/kern/
vfs_syscalls.c 4385 syscallarg(int) fromfd;
4391 return do_sys_renameat(l, SCARG(uap, fromfd), SCARG(uap, from),
4433 do_sys_renameat(struct lwp *l, int fromfd, const char *from, int tofd,
4443 KASSERT(l != NULL || fromfd == AT_FDCWD);
4464 if ((error = fd_nameiat(l, fromfd, &fnd)) != 0)
  /src/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/
netbsd_syscall_hooks.h 2553 #define __sanitizer_syscall_pre_renameat(fromfd, from, tofd, to) \
2554 __sanitizer_syscall_pre_impl_renameat((long long)(fromfd), \
2557 #define __sanitizer_syscall_post_renameat(res, fromfd, from, tofd, to) \
2558 __sanitizer_syscall_post_impl_renameat(res, (long long)(fromfd), \
4772 void __sanitizer_syscall_pre_impl_renameat(long long fromfd, long long from,
4774 void __sanitizer_syscall_post_impl_renameat(long long res, long long fromfd,
  /src/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/
netbsd_syscall_hooks.h 2553 #define __sanitizer_syscall_pre_renameat(fromfd, from, tofd, to) \
2554 __sanitizer_syscall_pre_impl_renameat((long long)(fromfd), \
2557 #define __sanitizer_syscall_post_renameat(res, fromfd, from, tofd, to) \
2558 __sanitizer_syscall_post_impl_renameat(res, (long long)(fromfd), \
4772 void __sanitizer_syscall_pre_impl_renameat(long long fromfd, long long from,
4774 void __sanitizer_syscall_post_impl_renameat(long long res, long long fromfd,
  /src/lib/librumphijack/
hijack.c 1354 linkat(int fromfd, const char *from, int tofd, const char *to, int flags)
1356 if (fromfd != AT_FDCWD || tofd != AT_FDCWD
  /src/sys/compat/linux/arch/aarch64/
linux_systrace_args.c 290 iarg[0] = SCARG(p, fromfd); /* int */
1799 iarg[0] = SCARG(p, fromfd); /* int */
linux_syscallargs.h 1110 syscallarg(int) fromfd; member in struct:linux_sys_renameat2_args
  /src/sys/compat/netbsd32/
netbsd32_fs.c 1163 syscallarg(int) fromfd;
1170 NETBSD32TO64_UAP(fromfd);
  /src/sys/compat/linux/arch/alpha/
linux_syscallargs.h 1386 syscallarg(int) fromfd; member in struct:linux_sys_renameat2_args
  /src/sys/compat/linux/arch/amd64/
linux_syscallargs.h 1276 syscallarg(int) fromfd; member in struct:linux_sys_renameat2_args
linux_systrace_args.c 1826 iarg[0] = SCARG(p, fromfd); /* int */
2115 iarg[0] = SCARG(p, fromfd); /* int */
  /src/sys/compat/linux/arch/arm/
linux_syscallargs.h 1350 syscallarg(int) fromfd; member in struct:linux_sys_renameat2_args
linux_systrace_args.c 1925 iarg[0] = SCARG(p, fromfd); /* int */
2214 iarg[0] = SCARG(p, fromfd); /* int */
  /src/sys/compat/linux/arch/i386/
linux_syscallargs.h 1364 syscallarg(int) fromfd; member in struct:linux_sys_renameat2_args
linux_systrace_args.c 1978 iarg[0] = SCARG(p, fromfd); /* int */
2236 iarg[0] = SCARG(p, fromfd); /* int */
  /src/sys/compat/linux/arch/m68k/
linux_syscallargs.h 1316 syscallarg(int) fromfd; member in struct:linux_sys_renameat2_args
  /src/sys/compat/linux/arch/mips/
linux_syscallargs.h 1388 syscallarg(int) fromfd; member in struct:linux_sys_renameat2_args
  /src/sys/compat/linux/arch/powerpc/
linux_syscallargs.h 1275 syscallarg(int) fromfd; member in struct:linux_sys_renameat2_args

Completed in 126 milliseconds

1 2