Home
last modified time | relevance | path

Searched refs:curpos (Results 1 – 3 of 3) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dssputs.c20 int curpos = (fp->_p - fp->_bf._base); in __ssputs() local
29 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()
Dnano-vfprintf.c186 int curpos = (fp->_p - fp->_bf._base); in _ssputs() local
195 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() local
284 if (newsize < curpos + len + 1) in _ssprint()
285 newsize = curpos + len + 1; in _ssprint()
296 memcpy (str, fp->_bf._base, curpos); in _ssprint()
[all …]
Dfvwrite.c157 int curpos = (fp->_p - fp->_bf._base); in _sfvwrite() local
166 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()