Lines Matching +full:io +full:- +full:width
10 * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
18 #include "io/channel-file.h"
19 #include "monitor/qmp-helpers.h"
20 #include "qapi/qapi-commands-ui.h"
26 #include "ui/dbus-display.h"
27 #include "ui/qemu-spice.h"
36 if (opts->protocol == DISPLAY_PROTOCOL_SPICE) { in qmp_set_password()
40 rc = qemu_spice.set_passwd(opts->password, in qmp_set_password()
41 opts->connected == SET_PASSWORD_ACTION_FAIL, in qmp_set_password()
42 opts->connected == SET_PASSWORD_ACTION_DISCONNECT); in qmp_set_password()
44 assert(opts->protocol == DISPLAY_PROTOCOL_VNC); in qmp_set_password()
45 if (opts->connected != SET_PASSWORD_ACTION_KEEP) { in qmp_set_password()
55 rc = vnc_display_password(opts->u.vnc.display, opts->password); in qmp_set_password()
67 const char *whenstr = opts->time; in qmp_expire_password()
92 if (opts->protocol == DISPLAY_PROTOCOL_SPICE) { in qmp_expire_password()
98 assert(opts->protocol == DISPLAY_PROTOCOL_VNC); in qmp_expire_password()
99 rc = vnc_display_pw_expire(opts->u.vnc.display, when); in qmp_expire_password()
157 switch (arg->type) { in qmp_display_reload()
160 if (arg->u.vnc.has_tls_certs && arg->u.vnc.tls_certs) { in qmp_display_reload()
174 switch (arg->type) { in qmp_display_update()
177 vnc_display_update(&arg->u.vnc, errp); in qmp_display_update()
199 error_setg(errp, "parameter 'port' or 'tls-port' is required"); in qmp_client_migrate_info()
204 has_port ? port : -1, in qmp_client_migrate_info()
205 has_tls_port ? tls_port : -1, in qmp_client_migrate_info()
231 int width = pixman_image_get_width(image); in png_save() local
236 qemu_pixman_linebuf_create(PIXMAN_BE_r8g8b8, width); in png_save()
265 png_set_IHDR(png_ptr, info_ptr, width, height, 8, in png_save()
272 qemu_pixman_linebuf_fill(linebuf, image, width, 0, y); in png_save()
301 int width = pixman_image_get_width(image); in ppm_save() local
310 header = g_strdup_printf("P6\n%d %d\n%d\n", width, height, 255); in ppm_save()
316 linebuf = qemu_pixman_linebuf_create(PIXMAN_BE_r8g8b8, width); in ppm_save()
318 qemu_pixman_linebuf_fill(linebuf, image, width, 0, y); in ppm_save()
329 /* Safety: coroutine-only, concurrent-coroutine safe, main thread only */
370 image = pixman_image_ref(surface->image); in qmp_screendump()
373 if (fd == -1) { in qmp_screendump()