Searched refs:_r (Results 1 – 16 of 16) 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(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() 122 if ((p = memchr(fp->_p, '\n', fp->_r)) == NULL) in fgetln() 132 fp->_r -= diff; in fgetln()
|
D | getdelim.c | 68 if (fp->_r <= 0 && __srefill(fp)) { in getdelim() 76 p = memchr(fp->_p, sep, fp->_r); in getdelim() 78 len = fp->_r; in getdelim() 115 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 | 54 f._bf._size = f._r = strlen(str); in vsscanf()
|
D | wsetup.c | 61 fp->_r = 0; in __swsetup()
|
D | vswscanf.c | 81 f._bf._size = f._r = mlen; in vswscanf()
|
D | setvbuf.c | 70 fp->_r = fp->_lbfsize = 0; in setvbuf()
|
/bionic/libc/stdio/ |
D | refill.c | 54 fp->_r = 0; /* largely a convenience for callers */ in __srefill() 87 if ((fp->_r = fp->_ur) != 0) { in __srefill() 113 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill() 114 if (fp->_r <= 0) { in __srefill() 115 if (fp->_r == 0) in __srefill() 118 fp->_r = 0; in __srefill()
|
D | vfscanf.cpp | 115 while ((fp->_r > 0 || __srefill(fp) == 0) && isspace(*fp->_p)) nread++, fp->_r--, fp->_p++; in __svfscanf() 130 if (fp->_r <= 0 && __srefill(fp)) goto input_failure; in __svfscanf() 132 fp->_r--, fp->_p++; in __svfscanf() 306 if (fp->_r <= 0 && __srefill(fp)) goto input_failure; in __svfscanf() 315 if (--fp->_r > 0) { in __svfscanf() 352 fp->_r--; in __svfscanf() 366 if (fp->_r <= 0 && __srefill(fp)) { in __svfscanf() 382 if ((n = fp->_r) < width) { in __svfscanf() 392 fp->_r -= width; in __svfscanf() 441 fp->_r--; in __svfscanf() [all …]
|
D | stdio.cpp | 190 fp->_r = 0; in __sfp() 359 fp->_r = 0; in freopen() 437 fp->_r = fp->_w = 0; in __FILE_close() 583 result -= fp->_r; in __ftello64_unlocked() 627 fp->_r = 0; in __fseeko64() 787 if (fp->_r <= 0) { in fgets_unlocked() 794 size_t len = fp->_r; in fgets_unlocked() 804 fp->_r -= len; in fgets_unlocked() 810 fp->_r -= len; in fgets_unlocked() 1109 if (fp->_r < 0) fp->_r = 0; in fread_unlocked() [all …]
|
D | local.h | 63 int _r; /* read space left for getc() */ member 240 #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
|
D | parsefloat.c | 175 if (--fp->_r > 0) in parsefloat()
|
/bionic/tests/ |
D | setjmp_test.cpp | 177 #define GET_FREG(n) ({ double _r; asm volatile("fmov %0, d"#n : "=r"(_r) : :); _r; }) 192 #define GET_FREG(n) ({ double _r; asm volatile("fcpyd %P0, d"#n : "=w"(_r) : :); _r;})
|
/bionic/libc/bionic/ |
D | wcstod.cpp | 63 f._bf._size = f._r = max_len; in wcstod()
|