Searched refs:fwrite (Results 26 - 50 of 239) sorted by relevance

12345678910

/freebsd-current/crypto/openssl/demos/bio/
H A Dsaccept.c111 fwrite(buf, 1, i, stdout);
H A Dserver-cmod.c84 fwrite(buf, 1, i, stdout);
H A Dsconnect.c111 fwrite(buf, 1, i, stdout);
/freebsd-current/contrib/libarchive/tar/test/
H A Dtest_basic.c35 assertEqualInt(10, fwrite("123456789", 1, 10, f));
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_read_disk_entry_from_file.c61 assertEqualInt(4, fwrite("1234", 1, 4, f));
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_write_open_file.c89 bytesWritten = fwrite(buff, 1, length, mine->f);
/freebsd-current/lib/libdiff/tests/
H A Dlibdiff_test.c42 ATF_REQUIRE(fwrite(line, sizeof(line), 1, f) == 1);
/freebsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_write.c340 (void)fwrite(&temp_record, 1,
352 fwrite(temp->su_tail_data, 1,
402 success = fwrite(buf, diskStructure->sectorSize * numsecs, 1, fd);
455 fwrite(buf,1,bytes_read,fd);
457 warn("%s: fwrite", __func__);
482 fwrite(&(myattr->attr), CD9660_SUSP_ENTRY_SIZE(myattr), 1, fd);
/freebsd-current/usr.bin/mail/
H A Dsend.c168 (void)fwrite(prefix, sizeof(*prefix),
171 (void)fwrite(line, sizeof(*line), length, obuf);
195 (void)fwrite(prefix, sizeof(*prefix),
197 (void)fwrite(line, sizeof(*line), c, obuf);
207 if (fwrite(line, sizeof(*line), c, obuf) != c)
576 (void)fwrite(buf, 1, i, fo);
/freebsd-current/crypto/heimdal/lib/asn1/
H A Dasn1_gen.c122 if (fwrite(p + sizeof(p) - sz , sz, 1, fout) != 1)
123 err(1, "fwrite length/tag failed");
135 if (fwrite(pdata, datalen, 1, fout) != 1)
136 err(1, "fwrite data failed");
/freebsd-current/sys/contrib/zstd/zlibWrapper/examples/
H A Dfitblk_original.c166 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
219 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
/freebsd-current/sys/contrib/zstd/examples/
H A Dcommon.h148 size_t const writtenSize = fwrite(buffer, 1, sizeToWrite, file);
151 perror("fwrite");
223 size_t const wSize = fwrite(buff, 1, buffSize, oFile);
225 fprintf(stderr, "fwrite: %s : %s \n", fileName, strerror(errno));
/freebsd-current/usr.bin/iconv/
H A Diconv.c101 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes,
133 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes, stdout);
/freebsd-current/libexec/tftpd/
H A Dtftp-file.c102 return fwrite(convbuffer, 1, n, file);
198 return fwrite(buffer, 1, count, file);
/freebsd-current/sys/contrib/dev/acpica/compiler/
H A Daslfileio.c324 Actual = fwrite ((char *) Buffer, 1, Length, AslGbl_Files[FileId].Handle);
335 Actual = fwrite ((char *) Buffer, 1, Length,
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcstdio.inc33 using std::fwrite;
/freebsd-current/usr.bin/head/
H A Dhead.c164 error = fwrite(cp, sizeof(char), readlen, stdout);
185 if (fwrite(buf, sizeof(char), readlen, stdout) != readlen)
/freebsd-current/contrib/flex/src/
H A Dtables.c272 rv = (int) fwrite (v, 1, (size_t) len, wr->out);
291 rv = (int) fwrite (&vnet, (size_t) bytes, 1, wr->out);
310 rv = (int) fwrite (&vnet, (size_t) bytes, 1, wr->out);
327 rv = (int) fwrite (&v, (size_t) bytes, 1, wr->out);
/freebsd-current/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fopen.c221 ATF_REQUIRE(fwrite("garbage", 1, 7, f) == 7);
226 ATF_REQUIRE(fwrite("garbage", 1, 7, f) == 7);
354 ATF_REQUIRE(fwrite("garbage", 1, 7, f) == 7);
408 ATF_REQUIRE(fwrite("garbage", 1, 7, f) == 7);
H A Dt_popen.c93 if (fwrite(buffer, sizeof(char), BUFSIZE, my_pipe) != BUFSIZE)
94 TEST_ERROR("fwrite");
/freebsd-current/sbin/ipf/libipf/
H A Dsave_file.c117 fwrite(msg->imm_data, msg->imm_dsize, 1, file->fp);
/freebsd-current/contrib/libpcap/testprogs/fuzz/
H A Dfuzz_both.c24 if (fwrite (Data, 1, Size, fd) != Size) {
/freebsd-current/contrib/ntp/libntp/lib/isc/unix/
H A Dstdio.c89 r = fwrite(ptr, size, nmemb, f);
/freebsd-current/tools/tools/fixwhite/
H A Dfixwhite.c125 if (fwrite(queue, 1, queuelen, stdout) != queuelen) {
/freebsd-current/lib/libc/iconv/
H A Dcitrus_lookup_factory.c117 if (fwrite(_region_head(&r), _region_size(&r), 1, out) != 1)

Completed in 167 milliseconds

12345678910