Home
last modified time | relevance | path

Searched refs:objects (Results 1 – 25 of 191) sorted by relevance

12345678

/dflybsd-src/games/hack/
H A Dhack.o_init.c94 end = SIZE(objects); in init_objects()
97 let = objects[first].oc_olet; in init_objects()
99 while (last < end && objects[last].oc_olet == let in init_objects()
100 && objects[last].oc_name != NULL) in init_objects()
112 sum += objects[j].oc_prob; in init_objects()
115 objects[j].oc_prob = (100 + j - first) / (last - first); in init_objects()
121 if (objects[first].oc_descr != NULL && let != TOOL_SYM) { in init_objects()
123 while (last < end && objects[last].oc_olet == let) in init_objects()
128 tmp = objects[j].oc_descr; in init_objects()
129 objects[j].oc_descr = objects[i].oc_descr; in init_objects()
[all …]
H A Dhack.read.c107 objects[otmp->otyp].oc_name); in doread()
113 objects[otmp->otyp].oc_name); in doread()
118 objects[otmp->otyp].oc_name); in doread()
131 objects[otmp->otyp].oc_name); in doread()
224 objects[uwep->otyp].oc_name); in doread()
232 objects[uwep->otyp].oc_name); in doread()
404 objects[SCR_IDENTIFY].oc_name_known = 1; in doread()
517 if (!objects[scroll->otyp].oc_name_known) { in doread()
519 objects[scroll->otyp].oc_name_known = 1; in doread()
521 } else if (!objects[scroll->otyp].oc_uname) in doread()
[all …]
H A Dhack.objnam.c101 struct objclass *ocl = &objects[otyp]; in typename()
170 int nn = objects[obj->otyp].oc_name_known; in xname()
171 const char *an = objects[obj->otyp].oc_name; in xname()
172 const char *dn = objects[obj->otyp].oc_descr; in xname()
173 char *un = objects[obj->otyp].oc_uname; in xname()
218 (obj->owt > objects[obj->otyp].oc_weight) ? "very " : ""); in xname()
374 if (obj->known && (objects[obj->otyp].bits & SPEC)) { in doname()
617 while (i <= NROFOBJECTS && (!let || objects[i].oc_olet == let)) { in readobjnam()
618 const char *zn = objects[i].oc_name; in readobjnam()
624 if (dn && (!(zn = objects[i].oc_descr) || strcmp(dn, zn))) in readobjnam()
[all …]
H A Dhack.potion.c79 if (!strcmp(objects[otmp->otyp].oc_descr, "smoky") && !rn2(13)) { in dodrink()
250 if (otmp->dknown && !objects[otmp->otyp].oc_name_known) { in dodrink()
252 objects[otmp->otyp].oc_name_known = 1; in dodrink()
254 } else if (!objects[otmp->otyp].oc_uname) in dodrink()
285 if (!objects[obj->otyp].oc_name_known && !objects[obj->otyp].oc_uname) in strange_feeling()
H A Dhack.mkobj.c111 char let = objects[otyp].oc_olet; in mksobj()
166 (objects[otmp->otyp].bits & NODIR) ? 11 : 4); in mksobj()
169 if (objects[otmp->otyp].bits & SPEC) { in mksobj()
196 int wt = objects[obj->otyp].oc_weight; in weight()
H A Dhh7 m<dir>: move without picking up objects
26 c call give a name to a class of objects
29 i invent list the inventory (all objects you are carrying)
31 IU: list unpaid objects
H A Ddef.objclass.h82 #define ARM_BONUS(obj) ((10 - objects[obj->otyp].a_ac) + obj->spe)
96 extern struct objclass objects[];
/dflybsd-src/games/battlestar/
H A Dcommand3.c44 setbit(location[position].objects, DEADWOOD); in dig()
45 setbit(location[position].objects, COMPASS); in dig()
46 setbit(location[position].objects, KNIFE); in dig()
47 setbit(location[position].objects, MACE); in dig()
92 setbit(location[position].objects, n); in jump()
110 (testbit(location[position].objects, value) || in bury()
116 testbit(location[position].objects, MAID)) in bury()
119 testbit(location[position].objects, in bury()
123 testbit(location[position].objects, in bury()
127 testbit(location[position].objects, in bury()
[all …]
H A Dcommand2.c213 if (testbit(location[position].objects, BATHGOD)) { in murder()
216 clearbit(location[position].objects, BATHGOD); in murder()
217 setbit(location[position].objects, DEADGOD); in murder()
221 if (testbit(location[position].objects, in murder()
227 clearbit(location[position].objects, in murder()
229 setbit(location[position].objects, in murder()
239 if (testbit(location[position].objects, TIMER)) { in murder()
241 clearbit(location[position].objects, TIMER); in murder()
242 setbit(location[position].objects, DEADTIME); in murder()
249 if (testbit(location[position].objects, NATIVE)) { in murder()
[all …]
H A Dcommand1.c42 testbit(location[position].objects, LAND) || in moveplayer()
76 nightfile[i].objects[j] = dayfile[i].objects[j]; in convert()
78 setbit(nightfile[p->room].objects, p->obj); in convert()
83 dayfile[i].objects[j] = nightfile[i].objects[j]; in convert()
85 clearbit(dayfile[p->room].objects, p->obj); in convert()
124 clearbit(location[POOLS].objects, BATHGOD); in news()
145 if (testbit(location[position].objects, ELF)) { in news()
149 if (testbit(location[position].objects, DARK)) { in news()
153 if (testbit(location[position].objects, WOODSMAN)) { in news()
173 if (testbit(location[position].objects, GIRL)) in news()
[all …]
H A Dcommand4.c133 if (testbit(location[position].objects, AMULET)) { in take()
150 if (testbit(location[position].objects, MEDALION)) { in take()
162 if (testbit(location[position].objects, TALISMAN)) { in take()
170 if (testbit(location[position].objects, BATHGOD) && in take()
185 clearbit(location[position].objects, BATHGOD); in take()
187 if (!testbit(location[position].objects, in take()
243 testbit(location[position].objects, value)) { in throw()
244 clearbit(location[position].objects, value); in throw()
246 setbit(location[deposit].objects, in throw()
253 location[deposit].objects[n] = in throw()
[all …]
H A Dcommand6.c41 if (testbit(location[position].objects, VIPER) && !notes[CANTLAUNCH]) { in launch()
43 clearbit(location[position].objects, VIPER); in launch()
63 if (notes[LAUNCHED] && testbit(location[position].objects, LAND) && in land()
67 setbit(location[position].objects, VIPER); in land()
177 if (testbit(location[position].objects, CAR)) { in drive()
181 clearbit(location[position].objects, CAR); in drive()
182 setbit(location[position].objects, CRASH); in drive()
195 if (testbit(location[position].objects, HORSE)) { in ride()
200 clearbit(location[position].objects, HORSE); in ride()
204 setbit(location[position].objects, HORSE); in ride()
H A Dcommand5.c42 && testbit(location[position].objects, BATHGOD)) { in kiss()
48 if (testbit(location[position].objects, in kiss()
99 if ((testbit(location[position].objects, BATHGOD) || in love()
100 testbit(location[position].objects, NORMGOD)) && in love()
139 setbit(location[position].objects, in love()
151 if (testbit(location[position].objects, in love()
214 location[position].objects, in zzz()
224 setbit(location[position].objects, DEADWOOD); in zzz()
227 setbit(location[position].objects, HALBERD); in zzz()
332 if (person && testbit(location[position].objects, person)) { in give()
[all …]
H A Dinit.c61 setbit(location[p->room].objects, p->obj); in initialize()
127 setbit(location[7].objects, WOODSMAN); /* viper room */ in checkout()
128 setbit(location[20].objects, WOODSMAN); /* laser " */ in checkout()
129 setbit(location[13].objects, DARK); /* amulet " */ in checkout()
130 setbit(location[8].objects, ELF); /* closet */ in checkout()
H A Dcypher.c116 if (testbit(location[position].objects, in cypher()
136 if (testbit(location[position].objects, in cypher()
171 wordnumber = take(location[position].objects); in cypher()
178 take(location[position].objects); in cypher()
209 (testbit(location[position].objects, n) && objsht[n])) { in cypher()
265 if (testbit(location[position].objects, in cypher()
390 testbit(location[position].objects, LAMPON) in cypher()
H A Dsave.c54 fread(location[n].objects, sizeof location[n].objects, 1, fp); in restore()
108 fwrite(location[n].objects, sizeof location[n].objects, 1, fp); in save()
H A Dcommand7.c210 clearbit(location[position].objects, DARK); in fight()
247 setbit(location[position].objects, LASER); in fight()
272 clearbit(location[position].objects, enemy); in fight()
/dflybsd-src/contrib/gcc-4.7/libgcc/
H A DMakefile.in301 objects = $(filter %$(objext),$^)
449 libgcc-objects += $(lib1asmfuncs-o)
454 libgcc-s-objects += $(lib1asmfuncs-s-o)
461 libgcc-objects += $(lib1asmfuncs-o)
469 libgcc-objects += $(lib2funcs-o)
475 libgcc-s-objects += $(lib2funcs-s-o)
494 libgcc-objects += $(patsubst %,%$(objext),$(sifuncs) $(difuncs) $(tifuncs))
496 libgcc-s-objects += $(patsubst %,%_s$(objext),$(sifuncs) $(difuncs) $(tifuncs))
505 libgcc-objects += $(lib2-divmod-o)
512 libgcc-s-objects += $(lib2-divmod-s-o)
[all …]
/dflybsd-src/contrib/binutils-2.27/gold/
H A Dcref.cc81 Objects* objects; member
142 pai->objects = new Objects(); in add_archive_start()
145 this->current_ = this->archives_[archive->name()].objects; in add_archive_start()
174 const Objects* objects) const in print_objects_symbol_counts()
176 for (Objects::const_iterator p = objects->begin(); in print_objects_symbol_counts()
177 p != objects->end(); in print_objects_symbol_counts()
209 p->second.member_count, p->second.objects->size()); in print_symbol_counts()
210 this->print_objects_symbol_counts(symtab, f, p->second.objects); in print_symbol_counts()
248 Cref_inputs::gather_cref(const Objects* objects, Cref_table* table) const in gather_cref() argument
250 for (Objects::const_iterator po = objects->begin(); in gather_cref()
[all …]
/dflybsd-src/contrib/binutils-2.34/gold/
H A Dcref.cc81 Objects* objects; member
142 pai->objects = new Objects(); in add_archive_start()
145 this->current_ = this->archives_[archive->name()].objects; in add_archive_start()
174 const Objects* objects) const in print_objects_symbol_counts()
176 for (Objects::const_iterator p = objects->begin(); in print_objects_symbol_counts()
177 p != objects->end(); in print_objects_symbol_counts()
209 p->second.member_count, p->second.objects->size()); in print_symbol_counts()
210 this->print_objects_symbol_counts(symtab, f, p->second.objects); in print_symbol_counts()
252 Cref_inputs::gather_cref(const Objects* objects, Cref_table* table) const in gather_cref() argument
254 for (Objects::const_iterator po = objects->begin(); in gather_cref()
[all …]
/dflybsd-src/sys/dev/drm/radeon/
H A Dradeon_mn.c53 struct rb_root objects; member
78 rbtree_postorder_for_each_entry_safe(node, next_node, &rmn->objects, in radeon_mn_destroy()
81 interval_tree_remove(&node->it, &rmn->objects); in radeon_mn_destroy()
134 it = interval_tree_iter_first(&rmn->objects, start, end); in radeon_mn_invalidate_range_start()
208 rmn->objects = LINUX_RB_ROOT; in radeon_mn_get()
256 while ((it = interval_tree_iter_first(&rmn->objects, addr, end))) { in radeon_mn_register()
259 interval_tree_remove(&node->it, &rmn->objects); in radeon_mn_register()
282 interval_tree_insert(&node->it, &rmn->objects); in radeon_mn_register()
319 interval_tree_remove(&node->it, &rmn->objects); in radeon_mn_unregister()
/dflybsd-src/sys/dev/drm/amd/amdgpu/
H A Damdgpu_mn.c87 struct rb_root_cached objects; member
123 &amn->objects.rb_root, it.rb) { in amdgpu_mn_destroy()
266 it = interval_tree_iter_first(&amn->objects, start, end); in amdgpu_mn_invalidate_range_start_gfx()
311 it = interval_tree_iter_first(&amn->objects, start, end); in amdgpu_mn_invalidate_range_start_hsa()
412 amn->objects = RB_ROOT_CACHED; in amdgpu_mn_get()
468 while ((it = interval_tree_iter_first(&amn->objects, addr, end))) { in amdgpu_mn_register()
471 interval_tree_remove(&node->it, &amn->objects); in amdgpu_mn_register()
490 interval_tree_insert(&node->it, &amn->objects); in amdgpu_mn_register()
530 interval_tree_remove(&node->it, &amn->objects); in amdgpu_mn_unregister()
/dflybsd-src/contrib/gcc-4.7/gcc/doc/
H A Dobjc.texi21 * Constant string objects::
172 send a message to one of these objects before the variables are actually
230 you can allocate and send messages to objects whose class is implemented
249 allocation of or sending messages to arbitrary objects;
252 allocation of or sending messages to objects whose classes have a
266 be problematic if this matters. If you don't allocate objects inside
277 write @code{+load} you can safely create and send messages to objects whose
292 selectors and methods and about objects and classes.
356 garbage collector because the objects are allocated using the typed
602 When the garbage collector is used, the objects are allocated using the
[all …]
/dflybsd-src/sys/kern/
H A Dkern_objcache.c56 void *objects[]; member
61 #define MAGAZINE_HDRSIZE __offsetof(struct magazine, objects[0])
171 size = __offsetof(struct magazine, objects[capacity]); in mag_alloc()
187 __offsetof(struct magazine, objects[mag_capacity])); in mag_capacity_align()
447 obj = loadedmag->objects[--loadedmag->rounds]; in objcache_get()
456 obj = loadedmag->objects[--loadedmag->rounds]; in objcache_get()
646 loadedmag->objects[loadedmag->rounds++] = obj; in objcache_put()
659 loadedmag->objects[loadedmag->rounds++] = obj; in objcache_put()
762 obj = mag->objects[--mag->rounds]; in mag_purge()
/dflybsd-src/contrib/gcc-4.7/gcc/c-family/
H A Dc-target.def51 These objects are considered opaque to the compiler and handled as references.\
55 If a target implements string objects then this hook should return a\
79 "If a target implements string objects then this hook should return\
86 "If a target implements string objects then this hook should should\

12345678