/freebsd-11-stable/contrib/libarchive/cpio/test/ |
H A D | test_option_0.c | 43 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 D | pututline.c | 40 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 D | mkscrfil.c | 44 fwrite(&scrmap, sizeof(scrmap_t), 1, fd);
|
/freebsd-11-stable/contrib/libarchive/tar/test/ |
H A D | test_option_T_upper.c | 74 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 D | test_basic.c | 36 assertEqualInt(10, fwrite("123456789", 1, 10, f));
|
/freebsd-11-stable/usr.sbin/makefs/cd9660/ |
H A D | cd9660_eltorito.c | 543 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 D | fmemopen2_test.c | 27 * 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 D | unlocked-io.h | 92 # 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 D | bltin.h | 60 #define fwrite(ptr, size, nmemb, file) outbin(ptr, (size) * (nmemb), file) macro
|
/freebsd-11-stable/sys/contrib/xz-embedded/userspace/ |
H A D | buftest.c | 44 fwrite(out, 1, b.out_pos, stdout);
|
H A D | bytetest.c | 62 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 D | xzminidec.c | 70 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 D | boottest.c | 37 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 D | bio_lcl.h | 11 # define UP_fwrite fwrite
|
/freebsd-11-stable/contrib/gcc/ |
H A D | c-pch.c | 149 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 D | dba_write.c | 101 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 D | mail.c | 112 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 D | xdr_stdio.c | 123 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 D | head.c | 139 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 D | std_cstdio.h | 60 #undef fwrite macro
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_read_disk_entry_from_file.c | 62 assertEqualInt(4, fwrite("1234", 1, 4, f));
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | test-readenv.c | 68 if(fwrite(s, 1, strlen(s), f) != strlen(s))
|
/freebsd-11-stable/usr.sbin/fdread/ |
H A D | fdread.c | 196 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 D | lstd.h | 54 size_t fwrite(const void *ptr, size_t size, size_t count, FILE *stream);
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | fwrite.c | 34 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
|