Searched refs:fread (Results 101 - 125 of 201) sorted by relevance

123456789

/freebsd-current/contrib/libucl/tests/
H A Dtest_basic.c143 r += fread (inbuf + r, 1, bufsize - r, in);
/freebsd-current/contrib/wpa/src/utils/
H A Dos_win32.c212 fread(buf, 1, *len, f);
H A Dos_unix.c283 rc = fread(buf, 1, len, f);
451 if (fread(buf, 1, *len, f) != *len) {
/freebsd-current/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_misc.c42 sz = fread(tmp, 1, sizeof(tmp), out);
/freebsd-current/sys/contrib/zstd/zlibWrapper/examples/
H A Dfitblk.c85 def->avail_in = (uInt)fread(raw, 1, RAWLEN, in);
/freebsd-current/crypto/openssl/crypto/rand/
H A Drandfile.c152 i = fread(buf, 1, n, in);
/freebsd-current/usr.bin/etdump/
H A Detdump.c84 if (fread(buffer, ISO_DEFAULT_BLOCK_SIZE, 1, iso) != 1) {
/freebsd-current/usr.bin/lastcomm/
H A Dreadrec.c60 if ((rv = fread(ptr, 1, size, f)) == size)
/freebsd-current/usr.sbin/bsdinstall/distfetch/
H A Ddistfetch.c197 while ((chunk = fread(block, 1, sizeof(block), fetch_out))
/freebsd-current/usr.bin/wall/
H A Dwall.c277 if ((int)fread(mbuf, sizeof(*mbuf), mbufsize, fp) != mbufsize)
/freebsd-current/usr.sbin/uefisign/
H A Dchild.c73 nread = fread(buf, len, 1, x->x_fp);
75 err(1, "%s: fread", x->x_path);
/freebsd-current/usr.sbin/lpr/common_source/
H A Drmjob.c169 for (i = 1; (n = fread(current, sizeof(char), sizeof(current), fp)) <= 0; i++) {
/freebsd-current/usr.bin/tail/
H A Dreverse.c219 len += fread(p, 1, BSZ - len, fp);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dos_version_check.c193 size_t NumRead = fread(PListBuf, 1, (size_t)PListFileSize, PropertyList);
/freebsd-current/contrib/libdiff/lib/
H A Ddiff_debug.h59 r = fread(buf, 1, MIN(remain, sizeof(buf)),
/freebsd-current/usr.bin/bsdiff/bspatch/
H A Dbspatch.c185 if (fread(header, 1, HEADER_SIZE, f) < HEADER_SIZE) {
188 err(1, "fread(%s)", argv[3]);
/freebsd-current/sys/contrib/zstd/programs/
H A Dfileio.c28 #include <stdio.h> /* fprintf, open, fdopen, fread, _fileno, stdin, stdout */
767 { size_t const readSize = fread(*bufferPtr, 1, (size_t)fileSize, fileHandle);
1107 size_t const inSize = fread(ress->srcBuffer, 1, ress->srcBufferSize, ress->srcFile);
1193 size_t const inSize = fread(ress->srcBuffer, 1, ress->srcBufferSize, ress->srcFile);
1280 readSize = fread(ress->srcBuffer, (size_t)1, (size_t)blockSize, ress->srcFile);
1309 readSize = fread(ress->srcBuffer, (size_t)1, (size_t)blockSize, ress->srcFile);
1390 size_t const inSize = fread(ress.srcBuffer, (size_t)1, ress.srcBufferSize, srcFile);
1392 DISPLAYLEVEL(6, "fread %u bytes from source \n", (unsigned)inSize);
2171 readFromInput = fread(buffer, 1, blockSize, finput);
2241 ress->srcBufferLoaded += fread(startPositio
[all...]
/freebsd-current/contrib/lua/src/
H A Dliolib.c546 nr = fread(p, sizeof(char), LUAL_BUFFERSIZE, f);
559 nr = fread(p, sizeof(char), n, f); /* try to read 'n' chars */
/freebsd-current/contrib/pf/pflogd/
H A Dpflogd.c423 if (fread((char *)&hdr, sizeof(hdr), 1, fp) != 1) {
439 off_t len = fread((char *)&ph, 1, sizeof(ph), fp);
/freebsd-current/usr.bin/compress/
H A Dzopen.c476 if (fread(header,
596 size = fread(gbuf, 1, n_bits, fp);
/freebsd-current/sbin/restore/
H A Ddirs.c584 (void) fread((char *)&node, 1, sizeof(struct modeinfo), mf);
603 (void) fread(buf, 1, node.extsize, mf);
/freebsd-current/sys/contrib/dev/acpica/compiler/
H A Daslerror.c549 RActual = fread (&SourceByte, 1, 1, SourceFile);
579 RActual = fread (&SourceByte, 1, 1, SourceFile);
/freebsd-current/contrib/dialog/
H A Dtailbox.c132 size_as_read = fread(buf, sizeof(char), size_to_read, fp);
/freebsd-current/contrib/dma/
H A Dmail.c114 while ((pos = fread(line, 1, sizeof(line), it->mailf)) > 0) {
/freebsd-current/contrib/libpcap/
H A Dsavefile.c511 amt_read = fread(&magic, 1, sizeof(magic), fp);

Completed in 244 milliseconds

123456789