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 D | o_init.c | 269 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 D | write.c | 200 !(objects[new_obj->otyp].oc_uname) &&
|
H A D | objnam.c | 98 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 D | potion.c | 404 } 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 D | read.c | 145 } 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 D | spell.c | 191 !objects[spellbook->otyp].oc_uname) 471 !objects[spellbook->otyp].oc_uname)
|
H A D | muse.c | 723 && !objects[SCR_CREATE_MONSTER].oc_uname) 1722 && !objects[POT_GAIN_LEVEL].oc_uname) 1734 && !objects[POT_GAIN_LEVEL].oc_uname)
|
H A D | do_name.c | 513 str1 = &(objects[obj->otyp].oc_uname);
|
H A D | do.c | 260 !objects[obj->otyp].oc_uname)
|
H A D | do_wear.c | 613 !objects[AMULET_OF_CHANGE].oc_uname)
|
H A D | dothrow.c | 1448 } else if(obj->onamelth || objects[obj->otyp].oc_uname) {
|
H A D | eat.c | 1935 && !objects[otmp->otyp].oc_uname)
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | o_init.c | 269 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 D | write.c | 200 !(objects[new_obj->otyp].oc_uname) &&
|
H A D | objnam.c | 98 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 D | potion.c | 404 } 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 D | read.c | 145 } 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 D | spell.c | 191 !objects[spellbook->otyp].oc_uname) 471 !objects[spellbook->otyp].oc_uname)
|
H A D | muse.c | 723 && !objects[SCR_CREATE_MONSTER].oc_uname) 1722 && !objects[POT_GAIN_LEVEL].oc_uname) 1734 && !objects[POT_GAIN_LEVEL].oc_uname)
|
H A D | do_name.c | 513 str1 = &(objects[obj->otyp].oc_uname);
|
H A D | do.c | 260 !objects[obj->otyp].oc_uname)
|
H A D | do_wear.c | 613 !objects[AMULET_OF_CHANGE].oc_uname)
|
H A D | dothrow.c | 1448 } 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 D | objclass.h | 13 char * oc_uname; /* called by user */ member in struct:objclass
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/ |
H A D | objclass.h | 13 char * oc_uname; /* called by user */ member in struct:objclass
|
Completed in 213 milliseconds
12