Searched refs:_r (Results 1 – 17 of 17) sorted by relevance
/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() 115 if (fp->_r <= 0) { in __srefill() 116 if (fp->_r == 0) in __srefill() 119 fp->_r = 0; in __srefill()
|
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 | 61 int _r; /* read space left for getc() */ member 255 #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
|
D | stdio.cpp | 153 fp->_r = 0; in __sfp() 311 fp->_r = 0; in freopen() 383 fp->_r = fp->_w = 0; in fclose() 455 result -= fp->_r; in __ftello64_unlocked() 499 fp->_r = 0; in __fseeko64()
|
/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 | 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 | 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 | 68 if (fp->_r <= 0 && __srefill(fp)) { in getdelim() 76 p = memchr(fp->_p, sep, (size_t)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 | 55 f._bf._size = f._r = strlen(str); in vsscanf()
|
D | sscanf.c | 59 f._bf._size = f._r = strlen(str); in sscanf()
|
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/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;})
|