Lines Matching refs:curoff
75 fpos_t target, curoff; in __weak_alias() local
88 (void) &curoff; in __weak_alias()
122 curoff = fp->_offset; in __weak_alias()
124 curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR); in __weak_alias()
125 if (curoff == POS_ERR) { in __weak_alias()
132 curoff -= fp->_r; in __weak_alias()
134 curoff -= fp->_ur; in __weak_alias()
136 curoff += fp->_p - fp->_bf._base; in __weak_alias()
138 offset += curoff; in __weak_alias()
145 curoff = 0; /* XXX just to keep gcc quiet */ in __weak_alias()
196 curoff = fp->_offset; in __weak_alias()
198 curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR); in __weak_alias()
199 if (curoff == POS_ERR) in __weak_alias()
205 curoff -= fp->_r; in __weak_alias()
207 curoff -= fp->_ur; in __weak_alias()
217 curoff += fp->_r; /* kill off ungetc */ in __weak_alias()
219 curoff -= n; in __weak_alias()
223 curoff -= n; in __weak_alias()
234 target >= curoff && target < (fpos_t)(curoff + n)) { in __weak_alias()
235 int o = (int)(target - curoff); in __weak_alias()
255 curoff = target & ~(fp->_blksize - 1); in __weak_alias()
256 if ((*seekfn)(fp->_cookie, curoff, SEEK_SET) == POS_ERR) in __weak_alias()
267 n = (int)(target - curoff); in __weak_alias()