Searched refs:rpos (Results 1 - 25 of 27) sorted by relevance
12
/seL4-refos-master/libs/libmuslc/src/stdio/ |
H A D | ungetc.c | 9 if (!f->rpos) __toread(f); 10 if (!f->rpos || f->rpos <= f->buf - UNGET) { 15 *--f->rpos = c;
|
H A D | ext2.c | 5 return f->rend - f->rpos; 10 size_t size = f->rend - f->rpos; 13 return (const char *)f->rpos; 18 f->rpos += inc;
|
H A D | fgetln.c | 11 if ((z=memchr(f->rpos, '\n', f->rend - f->rpos))) { 12 ret = (char *)f->rpos; 14 f->rpos = (void *)z;
|
H A D | ungetwc.c | 19 if (!f->rpos) __toread(f); 20 if (!f->rpos || c == WEOF || (l = wcrtomb((void *)mbc, c, 0)) < 0 || 21 f->rpos < f->buf - UNGET + l) { 27 if (isascii(c)) *--f->rpos = c; 28 else memcpy(f->rpos -= l, mbc, l);
|
H A D | fgets.c | 24 z = memchr(f->rpos, '\n', f->rend - f->rpos); 25 k = z ? z - f->rpos + 1 : f->rend - f->rpos; 27 memcpy(p, f->rpos, k); 28 f->rpos += k;
|
H A D | fgetwc.c | 15 if (f->rpos < f->rend) { 16 l = mbrtowc(&wc, (void *)f->rpos, f->rend - f->rpos, &st); 18 f->rpos += l + !l; /* l==0 means 1 byte, null */ 22 f->rpos++;
|
H A D | fflush.c | 31 if (f->rpos < f->rend) f->seek(f, f->rpos-f->rend, SEEK_CUR); 35 f->rpos = f->rend = 0;
|
H A D | vswscanf.c | 14 f->rpos = f->rend = 0; 18 f->rpos = f->buf; 24 *buf = *f->rpos++;
|
H A D | getdelim.c | 28 z = memchr(f->rpos, delim, f->rend - f->rpos); 29 k = z ? z - f->rpos + 1 : f->rend - f->rpos; 43 memcpy(*s+i, f->rpos, k); 44 f->rpos += k;
|
H A D | __stdio_exit.c | 13 if (f->rpos < f->rend) f->seek(f, f->rpos-f->rend, SEEK_CUR);
|
H A D | fread.c | 16 if (f->rend - f->rpos > 0) { 18 k = MIN(f->rend - f->rpos, l); 19 memcpy(dest, f->rpos, k); 20 f->rpos += k;
|
H A D | __stdio_read.c | 19 f->rpos = f->buf; 21 if (f->buf_size) buf[len-1] = *f->rpos++;
|
H A D | fseek.c | 6 if (whence == SEEK_CUR) off -= f->rend - f->rpos; 21 f->rpos = f->rend = 0;
|
H A D | __towrite.c | 11 f->rpos = f->rend = 0;
|
H A D | __string_read.c | 12 f->rpos = (void *)(src+len);
|
H A D | __toread.c | 12 f->rpos = f->rend = f->buf + f->buf_size;
|
H A D | ext.c | 53 f->rpos = f->rend = 0;
|
H A D | ftell.c | 13 return pos - (f->rend - f->rpos) + (f->wpos - f->wbase);
|
H A D | vfwscanf.c | 80 ((f)->rpos < (f)->rend && *(f)->rpos < 128 ? *(f)->rpos++ : (getwc)(f)) 84 ((f)->rend && (c)<128U ? *--(f)->rpos : ungetwc((c),(f)))
|
/seL4-refos-master/libs/libmuslc/src/internal/ |
H A D | shgetc.h | 6 #define shcnt(f) ((f)->shcnt + ((f)->rpos - (f)->rend)) 8 #define shgetc(f) (((f)->rpos < (f)->shend) ? *(f)->rpos++ : __shgetc(f)) 9 #define shunget(f) ((f)->shend ? (void)(f)->rpos-- : (void)0)
|
H A D | shgetc.c | 6 f->shcnt = f->rend - f->rpos; 8 f->shend = f->rpos + lim; 20 if (f->shlim && f->rend - f->rpos > f->shlim - f->shcnt - 1) 21 f->shend = f->rpos + (f->shlim - f->shcnt - 1); 24 if (f->rend) f->shcnt += f->rend - f->rpos + 1; 25 if (f->rpos[-1] != c) f->rpos[-1] = c;
|
H A D | stdio_impl.h | 24 unsigned char *rpos, *rend; member in struct:_IO_FILE 87 ( ((f)->rpos < (f)->rend) ? *(f)->rpos++ : __uflow((f)) )
|
/seL4-refos-master/libs/libmuslc/src/stdlib/ |
H A D | wcstod.c | 19 f->rpos = f->buf; 24 *buf = *f->rpos++; 36 f.rpos = f.rend = 0;
|
H A D | wcstol.c | 21 f->rpos = f->buf; 26 *buf = *f->rpos++; 38 f.rpos = f.rend = 0;
|
H A D | strtod.c | 10 .buf = (void *)s, .rpos = (void *)s,
|
Completed in 52 milliseconds
12