/freebsd-11-stable/lib/libc/stdio/ |
H A D | getw.c | 46 return (fread((void *)&x, sizeof(x), 1, fp) == 1 ? x : EOF);
|
/freebsd-11-stable/contrib/opie/libmissing/ |
H A D | getutline.c | 11 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 D | pututline.c | 11 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 D | boottest.c | 32 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 D | buftest.c | 36 b.in_size = fread(in, 1, sizeof(in), stdin);
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_sparse.c | 91 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 D | aout.c | 75 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 D | aslascii.c | 217 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 D | unlocked-io.h | 86 # 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 D | mkkfont.c | 69 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 D | file.c | 63 len = fread(buf, (size_t)1, sizeof(buf) - 1, file);
|
/freebsd-11-stable/crypto/openssl/crypto/bio/ |
H A D | bio_lcl.h | 10 # define UP_fread fread
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | getutxent.c | 126 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 D | printf_test.c | 85 length = fread(buffer, 1, sizeof(buffer) - 1, file); 87 err(EXIT_FAILURE, "fread failed");
|
/freebsd-11-stable/usr.bin/fortune/unstr/ |
H A D | unstr.c | 96 if (fread((char *)&tbl, sizeof(tbl), 1, Dataf) != 1) { 125 fread(&pos, 1, sizeof(pos), Dataf);
|
/freebsd-11-stable/lib/libvgl/ |
H A D | text.c | 62 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 D | input-file.c | 214 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 D | xdr_stdio.c | 112 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 D | t_clearerr.c | 53 (void)fread(buf, sizeof(buf), 1, fp);
|
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | gen-aout.c | 41 if (fread(&my_exec, sizeof(struct exec), 1, file) != 1) {
|
/freebsd-11-stable/contrib/libstdc++/include/c/ |
H A D | std_cstdio.h | 54 #undef fread macro
|
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | lex_var.h | 32 else if ( ((result = fread( buf, 1, 1, yyin )) == 0) \
|
/freebsd-11-stable/contrib/binutils/include/aout/ |
H A D | encap.h | 94 fread ((char *)&__header_offset_temp, sizeof (short), 1, (f)), \
|
/freebsd-11-stable/usr.sbin/ngctl/ |
H A D | write.c | 86 if ((len = fread(buf, 1, sizeof(buf), fp)) == 0) {
|
/freebsd-11-stable/sys/contrib/dev/acpica/common/ |
H A D | acfileio.c | 398 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);
|