Searched refs:src_fd (Results 1 - 8 of 8) sorted by relevance
/freebsd-11-stable/contrib/xz/src/xz/ |
H A D | file_io.c | 168 /// src_fd is the file descriptor of the input file. 170 io_sandbox_enter(int src_fd) argument 195 if (cap_rights_limit(src_fd, cap_rights_init(&rights, 246 pfd[0].fd = pair->src_fd; 506 pair->src_fd = STDIN_FILENO; 586 pair->src_fd = open(pair->src_name, flags); 588 if (pair->src_fd == -1) { 660 if (fstat(pair->src_fd, &pair->src_st)) 724 (void)posix_fadvise(pair->src_fd, 0, 0, 735 (void)close(pair->src_fd); [all...] |
H A D | file_io.h | 44 int src_fd; member in struct:__anon51 129 /// \brief Fix the position in src_fd
|
/freebsd-11-stable/usr.bin/gzip/ |
H A D | unxz.c | 259 parse_indexes(xz_file_info *xfi, int src_fd) argument 263 fstat(src_fd, &st); 309 if (io_pread(src_fd, &buf, 366 if (io_pread(src_fd, &buf, strm.avail_in, pos)) 404 if (io_pread(src_fd, &buf, LZMA_STREAM_HEADER_SIZE, pos))
|
/freebsd-11-stable/contrib/atf/atf-c/detail/ |
H A D | process.c | 124 const int src_fd, const int tgt_fd) 126 PRE(src_fd >= 0); 128 PRE(src_fd != tgt_fd); 131 sb->m_src_fd = src_fd; 123 atf_process_stream_init_connect(atf_process_stream_t *sb, const int src_fd, const int tgt_fd) argument
|
H A D | process_test.c | 185 int src_fd; local 189 src_fd = STDOUT_FILENO; 193 src_fd = STDERR_FILENO; 198 src_fd = -1; 203 RE(atf_process_stream_init_connect(&s->m_base.m_sb, src_fd, s->m_fd));
|
/freebsd-11-stable/contrib/atf/atf-c++/detail/ |
H A D | process.cpp | 198 impl::stream_connect::stream_connect(const int src_fd, const int tgt_fd) argument 200 atf_error_t err = atf_process_stream_init_connect(&m_sb, src_fd, tgt_fd);
|
/freebsd-11-stable/lib/libc/tests/sys/ |
H A D | sendfile_test.c | 283 verify_source_and_dest(const char* dest_filename, int src_fd, off_t offset, argument 297 src_file_size = file_size_from_fd(src_fd); 311 ATF_REQUIRE_EQ_MSG(0, lseek(src_fd, offset, SEEK_SET), 321 src_pointer = mmap(NULL, length, PROT_READ, MAP_PRIVATE, src_fd, offset);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/ |
H A D | Platform.cpp | 1638 auto src_fd = OpenFile(src_file_spec, File::eOpenOptionRead, 1654 ReadFile(src_fd, offset, &buffer[0], to_read, error); 1667 CloseFile(src_fd, close_error); // Ignoring close error.
|
Completed in 104 milliseconds