Lines Matching refs:curoff
111 _fpos_t curoff = 0; in fseeko() local
153 curoff = fp->_offset; in fseeko()
156 curoff = seekfn (fp->_cookie, (_fpos_t) 0, SEEK_CUR); in fseeko()
157 if (curoff == -1L) in fseeko()
165 curoff -= fp->_r; in fseeko()
167 curoff -= fp->_ur; in fseeko()
170 curoff += fp->_p - fp->_bf._base; in fseeko()
172 offset += curoff; in fseeko()
248 curoff = fp->_offset; in fseeko()
251 curoff = seekfn (ptr, fp->_cookie, 0L, SEEK_CUR); in fseeko()
252 if (curoff == POS_ERR) in fseeko()
255 curoff -= fp->_r; in fseeko()
257 curoff -= fp->_ur; in fseeko()
269 curoff += fp->_r; /* kill off ungetc */ in fseeko()
271 curoff -= n; in fseeko()
277 curoff -= n; in fseeko()
287 if (target >= curoff && target < curoff + n) in fseeko()
289 register int o = target - curoff; in fseeko()
310 curoff = target & ~(fp->_blksize - 1); in fseeko()
311 if (seekfn (ptr, fp->_cookie, curoff, SEEK_SET) == POS_ERR) in fseeko()
318 n = target - curoff; in fseeko()