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

1234567891011

/freebsd-11-stable/contrib/libarchive/cpio/test/
H A Dtest_option_0.c43 assertEqualInt(fwrite("file1\x0a", 1, 6, filelist), 6);
44 assertEqualInt(fwrite("file2\x0d", 1, 6, filelist), 6);
45 assertEqualInt(fwrite("file3\x0a\x0d", 1, 7, filelist), 7);
46 assertEqualInt(fwrite("file4", 1, 5, filelist), 5);
51 assertEqualInt(fwrite("file1\0", 1, 6, filelist), 6);
52 assertEqualInt(fwrite("file2\0", 1, 6, filelist), 6);
53 assertEqualInt(fwrite("file3\0", 1, 6, filelist), 6);
54 assertEqualInt(fwrite("file4", 1, 5, filelist), 5);
/freebsd-11-stable/contrib/opie/libmissing/
H A Dpututline.c40 fwrite(utmp, sizeof(struct utmp), 1, f);
51 fwrite(utmp, sizeof(struct utmp), 1, f);
60 fwrite(utmp, sizeof(struct utmp), 1, f);
/freebsd-11-stable/share/syscons/scrnmaps/
H A Dmkscrfil.c44 fwrite(&scrmap, sizeof(scrmap_t), 1, fd);
/freebsd-11-stable/contrib/libarchive/tar/test/
H A Dtest_option_T_upper.c74 assertEqualInt(1, fwrite("\0", 1, 1, f));
76 assertEqualInt(1, fwrite("\0", 1, 1, f));
79 assertEqualInt(1, fwrite("\0", 1, 1, f));
H A Dtest_basic.c36 assertEqualInt(10, fwrite("123456789", 1, 10, f));
/freebsd-11-stable/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c543 fwrite(&val, sizeof(val), 1, fd);
546 fwrite(&val, sizeof(val), 1, fd);
547 fwrite(&val, sizeof(val), 1, fd);
548 fwrite(&val, sizeof(val), 1, fd);
551 fwrite(&val, sizeof(val), 1, fd);
554 fwrite(&val, sizeof(val), 1, fd);
555 fwrite(&val, sizeof(val), 1, fd);
556 fwrite(&val, sizeof(val), 1, fd);
560 fwrite(&lba, sizeof(lba), 1, fd);
562 fwrite(
[all...]
/freebsd-11-stable/lib/libc/tests/stdio/
H A Dfmemopen2_test.c27 * Test basic FILE * functions (fread, fwrite, fseek, fclose) against
59 nofw = fwrite(str, 1, sizeof(str), fp);
93 nofw = fwrite(str2, 1, sizeof(str2), fp);
119 nofw = fwrite("a", 1, 1, fp);
128 nofw = fwrite("a", 1, 1, fp);
165 nofw = fwrite(str, 1, sizeof(str), fp);
183 nofw = fwrite(str2, 1, sizeof(str2), fp);
229 nofw = fwrite(str, 1, strlen(str), fp);
/freebsd-11-stable/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-11-stable/bin/sh/bltin/
H A Dbltin.h60 #define fwrite(ptr, size, nmemb, file) outbin(ptr, (size) * (nmemb), file) macro
/freebsd-11-stable/sys/contrib/xz-embedded/userspace/
H A Dbuftest.c44 fwrite(out, 1, b.out_pos, stdout);
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 Dxzminidec.c70 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-11-stable/crypto/openssl/crypto/bio/
H A Dbio_lcl.h11 # define UP_fwrite fwrite
/freebsd-11-stable/contrib/gcc/
H A Dc-pch.c149 if (fwrite (partial_pch, IDENT_LENGTH, 1, f) != 1
150 || fwrite (executable_checksum, 16, 1, f) != 1
151 || fwrite (&v, sizeof (v), 1, f) != 1
152 || fwrite (target_validity, v.target_data_length, 1, f) != 1)
187 if (fwrite (&h, sizeof (h), 1, pch_outfile) != 1)
202 if (fwrite (buf, size, 1, pch_outfile) != 1)
216 || fwrite (get_ident (), IDENT_LENGTH, 1, pch_outfile) != 1)
396 || fwrite (buf, size, 1, asm_out_file) != 1)
/freebsd-11-stable/contrib/mdocml/
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-11-stable/contrib/dma/
H A Dmail.c112 if (fwrite(line, 1, pos, bounceq.mailf) != pos)
121 if (fwrite(line, strlen(line), 1, bounceq.mailf) != 1)
357 if (fwrite(line, len, 1, queue->mailf) != 1)
363 if (fwrite("\n", 1, 1, queue->mailf) != 1)
469 if (fwrite(newline, strlen(newline), 1, queue->mailf) != 1)
478 if (fwrite(newline, strlen(newline), 1, queue->mailf) != 1)
/freebsd-11-stable/lib/libc/xdr/
H A Dxdr_stdio.c123 if (fwrite(&mycopy, sizeof(int32_t), 1, (FILE *)xdrs->x_private) != 1)
141 if ((len != 0) && (fwrite(addr, (size_t)len, 1,
172 * a fread or fwrite to a scratch buffer would defeat
/freebsd-11-stable/usr.bin/head/
H A Dhead.c139 error = fwrite(cp, sizeof(char), readlen, stdout);
160 if (fwrite(buf, sizeof(char), readlen, stdout) != readlen)
/freebsd-11-stable/contrib/libstdc++/include/c/
H A Dstd_cstdio.h60 #undef fwrite macro
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_disk_entry_from_file.c62 assertEqualInt(4, fwrite("1234", 1, 4, f));
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dtest-readenv.c68 if(fwrite(s, 1, strlen(s), f) != strlen(s))
/freebsd-11-stable/usr.sbin/fdread/
H A Dfdread.c196 fwrite(trackbuf, sizeof(unsigned char), rv, of);
211 fwrite(trackbuf, sizeof(unsigned char),
272 fwrite(trackbuf, sizeof(unsigned char),
287 fwrite(trackbuf, sizeof(unsigned char), rv, of);
/freebsd-11-stable/stand/liblua/
H A Dlstd.h54 size_t fwrite(const void *ptr, size_t size, size_t count, FILE *stream);
/freebsd-11-stable/lib/libc/stdio/
H A Dfwrite.c34 static char sccsid[] = "@(#)fwrite.c 8.1 (Berkeley) 6/4/93";
37 __FBSDID("$FreeBSD: stable/11/lib/libc/stdio/fwrite.c 357852 2020-02-13 03:13:29Z kevans $");
98 fwrite(const void * __restrict buf, size_t size, size_t count, function

Completed in 167 milliseconds

1234567891011