/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/ |
H A D | load_img.h | 29 /* saves the current colorpalette with col colors in palette */ 30 void get_colors(int handle, short *palette, int col); 32 /* sets col colors from palette */ 33 void img_set_colors(int handle,short *palette, int col);
|
H A D | qttableview.h | 52 virtual void setLeftCell( int col ); 53 virtual void setTopLeftCell( int row, int col ); 61 virtual int cellWidth( int col ); 88 bool colIsVisible( int col ) const; 102 virtual void paintCell( QPainter *, int row, int col ) = 0; 112 bool colXPos( int col, int *xPos ) const;
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/ |
H A D | load_img.h | 29 /* saves the current colorpalette with col colors in palette */ 30 void get_colors(int handle, short *palette, int col); 32 /* sets col colors from palette */ 33 void img_set_colors(int handle,short *palette, int col);
|
H A D | qttableview.h | 52 virtual void setLeftCell( int col ); 53 virtual void setTopLeftCell( int row, int col ); 61 virtual int cellWidth( int col ); 88 bool colIsVisible( int col ) const; 102 virtual void paintCell( QPainter *, int row, int col ) = 0; 112 bool colXPos( int col, int *xPos ) const;
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | vision.c | 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 > 0 && viz_clear[row-1][col]) res |= SV1; 418 if (row > 0 && viz_clear[row-1][col]) res |= SV1; 419 if (col < COLNO-1 && viz_clear[row][col+1]) res |= SV3; 422 if (col < COLNO-1 && viz_clear[row][col 505 register int col; /* inner loop counter */ local [all...] |
H A D | display.c | 1908 int col, idx; local 1930 col = T_tlcorn; 1932 col = T_trcorn; 1935 col = T_tdwall; 1937 col = (seenv & (SV4|SV6) ? T_tdwall : T_hwall); 1940 col = T_stone; 1945 col = T_tlcorn; 1947 col = T_trcorn; 1950 col = T_tdwall; 1955 col [all...] |
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | vision.c | 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 > 0 && viz_clear[row-1][col]) res |= SV1; 418 if (row > 0 && viz_clear[row-1][col]) res |= SV1; 419 if (col < COLNO-1 && viz_clear[row][col+1]) res |= SV3; 422 if (col < COLNO-1 && viz_clear[row][col 505 register int col; /* inner loop counter */ local [all...] |
H A D | display.c | 1908 int col, idx; local 1930 col = T_tlcorn; 1932 col = T_trcorn; 1935 col = T_tdwall; 1937 col = (seenv & (SV4|SV6) ? T_tdwall : T_hwall); 1940 col = T_stone; 1945 col = T_tlcorn; 1947 col = T_trcorn; 1950 col = T_tdwall; 1955 col [all...] |
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/unix/ |
H A D | depend.awk | 95 printf("%s:", target); col = length(target) + 1 96 #- printf("\t"); col += 8 - (col % 8); 97 #- if (col == 8) { printf("\t"); col += 8 } 101 if (col + length(list[i]) >= (i < n ? 78 : 80)) { 102 printf(" \\\n\t\t"); col = 16 #make a backslash+newline split 104 printf(" "); col++; 106 printf("%s", list[i]); col += length(list[i])
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/unix/ |
H A D | depend.awk | 95 printf("%s:", target); col = length(target) + 1 96 #- printf("\t"); col += 8 - (col % 8); 97 #- if (col == 8) { printf("\t"); col += 8 } 101 if (col + length(list[i]) >= (i < n ? 78 : 80)) { 102 printf(" \\\n\t\t"); col = 16 #make a backslash+newline split 104 printf(" "); col++; 106 printf("%s", list[i]); col += length(list[i])
|
/seL4-refos-master/libs/libvterm/src/ |
H A D | state.c | 32 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) 120 static void set_col_tabstop(VTermState *state, int col) argument 122 unsigned char mask = 1 << (col & 7); 123 state->tabstops[col >> 3] |= mask; 126 static void clear_col_tabstop(VTermState *state, int col) argument 128 unsigned char mask = 1 << (col & 7); 129 state->tabstops[col >> 3] &= ~mask; 132 static int is_col_tabstop(VTermState *state, int col) argument 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 1372 int col; local [all...] |
H A D | pen.c | 36 static void lookup_colour_ansi(long index, char is_bg, VTermColor *col)
argument 39 *col = ansi_colors[index];
43 static int lookup_colour(int palette, const long args[], int argcount, char is_bg, VTermColor *col)
argument 52 col->red = CSI_ARG(args[0]);
53 col->green = CSI_ARG(args[1]);
54 col->blue = CSI_ARG(args[2]);
63 lookup_colour_ansi(index, is_bg, col);
69 col->blue = ramp6[index % 6];
70 col->green = ramp6[index/6 % 6];
71 col 123 set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) argument [all...] |
H A D | screen.c | 64 static inline ScreenCell *getcell(VTermScreen *screen, int row, int col) argument 68 if(col < 0 || col >= screen->cols) 70 return screen->buffer + (screen->cols * row) + col; 78 for(int col = 0; col < new_cols; col++) { 79 ScreenCell *new_cell = new_buffer + row*new_cols + col; 81 if(buffer && row < screen->rows && col < screen->cols) 82 *new_cell = buffer[row * screen->cols + col]; [all...] |
H A D | vterm.c | 323 for(pos.col = init_col; pos.col != test_col; pos.col += inc_col) { 324 VTermPos srcpos = { pos.row + downward, pos.col + rightward };
|
/seL4-refos-master/projects/refos/impl/libs/libvterm/src/ |
H A D | state.c | 32 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) 120 static void set_col_tabstop(VTermState *state, int col) argument 122 unsigned char mask = 1 << (col & 7); 123 state->tabstops[col >> 3] |= mask; 126 static void clear_col_tabstop(VTermState *state, int col) argument 128 unsigned char mask = 1 << (col & 7); 129 state->tabstops[col >> 3] &= ~mask; 132 static int is_col_tabstop(VTermState *state, int col) argument 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 1372 int col; local [all...] |
H A D | pen.c | 36 static void lookup_colour_ansi(long index, char is_bg, VTermColor *col)
argument 39 *col = ansi_colors[index];
43 static int lookup_colour(int palette, const long args[], int argcount, char is_bg, VTermColor *col)
argument 52 col->red = CSI_ARG(args[0]);
53 col->green = CSI_ARG(args[1]);
54 col->blue = CSI_ARG(args[2]);
63 lookup_colour_ansi(index, is_bg, col);
69 col->blue = ramp6[index % 6];
70 col->green = ramp6[index/6 % 6];
71 col 123 set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) argument [all...] |
H A D | screen.c | 64 static inline ScreenCell *getcell(VTermScreen *screen, int row, int col) argument 68 if(col < 0 || col >= screen->cols) 70 return screen->buffer + (screen->cols * row) + col; 78 for(int col = 0; col < new_cols; col++) { 79 ScreenCell *new_cell = new_buffer + row*new_cols + col; 81 if(buffer && row < screen->rows && col < screen->cols) 82 *new_cell = buffer[row * screen->cols + col]; [all...] |
H A D | vterm.c | 323 for(pos.col = init_col; pos.col != test_col; pos.col += inc_col) { 324 VTermPos srcpos = { pos.row + downward, pos.col + rightward };
|
/seL4-refos-master/projects/util_libs/libethdrivers/src/ |
H A D | debug.h | 85 #define cprintf(col, ...) do { \ 86 set_colour(col); \ 133 static inline void print_packet(const char* col, void* packet, int length){ argument 134 cprintf(col, "packet 0x%x (%d bytes)", (uint32_t)packet, length);
|
/seL4-refos-master/projects/refos/impl/apps/console_server/src/ |
H A D | ega_vterm.c | 100 vterm_internal_colour_to_vterm_colour_index(VTermColor col) argument 102 return vterm_internal_rgb_to_vterm_colour_index(col.red, col.green, col.blue); 188 .col = j
|
/seL4-refos-master/apps/console_server/src/ |
H A D | ega_vterm.c | 100 vterm_internal_colour_to_vterm_colour_index(VTermColor col) argument 102 return vterm_internal_rgb_to_vterm_colour_index(col.red, col.green, col.blue); 188 .col = j
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/ |
H A D | tclib.c | 101 const char *bar, *col; local 106 if (!ent || !*ent || !trm || !*trm || (col = index(ent, ':')) == 0) 109 if (((bar = index(ent, '|')) != 0 && bar < col) 110 || ((long)(n = strlen(trm)) == (long)(col - ent) 112 (void) strcat(tc_entry, col); 322 /* 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, row [all...] |
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/ |
H A D | tclib.c | 101 const char *bar, *col; local 106 if (!ent || !*ent || !trm || !*trm || (col = index(ent, ':')) == 0) 109 if (((bar = index(ent, '|')) != 0 && bar < col) 110 || ((long)(n = strlen(trm)) == (long)(col - ent) 112 (void) strcat(tc_entry, col); 322 /* 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, row [all...] |
/seL4-refos-master/libs/libvterm/include/vterm/ |
H A D | vterm.h | 15 int col; member in struct:__anon648 23 return (a.row == b.row) ? a.col - b.col : a.row - b.row; 37 p.col >= r.start_col && p.col < r.end_col;
|
/seL4-refos-master/projects/refos/impl/libs/libvterm/include/vterm/ |
H A D | vterm.h | 15 int col; member in struct:__anon750 23 return (a.row == b.row) ? a.col - b.col : a.row - b.row; 37 p.col >= r.start_col && p.col < r.end_col;
|