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

12

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dvision.c15 * offset on the same row as the source *is* included so we don't have to
261 register int row; local
279 for (row = 0; row < ROWNO; row++) { /* set row min & max */
400 new_angle(lev, sv, row, col)
403 int row, col;
414 if (col > 0 && viz_clear[row][col-1]) res |= SV7;
415 if (row >
502 int row; /* row counter (outer loop) */ local
[all...]
H A Dmail.c136 int row; /* current row we are checking */ local
173 * are the LOS limits for each row.
178 for (row = 0; row < ROWNO; row++) {
179 if (viz_rmin[row] < viz_rmax[row]) {
180 /* There are valid positions on this row. */
181 dd = distu(viz_rmin[row],ro
[all...]
H A Dlight.c134 char *row; local
174 row = cs_rows[y];
192 if (row[x] & COULD_SEE)
193 row[x] |= TEMP_LIT;
198 row[x] |= TEMP_LIT;
H A Dcmd.c654 char row[COLNO+1]; local
669 row[curx] = row[curx+1] = '@';
673 row[curx] = row[curx+1] = ' ';
675 Sprintf(&row[curx], "%02x", v);
680 if (row[x] != ' ') break;
681 row[x+1] = '\0';
683 putstr(win, 0, row);
696 char row[COLN local
733 char row[COLNO+1]; local
[all...]
H A Dmkmap.c58 get_map(col,row, bg_typ)
59 int col,row;
62 if (col <= 0 || row < 0 || col > WIDTH || row >= HEIGHT)
64 return levl[col][row].typ;
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dvision.c15 * offset on the same row as the source *is* included so we don't have to
261 register int row; local
279 for (row = 0; row < ROWNO; row++) { /* set row min & max */
400 new_angle(lev, sv, row, col)
403 int row, col;
414 if (col > 0 && viz_clear[row][col-1]) res |= SV7;
415 if (row >
502 int row; /* row counter (outer loop) */ local
[all...]
H A Dmail.c136 int row; /* current row we are checking */ local
173 * are the LOS limits for each row.
178 for (row = 0; row < ROWNO; row++) {
179 if (viz_rmin[row] < viz_rmax[row]) {
180 /* There are valid positions on this row. */
181 dd = distu(viz_rmin[row],ro
[all...]
H A Dlight.c134 char *row; local
174 row = cs_rows[y];
192 if (row[x] & COULD_SEE)
193 row[x] |= TEMP_LIT;
198 row[x] |= TEMP_LIT;
H A Dcmd.c654 char row[COLNO+1]; local
669 row[curx] = row[curx+1] = '@';
673 row[curx] = row[curx+1] = ' ';
675 Sprintf(&row[curx], "%02x", v);
680 if (row[x] != ' ') break;
681 row[x+1] = '\0';
683 putstr(win, 0, row);
696 char row[COLN local
733 char row[COLNO+1]; local
[all...]
H A Dmkmap.c58 get_map(col,row, bg_typ)
59 int col,row;
62 if (col <= 0 || row < 0 || col > WIDTH || row >= HEIGHT)
64 return levl[col][row].typ;
/seL4-refos-master/libs/libvterm/src/
H A Dscreen.c64 static inline ScreenCell *getcell(VTermScreen *screen, int row, int col) argument
66 if(row < 0 || row >= screen->rows)
70 return screen->buffer + (screen->cols * row) + col;
77 for(int row = 0; row < new_rows; row++) {
79 ScreenCell *new_cell = new_buffer + row*new_cols + col;
81 if(buffer && row < screen->rows && col < screen->cols)
82 *new_cell = buffer[row * scree
[all...]
H A Dstate.c32 fprintf(stderr, "libvterm: Unhandled putglyph U+%04x at (%d,%d)\n", chars[0], pos.col, pos.row);
37 if(state->pos.col == oldpos->col && state->pos.row == oldpos->row)
95 if(state->pos.row == SCROLLREGION_BOTTOM(state) - 1) {
105 else if(state->pos.row < state->rows-1)
106 state->pos.row++;
174 if(state->pos.row == state->combine_pos.row && state->pos.col == state->combine_pos.col + state->combine_width) {
252 .start_row = state->pos.row,
253 .end_row = state->pos.row
369 output_mouse(VTermState *state, int code, int pressed, int modifiers, int col, int row) argument
417 mousefunc(int col, int row, int button, int pressed, int modifiers, void *data) argument
826 int row, col; local
[all...]
H A Dvterm.c322 for(pos.row = init_row; pos.row != test_row; pos.row += inc_row)
324 VTermPos srcpos = { pos.row + downward, pos.col + rightward };
/seL4-refos-master/projects/refos/impl/libs/libvterm/src/
H A Dscreen.c64 static inline ScreenCell *getcell(VTermScreen *screen, int row, int col) argument
66 if(row < 0 || row >= screen->rows)
70 return screen->buffer + (screen->cols * row) + col;
77 for(int row = 0; row < new_rows; row++) {
79 ScreenCell *new_cell = new_buffer + row*new_cols + col;
81 if(buffer && row < screen->rows && col < screen->cols)
82 *new_cell = buffer[row * scree
[all...]
H A Dstate.c32 fprintf(stderr, "libvterm: Unhandled putglyph U+%04x at (%d,%d)\n", chars[0], pos.col, pos.row);
37 if(state->pos.col == oldpos->col && state->pos.row == oldpos->row)
95 if(state->pos.row == SCROLLREGION_BOTTOM(state) - 1) {
105 else if(state->pos.row < state->rows-1)
106 state->pos.row++;
174 if(state->pos.row == state->combine_pos.row && state->pos.col == state->combine_pos.col + state->combine_width) {
252 .start_row = state->pos.row,
253 .end_row = state->pos.row
369 output_mouse(VTermState *state, int code, int pressed, int modifiers, int col, int row) argument
417 mousefunc(int col, int row, int button, int pressed, int modifiers, void *data) argument
826 int row, col; local
[all...]
H A Dvterm.c322 for(pos.row = init_row; pos.row != test_row; pos.row += inc_row)
324 VTermPos srcpos = { pos.row + downward, pos.col + rightward };
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dqttableview.h50 virtual void setTopCell( int row );
53 virtual void setTopLeftCell( int row, int col );
62 virtual int cellHeight( int row );
79 void updateCell( int row, int column, bool erase=TRUE );
87 bool rowIsVisible( int row ) const;
102 virtual void paintCell( QPainter *, int row, int col ) = 0;
111 bool rowYPos( int row, int *yPos ) const;
H A Ddef_os2.h174 USHORT row; member in struct:__anon687
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dqttableview.h50 virtual void setTopCell( int row );
53 virtual void setTopLeftCell( int row, int col );
62 virtual int cellHeight( int row );
79 void updateCell( int row, int column, bool erase=TRUE );
87 bool rowIsVisible( int row ) const;
102 virtual void paintCell( QPainter *, int row, int col ) = 0;
111 bool rowYPos( int row, int *yPos ) const;
/seL4-refos-master/libs/libvterm/include/vterm/
H A Dvterm.h14 int row; member in struct:__anon648
23 return (a.row == b.row) ? a.col - b.col : a.row - b.row;
36 return p.row >= r.start_row && p.row < r.end_row &&
/seL4-refos-master/projects/refos/impl/libs/libvterm/include/vterm/
H A Dvterm.h14 int row; member in struct:__anon750
23 return (a.row == b.row) ? a.col - b.col : a.row - b.row;
36 return p.row >= r.start_row && p.row < r.end_row &&
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dtclib.c322 /* produce a string which will position the cursor at <row,col> if output */
324 tgoto(cm, col, row)
326 int col, row;
328 return tparam(cm, cmbuf, (int)(sizeof cmbuf), row, col, 0, 0);
333 tparam(ctl, buf, buflen, row, col, row2, col2)
337 int row, col, row2, col2;
346 av[0] = row, av[1] = col, av[2] = row2, av[3] = col2, av[4] = 0;
371 if (ac & 1) { /* row */
373 ++up; /* incr row now, later move up */
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dtclib.c322 /* produce a string which will position the cursor at <row,col> if output */
324 tgoto(cm, col, row)
326 int col, row;
328 return tparam(cm, cmbuf, (int)(sizeof cmbuf), row, col, 0, 0);
333 tparam(ctl, buf, buflen, row, col, row2, col2)
337 int row, col, row2, col2;
346 av[0] = row, av[1] = col, av[2] = row2, av[3] = col2, av[4] = 0;
371 if (ac & 1) { /* row */
373 ++up; /* incr row now, later move up */
/seL4-refos-master/projects/refos/impl/apps/console_server/src/
H A Dega_vterm.c187 .row = i,
/seL4-refos-master/apps/console_server/src/
H A Dega_vterm.c187 .row = i,

Completed in 151 milliseconds

12