Lines Matching refs:fp
129 register FILE *fp) in __fgetwc() argument
134 if (fp->_r <= 0 && _srefill ( fp)) in __fgetwc()
139 wc = *fp->_p++; in __fgetwc()
140 fp->_r--; in __fgetwc()
145 nconv = mbrtowc (&wc, (char *) fp->_p, fp->_r, &fp->_mbstate); in __fgetwc()
156 fp->_p++; in __fgetwc()
157 fp->_r--; in __fgetwc()
162 fp->_p += nconv; in __fgetwc()
163 fp->_r -= nconv; in __fgetwc()
167 while (_srefill( fp) == 0); in __fgetwc()
168 fp->_flags |= __SERR; in __fgetwc()
175 register FILE *fp) in fgetwc() argument
179 _newlib_flockfile_start (fp); in fgetwc()
180 if (ORIENT(fp, 1) != 1) in fgetwc()
183 r = __fgetwc (fp); in fgetwc()
184 _newlib_flockfile_end (fp); in fgetwc()