Searched refs:src_fd (Results 1 - 5 of 5) sorted by relevance

/macosx-10.10.1/copyfile-118.1.2/
H A Dcopyfile.c96 int src_fd; member in struct:_copyfile_state
318 if ((error = qtn_file_init_with_fd(s->qinfo, s->src_fd)) != 0)
510 if (s->src_fd > -1 && (s->flags & COPYFILE_STAT))
511 fstat(s->src_fd, &sbuf);
868 int fcopyfile(int src_fd, int dst_fd, copyfile_state_t state, copyfile_flags_t flags) argument
874 if (src_fd < 0 || dst_fd < 0)
883 copyfile_debug(2, "set src_fd <- %d", src_fd);
884 if (s->src_fd == -2 && src_fd >
[all...]
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-c/detail/
H A Dprocess.c128 const int src_fd, const int tgt_fd)
130 PRE(src_fd >= 0);
132 PRE(src_fd != tgt_fd);
135 sb->m_src_fd = src_fd;
127 atf_process_stream_init_connect(atf_process_stream_t *sb, const int src_fd, const int tgt_fd) argument
H A Dprocess_test.c189 int src_fd; local
193 src_fd = STDOUT_FILENO;
197 src_fd = STDERR_FILENO;
202 src_fd = -1;
207 RE(atf_process_stream_init_connect(&s->m_base.m_sb, src_fd, s->m_fd));
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-c++/detail/
H A Dprocess.cpp202 impl::stream_connect::stream_connect(const int src_fd, const int tgt_fd) argument
204 atf_error_t err = atf_process_stream_init_connect(&m_sb, src_fd, tgt_fd);
/macosx-10.10.1/ruby-106/ruby/
H A Dio.c9628 int src_fd; member in struct:copy_stream_struct
9688 rb_fd_set(stp->src_fd, &stp->fds);
9782 ret = fstat(stp->src_fd, &src_stat);
9810 cur = lseek(stp->src_fd, 0, SEEK_CUR);
9828 ss = simple_sendfile(stp->dst_fd, stp->src_fd, &src_offset, ss);
9831 ss = simple_sendfile(stp->dst_fd, stp->src_fd, NULL, ss);
9855 * Linux requires stp->src_fd to be a mmap-able (regular) file,
9891 ss = maygvl_read(has_gvl, stp->src_fd, buf, len);
9895 ss = pread(stp->src_fd, buf, len, offset);
9974 r = lseek(stp->src_fd, src_offse
10109 int src_fd, dst_fd; local
[all...]

Completed in 204 milliseconds