Lines Matching refs:type
155 QemuClipboardType type) in vnc_clipboard_provide() argument
162 switch (type) { in vnc_clipboard_provide()
171 buf = g_malloc(info->types[type].size + 4); in vnc_clipboard_provide()
172 buf[0] = (info->types[type].size >> 24) & 0xff; in vnc_clipboard_provide()
173 buf[1] = (info->types[type].size >> 16) & 0xff; in vnc_clipboard_provide()
174 buf[2] = (info->types[type].size >> 8) & 0xff; in vnc_clipboard_provide()
175 buf[3] = (info->types[type].size >> 0) & 0xff; in vnc_clipboard_provide()
176 memcpy(buf + 4, info->types[type].data, info->types[type].size); in vnc_clipboard_provide()
177 zbuf = deflate_buffer(buf, info->types[type].size + 4, &zsize); in vnc_clipboard_provide()
196 QemuClipboardType type; in vnc_clipboard_update_info() local
218 for (type = 0; type < QEMU_CLIPBOARD_TYPE__COUNT; type++) { in vnc_clipboard_update_info()
219 if (vs->cbpending & (1 << type)) { in vnc_clipboard_update_info()
220 vs->cbpending &= ~(1 << type); in vnc_clipboard_update_info()
221 vnc_clipboard_provide(vs, info, type); in vnc_clipboard_update_info()
231 switch (notify->type) { in vnc_clipboard_notify()
242 QemuClipboardType type) in vnc_clipboard_request() argument
247 if (type == QEMU_CLIPBOARD_TYPE_TEXT) { in vnc_clipboard_request()