Searched refs:unget (Results 1 – 12 of 12) sorted by relevance
/picolibc-latest/newlib/libc/tinystdio/ |
D | fgetc.c | 38 __ungetc_t unget; in fgetc() local 45 if ((unget = __atomic_exchange_ungetc(&stream->unget, 0)) != 0) in fgetc() 46 return (unsigned char) (unget - 1); in fgetc()
|
D | fgetwc.c | 41 __ungetc_t unget; in fgetwc() local 48 if ((unget = __atomic_exchange_ungetc(&stream->unget, 0)) != 0) in fgetwc() 49 return (wint_t) (unget - 1); in fgetwc()
|
D | fread.c | 57 __ungetc_t unget; in fread() local 65 if ((unget = __atomic_exchange_ungetc(&stream->unget, 0)) != 0) { in fread() 66 *cp++ = (unget - 1); in fread()
|
D | vfscanf.c | 101 INT unget; member 103 #define SCANF_CONTEXT_INIT { .len = 0, .unget = MY_EOF } 116 c = context->unget; in scanf_getc() 117 context->unget = MY_EOF; in scanf_getc() 133 context->unget = c; in scanf_ungetc() 840 if (!IS_EOF(context.unget)) in vfscanf() 841 UNGETC(context.unget, stream); in vfscanf() 850 if (!IS_EOF(context.unget)) in vfscanf() 851 UNGETC(context.unget, stream); in vfscanf()
|
D | ungetc.c | 46 if (!__atomic_compare_exchange_ungetc(&stream->unget, 0, (__ungetc_t) (unsigned char) c + 1 )) in ungetc()
|
D | ungetwc.c | 44 if (!__atomic_compare_exchange_ungetc(&stream->unget, 0, (__ungetc_t) c + 1)) in ungetwc()
|
D | ftell.c | 49 if (__atomic_load_ungetc(&stream->unget) != 0) in FTELL()
|
D | fseek.c | 49 (void) __atomic_exchange_ungetc(&stream->unget, 0); in FSEEK()
|
D | freopen.c | 62 (void) __atomic_exchange_ungetc(&stream->unget, 0); in freopen()
|
D | stdio.h | 83 __ungetc_t unget; /* ungetc() buffer */ member
|
/picolibc-latest/ |
D | README.md | 247 * Make freopen clear the unget buffer. Thanks to Mostafa Salman.
|
/picolibc-latest/newlib/ |
D | ChangeLog-2015 | 8872 * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
|