/glibc-2.36/libio/ |
D | iogets.c | 37 _IO_acquire_lock (stdin); in _IO_gets() 38 ch = _IO_getc_unlocked (stdin); in _IO_gets() 51 int old_error = stdin->_flags & _IO_ERR_SEEN; in _IO_gets() 52 stdin->_flags &= ~_IO_ERR_SEEN; in _IO_gets() 54 count = _IO_getline (stdin, buf + 1, INT_MAX, '\n', 0) + 1; in _IO_gets() 55 if (stdin->_flags & _IO_ERR_SEEN) in _IO_gets() 61 stdin->_flags |= old_error; in _IO_gets() 66 _IO_release_lock (stdin); in _IO_gets()
|
D | tst-bz24153.c | 56 FILE *old_stdin = stdin; in narrow() 57 stdin = xfopen (path, "r"); in narrow() 74 fclose (stdin); in narrow() 75 stdin = old_stdin; in narrow() 81 FILE *old_stdin = stdin; in wide() 82 stdin = xfopen (path, "r"); in wide() 92 fclose (stdin); in wide() 93 stdin = old_stdin; in wide()
|
D | getchar.c | 36 if (!_IO_need_lock (stdin)) in getchar() 37 return _IO_getc_unlocked (stdin); in getchar() 38 _IO_acquire_lock (stdin); in getchar() 39 result = _IO_getc_unlocked (stdin); in getchar() 40 _IO_release_lock (stdin); in getchar()
|
D | oldstdfiles.c | 58 #undef stdin 62 extern FILE *stdin; 78 stdin = (FILE *) &_IO_stdin_; in _IO_check_libio() 82 stdin->_vtable_offset = stdout->_vtable_offset in _IO_check_libio()
|
D | getwchar.c | 36 _IO_acquire_lock (stdin); in getwchar() 37 result = _IO_getwc_unlocked (stdin); in getwchar() 38 _IO_release_lock (stdin); in getwchar()
|
D | tst-fgetwc.c | 15 if (setvbuf (stdin, NULL, _IONBF, 0) != 0) in do_test() 24 while ((c = fgetwc (stdin)) != WEOF) in do_test() 27 if (ferror (stdin)) in do_test()
|
D | stdio.c | 30 #undef stdin 33 FILE *stdin = (FILE *) &_IO_2_1_stdin_; variable
|
D | tst_getwc.c | 30 while (! feof (stdin) && n < sizeof (buf) - 1) in main() 32 buf[n] = getwc (stdin); in main()
|
D | tst-freopen.c | 126 FILE *f = freopen (name, "r", stdin); in do_test_bz21398() 133 char *ret = fgets (buf, sizeof (buf), stdin); in do_test_bz21398()
|
D | getchar_u.c | 35 return _IO_getc_unlocked (stdin); in getchar_unlocked()
|
D | getwchar_u.c | 35 return _IO_getwc_unlocked (stdin); in getwchar_unlocked()
|
/glibc-2.36/debug/ |
D | gets_chk.c | 40 _IO_acquire_lock (stdin); in __gets_chk() 41 ch = _IO_getc_unlocked (stdin); in __gets_chk() 54 int old_error = stdin->_flags & _IO_ERR_SEEN; in __gets_chk() 55 stdin->_flags &= ~_IO_ERR_SEEN; in __gets_chk() 57 count = _IO_getline (stdin, buf + 1, size - 1, '\n', 0) + 1; in __gets_chk() 58 if (stdin->_flags & _IO_ERR_SEEN) in __gets_chk() 64 stdin->_flags |= old_error; in __gets_chk() 71 _IO_release_lock (stdin); in __gets_chk()
|
D | tst-fortify.c | 964 if (freopen (temp_filename, "r", stdin) == NULL) in do_test() 982 rewind (stdin); in do_test() 984 if (fgets (buf, buf_size, stdin) != buf in do_test() 987 if (fgets (buf, buf_size, stdin) != buf || memcmp (buf, "ABCDEFGHI", 10)) in do_test() 990 rewind (stdin); in do_test() 992 if (fgets (buf, l0 + buf_size, stdin) != buf in do_test() 998 if (fgets (buf, buf_size + 1, stdin) != buf) in do_test() 1003 if (fgets (buf, l0 + buf_size + 1, stdin) != buf) in do_test() 1008 rewind (stdin); in do_test() 1011 if (fgets_unlocked (buf, buf_size, stdin) != buf in do_test() [all …]
|
/glibc-2.36/stdio-common/ |
D | tst-ferror.c | 9 if (ferror (stdin) != 0) in do_test() 14 if (fgets (buf, sizeof buf, stdin) != buf) in do_test() 19 if (ferror (stdin) != 0) in do_test() 24 if (fputc ('a', stdin) != EOF) in do_test() 29 if (ferror (stdin) == 0) in do_test() 34 clearerr (stdin); in do_test() 35 if (ferror (stdin) != 0) in do_test()
|
D | tstgetln.c | 27 while ((len = getline (&buf, &size, stdin)) != -1) in main() 37 if (ferror (stdin)) in main()
|
/glibc-2.36/localedata/ |
D | tst-wctype.c | 40 if (fgetws (buf, sizeof (buf) / sizeof (buf[0]), stdin) != NULL) in do_test() 61 if (fgetws (buf, sizeof (buf) / sizeof (buf[0]), stdin) != NULL) in do_test() 82 if (fgetws (buf, sizeof (buf) / sizeof (buf[0]), stdin) != NULL) in do_test() 103 if (fgetws (buf, sizeof (buf) / sizeof (buf[0]), stdin) != NULL) in do_test() 124 if (fgetws (buf, sizeof (buf) / sizeof (buf[0]), stdin) != NULL) in do_test()
|
D | tst-langinfo.c | 157 while (! feof (stdin)) in do_test() 166 if (fgets (buf, sizeof (buf), stdin) == NULL) in do_test()
|
D | tst-ctype.c | 337 while (! feof (stdin)) in do_test() 342 if (getline (&inpline, &inplinelen, stdin) <= 0 in do_test() 343 || getline (&resline, &reslinelen, stdin) <= 0) in do_test()
|
/glibc-2.36/posix/ |
D | bug-regex31.c | 15 while (! feof (stdin)) in main() 17 ssize_t n = getline (&buf, &len, stdin); in main()
|
D | tst-fnmatch.c | 57 while (! feof (stdin)) in do_test() 59 ssize_t n = getline (&linebuf, &linebuflen, stdin); in do_test()
|
/glibc-2.36/misc/ |
D | getpass.c | 61 in = stdin; in getpass() 119 if (in != stdin) in getpass()
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm-compat/ |
D | test-scanf-ldbl-compat-template.c | 114 do_test_call (stdin, string, L("%Lf %f"), &ld, &f); in do_test() 129 do_test_call (stdin, string, L(FMT), &ld, &f); in do_test()
|
/glibc-2.36/crypt/ |
D | cert.c | 55 for(;!feof(stdin);){ in main() 103 if(feof(stdin)) in get8()
|
/glibc-2.36/sysdeps/ieee754/ldbl-opt/ |
D | nldbl-compat.c | 326 return __vfscanf_internal (stdin, fmt, ap, SCANF_LDBL_IS_DBL); in weak_alias() 351 ret = __vfscanf_internal (stdin, fmt, ap, SCANF_LDBL_IS_DBL); in __nldbl_scanf() 398 return __vfwscanf_internal (stdin, fmt, ap, SCANF_LDBL_IS_DBL); in libc_hidden_def() 423 ret = __vfwscanf_internal (stdin, fmt, ap, SCANF_LDBL_IS_DBL); in __nldbl_wscanf() 888 return __vfscanf_internal (stdin, fmt, ap, in libc_hidden_def() 914 ret = __vfscanf_internal (stdin, fmt, ap, in __nldbl___isoc99_scanf() 962 return __vfwscanf_internal (stdin, fmt, ap, in libc_hidden_def() 988 ret = __vfwscanf_internal (stdin, fmt, ap, in __nldbl___isoc99_wscanf()
|
/glibc-2.36/libio/bits/ |
D | stdio.h | 49 return getc (stdin); in getchar() 75 return __getc_unlocked_body (stdin); in getchar_unlocked()
|