Home
last modified time | relevance | path

Searched refs:next_object (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/games/rogue/
H A Dpack.c78 if (pack->next_object == 0) { in add_to_pack()
79 pack->next_object = obj; in add_to_pack()
81 op = pack->next_object; in add_to_pack()
83 while (op->next_object) { in add_to_pack()
84 op = op->next_object; in add_to_pack()
86 op->next_object = obj; in add_to_pack()
88 obj->next_object = 0; in add_to_pack()
95 while (pack->next_object != obj) { in take_from_pack()
96 pack = pack->next_object; in take_from_pack()
98 pack->next_object = pack->next_object->next_object; in take_from_pack()
[all …]
H A Dobject.c260 obj = pack->next_object; in object_at()
263 obj = obj->next_object; in object_at()
277 obj = rogue.pack.next_object; in get_letter_object()
280 obj = obj->next_object; in get_letter_object()
290 while (objlist->next_object) { in free_stuff()
291 obj = objlist->next_object; in free_stuff()
292 objlist->next_object = in free_stuff()
293 objlist->next_object->next_object; in free_stuff()
632 free_list = free_list->next_object; in alloc_object()
650 obj->next_object = free_list; in free_object()
[all …]
H A Dspec_hit.c186 obj = rogue.pack.next_object; in steal_item()
196 obj = obj->next_object; in steal_item()
202 obj = rogue.pack.next_object; in steal_item()
205 obj = obj->next_object; in steal_item()
208 obj = rogue.pack.next_object; in steal_item()
210 obj = obj->next_object; in steal_item()
H A Duse.c148 if (level_objects.next_object) { in quaff()
488 obj = level_objects.next_object; in hallucinate()
497 obj = obj->next_object; in hallucinate()
619 obj = rogue.pack.next_object; in uncurse_all()
623 obj = obj->next_object; in uncurse_all()
H A Dinit.c141 level_objects.next_object = NULL; in init()
153 rogue.pack.next_object = NULL; in player_init()
H A Dsave.c259 while ((pack = pack->next_object) != NULL) { in write_pack()
274 pack->next_object = NULL; in read_pack()
289 pack->next_object = new_obj; in read_pack()
H A Drogue.h218 #define next_monster next_object
240 struct obj *next_object; /* next monster */ member
H A Dscore.c532 obj = rogue.pack.next_object; in sell_pack()
548 obj = obj->next_object; in sell_pack()
H A Dinventory.c234 obj = pack->next_object; in inventory()
253 obj = obj->next_object; in inventory()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dsoftp11.c87 int next_object; member
669 state->find.next_object = -1; in find_object_final()
895 soft_token.state[i].find.next_object = -1; in C_Initialize()
1333 if (state->find.next_object != -1) { in C_FindObjectsInit()
1359 state->find.next_object = 0; in C_FindObjectsInit()
1364 state->find.next_object = 0; in C_FindObjectsInit()
1385 if (state->find.next_object == -1) { in C_FindObjects()
1394 for (i = state->find.next_object; i < soft_token.object.num_objs; i++) { in C_FindObjects()
1396 state->find.next_object = i + 1; in C_FindObjects()