/fuchsia/zircon/system/core/virtcon/ |
H A D | vc-device.cpp | 16 #include "vc.h" 53 // shared with vc-gfx.cpp 58 static zx_status_t vc_setup(vc_t* vc, bool special) { argument 60 vc->rows = DEFAULT_HEIGHT / vc->charh; 61 vc->columns = DEFAULT_WIDTH / vc->charw; 62 vc->scrollback_rows_max = SCROLLBACK_ROWS; 63 vc->scrollback_rows_count = 0; 64 vc 94 vc_t* vc = reinterpret_cast<vc_t*>(cookie); local 143 vc_invalidate_lines(vc_t* vc, int y, int h) argument 154 vc_t* vc = reinterpret_cast<vc_t*>(cookie); local 160 vc_t* vc = reinterpret_cast<vc_t*>(cookie); local 176 vc_tc_scrollback_buffer_push(vc_t* vc, vc_char_t* src) argument 195 vc_t* vc = reinterpret_cast<vc_t*>(cookie); local 226 vc_set_cursor_hidden(vc_t* vc, bool hide) argument 237 vc_t* vc = reinterpret_cast<vc_t*>(cookie); local 277 vc_t* vc = reinterpret_cast<vc_t*>(cookie); local 297 vc_clear_gfx(vc_t* vc) argument 305 vc_reset(vc_t* vc) argument 362 vc_render(vc_t* vc) argument 369 vc_full_repaint(vc_t* vc) argument 378 vc_get_scrollback_lines(vc_t* vc) argument 382 vc_get_scrollback_line_ptr(vc_t* vc, unsigned row) argument 390 vc_scroll_viewport_abs(vc_t* vc, int vpy) argument 422 vc_scroll_viewport(vc_t* vc, int dir) argument 426 vc_scroll_viewport_top(vc_t* vc) argument 430 vc_scroll_viewport_bottom(vc_t* vc) argument 434 vc_set_fullscreen(vc_t* vc, bool fullscreen) argument 462 vc_attach_gfx(vc_t* vc) argument 553 vc_t* vc = local 591 vc_free(vc_t* vc) argument 600 vc_flush(vc_t* vc) argument 612 vc_flush_all(vc_t* vc) argument [all...] |
H A D | vc-input.cpp | 13 #include "vc.h" 128 vc_t* vc = NULL; local 130 list_for_every_entry (&g_vc_list, vc, vc_t, node) { 131 if ((num == i) || (to_vc == vc)) { 132 if (vc == g_active_vc) { 139 vc->active = true; 140 vc->flags &= ~VC_FLAG_HASOUTPUT; 141 g_active_vc = vc; 143 vc_full_repaint(vc); 144 vc_render(vc); 153 vc_t* vc = NULL; local 171 vc_t* vc = NULL; local 232 vc_write(vc_t* vc, const void* buf, size_t count, zx_off_t off) argument 250 vc_t* vc; local 270 vc_destroy(vc_t* vc) argument [all...] |
H A D | vc.h | 43 typedef struct vc { struct 45 // vc title, shown in status bar 110 void vc_attach_gfx(vc_t* vc); 111 void vc_free(vc_t* vc); 112 void vc_flush(vc_t* vc); 113 void vc_flush_all(vc_t* vc); 116 // status-worthy vc or global state has changed 124 void vc_render(vc_t* vc); 125 void vc_full_repaint(vc_t* vc); 126 int vc_get_scrollback_lines(vc_t* vc); 136 vc_rows(vc_t* vc) argument 151 palette_to_color(vc_t* vc, uint8_t color) argument [all...] |
H A D | vc-gfx.cpp | 11 #include "vc.h" 18 void vc_gfx_draw_char(vc_t* vc, vc_char_t ch, unsigned x, unsigned y, argument 28 gfx_putchar(vc_gfx, vc->font, vc_char_get_char(ch), 29 x * vc->charw, y * vc->charh, 30 palette_to_color(vc, fg_color), 31 palette_to_color(vc, bg_color)); 64 void vc_gfx_invalidate_all(vc_t* vc) { argument 73 void vc_gfx_invalidate(vc_t* vc, unsigned x, unsigned y, unsigned w, unsigned h) { argument 74 unsigned desty = vc_tb_gfx->height + y * vc 83 vc_gfx_invalidate_region(vc_t* vc, unsigned x, unsigned y, unsigned w, unsigned h) argument 200 vc_gfx_invalidate_all(vc_t* vc) argument 211 vc_gfx_invalidate_region(vc_t* vc, unsigned x, unsigned y, unsigned w, unsigned h) argument 223 vc_gfx_invalidate(vc_t* vc, unsigned x, unsigned y, unsigned w, unsigned h) argument [all...] |
H A D | main.cpp | 33 #include "vc.h" 83 static zx_status_t launch_shell(vc_t* vc, int fd, const char* cmd) { argument 93 actions[0].name.data = "vc:sh"; 102 &vc->proc, err_msg); 104 printf("vc: cannot spawn shell: %s: %d (%s)\n", err_msg, status, 110 static void session_destroy(vc_t* vc) { argument 111 if (vc->fd >= 0) { 112 port_fd_handler_done(&vc->fh); 115 if (vc->proc != ZX_HANDLE_INVALID) { 116 zx_task_kill(vc 122 vc_t* vc = containerof(fh, vc_t, fh); local 174 vc_t* vc; local 207 vc_t* vc; local 233 vc_t* vc; local [all...] |
H A D | rules.mk | 12 $(LOCAL_DIR)/vc-device.cpp \ 13 $(LOCAL_DIR)/vc-gfx.cpp \ 14 $(LOCAL_DIR)/vc-input.cpp \ 43 MODULE_SRCS := $(LOCAL_SRCS) $(LOCAL_DIR)/main.cpp $(LOCAL_DIR)/vc-display.cpp
|
/fuchsia/zircon/system/utest/fvm/ |
H A D | fvm.cpp | 331 fbl::RefPtr<VmoClient> vc = fbl::AdoptRef(new (&ac) VmoClient()); local 335 ASSERT_GT(ioctl_block_get_info(fd, &vc->info_), 0, "Failed to get block info"); 336 ASSERT_EQ(block_fifo_create_client(fifo, &vc->client_), ZX_OK); 337 vc->fd_ = fd; 338 *out = fbl::move(vc); 1426 fbl::RefPtr<VmoClient> vc; local 1427 ASSERT_TRUE(VmoClient::Create(vp_fd, &vc)); 1429 ASSERT_TRUE(VmoBuf::Create(vc, info.block_size * 2, &vb)); 1430 ASSERT_TRUE(vc->CheckWrite(vb.get(), 0, info.block_size * last_block, info.block_size)); 1431 ASSERT_TRUE(vc 1496 fbl::RefPtr<VmoClient> vc; local 1600 fbl::RefPtr<VmoClient> vc; local 1642 fbl::RefPtr<VmoClient> vc; local [all...] |
/fuchsia/zircon/kernel/object/ |
H A D | diagnostics.cpp | 432 VmCounter vc; local 433 if (!EnumerateChildren(&vc)) { 437 *usage = vc.usage;
|