Home
last modified time | relevance | path

Searched refs:_r (Results 1 – 20 of 20) sorted by relevance

/bionic/libc/kernel/arch-sh/asm/
Dflat.h24_r) do { _r->regs[0]=0; _r->regs[1]=0; _r->regs[2]=0; _r->regs[3]=0; _r->regs[4]=0; _r->regs[5… argument
/bionic/libc/stdio/
Drefill.c60 fp->_r = 0; /* largely a convenience for callers */ in __srefill()
91 if ((fp->_r = fp->_ur) != 0) { in __srefill()
109 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill()
111 if (fp->_r <= 0) { in __srefill()
112 if (fp->_r == 0) in __srefill()
115 fp->_r = 0; in __srefill()
Dfgetln.c78 if (fp->_r <= 0 && __srefill(fp)) { in fgetln()
84 if ((p = memchr((void *)fp->_p, '\n', fp->_r)) != NULL) { in fgetln()
96 fp->_r -= len; in fgetln()
111 for (len = fp->_r, off = 0;; len += fp->_r) { in fgetln()
126 if ((p = memchr((void *)fp->_p, '\n', fp->_r)) == NULL) in fgetln()
137 fp->_r -= diff; in fgetln()
Dfgets.c61 if (fp->_r <= 0) { in fgets()
69 len = fp->_r; in fgets()
83 fp->_r -= len; in fgets()
89 fp->_r -= len; in fgets()
Dfseek.c90 curoff -= fp->_r; in fseeko()
155 curoff -= fp->_r; in fseeko()
167 curoff += fp->_r; /* kill off ungetc */ in fseeko()
174 n += fp->_r; in fseeko()
188 fp->_r = n - o; in fseeko()
206 fp->_r = 0; in fseeko()
213 if (__srefill(fp) || (size_t)fp->_r < n) in fseeko()
216 fp->_r -= n; in fseeko()
233 fp->_r = 0; in fseeko()
Dfread.c63 if (fp->_r < 0) in fread()
64 fp->_r = 0; in fread()
79 fp->_r = 0; /* largely a convenience for callers */ in fread()
141 while (resid > (size_t)(r = fp->_r)) { in fread()
155 fp->_r -= resid; in fread()
Dungetc.c109 if (fp->_r >= _UB(fp)._size && __submore(fp)) in ungetc()
112 fp->_r++; in ungetc()
125 fp->_r++; in ungetc()
133 fp->_ur = fp->_r; in ungetc()
139 fp->_r = 1; in ungetc()
Dvfscanf.c130 while ((fp->_r > 0 || __srefill(fp) == 0) && in VFSCANF()
132 nread++, fp->_r--, fp->_p++; in VFSCANF()
147 if (fp->_r <= 0 && __srefill(fp)) in VFSCANF()
151 fp->_r--, fp->_p++; in VFSCANF()
308 if (fp->_r <= 0 && __srefill(fp)) in VFSCANF()
318 if (--fp->_r > 0) in VFSCANF()
342 if ((n = fp->_r) < (int)width) { in VFSCANF()
353 fp->_r -= width; in VFSCANF()
378 n++, fp->_r--, fp->_p++; in VFSCANF()
381 if (fp->_r <= 0 && __srefill(fp)) { in VFSCANF()
[all …]
Drget.c47 fp->_r--; in __srget()
Dfpurge.c55 fp->_r = 0; in fpurge()
Dvsscanf.c54 f._bf._size = f._r = strlen(str); in vsscanf()
Dsscanf.c58 f._bf._size = f._r = strlen(str); in sscanf()
Dfclose.c62 fp->_r = fp->_w = 0; /* Mess up if reaccessed. */ in fclose()
Dwsetup.c61 fp->_r = 0; in __swsetup()
Dftell.c69 pos -= fp->_r; in ftello()
Dsetvbuf.c69 fp->_r = fp->_lbfsize = 0; in setvbuf()
Dfreopen.c108 fp->_r = 0; in freopen()
Dfindfp.c119 fp->_r = 0; in __sfp()
/bionic/libc/kernel/arch-arm/asm/
Delf.h55 #define ELF_PLAT_INIT(_r, load_addr) (_r)->ARM_r0 = 0 argument
/bionic/libc/include/
Dstdio.h121 int _r; /* read space left for getc() */ member
382 #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))