Home
last modified time | relevance | path

Searched refs:mread (Results 1 – 8 of 8) sorted by relevance

/openbsd/games/hack/
H A Dhack.lev.c218 mread(fd, (char *) &hpid, sizeof(hpid)); in getlev()
219 mread(fd, (char *) &dlvl, sizeof(dlvl)); in getlev()
229 mread(fd, (char *) levl, sizeof(levl)); in getlev()
230 mread(fd, (char *)&omoves, sizeof(omoves)); in getlev()
268 mread(fd, (char *)gold, sizeof(struct gold)); in getlev()
273 mread(fd, (char *)gold, sizeof(struct gold)); in getlev()
277 mread(fd, (char *)trap, sizeof(struct trap)); in getlev()
289 mread(fd, (char *)rooms, sizeof(rooms)); in getlev()
290 mread(fd, (char *)doors, sizeof(doors)); in getlev()
293 mread(fd, (char *)wsegs, sizeof(wsegs)); in getlev()
[all …]
H A Dhack.save.c172 mread(fd, (char *) &tmp, sizeof tmp); in dorecover()
180 mread(fd, (char *) &flags, sizeof(struct flag)); in dorecover()
181 mread(fd, (char *) &dlevel, sizeof dlevel); in dorecover()
183 mread(fd, (char *) &moves, sizeof moves); in dorecover()
184 mread(fd, (char *) &u, sizeof(struct you)); in dorecover()
186 mread(fd, (char *) &mid, sizeof mid); in dorecover()
188 mread(fd, (char *) genocided, sizeof genocided); in dorecover()
189 mread(fd, (char *) fut_geno, sizeof fut_geno); in dorecover()
244 mread(fd, (char *) &xl, sizeof(xl)); in restobjchn()
270 mread(fd, (char *)&monbegin, sizeof(monbegin)); in restmonchn()
[all …]
H A Dhack.o_init.c208 mread(fd, (char *) bases, sizeof bases); in restnames()
209 mread(fd, (char *) objects, sizeof objects); in restnames()
211 mread(fd, (char *) &len, sizeof len); in restnames()
214 mread(fd, objects[i].oc_name, len); in restnames()
217 mread(fd, (char *) &len, sizeof len); in restnames()
220 mread(fd, objects[i].oc_descr, len); in restnames()
223 mread(fd, (char *) &len, sizeof len); in restnames()
226 mread(fd, objects[i].oc_uname, len); in restnames()
H A Dhack.engrave.c364 mread(fd, (char *) &lth, sizeof(unsigned)); in rest_engravings()
367 mread(fd, (char *) ep, sizeof(struct engr) + lth); in rest_engravings()
H A Dhack.h402 void mread(int, char *, unsigned);
/openbsd/usr.sbin/vmd/
H A Dloadfile.h86 size_t mread(gzFile, paddr_t, size_t);
H A Dloadfile_elf.c500 mread(gzFile fp, paddr_t addr, size_t sz) in mread() function
744 if (mread(fp, phdr[i].p_paddr, phdr[i].p_filesz) != in elf64_exec()
834 if (mread(fp, maxp, in elf64_exec()
962 if (mread(fp, phdr[i].p_paddr, phdr[i].p_filesz) != in elf32_exec()
1051 if (mread(fp, maxp, in elf32_exec()
H A Dx86_vm.c307 if (mread(fp, off, size) != (size_t)size) { in loadfile_bios()
317 if (mread(fp, off, size) != (size_t)size) { in loadfile_bios()