Home
last modified time | relevance | path

Searched refs:fread (Results 1 – 25 of 80) sorted by relevance

1234

/glibc-2.36/stdio-common/
Dbug12.c23 fread (m, 4096 * 4 - 10, 1, f); in main()
24 fread (b, 20, 1, f); in main()
30 fread (b, 20, 1, f); in main()
35 fread (b, 20, 1, f); in main()
40 fread (b, 20, 1, f); in main()
Dtst-fseek.c129 else if (fread (buf, sizeof (outstr) - 1, 1, fp) != 1) in do_test()
156 else if (fread (buf, sizeof (outstr) - 1, 1, fp) != 1) in do_test()
183 else if (fread (buf, sizeof (outstr) - 1, 1, fp) != 1) in do_test()
210 else if (fread (buf, sizeof (outstr) - 1, 1, fp) != 1) in do_test()
237 else if (fread (buf, sizeof (outstr) - 1, 1, fp) != 1) in do_test()
264 else if (fread (buf, sizeof (outstr) - 1, 1, fp) != 1) in do_test()
362 if (fread (buf, 1, 2 + 2 * (sizeof (outstr) - 1), fp) in do_test()
387 else if (fread (buf, 1, 2 + 2 * (sizeof (outstr) - 1), fp) in do_test()
Dgetw.c21 #define fread(p, m, n, s) _IO_fread (p, m, n, s) macro
30 if (fread ((void *) &w, sizeof (w), 1, stream) != 1) in getw()
Dbug4.c33 fread (buffer, 1, 31, f); in main()
Dbug3.c35 fread (buf + 1, 1, 23, f); in main()
Dtest-fwrite.c48 if (fread (ibuf, sizeof ibuf, 1, f) != 1) in do_test()
Dtst-fwrite.c52 size_t i = fread (buffer, 1, sizeof (buffer), f); in do_test()
Dbug5.c42 i = fread (buf, 1, sizeof (buf), in); in main()
Dtst-cookie.c80 fread (buf, 1, 1, f); in do_test()
Dxbug.c43 while (!feof(input) && (bytes = fread(buf, 1, BUFSIZ, input)) > 0) { in ReadFile()
Dtst-ungetc.c60 assert (fread (buffer, 1, 64, fp) == 2); in main()
/glibc-2.36/sunrpc/
Dxdr_stdio.c46 #define fread(p, m, n, s) _IO_fread (p, m, n, s) macro
111 if (fread ((caddr_t) &mycopy, 4, 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_getlong()
130 if ((len != 0) && (fread (addr, (int) len, 1, in xdrstdio_getbytes()
177 if (fread ((caddr_t) &mycopy, 4, 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_getint32()
/glibc-2.36/libio/
Dbug-fseek.c51 fread (buf, 3, 1, f); in do_test()
75 fread (buf, 3, 1, f); in do_test()
99 fread (buf, 3, 1, f); in do_test()
Dtst-mmap-offend.c46 cc = fread (buffer, 1, sizeof (buffer), f); in do_test()
60 if (fread (buffer, 1, sizeof (buffer), f) != 0 in do_test()
76 cc = fread (buffer, 1, sizeof (buffer), f); in do_test()
Dtst-mmap2-eofsync.c54 if (fread (buf, pagesize, 1, f) != 1) in do_test()
89 if (fread (buf, pagesize, 1, f) != 1) in do_test()
94 if (fread (buf, pagesize, 1, f) != 1) in do_test()
Dtst-widetext.c54 mbsize = fread (mbbuf, 1, SIZE, stdin); in do_test()
203 if (fread (mb2buf, 1, mbsize, fp) != mbsize) in do_test()
338 if (fread (mb2buf, 1, mbsize, fp) != mbsize) in do_test()
Dtst-freopen.c57 if (fread (temp, 1, strlen (test), f) != strlen (test)) in do_test_basic()
72 if (fread (temp, 1, strlen (test), f) != strlen (test)) in do_test_basic()
Diofread.c44 weak_alias (_IO_fread, fread)
Dtst-eof.c60 if (fread (buf, 1, 20, fp) != 12) in do_test()
Dtst-mmap-setvbuf.c62 if (fread (temp, 1, strlen (test), f) != strlen (test)) in main()
Dbug-ungetc.c50 i = fread ((void *) buf, 4, (size_t) 1, f); in do_test()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dlddlibc4.c83 if (fread (&exec, sizeof exec, 1, fp) < 1) in main()
/glibc-2.36/libio/bits/
Dstdio2.h222 fread) __wur;
232 fread (void *__restrict __ptr, size_t __size, size_t __n, in fread() function
/glibc-2.36/debug/
Dtst-fortify.c1039 if (fread (buf, 1, buf_size, stdin) != buf_size in do_test()
1042 if (fread (buf, buf_size, 1, stdin) != 1 in do_test()
1048 if (fread (buf, l0 + 1, buf_size, stdin) != buf_size in do_test()
1051 if (fread (buf, buf_size, l0 + 1, stdin) != 1 in do_test()
1057 if (fread (buf, 1, buf_size + 1, stdin) != buf_size + 1) in do_test()
1062 if (fread (buf, buf_size + 1, l0 + 1, stdin) != 1) in do_test()
/glibc-2.36/elf/
Dreadlib.c117 if (fread (buf, n, 1, file) == 1 && memcmp (buf, ELFMAG, n) == 0) in process_file()

1234