Searched refs:vc_char_t (Results 1 - 6 of 6) sorted by relevance
/fuchsia/zircon/system/core/virtcon/ |
H A D | textcon.h | 14 typedef uint16_t vc_char_t; typedef 16 inline vc_char_t vc_char_make(uint8_t ch, uint8_t fg_color, uint8_t bg_color) { 17 return static_cast<vc_char_t>(ch | ((fg_color & 0xf) << 8) 21 inline uint8_t vc_char_get_char(vc_char_t ch) { 25 inline uint8_t vc_char_get_fg_color(vc_char_t ch) { 29 inline uint8_t vc_char_get_bg_color(vc_char_t ch) { 44 vc_char_t* data; 83 void tc_init(textcon_t* tc, int w, int h, vc_char_t* data,
|
H A D | vc-device.cpp | 67 vc->text_buf = reinterpret_cast<vc_char_t*>( 68 calloc(1, vc->rows * vc->columns * sizeof(vc_char_t))); 73 vc->scrollback_buf = reinterpret_cast<vc_char_t*>( 74 calloc(1, vc->scrollback_rows_max * vc->columns * sizeof(vc_char_t))); 116 vc_char_t* row = vc_get_scrollback_line_ptr( 124 vc_char_t* row = &vc->text_buf[y * vc->columns]; 176 static void vc_tc_scrollback_buffer_push(vc_t* vc, vc_char_t* src) { 190 vc_char_t* dst = &vc->scrollback_buf[dest_row * vc->columns]; 191 memcpy(dst, src, vc->columns * sizeof(vc_char_t)); 196 vc_char_t* sr [all...] |
H A D | textcon.cpp | 25 // Construct a vc_char_t from the given character using the current colors. 26 static inline vc_char_t make_vc_char(textcon_t* tc, uint8_t ch) { 27 return (vc_char_t)(ch | 28 (((vc_char_t)tc->fg & 15) << 8) | 29 (((vc_char_t)tc->bg & 15) << 12)); 32 static vc_char_t* dataxy(textcon_t* tc, int x, int y) { 40 static vc_char_t* get_start_of_line(textcon_t* tc, int y) { 67 static void fill(vc_char_t* ptr, vc_char_t val, size_t count) { 78 vc_char_t* pt [all...] |
H A D | vc.h | 56 vc_char_t* text_buf; 60 vc_char_t* scrollback_buf; 127 vc_char_t* vc_get_scrollback_line_ptr(vc_t* vc, unsigned row); 148 void vc_gfx_draw_char(vc_t* vc, vc_char_t ch, unsigned x, unsigned y,
|
H A D | textcon-test.cpp | 56 textbuf = new vc_char_t[size_x * size_y]; 193 void AssertTextbufLineContains(vc_char_t* buf, int line_num, 212 vc_char_t* textbuf; 659 vc_char_t test_val = 0;
|
H A D | vc-gfx.cpp | 18 void vc_gfx_draw_char(vc_t* vc, vc_char_t ch, unsigned x, unsigned y,
|
Completed in 34 milliseconds