| /openbsd-src/games/hack/ |
| H A D | hack.o_init.c | 91 end = SIZE(objects); in init_objects() 94 let = objects[first].oc_olet; in init_objects() 96 while(last < end && objects[last].oc_olet == let in init_objects() 97 && objects[last].oc_name != NULL) in init_objects() 108 for(j = first; j < last; j++) sum += objects[j].oc_prob; in init_objects() 111 objects[j].oc_prob = (100+j-first)/(last-first); in init_objects() 117 if(objects[first].oc_descr != NULL && let != TOOL_SYM){ in init_objects() 119 while(last < end && objects[last].oc_olet == let) in init_objects() 124 tmp = objects[j].oc_descr; in init_objects() 125 objects[j].oc_descr = objects[i].oc_descr; in init_objects() [all …]
|
| H A D | hack.read.c | 104 objects[otmp->otyp].oc_name); in doread() 110 objects[otmp->otyp].oc_name); in doread() 115 objects[otmp->otyp].oc_name); in doread() 128 objects[otmp->otyp].oc_name); in doread() 216 objects[uwep->otyp].oc_name); in doread() 225 objects[uwep->otyp].oc_name); in doread() 381 objects[SCR_IDENTIFY].oc_name_known = 1; in doread() 488 if(!objects[scroll->otyp].oc_name_known) { in doread() 490 objects[scroll->otyp].oc_name_known = 1; in doread() 492 } else if(!objects[scroll->otyp].oc_uname) in doread() [all …]
|
| H A D | hack.objnam.c | 104 struct objclass *ocl = &objects[otyp]; in typename() 171 int nn = objects[obj->otyp].oc_name_known; in xname() 172 char *an = objects[obj->otyp].oc_name; in xname() 173 char *dn = objects[obj->otyp].oc_descr; in xname() 174 char *un = objects[obj->otyp].oc_uname; in xname() 219 (obj->owt > objects[obj->otyp].oc_weight) ? "very " : ""); in xname() 365 if(obj->known && (objects[obj->otyp].bits & SPEC)) { in doname() 592 while(i <= NROFOBJECTS && (!let || objects[i].oc_olet == let)){ in readobjnam() 593 char *zn = objects[i].oc_name; in readobjnam() 598 if(dn && (!(zn = objects[i].oc_descr) || strcmp(dn, zn))) in readobjnam() [all …]
|
| /openbsd-src/games/battlestar/ |
| H A D | command3.c | 46 SetBit(location[position].objects, DEADWOOD); in dig() 47 SetBit(location[position].objects, COMPASS); in dig() 48 SetBit(location[position].objects, KNIFE); in dig() 49 SetBit(location[position].objects, MACE); in dig() 94 SetBit(location[position].objects, n); in jump() 111 …if (wordtype[wordnumber] == NOUNS && (TestBit(location[position].objects, value) || value == BODY)… in bury() 115 if (TestBit(inven, MAID) || TestBit(location[position].objects, MAID)) in bury() 117 if (TestBit(inven, DEADWOOD) || TestBit(location[position].objects, DEADWOOD)) in bury() 119 if (TestBit(inven, DEADGOD) || TestBit(location[position].objects, DEADGOD)) in bury() 121 if (TestBit(inven, DEADTIME) || TestBit(location[position].objects, DEADTIME)) in bury() [all …]
|
| H A D | command2.c | 218 if (TestBit(location[position].objects, BATHGOD)) { in murder() 220 ClearBit(location[position].objects, BATHGOD); in murder() 221 SetBit(location[position].objects, DEADGOD); in murder() 225 if (TestBit(location[position].objects, NORMGOD)) { in murder() 227 ClearBit(location[position].objects, NORMGOD); in murder() 228 SetBit(location[position].objects, DEADGOD); in murder() 237 if (TestBit(location[position].objects, TIMER)) { in murder() 239 ClearBit(location[position].objects, TIMER); in murder() 240 SetBit(location[position].objects, DEADTIME); in murder() 247 if (TestBit(location[position].objects, NATIVE)) { in murder() [all …]
|
| H A D | command1.c | 44 TestBit(location[position].objects, LAND) || in moveplayer() 78 nightfile[i].objects[j] = dayfile[i].objects[j]; in convert() 80 SetBit(nightfile[p->room].objects, p->obj); in convert() 85 dayfile[i].objects[j] = nightfile[i].objects[j]; in convert() 87 ClearBit(dayfile[p->room].objects, p->obj); in convert() 122 ClearBit(location[POOLS].objects, BATHGOD); in news() 137 if (TestBit(location[position].objects, ELF)) { in news() 141 if (TestBit(location[position].objects, DARK)) { in news() 145 if (TestBit(location[position].objects, WOODSMAN)) { in news() 165 if (TestBit(location[position].objects, GIRL)) in news() [all …]
|
| H A D | command4.c | 132 if (TestBit(location[position].objects, AMULET)) { in take() 143 if (TestBit(location[position].objects, MEDALION)) { in take() 151 if (TestBit(location[position].objects, TALISMAN)) { in take() 158 …if (TestBit(location[position].objects, BATHGOD) && (TestBit(wear, AMULET) || TestBit(inven, AMULE… in take() 166 ClearBit(location[position].objects, BATHGOD); in take() 168 if (!TestBit(location[position].objects, BATHGOD)) in take() 220 if (deposit && TestBit(location[position].objects, value)) { in throw() 221 ClearBit(location[position].objects, value); in throw() 223 SetBit(location[deposit].objects, value); in throw() 227 location[deposit].objects[n] = 0; in throw() [all …]
|
| H A D | command5.c | 45 && TestBit(location[position].objects, BATHGOD)) { in kiss() 51 if (TestBit(location[position].objects, wordvalue[wordnumber])) { in kiss() 98 if ((TestBit(location[position].objects, BATHGOD) || in love() 99 TestBit(location[position].objects, NORMGOD)) && in love() 121 SetBit(location[position].objects, MEDALION); in love() 132 if (TestBit(location[position].objects, wordvalue[wordnumber])) { in love() 188 SetBit(location[position].objects, n); in zzz() 196 SetBit(location[position].objects, DEADWOOD); in zzz() 199 SetBit(location[position].objects, HALBERD); in zzz() 306 if (person && TestBit(location[position].objects, person)) { in give() [all …]
|
| H A D | command6.c | 46 if (TestBit(location[position].objects, VIPER) && !notes[CANTLAUNCH]) { in launch() 48 ClearBit(location[position].objects, VIPER); in launch() 66 if (notes[LAUNCHED] && TestBit(location[position].objects, LAND) && in land() 70 SetBit(location[position].objects, VIPER); in land() 183 if (TestBit(location[position].objects, CAR)) { in drive() 186 ClearBit(location[position].objects, CAR); in drive() 187 SetBit(location[position].objects, CRASH); in drive() 200 if (TestBit(location[position].objects, HORSE)) { in ride() 203 ClearBit(location[position].objects, HORSE); in ride() 207 SetBit(location[position].objects, HORSE); in ride()
|
| H A D | cypher.c | 152 verb_with_all(location[position].objects, OBJ_PERSON, in cypher() 161 if (TestBit(location[position].objects, n) && objsht[n]) { in cypher() 187 wordnumber = take(location[position].objects); in cypher() 193 take(location[position].objects); in cypher() 223 (TestBit(location[position].objects, n) && objsht[n])) { in cypher() 244 verb_with_all(location[position].objects, 0, puton, "put on"); in cypher() 307 TestBit(location[position].objects, LAMPON) in cypher()
|
| /openbsd-src/sys/dev/pci/drm/ |
| H A D | drm_exec.c | 78 exec->objects = kmalloc(PAGE_SIZE, GFP_KERNEL); in drm_exec_init() 81 exec->max_objects = exec->objects ? PAGE_SIZE / sizeof(void *) : 0; in drm_exec_init() 98 kvfree(exec->objects); in drm_exec_fini() 142 tmp = kvrealloc(exec->objects, size, size + PAGE_SIZE, in drm_exec_obj_locked() 150 memcpy(tmp, exec->objects, size); in drm_exec_obj_locked() 151 kvfree(exec->objects); in drm_exec_obj_locked() 154 exec->objects = tmp; in drm_exec_obj_locked() 158 exec->objects[exec->num_objects++] = obj; in drm_exec_obj_locked() 267 if (exec->objects[i] == obj) { in drm_exec_unlock_obj() 270 exec->objects[i - 1] = exec->objects[i]; in drm_exec_unlock_obj() [all …]
|
| /openbsd-src/sys/dev/pci/drm/i915/gem/ |
| H A D | i915_gem_region.c | 18 mutex_lock(&mem->objects.lock); in i915_gem_object_init_memory_region() 19 list_add(&obj->mm.region_link, &mem->objects.list); in i915_gem_object_init_memory_region() 20 mutex_unlock(&mem->objects.lock); in i915_gem_object_init_memory_region() 27 mutex_lock(&mem->objects.lock); in i915_gem_object_release_memory_region() 29 mutex_unlock(&mem->objects.lock); in i915_gem_object_release_memory_region() 85 * the GTT, due to alignemnt restrictions. For such special objects, in __i915_gem_object_create_region() 87 * revisit this, either by allowing special mis-aligned objects in the in __i915_gem_object_create_region() 141 * i915_gem_process_region - Iterate over all objects of a region using ops 142 * to process and optionally skip objects 147 * checking whether to skip objects, an [all...] |
| /openbsd-src/sys/dev/pci/drm/i915/selftests/ |
| H A D | i915_gem_evict.c | 40 struct list_head *objects) in quirk_add() argument 45 list_add(&obj->st_link, objects); in quirk_add() 48 static int populate_ggtt(struct i915_ggtt *ggtt, struct list_head *objects) in populate_ggtt() argument 71 quirk_add(obj, objects); in populate_ggtt() 111 DRM_LIST_HEAD(objects); in igt_evict_something() 116 err = populate_ggtt(ggtt, &objects); in igt_evict_something() 149 cleanup_objects(ggtt, &objects); in igt_evict_something() 159 DRM_LIST_HEAD(objects); in igt_overcommit() 166 err = populate_ggtt(ggtt, &objects); in igt_overcommit() 176 quirk_add(obj, &objects); in igt_overcommit() [all …]
|
| H A D | intel_memory_region.c | 33 struct list_head *objects) in close_objects() argument 38 list_for_each_entry_safe(obj, on, objects, st_link) { in close_objects() 62 DRM_LIST_HEAD(objects); in igt_mock_fill() 85 list_add(&obj->st_link, &objects); in igt_mock_fill() 101 close_objects(mem, &objects); in igt_mock_fill() 108 struct list_head *objects, in igt_object_create() argument 123 list_add(&obj->st_link, objects); in igt_object_create() 166 LIST_HEAD(objects); in igt_mock_reserve() 211 obj = igt_object_create(mem, &objects, size, 0); in igt_mock_reserve() 229 close_objects(mem, &objects); in igt_mock_reserve() [all...] |
| /openbsd-src/gnu/usr.bin/perl/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/ |
| H A D | VMS.pm | 68 my $objects = delete $args{objects}; 69 $objects = [$objects] unless ref $objects; 94 $objects->[-1] .= ','; 95 push @$objects, $optfile . '/OPTIONS,'; 98 push @$objects, $self->perl_inc() . 'perlshr_attr.opt/OPTIONS'; 101 return $self->SUPER::_do_link($type, %args, objects => $objects); [all...] |
| H A D | os2.pm | 32 # Now know the basename, find directory parts via lib_file, or objects 33 my $objs = ( (ref $args{objects}) ? $args{objects} : [$args{objects}] ); 41 $args{objects} = $objs;
|
| H A D | Windows.pm | 163 my @objects = ( ref $args{objects} eq 'ARRAY' ? @{$args{objects}} : $args{objects} ); 164 my $to = join '', (File::Spec->splitpath($objects[0]))[0,1]; 180 objects => \@objects, 228 foreach my $opt ( qw(libpath startup objects) ) { 241 $self->do_system( @$cmd ) or die "error building $output from @objects"
|
| /openbsd-src/usr.sbin/pkg_add/OpenBSD/ |
| H A D | Search.pod | 11 # pkgspec objects 27 for C<OpenBSD::PackageRepository> objects. 33 objects. 40 of matching packages, and further objects are used to weed out 43 Complex searches must be built as lists of filter objects, in 47 The infrastructure provides the following objects:
|
| H A D | PackingElement.pod | 37 Most actual objects have one property: their C<name>. 149 stuff that doesn't really exist as objects, but is used to add 150 properties to objects. 184 This is the base class for objects with a location in the filesystem. 187 Note that all objects with file names use relative names except for 196 create objects from another class if their name ends with a C</>. 210 actual file objects present in the packing-list. 214 GNU info file objects. 230 file objects not present in the packing-list. 270 directory is used to hold configuration files or similar objects. [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
| H A D | template26.C | 12 T objects[max_stack_size]; 21 objects[nobjects++] = a; in push() 29 T result = objects[nobjects]; in pop() 37 return objects[nobjects - 1]; in top() 40 T operator[](int i) { return objects[i]; }
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | ggc-simple.c | 102 size_t objects; member 185 G.objects += 1; 209 G.objects += 1; 330 G.objects = 0; in ggc_collect() 434 (float)nleaf / (float)G.objects, in debug_ggc_balance() 437 log ((double) G.objects) / M_LN2); in debug_ggc_balance() 493 SCALE(G.objects * offsetof (struct ggc_mem, u)), in ggc_print_statistics() 494 LABEL(G.objects * offsetof (struct ggc_mem, u)), in ggc_print_statistics() 501 G.objects, in ggc_print_statistics()
|
| /openbsd-src/gnu/usr.bin/perl/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/ |
| H A D | Base.pm | 223 @lib_files = $self->link(objects => $obj_file, module_name => 'compilet'); 316 my $objects = delete $args{objects}; 317 $objects = [$objects] unless ref $objects; 318 my $out = $args{$type} || $self->$type($objects->[0], %args); 338 $self->do_system(@shrp, @ld, @output, @$objects, @linker_flags) 339 or die "error building $out from @$objects";
|
| /openbsd-src/gnu/llvm/llvm/utils/ |
| H A D | prepare-code-coverage-artifact.py | 41 objects = [] 44 objects.append(binary) 46 objects.extend(('-object', binary)) 47 invocation = [host_llvm_cov, 'show'] + objects + ['-format', 'html', 55 subprocess.check_call([host_llvm_cov, 'report'] + objects +
|
| /openbsd-src/gnu/usr.bin/perl/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/ |
| H A D | GCC.pm | 61 @{$spec{objects}} , 87 # beginning of the list of objects. 90 unshift @{$spec{objects}}, 95 @{delete $spec{objects} || []}
|
| /openbsd-src/sys/dev/pci/drm/include/drm/ |
| H A D | drm_exec.h | 41 struct drm_gem_object **objects; member 65 return index < exec->num_objects ? exec->objects[index] : NULL; in drm_exec_obj() 146 struct drm_gem_object **objects,
|