Searched refs:ch (Results 1 – 8 of 8) sorted by relevance
/libio/ |
A D | tst-bz24153.c | 61 char ch = 1; in narrow() local 62 TEST_COMPARE (scanf ("%c", &ch), 1); in narrow() 63 TEST_COMPARE (ch, 'c'); in narrow() 64 TEST_COMPARE (call_vscanf ("%c", &ch), 1); in narrow() 65 TEST_COMPARE (ch, 'd'); in narrow() 86 wchar_t ch = 1; in wide() local 87 TEST_COMPARE (wscanf (L"%lc", &ch), 1); in wide() 88 TEST_COMPARE (ch, L'c'); in wide() 89 TEST_COMPARE (call_vwscanf (L"%lc", &ch), 1); in wide() 90 TEST_COMPARE (ch, L'd'); in wide()
|
A D | iogets.c | 34 int ch; in _IO_gets() local 38 ch = _IO_getc_unlocked (stdin); in _IO_gets() 39 if (ch == EOF) in _IO_gets() 44 if (ch == '\n') in _IO_gets() 53 buf[0] = (char) ch; in _IO_gets()
|
A D | test-fmemopen.c | 30 char ch; in do_bz18820() local 34 stream = fmemopen (&ch, 1, "?"); in do_bz18820() 75 int ch; in do_test() local 83 while ((ch = fgetc (stream)) != EOF) in do_test() 84 printf ("Got %c\n", ch); in do_test()
|
A D | tst-atime.c | 22 int ch; in do_test() local 92 ch = fgetc (fp); in do_test() 93 if (ch != 's') in do_test() 95 printf ("did not read correct character: got '%c', expected 's'\n", ch); in do_test()
|
A D | tst-vtables-common.c | 108 method_overflow (FILE *fp, int ch) in method_overflow() argument 114 shared->value = ch; in method_overflow() 139 method_pbackfail (FILE *fp, int ch) in method_pbackfail() argument 145 shared->value = ch; in method_pbackfail()
|
A D | oldfileops.c | 353 _IO_old_file_overflow (FILE *f, int ch) in _IO_old_file_overflow() argument 388 if (ch == EOF) in _IO_old_file_overflow() 393 *f->_IO_write_ptr++ = ch; in _IO_old_file_overflow() 395 || ((f->_flags & _IO_LINE_BUF) && ch == '\n')) in _IO_old_file_overflow() 398 return (unsigned char) ch; in _IO_old_file_overflow()
|
A D | genops.c | 198 __overflow (FILE *f, int ch) in libc_hidden_def() 203 return _IO_OVERFLOW (f, ch); in libc_hidden_def() 362 int ch = _IO_UNDERFLOW (fp); in _IO_default_uflow() local 363 if (ch == EOF) in _IO_default_uflow()
|
A D | fileops.c | 730 _IO_new_file_overflow (FILE *f, int ch) in _IO_new_file_overflow() argument 774 if (ch == EOF) in _IO_new_file_overflow() 780 *f->_IO_write_ptr++ = ch; in _IO_new_file_overflow() 782 || ((f->_flags & _IO_LINE_BUF) && ch == '\n')) in _IO_new_file_overflow() 786 return (unsigned char) ch; in _IO_new_file_overflow()
|
Completed in 16 milliseconds