Searched refs:fread (Results 26 - 50 of 201) sorted by relevance

123456789

/freebsd-current/lib/libc/stdio/
H A DMakefile.inc12 fputwc.c fputws.c fread.c freopen.c fscanf.c fseek.c fsetpos.c \
38 fputws.3 fread.3 fseek.3 funopen.3 fwide.3 getc.3 \
64 MLINKS+=fread.3 fread_unlocked.3 \
65 fread.3 fwrite.3 \
66 fread.3 fwrite_unlocked.3
H A Dfread.c49 fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) function
/freebsd-current/sys/contrib/zstd/examples/
H A Dcommon.h128 size_t const readSize = fread(buffer, 1, sizeToRead, file);
132 perror("fread");
186 size_t const readSize = fread(buffer, 1, fileSize, inFile);
188 fprintf(stderr, "fread: %s : %s \n", fileName, strerror(errno));
/freebsd-current/crypto/openssl/crypto/rand/
H A Drand_egd.c181 if (fread(tempbuf, sizeof(char), 1, fp) != 1 || tempbuf[0] == 0)
191 i = fread(buf, sizeof(char), numbytes, fp);
/freebsd-current/usr.bin/iconv/
H A Diconv.c90 while ((inbytes = fread(inbuf, 1, INBUFSIZE, fp)) > 0) {
109 ret = fread(inbuf + inbytes, 1,
119 err(EXIT_FAILURE, "fread()");
/freebsd-current/libexec/tftpd/
H A Dtftp-file.c135 in = fread(convbuffer, 1, count, file);
252 return fread(buffer, 1, count, file);
/freebsd-current/usr.bin/bintrans/
H A Duuencode.c174 while ((n = fread(buf, 1, sizeof(buf), stdin))) {
209 while ((n = fread(buf, 1, 45, stdin))) {
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcstdio.inc27 using std::fread;
/freebsd-current/contrib/libdiff/lib/
H A Ddiff_atomize_text.c67 r = fread(buf, sizeof(char), sizeof(buf), d->root->f);
94 r = fread(buf, sizeof(char), sizeof(buf), d->root->f);
/freebsd-current/contrib/bzip2/
H A Dunzcrash.c92 nIn = fread ( inbuf, 1, M_BLOCK, f );
/freebsd-current/sys/contrib/xz-embedded/userspace/
H A Dxzminidec.c63 b.in_size = fread(in, 1, sizeof(in), stdin);
H A Dbytetest.c55 b.in_size = fread(in, 1, sizeof(in), stdin);
/freebsd-current/contrib/ntp/libntp/lib/isc/unix/
H A Dstdio.c69 r = fread(ptr, size, nmemb, f);
/freebsd-current/crypto/openssl/fuzz/
H A Dtest-corpus.c53 s = fread(buf, 1, st.st_size, f);
/freebsd-current/crypto/openssl/ms/
H A Dapplink.c115 OPENSSL_ApplinkTable[APPLINK_FREAD] = fread;
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_read_large.c88 fread(testdatacopy, 1, sizeof(testdatacopy), f));
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dreplay.c220 fread(&tmp, sizeof(ent), 1, f);
222 while(fread(&tmp, sizeof(ent), 1, f)){
269 r = fread(&ent, sizeof(ent), 1, f);
/freebsd-current/lib/libc/gen/
H A Dpututxline.c86 while (fread(&fe, sizeof(fe), 1, fp) == 1) {
153 while (fread(&fe, sizeof(fe), 1, fp) == 1 && ret != 0)
214 while (fread(&fe, sizeof fe, 1, fp) == 1) {
/freebsd-current/contrib/bmake/
H A Darch.c476 if (fread(magic, SARMAG, 1, arch) != 1 ||
489 while (fread(&arh, sizeof arh, 1, arch) == 1) {
538 if (fread(memName, elen, 1, arch) != 1)
615 if (fread(ar->fnametab, size, 1, arch) != 1) {
703 if (fread(magic, SARMAG, 1, arch) != 1 ||
713 while (fread(out_arh, sizeof *out_arh, 1, arch) == 1) {
751 if (fread(ename, elen, 1, arch) != 1) {
/freebsd-current/contrib/libpcap/
H A Dsf-pcap.c195 amt_read = fread(((char *)&hdr) + sizeof hdr.magic, 1,
461 amt_read = fread(&sf_hdr, 1, ps->hdrsize, fp);
615 amt_read = fread(p->buffer, 1, p->snapshot, fp);
645 amt_read = fread(discard_buf, 1, bytes_to_read, fp);
698 amt_read = fread(p->buffer, 1, hdr->caplen, fp);
989 amt_read = fread(&ph, 1, sizeof (ph), f);
/freebsd-current/usr.bin/compress/
H A Dcompress.c212 while ((nr = fread(buf, 1, sizeof(buf), ifp)) != 0)
302 if ((nr = fread(buf, 1, sizeof(buf), ifp)) == 0) {
316 while ((nr = fread(buf, 1, sizeof(buf), ifp)) != 0)
/freebsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_debug.c204 fread(&pttemp, 1, 8, fd);
207 fread(((unsigned char*)&pttemp) + 8, 1, pttemp.length[0], fd);
237 fread(buf, 1, CD9660_SECTOR_SIZE, fd);
/freebsd-current/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fputc.c80 ATF_REQUIRE(fread(buf, 1, 10, f) == 10);
H A Dt_fflush.c121 ATF_REQUIRE(fread(buf, 1, 3, f) == 3);
/freebsd-current/contrib/ntp/libjsmn/example/
H A Djsondump.c71 r = fread(buf, 1, sizeof(buf), stdin);
73 fprintf(stderr, "fread(): %d, errno=%d\n", r, errno);
80 fprintf(stderr, "fread(): unexpected EOF\n");

Completed in 238 milliseconds

123456789