Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 170) sorted by relevance

1234567

/qemu/ui/
A Dclipboard.c81 if (info->types[type].available && !info->types[type].data) { in qemu_clipboard_update()
133 g_free(info->types[type].data); in qemu_clipboard_info_unref()
141 if (info->types[type].data || in qemu_clipboard_request()
142 info->types[type].requested || in qemu_clipboard_request()
143 !info->types[type].available || in qemu_clipboard_request()
149 info->types[type].requested = true; in qemu_clipboard_request()
181 g_free(info->types[type].data); in qemu_clipboard_set_data()
184 info->types[type].size = size; in qemu_clipboard_set_data()
185 info->types[type].available = true; in qemu_clipboard_set_data()
187 info->types[type].data = NULL; in qemu_clipboard_set_data()
[all …]
A Dvnc-clipboard.c171 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()
205 if (info->types[QEMU_CLIPBOARD_TYPE_TEXT].available) { in vnc_clipboard_update_info()
269 info->types[QEMU_CLIPBOARD_TYPE_TEXT].available = true; in vnc_client_cut_text_ext()
297 vs->cbinfo->types[QEMU_CLIPBOARD_TYPE_TEXT].available) { in vnc_client_cut_text_ext()
[all …]
A Dgtk-clipboard.c53 info->types[type].available && in gd_clipboard_get_data()
54 info->types[type].data == NULL) { in gd_clipboard_get_data()
60 info->types[type].data, in gd_clipboard_get_data()
61 info->types[type].size); in gd_clipboard_get_data()
90 if (info->types[QEMU_CLIPBOARD_TYPE_TEXT].available) { in gd_clipboard_update_info()
174 info->types[QEMU_CLIPBOARD_TYPE_TEXT].available = true; in gd_owner_change()
A Ddbus-clipboard.c46 info->types[type].data, in dbus_clipboard_complete_request()
47 info->types[type].size, in dbus_clipboard_complete_request()
80 if (req->invocation && info->types[req->type].data) { in dbus_clipboard_update_info()
88 if (info->types[QEMU_CLIPBOARD_TYPE_TEXT].available) { in dbus_clipboard_update_info()
323 info->types[QEMU_CLIPBOARD_TYPE_TEXT].available = true; in dbus_clipboard_grab()
404 !info->types[type].available) { in dbus_clipboard_request()
413 if (info->types[type].data) { in dbus_clipboard_request()
A Dvdagent.c366 if (type != VD_AGENT_CLIPBOARD_NONE && info->types[q].available) { in vdagent_send_clipboard_grab()
401 info->types[type].size); in vdagent_send_clipboard_data()
418 memcpy(data, info->types[type].data, info->types[type].size); in vdagent_send_clipboard_data()
419 msg->size += info->types[type].size; in vdagent_send_clipboard_data()
555 info->types[QEMU_CLIPBOARD_TYPE_TEXT].available = true; in vdagent_clipboard_recv_grab()
583 if (info && info->types[type].available && info->owner != &vd->cbpeer) { in vdagent_clipboard_recv_request()
584 if (info->types[type].data) { in vdagent_clipboard_recv_request()
/qemu/tests/qtest/
A Ddevice-introspect-test.c49 static QDict *qom_type_index(QList *types) in qom_type_index() argument
54 QLIST_FOREACH_ENTRY(types, e) { in qom_type_index()
87 QLIST_FOREACH_ENTRY(types, e) { in type_list_find()
127 QList *types; in test_device_intro_list() local
134 qobject_unref(types); in test_device_intro_list()
148 QList *types; in test_qom_list_parents() local
153 index = qom_type_index(types); in test_qom_list_parents()
155 QLIST_FOREACH_ENTRY(types, e) { in test_qom_list_parents()
162 qobject_unref(types); in test_qom_list_parents()
238 QList *types; in test_device_intro_concrete() local
[all …]
/qemu/tests/
A Dmeson.build5 'qapi-builtin-types.c',
6 'qapi-builtin-types.h',
23 'test-qapi-types-sub-sub-module.c',
24 'test-qapi-types-sub-sub-module.h',
25 'test-qapi-types.c',
26 'test-qapi-types.h',
/qemu/block/
A Ddmg.c123 switch (s->types[chunk]) { in update_max_chunk_size()
248 s->types = g_realloc(s->types, new_size / 2); in dmg_read_mish_block()
255 s->types[i] = buff_read_uint32(buffer, offset); in dmg_read_mish_block()
256 if (!dmg_is_known_block_type(s->types[i])) { in dmg_read_mish_block()
257 switch (s->types[i]) { in dmg_read_mish_block()
273 s->types[i]); in dmg_read_mish_block()
291 if (s->types[i] != UDZE && s->types[i] != UDIG in dmg_read_mish_block()
583 g_free(s->types); in dmg_open()
644 switch (s->types[chunk]) { /* block entry type */ in dmg_read_chunk()
753 if (s->types[s->current_chunk] == UDZE in dmg_co_preadv()
[all …]
/qemu/qapi/
A Dmeson.build78 'qapi-types.c', 'qapi-types.h',
88 'qapi-builtin-types.c', 'qapi-builtin-visit.c',
89 'qapi-builtin-types.h', 'qapi-builtin-visit.h',
97 'qapi-types-@0@.c'.format(module),
98 'qapi-types-@0@.h'.format(module),
A Dtpm.json45 # An enumeration of TPM types
57 # @query-tpm-types:
59 # Return a list of supported TPM types
70 { 'command': 'query-tpm-types', 'returns': ['TpmType'],
127 # A union referencing different TPM backend types' configuration
A Dcryptodev.json14 # The supported algorithm types of a crypto device.
28 # The supported service types of a crypto device.
83 # @service: supported service types of a crypto device
/qemu/docs/interop/
A Dfirmware.json25 # Lists the firmware-OS interface types provided by various firmware
49 # Defines the device types that firmware can be mapped into.
89 # Defines the machine types that firmware may execute on.
94 # @machines: Lists the machine types (known by the emulator that is
97 # machine types, not aliases. Glob patterns are understood,
98 # which is especially useful for versioned machine types.
118 # types of the @i386 and @x86_64 emulation targets, S3 can be
449 # @interface-types: Lists the types of interfaces that the firmware can
455 # @interface-types.
460 # and their machine types that may execute the firmware.
[all …]
/qemu/scripts/tracetool/format/
A Dust_events_h.py70 types = e.args.types()
73 for t,n,f in zip(types, names, fmts):
/qemu/tests/qapi-schema/
A Dredefined-predefined.json1 # we reject types that clash with predefined types
A Dreserved-type-list.json2 # We reserve names ending in 'List' for use by array types.
3 # TODO - we could choose array names to avoid collision with user types,
/qemu/docs/devel/
A Dqapi-code-gen.rst42 There are several kinds of types: simple types (a number of built-in
44 complex types (structs and unions), and alternate types (a choice
45 between other types).
197 Enumeration types
263 Struct types
323 Union types
392 Alternate types
1315 `Union types`_ ::
1496 C types corresponding to types defined in the schema
1585 ``qapi-builtin-types.h``
[all …]
A Dtracing.rst115 trace.h, it uses a minimum of types and other header files included to keep the
118 Trace events should use types as follows:
120 * Use stdint.h types for fixed-size types. Most offsets and guest memory
122 types over primitive types whose size may change depending on the host
130 * For everything else, use primitive scalar types (char, int, long) with the
133 * Avoid floating point types (float and double) because SystemTap does not
138 Format strings should reflect the types defined in the trace event. Take
139 special care to use PRId64 and PRIu64 for int64_t and uint64_t types,
/qemu/hw/isa/
A Dfdc37m81x-superio.c24 static const TypeInfo types[] = { variable
32 DEFINE_TYPES(types)
/qemu/scripts/qapi/
A Devents.py27 from .types import gen_enum, gen_enum_lookup
188 types = self._module_basename('qapi-types', name)
206 types=types))
/qemu/tests/include/
A Dmeson.build7 'test-qapi-types-sub-module.c',
8 'test-qapi-types-sub-module.h',
/qemu/gdbstub/
A Dmeson.build3 # types. The bits pushed to system/user.c try to use guest agnostic
4 # types such as hwaddr.
/qemu/hw/arm/
A Draspi.c103 static const char *types[] = { in board_type() local
109 if (bt >= ARRAY_SIZE(types) || !types[bt]) { in board_type()
112 return types[bt]; in board_type()
/qemu/docs/system/arm/
A Dvirt.rst55 Supported guest CPU types:
89 Graphics output is available, but unlike the x86 PC machine types
115 address space above 32 bits. The default is ``on`` for machine types
126 The default is ``on`` for machine types later than ``virt-7.2``.
135 The default is ``on`` for machine types later than ``virt-3.0``.
160 for machine types later than ``virt-2.7``.
222 QEMU supports two types of guest image boot for ``virt``, and
/qemu/hw/vfio/
A Dcontainer-base.c130 static const TypeInfo types[] = { variable
142 DEFINE_TYPES(types)
/qemu/storage-daemon/qapi/
A Dqapi-schema.json10 # not in the main schema, be aware that array types of types defined in shared

Completed in 43 milliseconds

1234567