Searched refs:row (Results 1 - 25 of 260) sorted by relevance

1234567891011

/netbsd-6-1-5-RELEASE/usr.bin/window/
H A Dcmd1.c50 int col, row, xcol, xrow; local
58 row = 1;
61 wwbox(boxwin, row - 1, col - 1, 3, 3);
62 wwsetcursor(row, col);
65 switch (getpos(&row, &col, row > 1, 0,
84 xrow = row;
86 wwbox(boxwin, row - 1, col - 1,
87 xrow - row + 3, xcol - col + 3);
91 switch (getpos(&xrow, &xcol, row, co
117 getpos(int *row, int *col, int minrow, int mincol, int maxrow, int maxcol) argument
[all...]
H A Dwwredrawwin.c49 int row; local
58 for (row = row1; row < row2; row++) {
60 ns = wwns[row];
61 smap = &wwsmap[row][col];
62 buf = w->ww_buf[row + offset];
63 win = w->ww_win[row];
73 wwtouched[row] |= WWU_TOUCHED;
H A Dwwlabel.c55 int row; local
69 row = w->ww_w.t - 1;
70 if (row < f->ww_i.t || row >= f->ww_i.b)
72 win = f->ww_win[row];
73 buf = f->ww_buf[row];
74 fmap = f->ww_fmap[row];
75 ns = wwns[row];
76 smap = wwsmap[row];
77 touched = wwtouched[row];
[all...]
H A Dwwdelchar.c49 wwdelchar(struct ww *w, int row, int col) argument
60 p = &w->ww_buf[row][col];
70 if (row < w->ww_i.t || row >= w->ww_i.b
88 smap = &wwsmap[row][col];
94 buf = w->ww_buf[row];
95 win = w->ww_win[row];
96 ns = wwns[row];
97 smap = &wwsmap[row][i];
98 touched = wwtouched[row];
[all...]
H A Dwwclreos.c48 wwclreos(struct ww *w, int row, int col) argument
52 wwclreol(w, row, col);
53 for (i = row + 1; i < w->ww_b.b; i++)
H A Dwwalloc.c48 wwalloc(int row, int col, int nrow, int ncol, int size) argument
68 return pp - row;
72 wwfree(char **p, int row) argument
74 free((char *)(p + row));
H A Dwwclreol.c52 wwclreol1(struct ww *w, int row, int col, char cleared) argument
62 buf = &w->ww_buf[row][col];
70 if (row < w->ww_i.t || row >= w->ww_i.b
86 smap = &wwsmap[row][i];
87 s = &wwns[row][i];
88 win = &w->ww_win[row][i];
96 wwtouched[row] |= WWU_TOUCHED;
H A Dwwinschar.c49 wwinschar(struct ww *w, int row, int col, char c, char m) argument
61 p = &w->ww_buf[row][w->ww_b.r];
71 if (row < w->ww_i.t || row >= w->ww_i.b
89 smap = &wwsmap[row][col];
95 buf = w->ww_buf[row];
96 win = w->ww_win[row];
97 ns = wwns[row];
98 smap = &wwsmap[row][i];
99 touched = wwtouched[row];
[all...]
H A Dcmd5.c55 int col, row; local
63 row = w->ww_w.t;
66 wwbox(boxwin, row - 1, col - 1, w->ww_w.nr + 2, w->ww_w.nc + 2);
67 getminmax(row, w->ww_w.nr, 1, wwnrow,
74 switch (getpos(&row, &col, minrow, mincol, maxrow, maxcol)) {
93 movewin(w, row, col);
97 movewin(struct ww *w, int row, int col) argument
104 wwmove(w, row, col);
H A Dwwflush.c54 int row, col; local
56 if ((row = wwcursorrow) < 0)
57 row = 0;
58 else if (row >= wwnrow)
59 row = wwnrow - 1;
64 xxmove(row, col);
/netbsd-6-1-5-RELEASE/games/rogue/
H A Dthrow.c68 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, co
162 get_thrown_at_monster(object *obj, short dir, short *row, short *col) argument
204 flop_weapon(object *weapon, short row, short col) argument
267 static short row, col; local
[all...]
H A Dtrap.c78 trap_at(int row, int col) argument
83 if ((traps[i].trap_row == row) && (traps[i].trap_col == col)) {
91 trap_player(short row, short col) argument
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][co
190 short dir, row, col, d, t; local
232 short s, i, j, row, col, t; local
[all...]
H A Dzap.c71 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) argument
126 orow = *row; ocol = *col;
127 get_dir_rc(dir, row, col, 0);
128 if (((*row == orow) && (*col == ocol)) ||
129 (dungeon[*row][*co
144 short row, col; local
210 short row, col; local
280 bounce(short ball, short dir, short row, short col, short r) argument
[all...]
H A Dmonster.c137 short row, col; local
146 gr_row_col(&row, &col, (FLOOR | TUNNEL | STAIRS | OBJECT));
147 put_m_at(row, col, monster);
192 mv_1_monster(monster, rogue.row, rogue.col);
208 !mon_can_go(monster, rogue.row, rogue.col)) {
210 mv_1_monster(monster, rogue.row, rogue.col);
215 if (!(flew && mon_can_go(monster, rogue.row, rogue.col))) {
216 mv_1_monster(monster, rogue.row, rogue.col);
236 short row, col; local
240 row
274 gmc_row_col(int row, int col) argument
307 mv_1_monster(object *monster, short row, short col) argument
445 mtry(object *monster, short row, short col) argument
455 move_mon_to(object *monster, short row, short col) argument
504 mon_can_go(const object *monster, short row, short col) argument
552 wake_room(short rn, boolean entering, short row, short col) argument
603 rogue_is_around(int row, int col) argument
618 short row, col, i; local
672 short row, col; local
706 put_m_at(short row, short col, object *monster) argument
737 rogue_can_see(int row, int col) argument
752 short i, row, col; local
782 short i, row, col; local
851 mon_sees(const object *monster, int row, int col) argument
[all...]
H A Dmove.c72 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][co
183 short row, col; local
229 is_passable(int row, int col) argument
244 short i, j, i_end, j_end, row, col; local
[all...]
H A Dspec_hit.c231 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;
290 try_to_cough(short row, short col, object *obj) argument
341 gold_at(short row, short col) argument
377 imitating(short row, short col) argument
484 short row, col, dir; local
[all...]
H A Dhit.c305 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,
385 get_dir_rc(short dir, short *row, short *col, short allow_off_screen) argument
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/systat/
H A Diostat.c104 int row; local
110 row = 0;
111 wmove(wnd, row, 0); wclrtobot(wnd);
112 mvwaddstr(wnd, row++, INSET,
114 mvwaddstr(wnd, row++, 0, " CPU user|");
115 mvwaddstr(wnd, row++, 0, " nice|");
116 mvwaddstr(wnd, row++, 0, " system|");
117 mvwaddstr(wnd, row++, 0, " interrupt|");
118 mvwaddstr(wnd, row++, 0, " idle|");
120 row
126 numlabels(int row) argument
176 barlabels(int row) argument
205 int row, col; local
253 stats(int row, int col, int dn) argument
301 stat1(int row, int o) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/testsuite/common/
H A Dbits-tst.c9 int row,
13 return MASKED (val, row, col);
15 return MASKED8 (val, row, col);
17 return MASKED16 (val, row, col);
19 return MASKED32 (val, row, col);
21 return MASKED64 (val, row, col);
24 return EXTRACTED (val, row, col);
26 return EXTRACTED8 (val, row, col);
28 return EXTRACTED16 (val, row, col);
30 return EXTRACTED32 (val, row, co
7 calc(const char *call, long long val, int row, int col) argument
229 int row; local
266 int row; local
[all...]
/netbsd-6-1-5-RELEASE/lib/libform/
H A Dinternals.c84 /* used in add_char for initial memory allocation for string in row */
96 _formi_hscroll_back(FIELD *field, _FORMI_FIELD_LINES *row, unsigned int amt);
98 _formi_hscroll_fwd(FIELD *field, _FORMI_FIELD_LINES *row, unsigned int amt);
113 add_tab(FORM *form, _FORMI_FIELD_LINES *row, unsigned int i, char c);
115 tab_size(_FORMI_FIELD_LINES *row, unsigned int i);
117 tab_fit_len(_FORMI_FIELD_LINES *row, unsigned int len);
125 copy_row(_FORMI_FIELD_LINES *row);
130 * Calculate the cursor y position to make the given row appear on the
166 * Delete the given row and add it to the free list of the given field.
212 * Duplicate the given row, retur
216 copy_row(_FORMI_FIELD_LINES *row) argument
469 _FORMI_FIELD_LINES *temp, *row; local
505 _FORMI_FIELD_LINES *saved_row, *row, *row_backup, *saved_cur_line; local
710 _FORMI_FIELD_LINES *row = *rowp; local
911 _FORMI_FIELD_LINES *row = *rowp; local
1093 _FORMI_FIELD_LINES *row, *last = NULL; local
1186 _FORMI_FIELD_LINES *row; local
1261 _FORMI_FIELD_LINES *row; local
1411 _formi_hscroll_fwd(FIELD *field, _FORMI_FIELD_LINES *row, int unsigned amt) argument
1489 _formi_hscroll_back(FIELD *field, _FORMI_FIELD_LINES *row, unsigned int amt) argument
1554 _FORMI_FIELD_LINES *row; local
1752 add_tab(FORM *form, _FORMI_FIELD_LINES *row, unsigned int i, char c) argument
1800 _FORMI_FIELD_LINES *row, *temp, *next_temp; local
2121 _FORMI_FIELD_LINES *row, *rs; local
3437 _formi_calculate_tabs(_FORMI_FIELD_LINES *row) argument
3480 tab_size(_FORMI_FIELD_LINES *row, unsigned int i) argument
3560 tab_fit_len(_FORMI_FIELD_LINES *row, unsigned int width) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A Dpr39339.c36 long row, col; member in struct:E
41 void foo (struct E *screen, unsigned int c, int columns, struct B *row) argument
49 row->cells->data[col].c = c;
50 row->cells->data[col].attr = attr;
55 row->cells->data[col].c = c;
56 row->cells->data[col].attr = attr;
64 struct E e = {.row = 5,.col = 0,.defaults =
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dsql-wrap.c129 backsql_BindRowAsStrings_x( SQLHSTMT sth, BACKSQL_ROW_NTS *row, void *ctx ) argument
133 if ( row == NULL ) {
141 rc = SQLNumResultCols( sth, &row->ncols );
158 "ncols=%d\n", (int)row->ncols, 0, 0 );
161 row->col_names = (BerVarray)ber_memcalloc_x( row->ncols + 1,
163 if ( row->col_names == NULL ) {
167 row->col_prec = (UDWORD *)ber_memcalloc_x( row->ncols,
169 if ( row
288 backsql_FreeRow_x( BACKSQL_ROW_NTS *row, void *ctx ) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.law/
H A Dcode-gen5.C58 int row; /* Row element refers to */ member in class:VecElem
75 int row() const { return 19; } function in class:Vector
108 Vector( int row )
110 assert( row > 0 );
112 r = new VectorInt( row );
118 Vector( int row, double *d, int beg ) argument
120 assert( row > 0 );
122 r = new VectorInt( row, d, beg );
144 operator()( int row ) const
165 if( rownum > row() || rownu
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.law/
H A Dcode-gen5.C58 int row; /* Row element refers to */ member in class:VecElem
75 int row() const { return 19; } function in class:Vector
108 Vector( int row )
110 assert( row > 0 );
112 r = new VectorInt( row );
118 Vector( int row, double *d, int beg ) argument
120 assert( row > 0 );
122 r = new VectorInt( row, d, beg );
144 operator()( int row ) const
165 if( rownum > row() || rownu
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/bebox/stand/boot/
H A Dvideo.c62 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 */
158 d->row
[all...]

Completed in 247 milliseconds

1234567891011