Searched refs:curpos (Results 1 – 3 of 3) sorted by relevance
20 int curpos = (fp->_p - fp->_bf._base); in __ssputs() local29 if (newsize < curpos + len + 1) in __ssputs()30 newsize = curpos + len + 1; in __ssputs()37 memcpy (str, fp->_bf._base, curpos); in __ssputs()51 fp->_p = str + curpos; in __ssputs()54 fp->_w = newsize - curpos; in __ssputs()
186 int curpos = (fp->_p - fp->_bf._base); in _ssputs() local195 if (newsize < curpos + len + 1) in _ssputs()196 newsize = curpos + len + 1; in _ssputs()206 memcpy (str, fp->_bf._base, curpos); in _ssputs()222 fp->_p = str + curpos; in _ssputs()225 fp->_w = newsize - curpos; in _ssputs()275 int curpos = (fp->_p - fp->_bf._base); in _ssprint() local284 if (newsize < curpos + len + 1) in _ssprint()285 newsize = curpos + len + 1; in _ssprint()296 memcpy (str, fp->_bf._base, curpos); in _ssprint()[all …]
157 int curpos = (fp->_p - fp->_bf._base); in _sfvwrite() local166 if ((size_t) newsize < curpos + len + 1) in _sfvwrite()167 newsize = curpos + len + 1; in _sfvwrite()177 memcpy (str, fp->_bf._base, curpos); in _sfvwrite()196 fp->_p = str + curpos; in _sfvwrite()199 fp->_w = newsize - curpos; in _sfvwrite()