Searched refs:oc_uname (Results 1 - 25 of 28) sorted by relevance

12

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Do_init.c269 oc_uname for all objects */
271 if (objects[i].oc_uname) {
273 len = strlen(objects[i].oc_uname)+1;
275 bwrite(fd, (genericptr_t)objects[i].oc_uname, len);
278 free((genericptr_t)objects[i].oc_uname);
279 objects[i].oc_uname = 0;
295 if (objects[i].oc_uname) {
297 objects[i].oc_uname = (char *) alloc(len);
298 mread(fd, (genericptr_t)objects[i].oc_uname, len);
360 return((boolean)(objects[i].oc_uname !
[all...]
H A Dwrite.c200 !(objects[new_obj->otyp].oc_uname) &&
H A Dobjnam.c98 register const char *un = ocl->oc_uname;
171 char *bufp, *pp, *save_uname = objects[otyp].oc_uname;
173 objects[otyp].oc_uname = 0; /* suppress any name given by user */
175 objects[otyp].oc_uname = save_uname;
243 register const char *un = ocl->oc_uname;
885 save_ocuname = objects[obj->otyp].oc_uname;
886 objects[obj->otyp].oc_uname = 0; /* avoid "foo called bar" */
892 objects[obj->otyp].oc_uname = save_ocuname;
2221 if (un && (zn = objects[i].oc_uname) != 0 &&
H A Dpotion.c404 } else if(!objects[otmp->otyp].oc_uname)
941 !objects[obj->otyp].oc_uname)
1163 !objects[obj->otyp].oc_uname && cansee(mon->mx,mon->my))
1316 !objects[obj->otyp].oc_uname)
1586 !(objects[potion->otyp].oc_uname))
1906 if(!objects[old_otyp].oc_uname &&
H A Dread.c145 } else if(!objects[scroll->otyp].oc_uname)
200 (obj->known || objects[obj->otyp].oc_uname));
437 if (objects[obj_id].oc_uname) {
438 free((genericptr_t)objects[obj_id].oc_uname);
439 objects[obj_id].oc_uname = 0;
495 (objects[i].oc_name_known || objects[i].oc_uname))
H A Dspell.c191 !objects[spellbook->otyp].oc_uname)
471 !objects[spellbook->otyp].oc_uname)
H A Dmuse.c723 && !objects[SCR_CREATE_MONSTER].oc_uname)
1722 && !objects[POT_GAIN_LEVEL].oc_uname)
1734 && !objects[POT_GAIN_LEVEL].oc_uname)
H A Ddo_name.c513 str1 = &(objects[obj->otyp].oc_uname);
H A Ddo.c260 !objects[obj->otyp].oc_uname)
H A Ddo_wear.c613 !objects[AMULET_OF_CHANGE].oc_uname)
H A Ddothrow.c1448 } else if(obj->onamelth || objects[obj->otyp].oc_uname) {
H A Deat.c1935 && !objects[otmp->otyp].oc_uname)
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Do_init.c269 oc_uname for all objects */
271 if (objects[i].oc_uname) {
273 len = strlen(objects[i].oc_uname)+1;
275 bwrite(fd, (genericptr_t)objects[i].oc_uname, len);
278 free((genericptr_t)objects[i].oc_uname);
279 objects[i].oc_uname = 0;
295 if (objects[i].oc_uname) {
297 objects[i].oc_uname = (char *) alloc(len);
298 mread(fd, (genericptr_t)objects[i].oc_uname, len);
360 return((boolean)(objects[i].oc_uname !
[all...]
H A Dwrite.c200 !(objects[new_obj->otyp].oc_uname) &&
H A Dobjnam.c98 register const char *un = ocl->oc_uname;
171 char *bufp, *pp, *save_uname = objects[otyp].oc_uname;
173 objects[otyp].oc_uname = 0; /* suppress any name given by user */
175 objects[otyp].oc_uname = save_uname;
243 register const char *un = ocl->oc_uname;
885 save_ocuname = objects[obj->otyp].oc_uname;
886 objects[obj->otyp].oc_uname = 0; /* avoid "foo called bar" */
892 objects[obj->otyp].oc_uname = save_ocuname;
2221 if (un && (zn = objects[i].oc_uname) != 0 &&
H A Dpotion.c404 } else if(!objects[otmp->otyp].oc_uname)
941 !objects[obj->otyp].oc_uname)
1163 !objects[obj->otyp].oc_uname && cansee(mon->mx,mon->my))
1316 !objects[obj->otyp].oc_uname)
1586 !(objects[potion->otyp].oc_uname))
1906 if(!objects[old_otyp].oc_uname &&
H A Dread.c145 } else if(!objects[scroll->otyp].oc_uname)
200 (obj->known || objects[obj->otyp].oc_uname));
437 if (objects[obj_id].oc_uname) {
438 free((genericptr_t)objects[obj_id].oc_uname);
439 objects[obj_id].oc_uname = 0;
495 (objects[i].oc_name_known || objects[i].oc_uname))
H A Dspell.c191 !objects[spellbook->otyp].oc_uname)
471 !objects[spellbook->otyp].oc_uname)
H A Dmuse.c723 && !objects[SCR_CREATE_MONSTER].oc_uname)
1722 && !objects[POT_GAIN_LEVEL].oc_uname)
1734 && !objects[POT_GAIN_LEVEL].oc_uname)
H A Ddo_name.c513 str1 = &(objects[obj->otyp].oc_uname);
H A Ddo.c260 !objects[obj->otyp].oc_uname)
H A Ddo_wear.c613 !objects[AMULET_OF_CHANGE].oc_uname)
H A Ddothrow.c1448 } else if(obj->onamelth || objects[obj->otyp].oc_uname) {
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dobjclass.h13 char * oc_uname; /* called by user */ member in struct:objclass
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dobjclass.h13 char * oc_uname; /* called by user */ member in struct:objclass

Completed in 213 milliseconds

12