/netbsd-src/games/battlestar/ |
H A D | save.c | 109 fwrite(&WEIGHT, sizeof WEIGHT, 1, fp); in save() 110 fwrite(&CUMBER, sizeof CUMBER, 1, fp); in save() 111 fwrite(&ourclock, sizeof ourclock, 1, fp); in save() 113 fwrite(&tmp, sizeof tmp, 1, fp); in save() 115 fwrite(location[n].link, sizeof location[n].link, 1, fp); in save() 116 fwrite(location[n].objects, sizeof location[n].objects, 1, fp); in save() 118 fwrite(inven, sizeof inven, 1, fp); in save() 119 fwrite(wear, sizeof wear, 1, fp); in save() 120 fwrite(injuries, sizeof injuries, 1, fp); in save() 121 fwrite(notes, sizeof notes, 1, fp); in save() [all …]
|
/netbsd-src/usr.sbin/makefs/cd9660/ |
H A D | cd9660_eltorito.c | 552 fwrite(&val, sizeof(val), 1, fd); in cd9660_write_mbr_partition_entry() 555 fwrite(&val, sizeof(val), 1, fd); in cd9660_write_mbr_partition_entry() 556 fwrite(&val, sizeof(val), 1, fd); in cd9660_write_mbr_partition_entry() 557 fwrite(&val, sizeof(val), 1, fd); in cd9660_write_mbr_partition_entry() 560 fwrite(&val, sizeof(val), 1, fd); in cd9660_write_mbr_partition_entry() 563 fwrite(&val, sizeof(val), 1, fd); in cd9660_write_mbr_partition_entry() 564 fwrite(&val, sizeof(val), 1, fd); in cd9660_write_mbr_partition_entry() 565 fwrite(&val, sizeof(val), 1, fd); in cd9660_write_mbr_partition_entry() 569 fwrite(&lba, sizeof(lba), 1, fd); in cd9660_write_mbr_partition_entry() 571 fwrite(&lba, sizeof(lba), 1, fd); in cd9660_write_mbr_partition_entry() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/zlib/contrib/minizip/ |
H A D | mztools.c | 67 if (fwrite(header, 1, 30, fpOut) == 30) { 78 if (fwrite(filename, 1, fnsize, fpOut) == fnsize) { 101 if (fwrite(extra, 1, extsize, fpOut) == extsize) { 127 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { 170 if (fwrite(header, 1, 46, fpOutCD) == 46) { 175 if (fwrite(filename, 1, fnsize, fpOutCD) == fnsize) { 188 if (fwrite(extra, 1, extsize, fpOutCD) == extsize) { 198 if ((int)fwrite(comment, 1, comsize, fpOutCD) == comsize) { 240 if (fwrite(header, 1, 22, fpOutCD) == 22) { 244 if ((int)fwrite(comment, 1, comsize, fpOutCD) != comsize) { [all …]
|
/netbsd-src/external/gpl3/gdb/dist/zlib/contrib/minizip/ |
H A D | mztools.c | 67 if (fwrite(header, 1, 30, fpOut) == 30) { 78 if (fwrite(filename, 1, fnsize, fpOut) == fnsize) { 101 if (fwrite(extra, 1, extsize, fpOut) == extsize) { 127 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { 170 if (fwrite(header, 1, 46, fpOutCD) == 46) { 175 if (fwrite(filename, 1, fnsize, fpOutCD) == fnsize) { 188 if (fwrite(extra, 1, extsize, fpOutCD) == extsize) { 198 if ((int)fwrite(comment, 1, comsize, fpOutCD) == comsize) { 240 if (fwrite(header, 1, 22, fpOutCD) == 22) { 244 if ((int)fwrite(comment, 1, comsize, fpOutCD) != comsize) { [all …]
|
/netbsd-src/external/gpl3/gdb.old/dist/zlib/contrib/minizip/ |
H A D | mztools.c | 67 if (fwrite(header, 1, 30, fpOut) == 30) { 78 if (fwrite(filename, 1, fnsize, fpOut) == fnsize) { 101 if (fwrite(extra, 1, extsize, fpOut) == extsize) { 127 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { 170 if (fwrite(header, 1, 46, fpOutCD) == 46) { 175 if (fwrite(filename, 1, fnsize, fpOutCD) == fnsize) { 188 if (fwrite(extra, 1, extsize, fpOutCD) == extsize) { 198 if ((int)fwrite(comment, 1, comsize, fpOutCD) == comsize) { 240 if (fwrite(header, 1, 22, fpOutCD) == 22) { 244 if ((int)fwrite(comment, 1, comsize, fpOutCD) != comsize) { [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/zlib/contrib/minizip/ |
H A D | mztools.c | 67 if (fwrite(header, 1, 30, fpOut) == 30) { 78 if (fwrite(filename, 1, fnsize, fpOut) == fnsize) { 101 if (fwrite(extra, 1, extsize, fpOut) == extsize) { 127 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { 170 if (fwrite(header, 1, 46, fpOutCD) == 46) { 175 if (fwrite(filename, 1, fnsize, fpOutCD) == fnsize) { 188 if (fwrite(extra, 1, extsize, fpOutCD) == extsize) { 198 if ((int)fwrite(comment, 1, comsize, fpOutCD) == comsize) { 240 if (fwrite(header, 1, 22, fpOutCD) == 22) { 244 if ((int)fwrite(comment, 1, comsize, fpOutCD) != comsize) { [all …]
|
/netbsd-src/external/bsd/openldap/dist/libraries/liblunicode/ucdata/ |
H A D | ucgendat.c | 1394 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata() 1399 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out); in write_cdata() 1404 fwrite((char *) propcnt, sizeof(ac_uint2), nprops, out); in write_cdata() 1411 fwrite((char *) proptbl[i].ranges, sizeof(ac_uint4), in write_cdata() 1472 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata() 1477 fwrite((char *) casecnt, sizeof(ac_uint2), 2, out); in write_cdata() 1483 fwrite((char *) upper, sizeof(_case_t), upper_used, out); in write_cdata() 1489 fwrite((char *) lower, sizeof(_case_t), lower_used, out); in write_cdata() 1495 fwrite((char *) title, sizeof(_case_t), title_used, out); in write_cdata() 1543 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata() [all …]
|
/netbsd-src/lib/libcurses/ |
H A D | fileio.c | 62 if (fwrite(&n, sizeof(int), 1, fp) != 1) in __putnsp() 64 if (fwrite(&nsp->ch, sizeof(wchar_t), 1, fp) != 1) in __putnsp() 68 if (fwrite(&n, sizeof(int), 1, fp) != 1) in __putnsp() 97 if (fwrite(&major, sizeof(int), 1, fp) != 1) in putwin() 99 if (fwrite(&minor, sizeof(int), 1, fp) != 1) in putwin() 103 if (fwrite(win, sizeof(WINDOW), 1, fp) != 1) in putwin() 115 if (fwrite(&sp->ch, sizeof(wchar_t), 1, fp) != 1) in putwin() 117 if (fwrite(&sp->attr, sizeof(attr_t), 1, fp) != 1) in putwin()
|
/netbsd-src/external/gpl3/binutils/dist/gprof/ |
H A D | bb_exit_func.c | 74 fwrite (&ghdr, sizeof (ghdr), 1, fp); in __bb_exit_func() 83 fwrite (&tag, sizeof (tag), 1, fp); in __bb_exit_func() 84 fwrite (&ncounts, sizeof (ncounts), 1, fp); in __bb_exit_func() 88 fwrite (&ptr->addresses[i], sizeof (ptr->addresses[0]), 1, fp); in __bb_exit_func() 89 fwrite (&ptr->counts[i], sizeof (ptr->counts[0]), 1, fp); in __bb_exit_func()
|
H A D | gmon_io.c | 164 if (fwrite (buf, 1, 4, ofp) != 4) in gmon_io_write_32() 175 if (fwrite (buf, 1, 8, ofp) != 8) in gmon_io_write_64() 205 if (fwrite (buf, 1, 1, ofp) != 1) in gmon_io_write_8() 213 if (fwrite (buf, 1, n, ofp) != n) in gmon_io_write() 594 if (fwrite (&ghdr, sizeof (ghdr), 1, ofp) != 1) in gmon_out_write() 688 && fwrite (pad, 1, padsize, ofp) != padsize) in gmon_out_write() 699 if (fwrite (&raw_bin_count[0], sizeof (raw_bin_count), 1, ofp) != 1) in gmon_out_write()
|
/netbsd-src/external/gpl3/binutils.old/dist/gprof/ |
H A D | bb_exit_func.c | 74 fwrite (&ghdr, sizeof (ghdr), 1, fp); in __bb_exit_func() 83 fwrite (&tag, sizeof (tag), 1, fp); in __bb_exit_func() 84 fwrite (&ncounts, sizeof (ncounts), 1, fp); in __bb_exit_func() 88 fwrite (&ptr->addresses[i], sizeof (ptr->addresses[0]), 1, fp); in __bb_exit_func() 89 fwrite (&ptr->counts[i], sizeof (ptr->counts[0]), 1, fp); in __bb_exit_func()
|
H A D | gmon_io.c | 164 if (fwrite (buf, 1, 4, ofp) != 4) in gmon_io_write_32() 175 if (fwrite (buf, 1, 8, ofp) != 8) in gmon_io_write_64() 205 if (fwrite (buf, 1, 1, ofp) != 1) in gmon_io_write_8() 213 if (fwrite (buf, 1, n, ofp) != n) in gmon_io_write() 594 if (fwrite (&ghdr, sizeof (ghdr), 1, ofp) != 1) in gmon_out_write() 688 && fwrite (pad, 1, padsize, ofp) != padsize) in gmon_out_write() 699 if (fwrite (&raw_bin_count[0], sizeof (raw_bin_count), 1, ofp) != 1) in gmon_out_write()
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | write-mo.c | 507 fwrite (&header, header_size, 1, output_file); in write_table() 528 fwrite (orig_tab, nstrings * sizeof (struct string_desc), 1, output_file); in write_table() 548 fwrite (trans_tab, nstrings * sizeof (struct string_desc), 1, output_file); in write_table() 589 fwrite (hash_tab, hash_tab_size * sizeof (nls_uint32), 1, output_file); in write_table() 621 fwrite (sysdep_segments_tab, in write_table() 648 fwrite (sysdep_tab, n_sysdep_strings * sizeof (nls_uint32), 1, in write_table() 689 fwrite (str, in write_table() 715 fwrite (null, roundup (offset, alignment) - offset, 1, output_file); in write_table() 718 fwrite (msg_arr[j].str[M_ID].pointer, msg_arr[j].str[M_ID].length, 1, in write_table() 721 fwrite (msg_arr[j].id_plural, msg_arr[j].id_plural_len, 1, in write_table() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/ |
H A D | pch.c | 86 if (fwrite (&s, sizeof (s), 1, f) != 1 in write_macdef() 87 || fwrite (defn, 1, s.definition_length, f) != s.definition_length) in write_macdef() 339 if (fwrite (&z, sizeof (z), 1, f) != 1 in cpp_write_pch_deps() 340 || fwrite (ss->definedstrs, ss->hashsize, 1, f) != 1) in cpp_write_pch_deps() 354 if (fwrite (&r->counter, sizeof (r->counter), 1, f) != 1) in cpp_write_pch_deps() 387 if (fwrite (&r->counter, sizeof (r->counter), 1, f) != 1) in cpp_write_pch_state() 470 if (fwrite (&count_saved, sizeof (count_saved), 1, f) != 1) in _cpp_save_pushed_macros() 489 if (fwrite (&defnlen, sizeof (size_t), 1, f) != 1 in _cpp_save_pushed_macros() 490 || fwrite (pp[i]->name, defnlen, 1, f) != 1) in _cpp_save_pushed_macros() 495 if (fwrite (&defnlen, sizeof (size_t), 1, f) != 1) in _cpp_save_pushed_macros() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libcpp/ |
H A D | pch.cc | 86 if (fwrite (&s, sizeof (s), 1, f) != 1 in write_macdef() 87 || fwrite (defn, 1, s.definition_length, f) != s.definition_length) in write_macdef() 339 if (fwrite (&z, sizeof (z), 1, f) != 1 in cpp_write_pch_deps() 340 || fwrite (ss->definedstrs, ss->hashsize, 1, f) != 1) in cpp_write_pch_deps() 354 if (fwrite (&r->counter, sizeof (r->counter), 1, f) != 1) in cpp_write_pch_deps() 387 if (fwrite (&r->counter, sizeof (r->counter), 1, f) != 1) in cpp_write_pch_state() 470 if (fwrite (&count_saved, sizeof (count_saved), 1, f) != 1) in _cpp_save_pushed_macros() 489 if (fwrite (&defnlen, sizeof (size_t), 1, f) != 1 in _cpp_save_pushed_macros() 490 || fwrite (pp[i]->name, defnlen, 1, f) != 1) in _cpp_save_pushed_macros() 495 if (fwrite (&defnlen, sizeof (size_t), 1, f) != 1) in _cpp_save_pushed_macros() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/nvptx/ |
H A D | error.c | 46 #undef fwrite 48 # define fwrite(ptr, size, nmemb, stream) \ 52 # define fwrite(ptr, size, nmemb, stream) \ macro
|
H A D | affinity-fmt.c | 47 #undef fwrite 48 #define fwrite(ptr, size, nmemb, stream) write (1, (ptr), (nmemb) * (size)) macro
|
/netbsd-src/external/bsd/less/dist/lesstest/ |
H A D | log.c | 53 fwrite("=", 1, 1, logf); in log_screen() 54 fwrite(img, 1, len, logf); in log_screen() 55 fwrite("\n", 1, 1, logf); in log_screen() 105 fwrite(buf, 1, n, logf); in log_textfile()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/ |
H A D | c-pch.cc | 121 if (fwrite (partial_pch, IDENT_LENGTH, 1, f) != 1 in pch_init() 122 || fwrite (executable_checksum, 16, 1, f) != 1 in pch_init() 123 || fwrite (&v, sizeof (v), 1, f) != 1 in pch_init() 124 || fwrite (target_validity, v.target_data_length, 1, f) != 1) in pch_init() 182 || fwrite (get_ident (), IDENT_LENGTH, 1, pch_outfile) != 1) in c_common_write_pch()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/ |
H A D | c-pch.c | 123 if (fwrite (partial_pch, IDENT_LENGTH, 1, f) != 1 in pch_init() 124 || fwrite (executable_checksum, 16, 1, f) != 1 in pch_init() 125 || fwrite (&v, sizeof (v), 1, f) != 1 in pch_init() 126 || fwrite (target_validity, v.target_data_length, 1, f) != 1) in pch_init() 184 || fwrite (get_ident (), IDENT_LENGTH, 1, pch_outfile) != 1) in c_common_write_pch()
|
/netbsd-src/external/gpl3/gcc.old/dist/fixincludes/ |
H A D | fixfixes.c | 135 fwrite (text, rm[0].rm_so, 1, stdout); in emit_gnu_type() 224 fwrite(text + pRM->rm_so, len, 1, stdout); in format_write() 284 fwrite( text, rm[0].rm_so, 1, stdout ); in FIX_PROC_HEAD() 371 fwrite (text, 1, p - text, stdout); in FIX_PROC_HEAD() 467 fwrite (text, 1, p - text, stdout); in FIX_PROC_HEAD() 573 fwrite (text, 1, p - text, stdout); in FIX_PROC_HEAD() 574 fwrite (scratch, 1, len, stdout); in FIX_PROC_HEAD()
|
/netbsd-src/external/bsd/unbound/dist/testcode/ |
H A D | checklocks.c | 242 if(fwrite(info, 4*sizeof(int), 1, thr->order_info) != 1 || in ordercheck_locklock() 243 fwrite(lock->holder_file, strlen(lock->holder_file)+1, 1, in ordercheck_locklock() 245 fwrite(&lock->holder_line, sizeof(int), 1, in ordercheck_locklock() 258 if( fwrite(&cmd, sizeof(int), 1, thr->order_info) != 1 || in ordercheck_lockcreate() 259 fwrite(&lock->create_thread, sizeof(int), 1, in ordercheck_lockcreate() 261 fwrite(&lock->create_instance, sizeof(int), 1, in ordercheck_lockcreate() 263 fwrite(lock->create_file, strlen(lock->create_file)+1, 1, in ordercheck_lockcreate() 265 fwrite(&lock->create_line, sizeof(int), 1, in ordercheck_lockcreate() 667 if(fwrite(&t, sizeof(t), 1, thr->order_info) != 1 || in open_lockorder() 668 fwrite(&thr->num, sizeof(thr->num), 1, thr->order_info) != 1 || in open_lockorder() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/rtems/ |
H A D | affinity-fmt.c | 46 #undef fwrite 47 #define fwrite(ptr, size, nmemb, stream) write (1, (ptr), (nmemb) * (size)) macro
|
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/gcn/ |
H A D | affinity-fmt.c | 47 #undef fwrite 48 #define fwrite(ptr, size, nmemb, stream) write (1, (ptr), (nmemb) * (size)) macro
|
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/rtems/ |
H A D | affinity-fmt.c | 46 #undef fwrite 47 #define fwrite(ptr, size, nmemb, stream) write (1, (ptr), (nmemb) * (size)) macro
|