Searched refs:_r (Results 1 – 22 of 22) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fgetln.c | 75 if (fp->_r <= 0 && __srefill(fp)) in fgetln() 79 if ((p = memchr((void *)fp->_p, '\n', fp->_r)) != NULL) { in fgetln() 89 fp->_r -= len; in fgetln() 105 for (len = fp->_r, off = 0;; len += fp->_r) { in fgetln() 120 if ((p = memchr((void *)fp->_p, '\n', fp->_r)) == NULL) in fgetln() 131 fp->_r -= diff; in fgetln()
|
D | refill.c | 59 fp->_r = 0; /* largely a convenience for callers */ in __srefill() 90 if ((fp->_r = fp->_ur) != 0) { in __srefill() 116 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill() 118 if (fp->_r <= 0) { in __srefill() 119 if (fp->_r == 0) in __srefill() 122 fp->_r = 0; in __srefill()
|
D | fgets.c | 65 if (fp->_r <= 0) { in fgets() 75 len = fp->_r; in fgets() 89 fp->_r -= len; in fgets() 96 fp->_r -= len; in fgets()
|
D | fseek.c | 93 curoff -= fp->_r; in fseeko() 159 curoff -= fp->_r; in fseeko() 171 curoff += fp->_r; /* kill off ungetc */ in fseeko() 178 n += fp->_r; in fseeko() 192 fp->_r = n - o; in fseeko() 211 fp->_r = 0; in fseeko() 218 if (__srefill(fp) || fp->_r < n) in fseeko() 221 fp->_r -= n; in fseeko() 240 fp->_r = 0; in fseeko()
|
D | vfscanf.c | 133 while ((fp->_r > 0 || __srefill(fp) == 0) && in __svfscanf() 135 nread++, fp->_r--, fp->_p++; in __svfscanf() 150 if (fp->_r <= 0 && __srefill(fp)) in __svfscanf() 154 fp->_r--, fp->_p++; in __svfscanf() 310 if (fp->_r <= 0 && __srefill(fp)) in __svfscanf() 320 if (--fp->_r > 0) in __svfscanf() 355 fp->_r--; in __svfscanf() 371 if (fp->_r <= 0 && __srefill(fp)) { in __svfscanf() 386 if ((n = fp->_r) < width) { in __svfscanf() 397 fp->_r -= width; in __svfscanf() [all …]
|
D | getdelim.c | 67 if (fp->_r <= 0 && __srefill(fp)) { in getdelim() 75 p = memchr(fp->_p, sep, (size_t)fp->_r); in getdelim() 77 len = fp->_r; in getdelim() 114 fp->_r -= (int)len; in getdelim()
|
D | ungetc.c | 112 if (fp->_r >= _UB(fp)._size && __submore(fp)) in ungetc() 115 inc_ret: fp->_r++; in ungetc() 136 fp->_ur = fp->_r; in ungetc() 142 fp->_r = 1; in ungetc()
|
D | rget.c | 47 fp->_r--; in __srget()
|
D | fpurge.c | 57 fp->_r = 0; in fpurge()
|
D | vsscanf.c | 55 f._bf._size = f._r = strlen(str); in vsscanf()
|
D | sscanf.c | 59 f._bf._size = f._r = strlen(str); in sscanf()
|
D | fclose.c | 59 fp->_r = fp->_w = 0; /* Mess up if reaccessed. */ in fclose()
|
D | wsetup.c | 61 fp->_r = 0; in __swsetup()
|
D | ftell.c | 72 pos -= fp->_r; in ftello()
|
D | vswscanf.c | 81 f._bf._size = f._r = mlen; in vswscanf()
|
D | setvbuf.c | 70 fp->_r = fp->_lbfsize = 0; in setvbuf()
|
D | freopen.c | 111 fp->_r = 0; in freopen()
|
/bionic/libc/stdio/ |
D | fread.c | 70 if (fp->_r < 0) in fread() 71 fp->_r = 0; in fread() 86 size_t buffered_bytes = MIN((size_t) fp->_r, total); in fread() 89 fp->_r -= buffered_bytes; in fread()
|
D | local.h | 128 #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
|
D | findfp.c | 135 fp->_r = 0; in __sfp()
|
/bionic/tests/ |
D | setjmp_test.cpp | 174 #define GET_FREG(n) ({ double _r; asm volatile("fmov %0, d"#n : "=r"(_r) : :); _r; }) 189 #define GET_FREG(n) ({ double _r; asm volatile("fcpyd %P0, d"#n : "=w"(_r) : :); _r;})
|
/bionic/libc/include/ |
D | stdio.h | 110 int _r; /* read space left for getc() */ member
|