Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 684) sorted by relevance

12345678910>>...28

/openbsd-src/games/battlestar/
H A Dcommand6.c46 if (TestBit(location[position].objects, VIPER) && !notes[CANTLAUNCH]) { in launch()
48 ClearBit(location[position].objects, VIPER); in launch()
49 position = location[position].up; in launch()
66 if (notes[LAUNCHED] && TestBit(location[position].objects, LAND) && in land()
67 location[position].down) { in land()
69 position = location[position].down; 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()
[all …]
H A Dcommand3.c43 switch (position) { in dig()
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()
66 switch (position) { in jump()
72 position = 133; in jump()
78 position = 145; in jump()
81 position = FINAL; in jump()
84 position = 1; in jump()
[all …]
H A Dcommand2.c137 position != FINAL) { in use()
141 if (position == 114) { in use()
142 location[position].down = 160; in use()
143 whichway(location[position]); in use()
152 if (position == 229) in use()
153 position = 224; in use()
155 position = 229; in use()
161 else if (position == FINAL) in use()
218 if (TestBit(location[position].objects, BATHGOD)) { in murder()
220 ClearBit(location[position].objects, BATHGOD); in murder()
[all …]
H A Dcommand1.c44 TestBit(location[position].objects, LAND) || in moveplayer()
47 position = thataway; in moveplayer()
53 whichway(location[position]); in moveplayer()
98 if (ourtime > 30 && position < 32) { in news()
104 if (ourtime > 20 && position < 32) 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()
149 switch (position) { in news()
165 if (TestBit(location[position].objects, GIRL)) in news()
[all …]
H A Dcommand4.c132 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()
210 deposit = location[position].up * (location[position].access || position == FINAL); in throw()
214 deposit = location[position].down; in throw()
220 if (deposit && TestBit(location[position].objects, value)) { in throw()
221 ClearBit(location[position].objects, value); in throw()
[all …]
H A Dcommand5.c45 && 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()
172 if (location[position].down) { in zzz()
173 position = location[position].down; in zzz()
188 SetBit(location[position].objects, n); in zzz()
196 SetBit(location[position].objects, DEADWOOD); in zzz()
[all …]
H A Dcypher.c109 if (location[position].access || tempwiz) { in cypher()
110 if (!location[position].access) in cypher()
112 if (!moveplayer(location[position].up, AHEAD)) in cypher()
122 if (!moveplayer(location[position].down, AHEAD)) in cypher()
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()
[all …]
H A Dcommand7.c185 ClearBit(location[position].objects, DARK); in fight()
196 if (back && position != back) in fight()
198 else if (ahead &&position != ahead) in fight()
200 else if (left && position != left) in fight()
202 else if (right && position != right) in fight()
205 moveplayer(location[position].down, AHEAD); in fight()
217 SetBit(location[position].objects, LASER); in fight()
241 ClearBit(location[position].objects, enemy); in fight()
H A Droom.c44 printf("\n\t%s\n", location[position].name); in writedes()
45 if (beenthere[position] < ROOMDESC || verbose) { in writedes()
47 for (p = location[position].desc; (c = *p++) != 0;) in writedes()
64 unsigned int *p = location[position].objects; in printobjs()
163 printf("Error: room %d. More than four directions wanted.", position); in truedirec()
/openbsd-src/usr.sbin/npppd/common/
H A Dbytebuf.c72 int position; member
148 _this->position = 0; in bytebuffer_unwrap()
199 else if (_this->position != 0) in bytebuffer_compact()
201 (const char *)_this->data + _this->position, (size_t)len); in bytebuffer_compact()
203 _this->position = len; in bytebuffer_compact()
247 rval = (char *)_this->data + _this->position; in bytebuffer_put()
252 _this->position += srclen; in bytebuffer_put()
277 memcpy(dst, (char *)_this->data + _this->position, dstlen); in bytebuffer_get()
279 _this->position += dstlen; in bytebuffer_get()
290 return _this->position; in bytebuffer_position()
[all …]
/openbsd-src/sys/dev/pci/drm/i915/display/
H A Dintel_vblank.c205 int position, vtotal; in __intel_get_crtc_scanline() local
220 position = intel_de_read_fw(dev_priv, PIPEDSL(pipe)) & PIPEDSL_LINE_MASK; in __intel_get_crtc_scanline()
234 if (HAS_DDI(dev_priv) && !position) { in __intel_get_crtc_scanline()
240 if (temp != position) { in __intel_get_crtc_scanline()
241 position = temp; in __intel_get_crtc_scanline()
251 return (position + crtc->scanline_offset) % vtotal; in __intel_get_crtc_scanline()
264 int position; in i915_get_crtc_scanoutpos() local
306 position = __intel_get_crtc_scanline(crtc); in i915_get_crtc_scanoutpos()
314 if (position >= vbl_start && scanlines < position) in i915_get_crtc_scanoutpos()
315 position = min(crtc->vmax_vblank_start + scanlines, vtotal - 1); in i915_get_crtc_scanoutpos()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DFormatString.h41 void setPosition(const char *position) { in setPosition() argument
42 assert(position); in setPosition()
44 this->position = position; in setPosition()
47 assert(position); in getPosition()
48 return position; in getPosition()
60 const char *position; variable
543 void setHasThousandsGrouping(const char *position) { in setHasThousandsGrouping() argument
544 HasThousandsGrouping.setPosition(position); in setHasThousandsGrouping()
546 void setIsLeftJustified(const char *position) { in setIsLeftJustified() argument
547 IsLeftJustified.setPosition(position); in setIsLeftJustified()
[all …]
/openbsd-src/usr.bin/less/
H A Dforwback.c70 pos = position(BOTTOM_PLUS_ONE); in eof_displayed()
87 pos = position(0); in entire_file_displayed()
151 if (pos != position(BOTTOM_PLUS_ONE) || empty_screen()) { in forw()
194 if (!force && position(TOP) != -1) in forw()
302 pos = position(BOTTOM_PLUS_ONE); in forward()
314 back(1, position(TOP), 1, 0); in forward()
315 pos = position(BOTTOM_PLUS_ONE); in forward()
335 pos = position(TOP); in backward()
336 if (pos == -1 && (!force || position(BOTTOM) == 0)) { in backward()
/openbsd-src/gnu/usr.bin/texinfo/info/
H A Dnodes.c389 long position; in build_tags_and_nodes() local
402 position = search_backward (TAGS_TABLE_END_LABEL, &binding); in build_tags_and_nodes()
406 if (position != -1) in build_tags_and_nodes()
411 binding.end = position; in build_tags_and_nodes()
416 position = find_node_separator (&binding); in build_tags_and_nodes()
420 if (position == -1) in build_tags_and_nodes()
424 binding.start = position; in build_tags_and_nodes()
429 position = search_backward (TAGS_TABLE_BEG_LABEL, &binding); in build_tags_and_nodes()
431 if (position == -1) in build_tags_and_nodes()
434 binding.end = position; in build_tags_and_nodes()
[all …]
H A Dman.c549 long position = -1; in find_reference_section() local
558 position = search_forward (reference_section_starters[i], &frs_binding); in find_reference_section()
559 if (position != -1) in find_reference_section()
563 if (position == -1) in find_reference_section()
569 frs_binding.start = position; in find_reference_section()
591 long position; in xrefs_of_manpage() local
603 while ((position = search_forward ("(", reference_section)) != -1) in xrefs_of_manpage()
607 for (start = position; start > reference_section->start; start--) in xrefs_of_manpage()
613 for (end = position; end < reference_section->end; end++) in xrefs_of_manpage()
646 reference_section->start = position + 1; in xrefs_of_manpage()
[all …]
/openbsd-src/regress/include/bitstring/good/
H A D2791 first 1 bit should move right 1 position each line
120 first 0 bit should move right 1 position each line
149 first 0 bit should move left 1 position each line
178 first 1 bit should move left 1 position each line
207 0 bit should move right 1 position each line
236 1 bit should move right 1 position each line
H A D67171 first 1 bit should move right 1 position each line
240 first 0 bit should move right 1 position each line
309 first 0 bit should move left 1 position each line
378 first 1 bit should move left 1 position each line
447 0 bit should move right 1 position each line
516 1 bit should move right 1 position each line
H A D32101 first 1 bit should move right 1 position each line
135 first 0 bit should move right 1 position each line
169 first 0 bit should move left 1 position each line
203 first 1 bit should move left 1 position each line
237 0 bit should move right 1 position each line
271 1 bit should move right 1 position each line
H A D49135 first 1 bit should move right 1 position each line
186 first 0 bit should move right 1 position each line
237 first 0 bit should move left 1 position each line
288 first 1 bit should move left 1 position each line
339 0 bit should move right 1 position each line
390 1 bit should move right 1 position each line
H A D64165 first 1 bit should move right 1 position each line
231 first 0 bit should move right 1 position each line
297 first 0 bit should move left 1 position each line
363 first 1 bit should move left 1 position each line
429 0 bit should move right 1 position each line
495 1 bit should move right 1 position each line
H A D853 first 1 bit should move right 1 position each line
63 first 0 bit should move right 1 position each line
73 first 0 bit should move left 1 position each line
83 first 1 bit should move left 1 position each line
93 0 bit should move right 1 position each line
103 1 bit should move right 1 position each line
/openbsd-src/gnu/usr.bin/perl/cpan/Encode/ucm/
H A DmacThai.ucm193 <U0E31><UF874> \x92 |3 # THAI CHARACTER MAI HAN-AKAT, left position
197 <U0E34><UF874> \x94 |3 # THAI CHARACTER SARA I, left position
199 <U0E35><UF874> \x95 |3 # THAI CHARACTER SARA II, left position
201 <U0E36><UF874> \x96 |3 # THAI CHARACTER SARA UE, left position
203 <U0E37><UF874> \x97 |3 # THAI CHARACTER SARA UEE, left position
216 <U0E47><UF874> \x93 |3 # THAI CHARACTER MAITAIKHU, left position
218 <U0E48><UF873> \x88 |3 # THAI CHARACTER MAI EK, low position
219 <U0E48><UF874> \x98 |3 # THAI CHARACTER MAI EK, left position
220 <U0E48><UF875> \x83 |3 # THAI CHARACTER MAI EK, low left position
222 <U0E49><UF873> \x89 |3 # THAI CHARACTER MAI THO, low position
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/objc/execute/
H A Dbf-common.h21 int position; in compare_structures() local
38 objc_layout_structure_get_info (&layout, &position, NULL, &ivar_type); in compare_structures()
41 printf ("computed type '%s' offset %d\n", ivar_type, position); in compare_structures()
42 if (position != ivar->ivar_offset) in compare_structures()
46 ivar->ivar_offset, position, ivar->ivar_name, i); in compare_structures()
/openbsd-src/sys/arch/i386/i386/
H A Dmpbios.c520 const u_int8_t *position, *end; in mpbios_scan()
544 position = (const u_int8_t *)mp_cth + sizeof(*mp_cth), in mpbios_scan()
545 end = position + mp_cth->base_len; in mpbios_scan()
546 count-- && position < end; in mpbios_scan()
547 position += mp_conf[type].length) { in mpbios_scan()
549 type = *position; in mpbios_scan()
554 end = position; in mpbios_scan()
565 position = (const u_int8_t *)mp_cth + sizeof(*mp_cth); in mpbios_scan()
566 count-- && position < end; in mpbios_scan()
567 position in mpbios_scan()
521 const u_int8_t *position, *end; mpbios_scan() local
[all...]
/openbsd-src/sys/arch/amd64/amd64/
H A Dmpbios.c493 const u_int8_t *position, *end; in mpbios_scan()
519 position = (const u_int8_t *)(mp_cth); in mpbios_scan()
520 end = position + mp_cth->base_len; in mpbios_scan()
521 position += sizeof(*mp_cth); in mpbios_scan()
526 while ((count--) && (position < end)) { in mpbios_scan()
527 type = *position; in mpbios_scan()
537 (const struct mpbios_bus *)position; in mpbios_scan()
547 iep = (const struct mpbios_int *)position; in mpbios_scan()
555 position += mp_conf[type].length; in mpbios_scan()
564 position in mpbios_scan()
494 const u_int8_t *position, *end; mpbios_scan() local
[all...]

12345678910>>...28