Searched refs:fwrite (Results 1 - 25 of 239) sorted by relevance

12345678910

/freebsd-current/contrib/libarchive/cpio/test/
H A Dtest_option_0.c42 assertEqualInt(fwrite("file1\x0a", 1, 6, filelist), 6);
43 assertEqualInt(fwrite("file2\x0d", 1, 6, filelist), 6);
44 assertEqualInt(fwrite("file3\x0a\x0d", 1, 7, filelist), 7);
45 assertEqualInt(fwrite("file4", 1, 5, filelist), 5);
50 assertEqualInt(fwrite("file1\0", 1, 6, filelist), 6);
51 assertEqualInt(fwrite("file2\0", 1, 6, filelist), 6);
52 assertEqualInt(fwrite("file3\0", 1, 6, filelist), 6);
53 assertEqualInt(fwrite("file4", 1, 5, filelist), 5);
/freebsd-current/share/syscons/scrnmaps/
H A Dmkscrfil.c44 fwrite(&scrmap, sizeof(scrmap_t), 1, fd);
/freebsd-current/contrib/libarchive/tar/test/
H A Dtest_option_T_upper.c73 assertEqualInt(1, fwrite("\0", 1, 1, f));
75 assertEqualInt(1, fwrite("\0", 1, 1, f));
78 assertEqualInt(1, fwrite("\0", 1, 1, f));
/freebsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c559 fwrite(&val, sizeof(val), 1, fd);
562 fwrite(&val, sizeof(val), 1, fd);
563 fwrite(&val, sizeof(val), 1, fd);
564 fwrite(&val, sizeof(val), 1, fd);
567 fwrite(&val, sizeof(val), 1, fd);
570 fwrite(&val, sizeof(val), 1, fd);
571 fwrite(&val, sizeof(val), 1, fd);
572 fwrite(&val, sizeof(val), 1, fd);
576 fwrite(&lba, sizeof(lba), 1, fd);
578 fwrite(
[all...]
/freebsd-current/contrib/libcbor/examples/
H A Dcreate_items.c29 fwrite(buffer, 1, buffer_size, stdout);
H A Dstreaming_array.c23 if (fwrite(buffer, sizeof(unsigned char), bytes, out) != bytes) exit(1);
/freebsd-current/stand/liblua/
H A Dlstd.h61 #define fwrite lua_loader_fwrite macro
73 size_t fwrite(const void *ptr, size_t size, size_t count, FILE *stream);
/freebsd-current/lib/libc/tests/stdio/
H A Dfmemopen2_test.c27 * Test basic FILE * functions (fread, fwrite, fseek, fclose) against
56 nofw = fwrite(str, 1, sizeof(str), fp);
90 nofw = fwrite(str2, 1, sizeof(str2), fp);
116 nofw = fwrite("a", 1, 1, fp);
125 nofw = fwrite("a", 1, 1, fp);
162 nofw = fwrite(str, 1, sizeof(str), fp);
180 nofw = fwrite(str2, 1, sizeof(str2), fp);
226 nofw = fwrite(str, 1, strlen(str), fp);
/freebsd-current/contrib/diff/lib/
H A Dunlocked-io.h92 # undef fwrite macro
93 # define fwrite(w,x,y,z) fwrite_unlocked (w,x,y,z) macro
95 # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z)
/freebsd-current/sbin/ipf/libipf/
H A Dsave_execute.c71 fwrite(msg->imm_msg, msg->imm_msglen, 1, fp);
/freebsd-current/sys/contrib/xz-embedded/userspace/
H A Dbuftest.c45 fwrite(out, 1, b.out_pos, stdout);
H A Dxzminidec.c82 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos) {
103 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos
H A Dbytetest.c62 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos) {
91 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos
H A Dboottest.c37 return fwrite(buf, 1, size, stdout);
46 /* fwrite(out, 1, FIXME, stdout); */
76 /* fwrite(out, 1, FIXME, stdout); */
/freebsd-current/bin/sh/bltin/
H A Dbltin.h59 #define fwrite(ptr, size, nmemb, file) outbin(ptr, (size) * (nmemb), file) macro
/freebsd-current/contrib/mandoc/
H A Ddba_write.c101 if (nmemb - fwrite(&out, sizeof(out[0]), nmemb, ofp))
102 err(1, "fwrite");
125 if (fwrite(&i, sizeof(i), 1, ofp) != 1)
126 err(1, "fwrite");
/freebsd-current/contrib/dma/
H A Dmail.c115 if (fwrite(line, 1, pos, bounceq.mailf) != pos)
124 if (fwrite(line, strlen(line), 1, bounceq.mailf) != 1)
360 if (fwrite(line, len, 1, queue->mailf) != 1)
366 if (fwrite("\n", 1, 1, queue->mailf) != 1)
501 if (fwrite(newline, strlen(newline), 1, queue->mailf) != 1)
510 if (fwrite(newline, strlen(newline), 1, queue->mailf) != 1)
/freebsd-current/lib/libc/xdr/
H A Dxdr_stdio.c118 if (fwrite(&mycopy, sizeof(int32_t), 1, (FILE *)xdrs->x_private) != 1)
136 if ((len != 0) && (fwrite(addr, (size_t)len, 1,
167 * a fread or fwrite to a scratch buffer would defeat
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstdio.inc33 using ::fwrite;
/freebsd-current/crypto/heimdal/lib/roken/
H A Dtest-readenv.c68 if(fwrite(s, 1, strlen(s), f) != strlen(s))
/freebsd-current/sys/contrib/openzfs/cmd/
H A Dzgenhostid.c133 int written = fwrite(&hostid, 1, 4, fp);
135 perror("fwrite");
/freebsd-current/contrib/libpcap/testprogs/fuzz/
H A Dfuzz_pcap.c23 if (fwrite (Data, 1, Size, fd) != Size) {
/freebsd-current/usr.sbin/fdread/
H A Dfdread.c194 fwrite(trackbuf, sizeof(unsigned char), rv, of);
209 fwrite(trackbuf, sizeof(unsigned char),
270 fwrite(trackbuf, sizeof(unsigned char),
285 fwrite(trackbuf, sizeof(unsigned char), rv, of);
/freebsd-current/lib/libc/stdio/
H A Dfwrite.c94 fwrite(const void * __restrict buf, size_t size, size_t count, function
/freebsd-current/usr.bin/asa/
H A Dasa.c134 fwrite(buf + 1, 1, len - 1, stdout);

Completed in 242 milliseconds

12345678910