Searched refs:fread (Results 1 - 25 of 201) sorted by relevance

123456789

/freebsd-current/lib/libc/stdio/
H A Dgetw.c42 return (fread((void *)&x, sizeof(x), 1, fp) == 1 ? x : EOF);
/freebsd-current/sys/contrib/xz-embedded/userspace/
H A Dboottest.c32 return fread(buf, 1, size, stdin);
44 in_size = fread(in, 1, sizeof(in), stdin);
55 in_size = fread(in, 1, sizeof(in), stdin);
H A Dbuftest.c36 b.in_size = fread(in, 1, sizeof(in), stdin);
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_sparse.c90 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
100 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
111 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
191 assertEqualInt(100, fread(buff, 1, 100, f));
200 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
210 assertEqualInt(100, fread(buff, 1, 100, f));
219 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
230 assertEqualInt(100, fread(buff, 1, 100, f));
239 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
249 assertEqualInt(buff_size, fread(buf
[all...]
/freebsd-current/sys/contrib/dev/acpica/compiler/
H A Daslascii.c217 while (fread (&Byte, 1, 1, Handle) == 1)
330 while (fread (&Byte, 1, 1, Handle) == 1)
387 while (fread (&Byte, 1, 1, Handle) == 1)
/freebsd-current/stand/liblua/
H A Dlstd.h60 #define fread lua_loader_fread macro
72 size_t fread(void *ptr, size_t size, size_t count, FILE *stream);
/freebsd-current/contrib/diff/lib/
H A Dunlocked-io.h86 # undef fread macro
87 # define fread(w,x,y,z) fread_unlocked (w,x,y,z) macro
89 # define fread_unlocked(w,x,y,z) fread (w,x,y,z)
/freebsd-current/tools/tools/vt/mkkfont/
H A Dmkkfont.c53 if (fread(gbuf, total, 1, stdin) != 1) {
90 if (fread(&fm, sizeof fm, 1, stdin) != 1) {
143 if (fread(&fh, sizeof fh, 1, stdin) != 1) {
/freebsd-current/contrib/wireguard-tools/
H A Dpubkey.c25 if (fread(base64, 1, sizeof(base64) - 1, stdin) != sizeof(base64) - 1) {
/freebsd-current/contrib/libpcap/testprogs/fuzz/
H A Donefile.c42 if (fread(Data, Size, 1, fp) != 1) {
/freebsd-current/share/examples/tests/tests/plain/
H A Dprintf_test.c87 length = fread(buffer, 1, sizeof(buffer) - 1, file);
89 err(EXIT_FAILURE, "fread failed");
/freebsd-current/lib/libc/gen/
H A Dgetutxent.c120 if (fread(&len, sizeof(len), 1, uf) != 1)
135 if (fread(fu, sizeof(*fu), 1, uf) != 1)
141 if (fread(fu, len, 1, uf) != 1)
145 if (fread(fu, sizeof(*fu), 1, uf) != 1)
/freebsd-current/bin/setfacl/
H A Dfile.c60 len = fread(buf, (size_t)1, sizeof(buf) - 1, file);
/freebsd-current/contrib/libcbor/examples/
H A Dreadfile.c29 fread(buffer, length, 1, f);
H A Dstreaming_parser.c50 fread(buffer, length, 1, f);
/freebsd-current/usr.bin/fortune/unstr/
H A Dunstr.c82 if (fread((char *)&tbl, sizeof(tbl), 1, Dataf) != 1) {
111 fread(&pos, 1, sizeof(pos), Dataf);
/freebsd-current/lib/libvgl/
H A Dtext.c62 fread(&VGLTextFont->Width, 1 , 1, fd);
63 fread(&VGLTextFont->Height, 1 , 1, fd);
66 fread(VGLTextFont->BitmapArray, 1,
/freebsd-current/lib/libc/xdr/
H A Dxdr_stdio.c107 if (fread(&temp, sizeof(int32_t), 1, (FILE *)xdrs->x_private) != 1)
127 if ((len != 0) && (fread(addr, (size_t)len, 1, (FILE *)xdrs->x_private) != 1))
167 * a fread or fwrite to a scratch buffer would defeat
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstdio.inc27 using ::fread;
/freebsd-current/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_clearerr.c53 (void)fread(buf, sizeof(buf), 1, fp);
/freebsd-current/contrib/expat/examples/
H A Delements.c99 const size_t len = fread(buf, 1, BUFSIZ, stdin);
H A Doutline.c102 const size_t len = fread(buf, 1, BUFSIZ, stdin);
/freebsd-current/share/examples/tests/tests/tap/
H A Dprintf_test.c142 length = fread(buffer, 1, sizeof(buffer) - 1, file);
144 fail("fread failed");
/freebsd-current/usr.sbin/ngctl/
H A Dwrite.c84 if ((len = fread(buf, 1, sizeof(buf), fp)) == 0) {
/freebsd-current/sys/contrib/dev/acpica/common/
H A Dacfileio.c418 Count = fread (&TableHeader, 1, HeaderLength, File);
466 Count = fread (Table, 1, TableLength, File);
536 while (fread (&Byte, 1, 1, File) == 1)
607 Actual = fread (&TableHeader, 1, HeaderLength, File);

Completed in 185 milliseconds

123456789