Searched refs:curoff (Results 1 – 4 of 4) sorted by relevance
/picolibc-3.5.0-3.4.0/newlib/libc/stdio64/ |
D | fseeko64.c | 95 _fpos64_t curoff; in fseeko64() local 120 curoff = fp->_offset; in fseeko64() 155 curoff = fp->_offset; in fseeko64() 158 curoff = seekfn (fp->_cookie, (_fpos64_t) 0, SEEK_CUR); in fseeko64() 159 if (curoff == -1L) in fseeko64() 167 curoff -= fp->_r; in fseeko64() 169 curoff -= fp->_ur; in fseeko64() 172 curoff += fp->_p - fp->_bf._base; in fseeko64() 174 offset += curoff; in fseeko64() 242 curoff = fp->_offset; in fseeko64() [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/stdio/ |
D | fseeko.c | 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() [all …]
|
D | fflush.c | 133 _fpos64_t curoff; in _sflush() local 135 _fpos_t curoff; in _sflush() local 145 curoff = fp->_offset; in _sflush() 152 curoff = fp->_seek64 (fp->_cookie, 0, SEEK_CUR); in _sflush() 155 curoff = fp->_seek (fp->_cookie, 0, SEEK_CUR); in _sflush() 156 if (curoff == -1L && _REENT_ERRNO(ptr) != 0) in _sflush() 173 curoff -= fp->_r; in _sflush() 175 curoff -= fp->_ur; in _sflush() 180 curoff = fp->_seek64 (fp->_cookie, curoff, SEEK_SET); in _sflush() 183 curoff = fp->_seek (fp->_cookie, curoff, SEEK_SET); in _sflush() [all …]
|
/picolibc-3.5.0-3.4.0/newlib/ |
D | ChangeLog-2015 | 23862 on append stream (fix from NetBSD sources), adjust curoff offset 23864 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
|