Searched refs:o_id (Results 1 - 18 of 18) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dmkobj.c237 otmp->o_id = flags.ident++;
238 if (!otmp->o_id) otmp->o_id = flags.ident++; /* ident overflowed */
339 dummy->o_id = flags.ident++;
340 if (!dummy->o_id) dummy->o_id = flags.ident++; /* ident overflowed */
375 otmp->o_id = flags.ident++;
376 if (!otmp->o_id) otmp->o_id = flags.ident++; /* ident overflowed */
H A Dsteal.c152 if(otmp->o_id == stealoid) {
306 if(otmp->o_id == stealoid) return(0);
394 stealoid = otmp->o_id;
H A Dlight.c101 case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id);
392 ls->id = (genericptr_t)otmp->o_id;
H A Drestore.c212 add_id_mapping(otmp->o_id, nid);
213 otmp->o_id = nid;
H A Dshk.c757 if (bp->bo_id == obj->o_id) {
1812 * Look for o_id on all lists but billobj. Return obj or NULL if not found.
1898 } else if (!(obj->o_id % 4)) /* arbitrarily impose surcharge */
2107 bp->bo_id = obj->o_id;
2327 bp->bo_id = otmp->o_id;
2349 bp->bo_id = otmp->o_id = flags.ident++;
H A Dread.c87 Strcpy(buf, shirt_msgs[scroll->o_id % SIZE(shirt_msgs)]);
92 scroll->o_id ^ (unsigned)u.ubirthday);
H A Dtimeout.c1627 timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id;
1844 if (!curr->arg) panic("cant find o_id %d", nid);
H A Dinvent.c641 if(objchn->o_id == id) return(objchn);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dmkobj.c237 otmp->o_id = flags.ident++;
238 if (!otmp->o_id) otmp->o_id = flags.ident++; /* ident overflowed */
339 dummy->o_id = flags.ident++;
340 if (!dummy->o_id) dummy->o_id = flags.ident++; /* ident overflowed */
375 otmp->o_id = flags.ident++;
376 if (!otmp->o_id) otmp->o_id = flags.ident++; /* ident overflowed */
H A Dsteal.c152 if(otmp->o_id == stealoid) {
306 if(otmp->o_id == stealoid) return(0);
394 stealoid = otmp->o_id;
H A Dlight.c101 case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id);
392 ls->id = (genericptr_t)otmp->o_id;
H A Drestore.c212 add_id_mapping(otmp->o_id, nid);
213 otmp->o_id = nid;
H A Dshk.c757 if (bp->bo_id == obj->o_id) {
1812 * Look for o_id on all lists but billobj. Return obj or NULL if not found.
1898 } else if (!(obj->o_id % 4)) /* arbitrarily impose surcharge */
2107 bp->bo_id = obj->o_id;
2327 bp->bo_id = otmp->o_id;
2349 bp->bo_id = otmp->o_id = flags.ident++;
H A Dread.c87 Strcpy(buf, shirt_msgs[scroll->o_id % SIZE(shirt_msgs)]);
92 scroll->o_id ^ (unsigned)u.ubirthday);
H A Dtimeout.c1627 timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id;
1844 if (!curr->arg) panic("cant find o_id %d", nid);
H A Dinvent.c641 if(objchn->o_id == id) return(objchn);
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dobj.h25 unsigned o_id; member in struct:obj
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dobj.h25 unsigned o_id; member in struct:obj

Completed in 140 milliseconds