Lines Matching defs:off_t

64 #if !HAVE_OFF_T && !defined(off_t)
65 # define off_t long
102 # error off_t is bigger than long, but you have no long long...
115 off_t __syscall(quad_t number, ...);
454 off_t r, pos;
680 off_t r;
1514 off_t pos;
1527 off_t pos;
1588 off_t pos;
2070 off_t siz = READ_DATA_PENDING_COUNT(fptr);
2071 off_t pos;
4465 off_t pos;
6424 off_t pos = 0;
6617 off_t pos;
8253 off_t offset;
8254 off_t len;
8302 do_io_advise(rb_io_t *fptr, VALUE advice, off_t offset, off_t len)
8397 off_t off, l;
9625 off_t copy_length; /* (off_t)-1 if not specified */
9626 off_t src_offset; /* (off_t)-1 if not specified */
9632 off_t total;
9729 simple_sendfile(int out_fd, int in_fd, off_t *offset, off_t count)
9745 simple_sendfile(int out_fd, int in_fd, off_t *offset, off_t count)
9748 off_t pos = offset ? *offset : lseek(in_fd, 0, SEEK_CUR);
9749 off_t sbytes;
9778 off_t copy_length;
9779 off_t src_offset;
9801 use_pread = src_offset != (off_t)-1;
9804 if (copy_length == (off_t)-1) {
9808 off_t cur;
9811 if (cur == (off_t)-1 && errno) {
9823 ss = (copy_length > (off_t)SSIZE_MAX) ? SSIZE_MAX : (ssize_t)copy_length;
9886 maygvl_copy_stream_read(int has_gvl, struct copy_stream_struct *stp, char *buf, size_t len, off_t offset)
9890 if (offset == (off_t)-1) {
9921 stp->syserr = offset == (off_t)-1 ? "read" : "pread";
9961 off_t copy_length;
9963 off_t src_offset;
9967 use_eof = copy_length == (off_t)-1;
9969 use_pread = src_offset != (off_t)-1;
9972 off_t r;
9975 if (r == (off_t)-1 && errno) {
9980 src_offset = (off_t)-1;
9985 if (!use_eof && copy_length < (off_t)sizeof(buf)) {
9997 ss = maygvl_copy_stream_read(0, stp, buf, len, (off_t)-1);
10040 off_t rest = stp->copy_length;
10041 off_t off = stp->src_offset;
10053 if (stp->copy_length == (off_t)-1) {
10076 if (off != (off_t)-1)
10094 if (stp->src_fd == -1 && stp->src_offset != (off_t)-1) {
10181 if (stp->src_offset == (off_t)-1 && src_fptr && src_fptr->rbuf.len) {
10184 if (stp->copy_length != (off_t)-1 && stp->copy_length < (off_t)len) {
10197 if (stp->copy_length != (off_t)-1)
10282 st.copy_length = (off_t)-1;
10287 st.src_offset = (off_t)-1;