| /dflybsd-src/games/battlestar/ |
| H A D | command6.c | 41 if (testbit(location[position].objects, VIPER) && !notes[CANTLAUNCH]) { in launch() 43 clearbit(location[position].objects, VIPER); in launch() 44 position = location[position].up; in launch() 63 if (notes[LAUNCHED] && testbit(location[position].objects, LAND) && in land() 64 location[position].down) { in land() 66 position = location[position].down; 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() [all …]
|
| H A D | command3.c | 41 switch (position) { in dig() 44 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() 64 switch (position) { in jump() 70 position = 133; in jump() 76 position = 145; in jump() 79 position = FINAL; in jump() 82 position = 1; in jump() [all …]
|
| H A D | command2.c | 133 position != FINAL) { in use() 137 if (position == 114) { in use() 138 location[position].down = 160; in use() 139 whichway(location[position]); in use() 150 if (position == 229) in use() 151 position = 224; in use() 153 position = 229; in use() 157 } else if (position == FINAL) in use() 213 if (testbit(location[position].objects, BATHGOD)) { in murder() 216 clearbit(location[position].objects, BATHGOD); in murder() [all …]
|
| H A D | command1.c | 42 testbit(location[position].objects, LAND) || in moveplayer() 45 position = thataway; in moveplayer() 51 whichway(location[position]); in moveplayer() 96 if (ourtime > 30 && position < 32) { in news() 104 if (ourtime > 20 && position < 32) 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() 157 switch (position) { in news() 173 if (testbit(location[position].objects, GIRL)) in news() [all …]
|
| H A D | command4.c | 133 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() 231 deposit = location[position].up * in throw() 232 (location[position].access || position == FINAL); in throw() 236 deposit = location[position].down; in throw() 243 testbit(location[position].objects, value)) { in throw() [all …]
|
| H A D | command5.c | 42 && 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() 195 if (location[position].down) { in zzz() 196 position = location[position].down; in zzz() 214 location[position].objects, in zzz() 224 setbit(location[position].objects, DEADWOOD); in zzz() [all …]
|
| H A D | cypher.c | 66 if (location[position].access || wiz || tempwiz) { in cypher() 67 if (!location[position].access) { in cypher() 71 if (!moveplayer(location[position].up, AHEAD)) in cypher() 81 if (!moveplayer(location[position].down, AHEAD)) in cypher() 116 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() [all …]
|
| H A D | command7.c | 210 clearbit(location[position].objects, DARK); in fight() 223 if (back && position != back) in fight() 225 else if (ahead && position != ahead) in fight() 227 else if (left && position != left) in fight() 229 else if (right && position != right) in fight() 232 moveplayer(location[position].down, AHEAD); in fight() 247 setbit(location[position].objects, LASER); in fight() 272 clearbit(location[position].objects, enemy); in fight()
|
| H A D | battlestar.c | 60 if (beenthere[position] <= ROOMDESC) in main() 61 beenthere[position]++; in main() 69 testbit(location[position].objects, LAMPON)) { in main() 74 whichway(location[position]); in main()
|
| H A D | room.c | 42 printf("\n\t%s\n", location[position].name); in writedes() 43 if (beenthere[position] < ROOMDESC || verbose) { in writedes() 45 for (p = location[position].desc; (c = *p++) != 0;) in writedes() 62 unsigned int *p = location[position].objects; in printobjs() 170 position); in truedirec()
|
| /dflybsd-src/test/cocci/ |
| H A D | unlock_return.cocci | 28 position p1; 37 position rcu_ACPI_SERIAL_BEGIN.p1; 48 position p1; 56 position rcu_crit_enter.p1; 66 position p1; 74 position rcu_get_mplock.p1; 84 position p1; 93 position rcu_lockmgr.p1; 104 position p1; 113 position rcu_lwkt_gettoken.p1; [all …]
|
| /dflybsd-src/contrib/ee/ |
| H A D | ee.c | 144 int position; /* offset in bytes from begin of line */ variable 580 position = 1; 711 point = resiz_line(10, curr_line, position); 714 counter = position; 733 position++; 740 position ++; 745 counter = position; 750 while (position < counter) 755 counter -= position; 773 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length); [all …]
|
| /dflybsd-src/contrib/less/ |
| H A D | forwback.c | 90 pos = position(BOTTOM_PLUS_ONE); in eof_displayed() 106 pos = position(0); in entire_file_displayed() 152 if (ln+1 == header_lines && position(0) != header_start_pos) in set_attr_header() 187 pos = position(ln); in overlay_header() 258 if (pos != position(BOTTOM_PLUS_ONE) || empty_screen()) in forw() 311 if (!force && position(TOP) != NULL_POSITION) in forw() 467 pos = position(BOTTOM_PLUS_ONE); in forward() 483 back(1, position(TOP), 1, 0); in forward() 484 pos = position(BOTTOM_PLUS_ONE); in forward() 504 pos = position(TOP); in backward() [all …]
|
| H A D | jump.c | 39 if (position(sc_height-1) == end_pos) in jump_forw() 62 if (position(sc_height-1) != end_pos) in jump_forw() 245 forw(nline, position(BOTTOM_PLUS_ONE), 1, 0, 0); in jump_loc() 247 back(-nline, position(TOP), 1, 0); in jump_loc() 269 tpos = position(TOP); in jump_loc() 270 bpos = position(BOTTOM_PLUS_ONE); in jump_loc()
|
| /dflybsd-src/contrib/zstd/lib/common/ |
| H A D | fse_decompress.c | 136 size_t position = 0; in FSE_buildDTable_internal() local 143 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildDTable_internal() 146 position = (position + (unroll * step)) & tableMask; in FSE_buildDTable_internal() 148 assert(position == 0); in FSE_buildDTable_internal() 153 U32 s, position = 0; in FSE_buildDTable_internal() local 157 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_internal() 158 position = (position + step) & tableMask; in FSE_buildDTable_internal() 159 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable_internal() 161 …if (position!=0) return ERROR(GENERIC); /* position must reach all cells once, otherwise normali… in FSE_buildDTable_internal()
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | genrecog.c | 79 struct position struct 82 struct position *base; argument 86 struct position *next; argument 91 struct position *xexps; argument 96 struct position *xvecexp0s; argument 178 struct position *position; /* Position in pattern. */ member 218 static struct position root_pos; 222 static struct position *peep2_insn_pos_list = &root_pos; 234 static struct position * 235 next_position (struct position **next_ptr, struct position *base, in next_position() [all …]
|
| /dflybsd-src/contrib/tre/lib/ |
| H A D | tre-compile.c | 1692 int pos = lit->position; in tre_copy_ast() 1811 int *position, tre_tag_direction_t *tag_directions, in tre_expand_ast() argument 1859 lit->position += pos_add; in tre_expand_ast() 1860 if (lit->position > max_pos) in tre_expand_ast() 1861 max_pos = lit->position; in tre_expand_ast() 2062 *position += pos_add_total; in tre_expand_ast() 2068 if (max_pos > *position) in tre_expand_ast() 2069 *position = max_pos; in tre_expand_ast() 2074 DPRINT(("*position %d, max_pos %d\n", *position, max_pos)); in tre_expand_ast() 2089 new_set[0].position = -1; in tre_set_empty() [all …]
|
| /dflybsd-src/sys/dev/drm/amd/display/dc/dce/ |
| H A D | dce_ipp.c | 43 const struct dc_cursor_position *position, in dce_ipp_cursor_set_position() argument 53 REG_UPDATE(CUR_CONTROL, CURSOR_EN, position->enable); in dce_ipp_cursor_set_position() 56 CURSOR_X_POSITION, position->x, in dce_ipp_cursor_set_position() 57 CURSOR_Y_POSITION, position->y); in dce_ipp_cursor_set_position() 60 CURSOR_HOT_SPOT_X, position->x_hotspot, in dce_ipp_cursor_set_position() 61 CURSOR_HOT_SPOT_Y, position->y_hotspot); in dce_ipp_cursor_set_position()
|
| /dflybsd-src/contrib/binutils-2.34/bfd/ |
| H A D | bfdio.c | 307 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument 331 position += offset; in bfd_seek() 333 if ((direction == SEEK_CUR && position == 0) in bfd_seek() 334 || (direction == SEEK_SET && (ufile_ptr) position == abfd->where)) in bfd_seek() 337 result = abfd->iovec->bseek (abfd, position, direction); in bfd_seek() 351 abfd->where += position; in bfd_seek() 353 abfd->where = position; in bfd_seek() 551 memory_bseek (bfd *abfd, file_ptr position, int direction) in memory_bseek() argument 559 nwhere = position; in memory_bseek() 561 nwhere = abfd->where + position; in memory_bseek()
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | genrecog.c | 212 struct position struct 215 struct position *base; argument 219 struct position *next; argument 224 struct position *xexps; argument 229 struct position *xvecexp0s; argument 254 static struct position root_pos; 262 static struct position *peep2_insn_pos_list = &root_pos; 269 static struct position * 270 next_position (struct position **next_ptr, struct position *base, in next_position() 273 struct position *pos; in next_position() [all …]
|
| /dflybsd-src/contrib/binutils-2.27/bfd/ |
| H A D | bfdio.c | 280 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument 290 if (direction == SEEK_CUR && position == 0) in bfd_seek() 295 if (direction == SEEK_SET && (bfd_vma) position == abfd->where) in bfd_seek() 313 file_position = position; in bfd_seek() 352 abfd->where = position; in bfd_seek() 354 abfd->where += position; in bfd_seek() 526 memory_bseek (bfd *abfd, file_ptr position, int direction) in memory_bseek() argument 534 nwhere = position; in memory_bseek() 536 nwhere = abfd->where + position; in memory_bseek()
|
| /dflybsd-src/contrib/gdb-7/bfd/ |
| H A D | bfdio.c | 281 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument 291 if (direction == SEEK_CUR && position == 0) in bfd_seek() 296 if (direction == SEEK_SET && (bfd_vma) position == abfd->where) in bfd_seek() 314 file_position = position; in bfd_seek() 352 abfd->where = position; in bfd_seek() 354 abfd->where += position; in bfd_seek() 526 memory_bseek (bfd *abfd, file_ptr position, int direction) in memory_bseek() argument 534 nwhere = position; in memory_bseek() 536 nwhere = abfd->where + position; in memory_bseek()
|
| /dflybsd-src/contrib/libarchive/libarchive/ |
| H A D | archive_rb.c | 72 #define RB_SET_POSITION(rb, position) \ argument 73 ((void)((position) ? ((rb)->rb_info |= RB_FLAG_POSITION) : \ 162 unsigned int position; in __archive_rb_tree_insert_node() local 175 position = RB_DIR_LEFT; in __archive_rb_tree_insert_node() 189 position = (diff > 0); in __archive_rb_tree_insert_node() 190 tmp = parent->rb_nodes[position]; in __archive_rb_tree_insert_node() 197 RB_SET_POSITION(self, position); in __archive_rb_tree_insert_node() 209 self->rb_left = parent->rb_nodes[position]; in __archive_rb_tree_insert_node() 210 self->rb_right = parent->rb_nodes[position]; in __archive_rb_tree_insert_node() 211 parent->rb_nodes[position] = self; in __archive_rb_tree_insert_node()
|
| /dflybsd-src/contrib/gcc-4.7/libobjc/ |
| H A D | gc.c | 100 unsigned int position; in __objc_gc_setup_struct() local 109 objc_layout_structure_get_info (&layout, &position, NULL, &mtype); in __objc_gc_setup_struct() 125 position += offset; in __objc_gc_setup_struct() 135 SET_BIT_FOR_OFFSET (mask, position); in __objc_gc_setup_struct() 139 __objc_gc_setup_array (mask, mtype, position); in __objc_gc_setup_struct() 143 __objc_gc_setup_struct (mask, mtype, position); in __objc_gc_setup_struct() 147 __objc_gc_setup_union (mask, mtype, position); in __objc_gc_setup_struct()
|
| /dflybsd-src/contrib/xz/src/liblzma/lzma/ |
| H A D | lzma_encoder.c | 46 literal(lzma_lzma1_encoder *coder, lzma_mf *mf, uint32_t position) in literal() argument 53 position, mf->buffer[mf->read_pos - mf->read_ahead - 1]); in literal() 235 uint32_t back, uint32_t len, uint32_t position) in encode_symbol() argument 237 const uint32_t pos_state = position & coder->pos_mask; in encode_symbol() 244 literal(coder, mf, position); in encode_symbol() 296 encode_eopm(lzma_lzma1_encoder *coder, uint32_t position) in encode_eopm() argument 298 const uint32_t pos_state = position & coder->pos_mask; in encode_eopm() 321 uint32_t position = mf_position(mf); in lzma_lzma_encode() local 369 coder, mf, &back, &len, position); in lzma_lzma_encode() 371 encode_symbol(coder, mf, back, len, position); in lzma_lzma_encode() [all …]
|