Searched refs:rend (Results 1 – 23 of 23) sorted by relevance
| /third_party/ulib/musl/src/internal/ |
| A D | shgetc.c | 5 f->shcnt = f->rend - f->rpos; in __shlim() 9 f->shend = f->rend; in __shlim() 18 if (f->shlim && f->rend - f->rpos > f->shlim - f->shcnt - 1) in __shgetc() 21 f->shend = f->rend; in __shgetc() 22 if (f->rend) in __shgetc() 23 f->shcnt += f->rend - f->rpos + 1; in __shgetc()
|
| A D | shgetc.h | 6 #define shcnt(f) ((f)->shcnt + ((f)->rpos - (f)->rend))
|
| A D | stdio_impl.h | 25 unsigned char *rpos, *rend; member 93 #define getc_unlocked(f) (((f)->rpos < (f)->rend) ? *(f)->rpos++ : __uflow((f)))
|
| /third_party/ulib/musl/src/stdio/ |
| A D | fflush.c | 12 if (f->rpos < f->rend) in __fflush_unlocked() 13 f->seek(f, f->rpos - f->rend, SEEK_CUR); in __fflush_unlocked() 17 f->rpos = f->rend = 0; in __fflush_unlocked()
|
| A D | __stdio_exit.c | 9 if (f->rpos < f->rend) in close_file() 10 f->seek(f, f->rpos - f->rend, SEEK_CUR); in close_file()
|
| A D | vswscanf.c | 14 f->rpos = f->rend = 0; in wstring_read() 19 f->rend = f->buf + k; in wstring_read()
|
| A D | fseek.c | 6 off -= f->rend - f->rpos; in __fseeko_unlocked() 23 f->rpos = f->rend = 0; in __fseeko_unlocked()
|
| A D | fread.c | 16 if (f->rend - f->rpos > 0) { in fread() 18 k = MIN(f->rend - f->rpos, l); in fread()
|
| A D | fgets.c | 24 z = memchr(f->rpos, '\n', f->rend - f->rpos); in fgets() 25 k = z ? z - f->rpos + 1 : f->rend - f->rpos; in fgets()
|
| A D | fgetwc.c | 14 if (f->rpos < f->rend) { in __fgetwc_unlocked_internal() 15 l = mbrtowc(&wc, (void*)f->rpos, f->rend - f->rpos, &st); in __fgetwc_unlocked_internal()
|
| A D | getdelim.c | 28 z = memchr(f->rpos, delim, f->rend - f->rpos); in getdelim() 29 k = z ? z - f->rpos + 1 : f->rend - f->rpos; in getdelim()
|
| A D | __towrite.c | 10 f->rpos = f->rend = 0; in __towrite()
|
| A D | __toread.c | 12 f->rpos = f->rend = f->buf + f->buf_size; in __toread()
|
| A D | __string_read.c | 14 f->rend = (void*)(src + k); in __string_read()
|
| A D | fgetln.c | 10 if ((z = memchr(f->rpos, '\n', f->rend - f->rpos))) { in fgetln()
|
| A D | __stdio_read.c | 16 f->rend = f->buf + cnt; in __stdio_read()
|
| A D | ftell.c | 11 return pos - (f->rend - f->rpos) + (f->wpos - f->wbase); in __ftello_unlocked()
|
| A D | vfwscanf.c | 82 #define getwc(f) ((f)->rpos < (f)->rend && *(f)->rpos < 128 ? *(f)->rpos++ : (getwc)(f)) 85 #define ungetwc(c, f) ((f)->rend && (c) < 128U ? *--(f)->rpos : ungetwc((c), (f)))
|
| A D | fmemopen.c | 41 f->rend = f->buf + rem; in mread()
|
| /third_party/ulib/musl/src/stdlib/ |
| A D | strtol.c | 15 f.rend = (void*)-1; in strtox() 17 f.rend = (unsigned char*)s + (size_t)-1 / 2; in strtox()
|
| A D | wcstod.c | 20 f->rend = f->buf + i; in do_read() 35 f.rpos = f.rend = 0; in wcstox()
|
| A D | wcstol.c | 22 f->rend = f->buf + i; in do_read() 37 f.rpos = f.rend = 0; in wcstox()
|
| A D | strtod.c | 8 FILE f = {.buf = (void*)s, .rpos = (void*)s, .rend = (void*)-1, .lock = -1}; in strtox()
|
Completed in 20 milliseconds