/src/games/hack/ |
hack.o_init.c | 72 #include "def.objects.h" 99 end = SIZE(objects); 102 let = objects[first].oc_olet; 104 while (last < end && objects[last].oc_olet == let 105 && objects[last].oc_name != NULL) 117 sum += objects[j].oc_prob; 120 objects[j].oc_prob = (100 + j - first) / (last - first); 126 if (objects[first].oc_descr != NULL && let != TOOL_SYM) { 128 while (last < end && objects[last].oc_olet == let) 133 tmp = objects[j].oc_descr [all...] |
def.objclass.h | 66 /* definition of a class of objects */ 73 Bitfield(oc_merge,1); /* merge otherwise equal objects */ 82 #define ARM_BONUS(obj) ((10 - objects[obj->otyp].a_ac) + obj->spe) 96 extern struct objclass objects[];
|
hack.mkobj.c | 116 char let = objects[otyp].oc_olet; 171 (objects[otmp->otyp].bits & NODIR) ? 11 : 4); 174 if (objects[otmp->otyp].bits & SPEC) { 201 int wt = objects[obj->otyp].oc_weight;
|
hack.read.c | 112 objects[otmp->otyp].oc_name); 118 objects[otmp->otyp].oc_name); 123 objects[otmp->otyp].oc_name); 136 objects[otmp->otyp].oc_name); 229 objects[uwep->otyp].oc_name); 237 objects[uwep->otyp].oc_name); 409 objects[SCR_IDENTIFY].oc_name_known = 1; 522 if (!objects[scroll->otyp].oc_name_known) { 524 objects[scroll->otyp].oc_name_known = 1; 526 } else if (!objects[scroll->otyp].oc_uname [all...] |
/src/games/battlestar/ |
command2.c | 221 if (testbit(location[position].objects, BATHGOD)) { 224 clearbit(location[position].objects, BATHGOD); 225 setbit(location[position].objects, DEADGOD); 229 if (testbit(location[position].objects, 235 clearbit(location[position].objects, 237 setbit(location[position].objects, 247 if (testbit(location[position].objects, TIMER)) { 249 clearbit(location[position].objects, TIMER); 250 setbit(location[position].objects, DEADTIME); 257 if (testbit(location[position].objects, NATIVE)) [all...] |
command3.c | 52 setbit(location[position].objects, DEADWOOD); 53 setbit(location[position].objects, COMPASS); 54 setbit(location[position].objects, KNIFE); 55 setbit(location[position].objects, MACE); 100 setbit(location[position].objects, n); 118 (testbit(location[position].objects, value) || 124 testbit(location[position].objects, MAID)) 127 testbit(location[position].objects, 131 testbit(location[position].objects, 135 testbit(location[position].objects, [all...] |
command1.c | 50 testbit(location[position].objects, LAND) || 84 nightfile[i].objects[j] = dayfile[i].objects[j]; 86 setbit(nightfile[p->room].objects, p->obj); 91 dayfile[i].objects[j] = nightfile[i].objects[j]; 93 clearbit(dayfile[p->room].objects, p->obj); 132 clearbit(location[POOLS].objects, BATHGOD); 153 if (testbit(location[position].objects, ELF)) { 157 if (testbit(location[position].objects, DARK)) [all...] |
init.c | 69 setbit(location[p->room].objects, p->obj); 135 setbit(location[7].objects, WOODSMAN); /* viper room */ 136 setbit(location[20].objects, WOODSMAN); /* laser " */ 137 setbit(location[13].objects, DARK); /* amulet " */ 138 setbit(location[8].objects, ELF); /* closet */
|
command4.c | 141 if (testbit(location[position].objects, AMULET)) { 158 if (testbit(location[position].objects, MEDALION)) { 170 if (testbit(location[position].objects, TALISMAN)) { 178 if (testbit(location[position].objects, BATHGOD) && 193 clearbit(location[position].objects, BATHGOD); 195 if (!testbit(location[position].objects, 251 testbit(location[position].objects, value)) { 252 clearbit(location[position].objects, value); 254 setbit(location[deposit].objects, 261 location[deposit].objects[n] [all...] |
command6.c | 49 if (testbit(location[position].objects, VIPER) && !notes[CANTLAUNCH]) { 51 clearbit(location[position].objects, VIPER); 71 if (notes[LAUNCHED] && testbit(location[position].objects, LAND) && 75 setbit(location[position].objects, VIPER); 185 if (testbit(location[position].objects, CAR)) { 189 clearbit(location[position].objects, CAR); 190 setbit(location[position].objects, CRASH); 203 if (testbit(location[position].objects, HORSE)) { 208 clearbit(location[position].objects, HORSE); 212 setbit(location[position].objects, HORSE) [all...] |
command5.c | 50 && testbit(location[position].objects, BATHGOD)) { 56 if (testbit(location[position].objects, 107 if ((testbit(location[position].objects, BATHGOD) || 108 testbit(location[position].objects, NORMGOD)) && 147 setbit(location[position].objects, 159 if (testbit(location[position].objects, 222 location[position].objects, 232 setbit(location[position].objects, DEADWOOD); 235 setbit(location[position].objects, HALBERD); 340 if (person && testbit(location[position].objects, person)) [all...] |
battlestar.c | 82 testbit(location[position].objects, LAMPON)) {
|
/src/usr.sbin/acpitools/aml/ |
aml_obj.c | 96 ret->package.objects = memman_alloc_flexsize(aml_memman, 99 ret->package.objects[i] = aml_copy_object(env, orig->package.objects[i]); 202 if (obj->type == aml_t_package && obj->package.objects != NULL) { 204 aml_free_object(&obj->package.objects[i]); 206 memman_free_flexsize(aml_memman, obj->package.objects); 207 obj->package.objects = NULL; 258 tmp.package.objects = memman_alloc_flexsize(aml_memman, 260 bzero(tmp.package.objects, size * sizeof(union aml_object *)); 262 tmp.package.objects[i] = obj->package.objects[i] [all...] |
/src/sys/arch/acorn32/stand/lib/ |
Makefile.inc | 7 # objects are to be built. Defaults to ${.OBJDIR}/lib/riscos. 39 @echo cleaning the riscos library objects 44 @echo cleandiring the riscos library objects 49 @echo depending the riscos library objects
|
/src/sys/arch/ia64/stand/efi/libefi/ |
Makefile.inc | 7 # objects are to be built. Defaults to ${.OBJDIR}/lib/efi. 39 @echo cleaning the efi library objects 44 @echo cleandiring the efi library objects 50 @echo depending the efi library objects
|
/src/sys/arch/i386/stand/lib/ |
Makefile.inc | 7 # objects are to be built. Defaults to ${.OBJDIR}/lib/i386. 42 @echo cleaning the i386 library objects 47 @echo cleandiring the i386 library objects 52 @echo depending the i386 library objects
|
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
i915_gem_evict.c | 43 struct list_head *objects) 45 /* quirk is only for live tiled objects, use it to declare ownership */ 48 list_add(&obj->st_link, objects); 51 static int populate_ggtt(struct i915_ggtt *ggtt, struct list_head *objects) 74 quirk_add(obj, objects); 82 list_for_each_entry(obj, objects, st_link) { 93 pr_err("%s: Found %lu objects unbound, expected %u!\n", 99 pr_err("%s: Found %lu objects bound, expected %lu!\n", 105 pr_err("No objects on the GGTT inactive list!\n"); 138 LIST_HEAD(objects); [all...] |
intel_memory_region.c | 31 struct list_head *objects) 36 list_for_each_entry_safe(obj, on, objects, st_link) { 58 LIST_HEAD(objects); 81 list_add(&obj->st_link, &objects); 97 close_objects(mem, &objects); 104 struct list_head *objects, 119 list_add(&obj->st_link, objects); 140 LIST_HEAD(objects); 151 obj = igt_object_create(mem, &objects, mem->mm.chunk_size, 165 obj = igt_object_create(mem, &objects, total, I915_BO_ALLOC_CONTIGUOUS) [all...] |
/src/sys/lib/libgnuefi/ |
Makefile.inc | 7 # objects are to be built. Defaults to ${.OBJDIR}/lib/gnuefi. 71 @echo cleaning the gnuefi library objects 76 @echo cleandiring the gnuefi library objects 81 @echo depending the gnuefi library objects
|
/src/sys/lib/libz/ |
Makefile.inc | 7 # objects are to be built. Defaults to ${.OBJDIR}/lib/z. 66 @echo cleaning the z library objects 71 @echo cleandiring the z library objects 76 @echo depending the z library objects
|
/src/sys/lib/libsa/ |
Makefile.inc | 7 # objects are to be built. Defaults to ${.OBJDIR}/lib/sa. 71 @echo cleaning the sa library objects 76 @echo cleandiring the sa library objects 81 @echo depending the sa library objects
|
/src/sys/lib/libkern/ |
Makefile.inc | 7 # objects are to be built. Defaults to ${.OBJDIR}/lib/kern. 85 @echo cleaning the kern library objects 90 @echo cleandiring the kern library objects 95 @echo depending the kern library objects
|
/src/sys/arch/hppa/spmath/ |
Makefile.inc | 35 @echo cleaning the spmath library objects 41 @echo depending the spmath library objects
|
/src/sys/arch/m68k/fpsp/ |
Makefile.inc | 7 # objects are to be built. Defaults to ${.OBJDIR}/lib/kern. 54 @echo cleaning the 68040 FPSP objects 61 # directory to fail to remove all the floating point objects, that 63 @echo cleandiring the 68040 FPSP objects 68 # @echo depending the 68040 FPSP objects
|
/src/sys/external/bsd/drm2/dist/drm/qxl/ |
qxl_gem.c | 74 list_add_tail(&qbo->list, &qdev->gem.objects); 121 INIT_LIST_HEAD(&qdev->gem.objects);
|