HomeSort by: relevance | last modified time | path
    Searched refs:row (Results 1 - 25 of 293) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/external/gpl2/dts/dist/include/dt-bindings/input/
input.h 17 #define MATRIX_KEY(row, col, code) \
18 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
  /src/external/bsd/zstd/dist/tests/cli-tests/compression/
row-match-finder.sh 5 # Test --[no-]row-match-finder
6 zstd file -7f --row-match-finder
7 zstd file -7f --no-row-match-finder
  /src/games/rogue/
throw.c 68 short dir, row, col; local
95 row = rogue.row; col = rogue.col;
106 monster = get_thrown_at_monster(weapon, d, &row, &col);
107 mvaddch(rogue.row, rogue.col, rogue.fchar);
110 if (rogue_can_see(row, col) && ((row != rogue.row) || (col != rogue.col))){
111 mvaddch(row, col, get_dungeon_char(row, col))
267 static short row, col; local
    [all...]
trap.c 78 trap_at(int row, int col)
83 if ((traps[i].trap_row == row) && (traps[i].trap_col == col)) {
91 trap_player(short row, short col)
95 if ((t = trap_at(row, col)) == NO_TRAP) {
98 dungeon[row][col] &= (~HIDDEN);
113 mvaddch(rogue.row, rogue.col, '^');
146 short row, col; local
168 row = get_rand((rooms[party_room].top_row+1),
173 } while (((dungeon[row][col] & (OBJECT|STAIRS|TRAP|TUNNEL)) ||
174 (dungeon[row][col] == NOTHING)) && (tries < 15))
190 short dir, row, col, d, t; local
232 short s, i, j, row, col, t; local
    [all...]
zap.c 71 short dir, d, row, col; local
102 row = rogue.row; col = rogue.col;
104 bounce((short)wand->which_kind, d, row, col, 0);
106 monster = get_zapped_monster(d, &row, &col);
121 get_zapped_monster(short dir, short *row, short *col)
126 orow = *row; ocol = *col;
127 get_dir_rc(dir, row, col, 0);
128 if (((*row == orow) && (*col == ocol)) ||
129 (dungeon[*row][*col] & (HORWALL | VERTWALL)) |
144 short row, col; local
210 short row, col; local
    [all...]
monster.c 150 short row, col; local
159 gr_row_col(&row, &col, (FLOOR | TUNNEL | STAIRS | OBJECT));
160 put_m_at(row, col, monster);
205 mv_1_monster(monster, rogue.row, rogue.col);
221 !mon_can_go(monster, rogue.row, rogue.col)) {
223 mv_1_monster(monster, rogue.row, rogue.col);
228 if (!(flew && mon_can_go(monster, rogue.row, rogue.col))) {
229 mv_1_monster(monster, rogue.row, rogue.col);
249 short row, col; local
253 row = col = 0
631 short row, col, i; local
685 short row, col; local
765 short i, row, col; local
795 short i, row, col; local
    [all...]
move.c 72 short row, col; local
77 row = rogue.row;
84 get_dir_rc(d, &row, &col, 1);
86 if (!can_move(rogue.row, rogue.col, row, col)) {
90 if (!(dungeon[row][col] & MONSTER)) {
106 if (dungeon[row][col] & MONSTER) {
107 rogue_hit(object_at(&level_monsters, row, col), 0);
111 if (dungeon[row][col] & DOOR)
183 short row, col; local
244 short i, j, i_end, j_end, row, col; local
    [all...]
spec_hit.c 231 short row, col; local
233 row = monster->row;
236 dungeon[row][col] &= ~MONSTER;
237 if (rogue_can_see(row, col)) {
238 mvaddch(row, col, get_dungeon_char(row, col));
249 short row, col, i, n; local
265 row = monster->row;
484 short row, col, dir; local
    [all...]
hit.c 305 short row, col; local
310 row = monster->row;
312 dungeon[row][col] &= ~MONSTER;
313 mvaddch(row, col, get_dungeon_char(row, col));
336 short row, col; local
353 row = rogue.row; col = rogue.col;
354 get_dir_rc(d, &row, &col, 0)
    [all...]
room.c 120 dungeon[monster->row][monster->col] &= (~MONSTER);
122 get_dungeon_char(monster->row, monster->col);
123 dungeon[monster->row][monster->col] |= MONSTER;
129 mvaddch(rogue.row, rogue.col, rogue.fchar);
134 light_passage(int row, int col)
141 i_end = (row < (DROWS-2)) ? 1 : 0;
144 for (i = ((row > MIN_ROW) ? -1 : 0); i <= i_end; i++) {
146 if (can_move(row, col, row+i, col+j)) {
147 mvaddch(row+i, col+j, get_dungeon_char(row+i, col+j))
289 short n, N, row, col; local
    [all...]
message.c 134 move(rogue.row, rogue.col);
247 int row = DROWS - 1; local
253 mvaddstr(row, 0, "Level: ");
256 mvprintw(row, 7, "%-2d", cur_level);
260 mvaddstr(row, 10, "Gold: ");
265 mvprintw(row, 16, "%-6ld", rogue.gold);
269 mvaddstr(row, 23, "Hp: ");
277 mvprintw(row, 27, "%-8s", buf);
281 mvaddstr(row, 36, "Str: ");
289 mvprintw(row, 41, "%-6s", buf)
    [all...]
  /src/external/bsd/kyua-cli/dist/utils/text/
table_test.cpp 159 text::table_row row; local
160 row.push_back("First");
161 row.push_back("Second");
162 row.push_back("Third");
163 table.add_row(row);
166 text::table_row row; local
167 row.push_back("Fourth with some text");
168 row.push_back("Fifth with some more text");
169 row.push_back("Sixth foo");
170 table.add_row(row);
185 text::table_row row; local
190 text::table_row row; local
207 text::table_row row; local
212 text::table_row row; local
230 text::table_row row; local
235 text::table_row row; local
253 text::table_row row; local
260 text::table_row row; local
279 text::table_row row; local
286 text::table_row row; local
306 text::table_row row; local
313 text::table_row row; local
345 text::table_row row; local
351 text::table_row row; local
359 text::table_row row; local
365 text::table_row row; local
    [all...]
table.cpp 141 /// of a row or not. Values in the last column should not be padded to
164 /// \param row The row containing the cell to be refilled.
165 /// \param widths The widths of the row.
171 refill_cell(const text::table_row& row, const text::widths_vector& widths,
175 const std::vector< std::string > rows = text::refill(row[column],
179 textual_rows.resize(rows.size(), text::table_row(row.size()));
182 for (text::table_row::size_type j = 0; j < row.size(); ++j) {
183 const bool is_last = j == row.size() - 1;
195 /// Formats a single table row
    [all...]
  /src/usr.bin/systat/
iostat.c 103 int row; local
109 row = 0;
110 wmove(wnd, row, 0); wclrtobot(wnd);
111 mvwaddstr(wnd, row++, INSET,
113 mvwaddstr(wnd, row++, 0, " CPU user|");
114 mvwaddstr(wnd, row++, 0, " nice|");
115 mvwaddstr(wnd, row++, 0, " system|");
116 mvwaddstr(wnd, row++, 0, " interrupt|");
117 mvwaddstr(wnd, row++, 0, " idle|");
119 row = numlabels(row + 1)
204 int row, col; local
    [all...]
icmp.c 49 #define LHD(row, str) mvwprintw(wnd, row, 10, str)
50 #define RHD(row, str) mvwprintw(wnd, row, 45, str);
51 #define BD(row, str) LHD(row, str); RHD(row, str)
52 #define SHOW(stat, row, col) \
53 mvwprintw(wnd, row, col, "%9llu", (unsigned long long)curstat[stat])
54 #define SHOW2(type, row) SHOW(ICMP_STAT_INHIST + type, row, 0);
    [all...]
  /src/lib/libform/
internals.c 85 /* used in add_char for initial memory allocation for string in row */
97 _formi_hscroll_back(FIELD *field, _FORMI_FIELD_LINES *row, unsigned int amt);
99 _formi_hscroll_fwd(FIELD *field, _FORMI_FIELD_LINES *row, unsigned int amt);
114 add_tab(FORM *form, _FORMI_FIELD_LINES *row, unsigned int i, char c);
116 tab_size(_FORMI_FIELD_LINES *row, unsigned int i);
118 tab_fit_len(_FORMI_FIELD_LINES *row, unsigned int len);
126 copy_row(_FORMI_FIELD_LINES *row);
131 * Calculate the cursor y position to make the given row appear on the
167 * Delete the given row and add it to the free list of the given field.
213 * Duplicate the given row, return the pointer to the new copy o
470 _FORMI_FIELD_LINES *temp, *row; local
506 _FORMI_FIELD_LINES *saved_row, *row, *row_backup, *saved_cur_line; local
711 _FORMI_FIELD_LINES *row = *rowp; local
887 _FORMI_FIELD_LINES *row = *rowp; local
1050 _FORMI_FIELD_LINES *row, *last = NULL; local
1143 _FORMI_FIELD_LINES *row; local
1218 _FORMI_FIELD_LINES *row; local
1507 _FORMI_FIELD_LINES *row; local
1753 _FORMI_FIELD_LINES *row, *temp, *next_temp; local
2062 _FORMI_FIELD_LINES *row, *rs; local
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/back-sql/
sql-wrap.c 130 backsql_BindRowAsStrings_x( SQLHSTMT sth, BACKSQL_ROW_NTS *row, void *ctx )
134 if ( row == NULL ) {
142 rc = SQLNumResultCols( sth, &row->ncols );
159 "ncols=%d\n", (int)row->ncols );
162 row->col_names = (BerVarray)ber_memcalloc_x( row->ncols + 1,
164 if ( row->col_names == NULL ) {
168 row->col_prec = (UDWORD *)ber_memcalloc_x( row->ncols,
170 if ( row->col_prec == NULL )
    [all...]
  /src/external/bsd/libfido2/dist/src/
log.c 73 char row[XXDROW], xxd[XXDLEN]; local
79 snprintf(row, sizeof(row), "buf=%p, len=%zu", buf, count);
81 do_log(row, fmt, args);
83 *row = '\0';
91 strlcat(row, xxd, sizeof(row));
93 fido_log_debug("%s", row);
94 *row = '\0';
  /src/external/apache2/llvm/dist/llvm/utils/
llvm-original-di-preservation.py 77 row = []
81 row.append(" <tr>\n")
82 row.append(file)
83 row.append(llvm_pass)
84 row.append(x.instr)
85 row.append(x.fn_name)
86 row.append(x.bb_name)
87 row.append(x.action)
88 row.append(" </tr>\n")
90 for column in row
    [all...]
  /src/sys/arch/bebox/stand/boot/
video.c 43 #define ROW (VRAM_WIDTH / FONT_WIDTH)
62 int row; member in struct:screen
77 d->row = 0;
88 (d->col * VRAM_WIDTH * FONT_HEIGHT) + (d->row * FONT_WIDTH);
100 d->row++;
110 (d->col * VRAM_WIDTH * FONT_HEIGHT) + (d->row * FONT_WIDTH);
148 } while (d->row % 8);
152 d->row--;
153 if (d->row < 0) {
156 d->row += ROW; /* prev column *
    [all...]
  /src/lib/libc/citrus/modules/
citrus_mskanji.c 330 _index_t row, col; local
377 row = ((_wc_t)wc >> 8) & 0xFF;
379 if (!_mskanji1(row) || !_mskanji2(col))
381 if ((ei->mode & MODE_JIS2004) == 0 || row < 0xF0) {
393 row -= offset;
394 if (row >= 0x5F)
395 row -= 0x40;
396 row = row * 2 + 0x21;
401 row += 1
416 u_int32_t row, col; local
    [all...]
  /src/games/battlestar/
fly.c 49 static int row, column; variable
89 row = rnd(LINES - 3) + 1;
154 if (row == MIDR && column < MIDC + 2 &&
256 oldr = row;
259 if (row + dr <= LINES - 3 && row + dr > 0)
260 row += dr;
268 d = (double) ((row - MIDR) * (row - MIDR) + (column - MIDC) *
271 row += (rnd(9) - 4) % (4 - abs(row - MIDR))
    [all...]
  /src/games/gomoku/
bdisp.c 107 for (int row = BSZ; row >= 1; row--) {
108 mvprintw(scr_y(row), 0, "%2d", row); local
109 mvprintw(scr_y(row), scr_x(BSZ) + 2, "%d", row);
172 for (int row = BSZ + 1; --row > 0; ) {
174 sp = &board[PT(col, row)];
    [all...]
  /src/games/hunt/hunt/
otto.c 138 STATIC int row, col; variable
187 row = y; col = x;
188 been_there[row][col] |= 1 << facing;
314 if (been_there[row - 1][col] & NORTH)
316 for (r = row - 1; r >= 0; r--)
319 if (stop_look(itemp, ch, row - r, c - col))
329 for (r = row - 1; r > row - itemp->distance; r--)
335 if (been_there[row + 1][col] & SOUTH)
337 for (r = row + 1; r < HEIGHT; r++
    [all...]
  /src/sys/dev/hpc/
hpcfb.c 917 hpcfb_cursor(void *cookie, int on, int row, int col)
923 dc->dc_cury = row;
929 hpcfb_cursor_raw(cookie, on, row, col);
933 hpcfb_cursor_raw(void *cookie, int on, int row, int col)
957 yoff = row * ri->ri_font->fontheight;
963 rasops_emul.cursor(ri, on, row, col);
983 hpcfb_tv_putchar(struct hpcfb_devconfig *dc, int row, int col, u_int uc,
987 struct hpcfb_vchar *vc = &vscn[row].col[col];
995 if (row < dc->dc_min_row)
996 dc->dc_min_row = row;
    [all...]

Completed in 42 milliseconds

1 2 3 4 5 6 7 8 91011>>