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

123456789

/freebsd-11-stable/lib/libc/stdio/
H A Dgetw.c46 return (fread((void *)&x, sizeof(x), 1, fp) == 1 ? x : EOF);
/freebsd-11-stable/contrib/opie/libmissing/
H A Dgetutline.c11 Modified by cmetz for OPIE 2.32. Fixed check for fread() return
46 if (fread(&u, sizeof(struct utmp), 1, f) != 1)
53 while(fread(&u, sizeof(struct utmp), 1, f) == 1) {
H A Dpututline.c11 Modified by cmetz for OPIE 2.32. Fixed check for fread() return
45 while(fread(&u, sizeof(struct utmp), 1, f) == 1) {
/freebsd-11-stable/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-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_sparse.c91 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
101 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
112 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
192 assertEqualInt(100, fread(buff, 1, 100, f));
201 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
211 assertEqualInt(100, fread(buff, 1, 100, f));
220 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
231 assertEqualInt(100, fread(buff, 1, 100, f));
240 assertEqualInt(buff_size, fread(buff, 1, buff_size, f));
250 assertEqualInt(buff_size, fread(buf
[all...]
/freebsd-11-stable/usr.bin/gprof/
H A Daout.c75 fread(&xbuf, 1, sizeof(xbuf), nfile);
102 if (fread(&ssiz, sizeof (ssiz), 1, nfile) == 0)
107 if (fread(strtab+sizeof(ssiz), ssiz-sizeof(ssiz), 1, nfile) != 1)
125 fread(&nbuf, sizeof(nbuf), 1, nfile);
144 fread(&nbuf, sizeof(nbuf), 1, nfile);
182 if ( fread( textspace , 1 , xbuf.a_text , nfile ) != xbuf.a_text ) {
/freebsd-11-stable/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-11-stable/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-11-stable/tools/tools/vt/mkkfont/
H A Dmkkfont.c69 if (fread(gbuf, total, 1, stdin) != 1) {
106 if (fread(&fm, sizeof fm, 1, stdin) != 1) {
159 if (fread(&fh, sizeof fh, 1, stdin) != 1) {
/freebsd-11-stable/bin/setfacl/
H A Dfile.c63 len = fread(buf, (size_t)1, sizeof(buf) - 1, file);
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Dbio_lcl.h10 # define UP_fread fread
/freebsd-11-stable/lib/libc/gen/
H A Dgetutxent.c126 if (fread(&len, sizeof(len), 1, uf) != 1)
141 if (fread(fu, sizeof(*fu), 1, uf) != 1)
147 if (fread(fu, len, 1, uf) != 1)
151 if (fread(fu, sizeof(*fu), 1, uf) != 1)
/freebsd-11-stable/share/examples/tests/tests/plain/
H A Dprintf_test.c85 length = fread(buffer, 1, sizeof(buffer) - 1, file);
87 err(EXIT_FAILURE, "fread failed");
/freebsd-11-stable/usr.bin/fortune/unstr/
H A Dunstr.c96 if (fread((char *)&tbl, sizeof(tbl), 1, Dataf) != 1) {
125 fread(&pos, 1, sizeof(pos), Dataf);
/freebsd-11-stable/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-11-stable/contrib/binutils/gas/
H A Dinput-file.c214 size = fread (buf, sizeof (char), buflen, f_in);
240 size = fread (where, sizeof (char), BUFFER_SIZE, f_in);
/freebsd-11-stable/lib/libc/xdr/
H A Dxdr_stdio.c112 if (fread(&temp, sizeof(int32_t), 1, (FILE *)xdrs->x_private) != 1)
132 if ((len != 0) && (fread(addr, (size_t)len, 1, (FILE *)xdrs->x_private) != 1))
172 * a fread or fwrite to a scratch buffer would defeat
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_clearerr.c53 (void)fread(buf, sizeof(buf), 1, fp);
/freebsd-11-stable/contrib/binutils/bfd/
H A Dgen-aout.c41 if (fread(&my_exec, sizeof(struct exec), 1, file) != 1) {
/freebsd-11-stable/contrib/libstdc++/include/c/
H A Dstd_cstdio.h54 #undef fread macro
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dlex_var.h32 else if ( ((result = fread( buf, 1, 1, yyin )) == 0) \
/freebsd-11-stable/contrib/binutils/include/aout/
H A Dencap.h94 fread ((char *)&__header_offset_temp, sizeof (short), 1, (f)), \
/freebsd-11-stable/usr.sbin/ngctl/
H A Dwrite.c86 if ((len = fread(buf, 1, sizeof(buf), fp)) == 0) {
/freebsd-11-stable/sys/contrib/dev/acpica/common/
H A Dacfileio.c398 Count = fread (&TableHeader, 1, sizeof (ACPI_TABLE_HEADER), File);
440 Count = fread (Table, 1, TableHeader.Length, File);
495 while (fread (&Byte, 1, 1, File) == 1)
552 Actual = fread (&TableHeader, 1, sizeof (ACPI_TABLE_HEADER), File);

Completed in 259 milliseconds

123456789