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

1234567891011

/freebsd-10.0-release/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-10.0-release/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-10.0-release/share/syscons/scrnmaps/
H A Dmkscrfil.c44 fwrite(&scrmap, sizeof(scrmap_t), 1, fd);
/freebsd-10.0-release/contrib/texinfo/info/
H A Ddribble.c67 fwrite (&byte, sizeof (unsigned char), 1, info_dribble_file);
/freebsd-10.0-release/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-10.0-release/tools/regression/lib/libc/stdio/
H A Dtest-fmemopen.c27 * Test basic FILE * functions (fread, fwrite, fseek, fclose) against
61 nofw = fwrite(str, 1, sizeof(str), fp);
95 nofw = fwrite(str2, 1, sizeof(str2), fp);
124 nofw = fwrite("a", 1, 1, fp);
135 nofw = fwrite("a", 1, 1, fp);
165 nofw = fwrite(str, 1, sizeof(str), fp);
186 nofw = fwrite(str2, 1, sizeof(str2), fp);
232 nofw = fwrite(str, 1, strlen(str), fp);
/freebsd-10.0-release/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c512 fwrite(&val, sizeof(val), 1, fd);
515 fwrite(&val, sizeof(val), 1, fd);
516 fwrite(&val, sizeof(val), 1, fd);
517 fwrite(&val, sizeof(val), 1, fd);
520 fwrite(&val, sizeof(val), 1, fd);
523 fwrite(&val, sizeof(val), 1, fd);
524 fwrite(&val, sizeof(val), 1, fd);
525 fwrite(&val, sizeof(val), 1, fd);
529 fwrite(&lba, sizeof(lba), 1, fd);
531 fwrite(
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DPathProfileVerifier.cpp187 fwrite(&type,sizeof(unsigned),1,edgeFile);
188 fwrite(&num,sizeof(unsigned),1,edgeFile);
189 fwrite(pathProfileInfo.argList.c_str(),1,num,edgeFile);
191 fwrite(&zeros, 1, 4-(num&3), edgeFile);
195 fwrite(&type,sizeof(unsigned),1,edgeFile);
196 fwrite(&num,sizeof(unsigned),1,edgeFile);
201 fwrite(&*s, sizeof (unsigned), 1, edgeFile);
/freebsd-10.0-release/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-10.0-release/bin/sh/bltin/
H A Dbltin.h59 #define fwrite(ptr, size, nmemb, file) outbin(ptr, (size) * (nmemb), file) macro
/freebsd-10.0-release/crypto/openssl/crypto/bio/
H A Dbio_lcl.h11 #define UP_fwrite fwrite
/freebsd-10.0-release/lib/libc/stdio/
H A Dfwrite.c34 static char sccsid[] = "@(#)fwrite.c 8.1 (Berkeley) 6/4/93";
53 fwrite(const void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) function
/freebsd-10.0-release/sys/contrib/xz-embedded/userspace/
H A Dbuftest.c44 fwrite(out, 1, b.out_pos, stdout);
H A Dxzminidec.c67 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos) {
88 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos
H A Dboottest.c34 return fwrite(buf, 1, size, stdout);
43 /* fwrite(out, 1, FIXME, stdout); */
73 /* fwrite(out, 1, FIXME, stdout); */
/freebsd-10.0-release/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-10.0-release/contrib/amd/fsinfo/
H A Dfsi_lex.l105 # define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
/freebsd-10.0-release/lib/libc/xdr/
H A Dxdr_stdio.c131 if (fwrite(&mycopy, sizeof(int32_t), 1, (FILE *)xdrs->x_private) != 1)
155 if ((len != 0) && (fwrite(addr, (size_t)len, 1,
191 * a fread or fwrite to a scratch buffer would defeat
/freebsd-10.0-release/usr.bin/head/
H A Dhead.c131 error = fwrite(cp, sizeof(char), readlen, stdout);
152 if (fwrite(buf, sizeof(char), readlen, stdout) != readlen)
/freebsd-10.0-release/contrib/ipfilter/lib/
H A Dsave_execute.c75 fwrite(msg->imm_msg, msg->imm_msglen, 1, fp);
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_write_open_file.c90 bytesWritten = fwrite(buff, 1, length, mine->f);
/freebsd-10.0-release/contrib/libarchive/libarchive/test/
H A Dtest_read_disk_entry_from_file.c62 assertEqualInt(4, fwrite("1234", 1, 4, f));
/freebsd-10.0-release/contrib/libstdc++/include/c/
H A Dstd_cstdio.h60 #undef fwrite macro
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dtest-readenv.c68 if(fwrite(s, 1, strlen(s), f) != strlen(s))

Completed in 162 milliseconds

1234567891011