| /dragonfly/games/battlestar/ |
| HD | save.c | 47 fread(&WEIGHT, sizeof WEIGHT, 1, fp); in restore() 48 fread(&CUMBER, sizeof CUMBER, 1, fp); in restore() 49 fread(&ourclock, sizeof ourclock, 1, fp); in restore() 50 fread(&tmp, sizeof tmp, 1, fp); in restore() 53 fread(location[n].link, sizeof location[n].link, 1, fp); in restore() 54 fread(location[n].objects, sizeof location[n].objects, 1, fp); in restore() 56 fread(inven, sizeof inven, 1, fp); in restore() 57 fread(wear, sizeof wear, 1, fp); in restore() 58 fread(injuries, sizeof injuries, 1, fp); in restore() 59 fread(notes, sizeof notes, 1, fp); in restore() [all …]
|
| /dragonfly/sys/contrib/dev/acpica/source/tools/acpibin/ |
| HD | abcompare.c | 325 Actual = fread (&Header1, 1, sizeof (ACPI_TABLE_HEADER), File); in AbDisplayHeader() 368 Actual = fread (&Header1, 1, sizeof (ACPI_TABLE_HEADER), File); in AbComputeChecksum() 397 Actual = fread (Table, 1, Header1.Length, File); in AbComputeChecksum() 493 Actual1 = fread (&Header1, 1, sizeof (ACPI_TABLE_HEADER), File1); in AbCompareAmlFiles() 500 Actual2 = fread (&Header2, 1, sizeof (ACPI_TABLE_HEADER), File2); in AbCompareAmlFiles() 547 Actual1 = fread (&Char1, 1, 1, File1); in AbCompareAmlFiles() 548 Actual2 = fread (&Char2, 1, 1, File2); in AbCompareAmlFiles() 566 Actual1 = fread (&Char1, 1, 1, File1); in AbCompareAmlFiles() 567 Actual2 = fread (&Char2, 1, 1, File2); in AbCompareAmlFiles() 655 Actual = fread (DataBuffer, 1, Size, File); in AbGetFile()
|
| /dragonfly/games/sail/ |
| HD | lo_main.c | 85 switch (fread(&npeople, sizeof npeople, 1, fp)) { in lo_curses() 100 while (fread(&log, sizeof log, 1, fp) == 1 && in lo_curses() 134 switch (fread(&npeople, sizeof npeople, 1, fp)) { in lo_main() 143 while (fread(&log, sizeof log, 1, fp) == 1 && in lo_main()
|
| /dragonfly/games/snake/snscore/ |
| HD | snscore.c | 73 if (fread(&whoallbest, sizeof(short), 1, fd) == 0) { in main() 77 fread(&allbest, sizeof(short), 1, fd); in main() 80 if(fread(&score, sizeof(short), 1, fd) == 0) in main()
|
| /dragonfly/sys/contrib/dev/acpica/source/compiler/ |
| HD | aslascii.c | 217 while (fread (&Byte, 1, 1, Handle) == 1) in FlIsFileAsciiSource() 330 while (fread (&Byte, 1, 1, Handle) == 1) in FlConsumeAnsiComment() 387 while (fread (&Byte, 1, 1, Handle) == 1) in FlConsumeNewComment()
|
| /dragonfly/games/phantasia/ |
| HD | interplayer.c | 38 while (fread((char *)&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) { in checkbattle() 410 while (fread((char *)&Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp) == 1) in checktampered() 571 … while (fread((char *)&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in tampered() 627 while (fread((char *)&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) { in userlist() 700 while (fread((char *)&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in throneroom() 732 fread((char *)&Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); in throneroom() 816 fread((char *)&temp1, sizeof(double), 1, fp); in dotampered() 866 fread((char *)&Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); in dotampered() 998 while (fread((char *)&Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp) == 1) in allocvoid()
|
| HD | gamesupport.c | 476 while (fread((char *)&Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp) == 1) in monstlist() 497 while (fread((char *)&sbuf, SZ_SCORESTRUCT, 1, fp) == 1) in scorelist() 519 while (fread((char *)&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in activelist() 549 if (fread((char *)&Other, SZ_PLAYERSTRUCT, 1, Playersfp) != 1) in purgeoldplayers() 586 while (fread((char *)&sbuf, SZ_SCORESTRUCT, 1, fp) == 1) in enterscore()
|
| /dragonfly/usr.sbin/installer/libdfui/ |
| HD | conn_npipe.c | 235 fread(&length, 4, 1, T_NPIPE(c)->in); in dfui_npipe_be_ll_receive() 240 fread(buf, length, 1, T_NPIPE(c)->in); in dfui_npipe_be_ll_receive() 364 fread(&length, 4, 1, T_NPIPE(c)->in); in dfui_npipe_fe_ll_request() 366 fread(buf, length, 1, T_NPIPE(c)->in); in dfui_npipe_fe_ll_request()
|
| /dragonfly/contrib/grep/lib/ |
| HD | unlocked-io.h | 86 # undef fread 87 # define fread(w,x,y,z) fread_unlocked (w,x,y,z) macro 89 # define fread_unlocked(w,x,y,z) fread (w,x,y,z)
|
| /dragonfly/contrib/cvs-1.12/lib/ |
| HD | unlocked-io.h | 87 # undef fread 88 # define fread(w,x,y,z) fread_unlocked (w,x,y,z) macro 90 # define fread_unlocked(w,x,y,z) fread (w,x,y,z)
|
| /dragonfly/lib/libc/stdio/ |
| HD | Makefile.inc | 15 fputc.c fputs.c fputwc.c fputws.c fread.c freopen.c fscanf.c \ 37 fread.3 fseek.3 funopen.3 fwide.3 \ 62 MLINKS+=fread.3 fread_unlocked.3 \ 63 fread.3 fwrite.3 \ 64 fread.3 fwrite_unlocked.3
|
| /dragonfly/sys/contrib/dev/acpica/source/common/ |
| HD | acfileio.c | 398 Count = fread (&TableHeader, 1, sizeof (ACPI_TABLE_HEADER), File); in AcGetOneTableFromFile() 440 Count = fread (Table, 1, TableHeader.Length, File); in AcGetOneTableFromFile() 500 while (fread (&Byte, 1, 1, File) == 1) in AcIsFileBinary() 559 Actual = fread (&TableHeader, 1, sizeof (ACPI_TABLE_HEADER), File); in AcValidateTableHeader()
|
| /dragonfly/contrib/binutils-2.27/gprof/ |
| HD | gmon_io.c | 106 if (fread (buf, 1, 4, ifp) != 4) in gmon_io_read_32() 118 if (fread (buf, 1, 8, ifp) != 8) in gmon_io_read_64() 163 if (fread (buf, 1, n, ifp) != n) in gmon_io_read() 316 if (fread (&ghdr, sizeof (struct gmon_hdr), 1, ifp) != 1) in gmon_out_read() 345 while (fread (&tag, sizeof (tag), 1, ifp) == 1) in gmon_out_read() 527 if (fread (raw_bin_count, sizeof (raw_bin_count), 1, ifp) != 1) in gmon_out_read()
|
| /dragonfly/contrib/binutils-2.34/gprof/ |
| HD | gmon_io.c | 106 if (fread (buf, 1, 4, ifp) != 4) in gmon_io_read_32() 118 if (fread (buf, 1, 8, ifp) != 8) in gmon_io_read_64() 163 if (fread (buf, 1, n, ifp) != n) in gmon_io_read() 316 if (fread (&ghdr, sizeof (struct gmon_hdr), 1, ifp) != 1) in gmon_out_read() 345 while (fread (&tag, sizeof (tag), 1, ifp) == 1) in gmon_out_read() 527 if (fread (raw_bin_count, sizeof (raw_bin_count), 1, ifp) != 1) in gmon_out_read()
|
| /dragonfly/lib/libvgl/ |
| HD | text.c | 61 fread(&VGLTextFont->Width, 1 , 1, fd); in VGLTextSetFontFile() 62 fread(&VGLTextFont->Height, 1 , 1, fd); in VGLTextSetFontFile() 65 fread(VGLTextFont->BitmapArray, 1, in VGLTextSetFontFile()
|
| /dragonfly/contrib/gcc-8.0/libcpp/ |
| HD | pch.c | 418 if (fread (&count_saved, sizeof (count_saved), 1, f) != 1) in _cpp_restore_pushed_macros() 424 if (fread (&nlen, sizeof (nlen), 1, f) != 1) in _cpp_restore_pushed_macros() 430 if (fread (p->name, nlen, 1, f) != 1) in _cpp_restore_pushed_macros() 432 if (fread (&defnlen, sizeof (defnlen), 1, f) != 1) in _cpp_restore_pushed_macros() 441 if (fread (defn, defnlen, 1, f) != 1) in _cpp_restore_pushed_macros() 445 if (fread (&(p->line), sizeof (source_location), 1, f) != 1) in _cpp_restore_pushed_macros() 448 if (fread (&defnlen, sizeof (defnlen), 1, f) != 1) in _cpp_restore_pushed_macros() 891 if (fread (&counter, sizeof (counter), 1, f) != 1) in cpp_read_state()
|
| /dragonfly/contrib/gcc-4.7/libcpp/ |
| HD | pch.c | 405 if (fread (&count_saved, sizeof (count_saved), 1, f) != 1) in _cpp_restore_pushed_macros() 411 if (fread (&nlen, sizeof (nlen), 1, f) != 1) in _cpp_restore_pushed_macros() 417 if (fread (p->name, nlen, 1, f) != 1) in _cpp_restore_pushed_macros() 419 if (fread (&defnlen, sizeof (defnlen), 1, f) != 1) in _cpp_restore_pushed_macros() 428 if (fread (defn, defnlen, 1, f) != 1) in _cpp_restore_pushed_macros() 432 if (fread (&(p->line), sizeof (source_location), 1, f) != 1) in _cpp_restore_pushed_macros() 435 if (fread (&defnlen, sizeof (defnlen), 1, f) != 1) in _cpp_restore_pushed_macros() 876 if (fread (&counter, sizeof (counter), 1, f) != 1) in cpp_read_state()
|
| /dragonfly/contrib/bmake/ |
| HD | arch.c | 532 if (fread(magic, SARMAG, 1, arch) != 1 || in ArchStatMember() 545 while (fread(&arh, sizeof arh, 1, arch) == 1) { in ArchStatMember() 602 if (fread(memName, elen, 1, arch) != 1) in ArchStatMember() 682 if (fread(ar->fnametab, size, 1, arch) != 1) { in ArchSVR4Entry() 784 if (fread(magic, SARMAG, 1, arch) != 1 || in ArchFindMember() 798 while (fread(out_arh, sizeof *out_arh, 1, arch) == 1) { in ArchFindMember() 848 if (fread(ename, elen, 1, arch) != 1) { in ArchFindMember()
|
| /dragonfly/contrib/binutils-2.34/binutils/ |
| HD | elfcomm.c | 515 got = fread (integer_buffer, 1, sizeof_ar_index, arch->file); in process_archive_index_and_symbols() 543 got = fread (index_buffer, sizeof_ar_index, arch->index_num, arch->file); in process_archive_index_and_symbols() 585 got = fread (arch->sym_table, 1, size, arch->file); in process_archive_index_and_symbols() 595 got = fread (&arch->arhdr, 1, sizeof arch->arhdr, arch->file); in process_archive_index_and_symbols() 634 got = fread (&arch->arhdr, 1, sizeof arch->arhdr, file); in setup_archive() 691 if (fread (arch->longnames, arch->longnames_size, 1, file) != 1) in setup_archive() 864 got = fread (&arch->arhdr, 1, sizeof arch->arhdr, arch->file); in get_archive_member_name_at()
|
| /dragonfly/contrib/binutils-2.27/binutils/ |
| HD | elfcomm.c | 503 got = fread (integer_buffer, 1, sizeof_ar_index, arch->file); in process_archive_index_and_symbols() 531 got = fread (index_buffer, sizeof_ar_index, arch->index_num, arch->file); in process_archive_index_and_symbols() 573 got = fread (arch->sym_table, 1, size, arch->file); in process_archive_index_and_symbols() 583 got = fread (&arch->arhdr, 1, sizeof arch->arhdr, arch->file); in process_archive_index_and_symbols() 622 got = fread (&arch->arhdr, 1, sizeof arch->arhdr, file); in setup_archive() 676 if (fread (arch->longnames, arch->longnames_size, 1, file) != 1) in setup_archive() 845 got = fread (&arch->arhdr, 1, sizeof arch->arhdr, arch->file); in get_archive_member_name_at()
|
| HD | elfedit.c | 212 if (fread (elf_header.e_ident, EI_NIDENT, 1, file) != 1) in get_file_header() 240 if (fread (ehdr32.e_type, sizeof (ehdr32) - EI_NIDENT, in get_file_header() 273 if (fread (ehdr64.e_type, sizeof (ehdr64) - EI_NIDENT, in get_file_header() 374 got = fread (&arch.arhdr, 1, sizeof arch.arhdr, file); in process_archive() 526 if (fread (armag, SARMAG, 1, file) != 1) in process_file()
|
| /dragonfly/usr.bin/unstr/ |
| HD | unstr.c | 86 if (fread((char *)&tbl, sizeof(tbl), 1, Dataf) != 1) { in main() 115 fread(&pos, 1, sizeof(pos), Dataf); in order_unstr()
|
| /dragonfly/lib/libc/xdr/ |
| HD | xdr_stdio.c | 109 if (fread(&temp, sizeof(int32_t), 1, (FILE *)xdrs->x_private) != 1) in xdrstdio_getlong() 129 if ((len != 0) && (fread(addr, (size_t)len, 1, (FILE *)xdrs->x_private) != 1)) in xdrstdio_getbytes()
|
| /dragonfly/contrib/gmp/mpz/ |
| HD | inp_raw.c | 67 if (fread (csize_bytes, sizeof (csize_bytes), 1, fp) != 1) in mpz_inp_raw() 96 if (fread (cp, abs_csize, 1, fp) != 1) in mpz_inp_raw()
|
| /dragonfly/contrib/libpcap/ |
| HD | sf-pcap.c | 190 amt_read = fread(((char *)&hdr) + sizeof hdr.magic, 1, in pcap_check_header() 456 amt_read = fread(&sf_hdr, 1, ps->hdrsize, fp); in pcap_next_packet() 610 amt_read = fread(p->buffer, 1, p->snapshot, fp); in pcap_next_packet() 640 amt_read = fread(discard_buf, 1, bytes_to_read, fp); in pcap_next_packet() 693 amt_read = fread(p->buffer, 1, hdr->caplen, fp); in pcap_next_packet() 959 amt_read = fread(&ph, 1, sizeof (ph), f); in pcap_dump_open_append()
|