Lines Matching refs:fp
92 setvbuf (register FILE * fp, in setvbuf() argument
101 CHECK_INIT (reent, fp); in setvbuf()
119 _newlib_flockfile_start (fp); in setvbuf()
120 fflush ( fp); in setvbuf()
121 if (HASUB(fp)) in setvbuf()
122 FREEUB(reent, fp); in setvbuf()
123 fp->_r = fp->_lbfsize = 0; in setvbuf()
124 if (fp->_flags & __SMBF) in setvbuf()
125 free ((void *) fp->_bf._base); in setvbuf()
126 fp->_flags &= ~(__SLBF | __SNBF | __SMBF | __SOPT | __SNPT | __SEOF); in setvbuf()
136 fp->_flags |= _swhatbuf ( fp, &iosize, &ttyflag); in setvbuf()
163 fp->_flags |= __SNBF; in setvbuf()
164 fp->_w = 0; in setvbuf()
165 fp->_bf._base = fp->_p = fp->_nbuf; in setvbuf()
166 fp->_bf._size = 1; in setvbuf()
167 _newlib_flockfile_exit (fp); in setvbuf()
170 fp->_flags |= __SMBF; in setvbuf()
188 fp->_flags |= __SNPT; in setvbuf()
196 fp->_flags |= __SLBF; in setvbuf()
197 fp->_bf._base = fp->_p = (unsigned char *) buf; in setvbuf()
198 fp->_bf._size = size; in setvbuf()
200 if (fp->_flags & __SWR) in setvbuf()
206 if (fp->_flags & __SLBF) in setvbuf()
208 fp->_w = 0; in setvbuf()
209 fp->_lbfsize = -fp->_bf._size; in setvbuf()
212 fp->_w = size; in setvbuf()
217 fp->_w = 0; in setvbuf()
220 _newlib_flockfile_end (fp); in setvbuf()