Lines Matching refs:posn
2031 PerlIOSelf(f, PerlIOBuf)->posn = old;
3395 Off_t posn = PerlIO_tell(PerlIONext(f));
3396 if (posn != (Off_t) - 1) {
3397 b->posn = posn;
3493 b->posn += (p - buf);
3500 b->posn += (b->ptr - buf);
3505 if (PerlIOValid(n) && PerlIO_seek(n, b->posn, SEEK_SET) == 0) {
3507 b->posn = PerlIO_tell(n = PerlIONext(f));
3514 b->posn -= (b->ptr - buf);
3636 b->posn -= b->bufsiz;
3719 b->posn = PerlIO_tell(PerlIONext(f));
3730 * b->posn is file position where b->buf was read, or will be written
3732 Off_t posn = b->posn;
3744 posn = b->posn = PerlIO_tell(PerlIONext(f));
3750 posn += (b->ptr - b->buf);
3752 return posn;
4076 b->posn -= b->bufsiz;
4150 posn += ptr-buf
4151 will naturally make posn point at CR
4368 SSize_t len = st.st_size - b->posn;
4370 Off_t posn;
4408 if (b->posn < 0) {
4413 b->posn = PerlIO_tell(PerlIONext(f));
4415 posn = (b->posn / page_size) * page_size;
4416 len = st.st_size - posn;
4417 m->mptr = mmap(NULL, len, PROT_READ, MAP_SHARED, fd, posn);
4428 b->buf = ((STDCHAR *) m->mptr) + (b->posn - posn);
4460 if (PerlIO_seek(PerlIONext(f), b->posn, SEEK_SET) != 0)
4904 Off_t *posn = (Off_t *) SvPV(pos, len);
4906 return PerlIO_seek(f, *posn, SEEK_SET);
4939 Off_t posn = PerlIO_tell(f);
4940 sv_setpvn(pos, (char *) &posn, sizeof(posn));
4941 return (posn == (Off_t) - 1) ? -1 : 0;