Lines Matching refs:t
377 static void text_console_resize(QemuTextConsole *t) in text_console_resize() argument
379 QemuConsole *s = QEMU_CONSOLE(t); in text_console_resize()
387 if (w == t->width && h == t->height) { in text_console_resize()
391 last_width = t->width; in text_console_resize()
392 t->width = w; in text_console_resize()
393 t->height = h; in text_console_resize()
395 w1 = MIN(t->width, last_width); in text_console_resize()
397 cells = g_new(TextCell, t->width * t->total_height + 1); in text_console_resize()
398 for (y = 0; y < t->total_height; y++) { in text_console_resize()
399 c = &cells[y * t->width]; in text_console_resize()
401 c1 = &t->cells[y * last_width]; in text_console_resize()
406 for (x = w1; x < t->width; x++) { in text_console_resize()
412 g_free(t->cells); in text_console_resize()
413 t->cells = cells; in text_console_resize()