/freebsd-current/contrib/libarchive/cpio/test/ |
H A D | test_option_0.c | 42 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 D | mkscrfil.c | 44 fwrite(&scrmap, sizeof(scrmap_t), 1, fd);
|
/freebsd-current/contrib/libarchive/tar/test/ |
H A D | test_option_T_upper.c | 73 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 D | cd9660_eltorito.c | 559 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 D | create_items.c | 29 fwrite(buffer, 1, buffer_size, stdout);
|
H A D | streaming_array.c | 23 if (fwrite(buffer, sizeof(unsigned char), bytes, out) != bytes) exit(1);
|
/freebsd-current/stand/liblua/ |
H A D | lstd.h | 61 #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 D | fmemopen2_test.c | 27 * 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 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-current/sbin/ipf/libipf/ |
H A D | save_execute.c | 71 fwrite(msg->imm_msg, msg->imm_msglen, 1, fp);
|
/freebsd-current/sys/contrib/xz-embedded/userspace/ |
H A D | buftest.c | 45 fwrite(out, 1, b.out_pos, stdout);
|
H A D | xzminidec.c | 82 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 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 | boottest.c | 37 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 D | bltin.h | 59 #define fwrite(ptr, size, nmemb, file) outbin(ptr, (size) * (nmemb), file) macro
|
/freebsd-current/contrib/mandoc/ |
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-current/contrib/dma/ |
H A D | mail.c | 115 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 D | xdr_stdio.c | 118 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 D | cstdio.inc | 33 using ::fwrite;
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | test-readenv.c | 68 if(fwrite(s, 1, strlen(s), f) != strlen(s))
|
/freebsd-current/sys/contrib/openzfs/cmd/ |
H A D | zgenhostid.c | 133 int written = fwrite(&hostid, 1, 4, fp); 135 perror("fwrite");
|
/freebsd-current/contrib/libpcap/testprogs/fuzz/ |
H A D | fuzz_pcap.c | 23 if (fwrite (Data, 1, Size, fd) != Size) {
|
/freebsd-current/usr.sbin/fdread/ |
H A D | fdread.c | 194 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 D | fwrite.c | 94 fwrite(const void * __restrict buf, size_t size, size_t count, function
|
/freebsd-current/usr.bin/asa/ |
H A D | asa.c | 134 fwrite(buf + 1, 1, len - 1, stdout);
|