/picolibc-3.5.0-3.4.0/newlib/libc/stdio/ |
D | ungetc.c | 86 if (fp->_ub._base == fp->_ubuf) in __submore() 93 fp->_ub._base = p; in __submore() 102 p = (unsigned char *) realloc ((void *) (fp->_ub._base), i << 1); in __submore() 107 fp->_ub._base = p; in __submore() 183 if (fp->_bf._base != NULL && fp->_p > fp->_bf._base && fp->_p[-1] == c) in ungetc() 198 fp->_ub._base = fp->_ubuf; in ungetc()
|
D | vsiscanf.c | 39 f._bf._base = f._p = (unsigned char *) str; in vsiscanf() 42 f._ub._base = NULL; in vsiscanf() 43 f._lb._base = NULL; in vsiscanf()
|
D | vswscanf.c | 40 f._bf._base = f._p = (unsigned char *) str; in vswscanf() 43 f._ub._base = NULL; in vswscanf() 44 f._lb._base = NULL; in vswscanf()
|
D | vsscanf.c | 40 f._bf._base = f._p = (unsigned char *) str; in vsscanf() 43 f._ub._base = NULL; in vsscanf() 44 f._lb._base = NULL; in vsscanf()
|
D | siscanf.c | 91 f._bf._base = f._p = (unsigned char *) str; in siscanf() 94 f._ub._base = NULL; in siscanf() 95 f._lb._base = NULL; in siscanf()
|
D | swscanf.c | 423 f._bf._base = f._p = (unsigned char *) str; in swscanf() 426 f._ub._base = NULL; in swscanf() 427 f._lb._base = NULL; in swscanf()
|
D | sscanf.c | 432 f._bf._base = f._p = (unsigned char *) str; in sscanf() 435 f._ub._base = NULL; in sscanf() 436 f._lb._base = NULL; in sscanf()
|
D | local.h | 220 ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && \ 226 #define HASUB(fp) ((fp)->_ub._base != NULL) 228 if ((fp)->_ub._base != (fp)->_ubuf) \ 229 free((char *)(fp)->_ub._base); \ 230 (fp)->_ub._base = NULL; \ 235 #define HASLB(fp) ((fp)->_lb._base != NULL) 236 #define FREELB(ptr, fp) { free((char *)(fp)->_lb._base); \ 237 (fp)->_lb._base = NULL; }
|
D | nano-vfprintf.c | 186 int curpos = (fp->_p - fp->_bf._base); in _ssputs() 206 memcpy (str, fp->_bf._base, curpos); in _ssputs() 211 str = (unsigned char *)realloc (fp->_bf._base, newsize); in _ssputs() 215 free (fp->_bf._base); in _ssputs() 221 fp->_bf._base = str; in _ssputs() 275 int curpos = (fp->_p - fp->_bf._base); in _ssprint() 296 memcpy (str, fp->_bf._base, curpos); in _ssprint() 301 str = (unsigned char *)realloc (fp->_bf._base, in _ssprint() 306 free (fp->_bf._base); in _ssprint() 312 fp->_bf._base = str; in _ssprint() [all …]
|
D | fseeko.c | 170 curoff += fp->_p - fp->_bf._base; in fseeko() 199 if (fp->_bf._base == NULL) in fseeko() 270 n = fp->_up - fp->_bf._base; in fseeko() 276 n = fp->_p - fp->_bf._base; in fseeko() 291 fp->_p = fp->_bf._base + o; in fseeko() 314 fp->_p = fp->_bf._base; in fseeko() 346 fp->_p = fp->_bf._base; in fseeko()
|
D | fvwrite.c | 132 int curpos = (fp->_p - fp->_bf._base); in _sfvwrite() 152 memcpy (str, fp->_bf._base, curpos); in _sfvwrite() 157 str = (unsigned char *)realloc (fp->_bf._base, in _sfvwrite() 163 free (fp->_bf._base); in _sfvwrite() 170 fp->_bf._base = str; in _sfvwrite() 183 else if (fp->_p > fp->_bf._base || len < (size_t) fp->_bf._size) in _sfvwrite() 228 if (fp->_p > fp->_bf._base && s > w) in _sfvwrite()
|
D | wsetup.c | 60 fp->_p = fp->_bf._base; in _swsetup() 70 if (fp->_bf._base == NULL in _swsetup() 87 if (!fp->_bf._base && (fp->_flags & __SMBF)) in _swsetup()
|
D | vasiprintf.c | 42 f._bf._base = f._p = NULL; in vasiprintf() 49 *strp = (char *) f._bf._base; in vasiprintf()
|
D | asiprintf.c | 38 f._bf._base = f._p = NULL; in asiprintf() 47 *strp = (char *) f._bf._base; in asiprintf()
|
D | vasprintf.c | 42 f._bf._base = f._p = NULL; in vasprintf() 49 *strp = (char *) f._bf._base; in vasprintf()
|
D | asprintf.c | 37 f._bf._base = f._p = NULL; in asprintf() 46 *strp = (char *) f._bf._base; in asprintf()
|
D | makebuf.c | 49 fp->_bf._base = fp->_p = fp->_nbuf; in _smakebuf() 59 fp->_bf._base = fp->_p = fp->_nbuf; in _smakebuf() 66 fp->_bf._base = fp->_p = (unsigned char *) p; in _smakebuf()
|
D | vasniprintf.c | 39 f._bf._base = f._p = (unsigned char *) buf; in vasniprintf() 55 return (char *) f._bf._base; in vasniprintf()
|
D | setvbuf.c | 125 free ((void *) fp->_bf._base); in setvbuf() 165 fp->_bf._base = fp->_p = fp->_nbuf; in setvbuf() 197 fp->_bf._base = fp->_p = (unsigned char *) buf; in setvbuf()
|
D | asniprintf.c | 38 f._bf._base = f._p = (unsigned char *) buf; in asniprintf() 56 return (char *) f._bf._base; in asniprintf()
|
D | vasnprintf.c | 39 f._bf._base = f._p = (unsigned char *) buf; in vasnprintf() 55 return (char *) f._bf._base; in vasnprintf()
|
D | asnprintf.c | 38 f._bf._base = f._p = (unsigned char *) buf; in asnprintf() 56 return (char *) f._bf._base; in asnprintf()
|
D | ftello.c | 106 fp->_p != NULL && fp->_p - fp->_bf._base > 0 && in ftello() 145 pos += fp->_p - fp->_bf._base; in ftello()
|
/picolibc-3.5.0-3.4.0/newlib/libc/stdio64/ |
D | fseeko64.c | 172 curoff += fp->_p - fp->_bf._base; in fseeko64() 200 if (fp->_bf._base == NULL) in fseeko64() 264 n = fp->_up - fp->_bf._base; in fseeko64() 270 n = fp->_p - fp->_bf._base; in fseeko64() 285 fp->_p = fp->_bf._base + o; in fseeko64() 307 fp->_p = fp->_bf._base; in fseeko64() 338 fp->_p = fp->_bf._base; in fseeko64()
|
D | ftello64.c | 103 fp->_p != NULL && fp->_p - fp->_bf._base > 0 && in ftello64() 142 pos += fp->_p - fp->_bf._base; in ftello64()
|