Lines Matching defs:from
171 /* We read from standard input. This we cannot do for a
501 read_block_no_mmap (int fd, const char *fname, off_t from, off_t fdlen)
538 process_chunk (fname, buf, from + nb, nb, &unprinted);
546 from += nb;
563 read_block (int fd, const char *fname, off_t fdlen, off_t from, off_t to)
568 elfmap_off = from & ~(ps - 1);
578 /* Read from the file descriptor. For this we must position the
582 if (from != 0 && lseek (fd, from, SEEK_SET) != from)
585 return read_block_no_mmap (fd, fname, from, to - from);
590 if (to < (off_t) elfmap_off || from > (off_t) (elfmap_off + elfmap_size))
596 elfmap_off = from & ~(ps - 1);
598 MAP_PRIVATE | MAP_POPULATE | MAP_FIXED, fd, from)
608 if (from >= (off_t) elfmap_off
609 && from < (off_t) (elfmap_off + elfmap_size))
612 process_chunk (fname, elfmap_base + (from - elfmap_off),
614 MIN (to, (off_t) (elfmap_off + elfmap_size)) - from,
622 assert (from >= (off_t) elfmap_off
623 && from < (off_t) (elfmap_off + elfmap_size));