Home
last modified time | relevance | path

Searched full:types (Results 1 – 25 of 700) sorted by relevance

12345678910>>...28

/qemu/tests/qtest/
H A Ddevice-introspect-test.c39 resp = qtest_qmp(qts, "{'execute': 'qom-list-types', 'arguments': %p }", in qom_list_types()
49 static QDict *qom_type_index(QList *types) in qom_type_index() argument
54 QLIST_FOREACH_ENTRY(types, e) { in qom_type_index()
82 /* Find an entry on a list returned by qom-list-types */
83 static QDict *type_list_find(QList *types, const char *name) in type_list_find() argument
87 QLIST_FOREACH_ENTRY(types, e) { in type_list_find()
127 QList *types; in test_device_intro_list() local
133 types = device_type_list(qts, true); in test_device_intro_list()
134 qobject_unref(types); in test_device_intro_list()
143 * Ensure all entries returned by qom-list-types implements=<parent>
[all …]
/qemu/ui/
H A Dclipboard.c36 …VMSTATE_STRUCT_ARRAY(types, QemuClipboardInfo, QEMU_CLIPBOARD_TYPE__COUNT, 0, vmstate_cbcontent, Q…
136 if (info->types[type].available && !info->types[type].data) { in qemu_clipboard_update()
190 g_free(info->types[type].data); in qemu_clipboard_info_unref()
198 if (info->types[type].data || in qemu_clipboard_request()
199 info->types[type].requested || in qemu_clipboard_request()
200 !info->types[type].available || in qemu_clipboard_request()
206 info->types[type].requested = true; in qemu_clipboard_request()
243 g_free(info->types[type].data); in qemu_clipboard_set_data()
245 info->types[type].data = g_memdup2(data, size); in qemu_clipboard_set_data()
246 info->types[type].size = size; in qemu_clipboard_set_data()
[all …]
H 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 …]
H A Dgtk-clipboard.c54 info->types[type].available && in gd_clipboard_get_data()
55 info->types[type].data == NULL) { in gd_clipboard_get_data()
61 info->types[type].data, in gd_clipboard_get_data()
62 info->types[type].size); in gd_clipboard_get_data()
91 if (info->types[QEMU_CLIPBOARD_TYPE_TEXT].available) { in gd_clipboard_update_info()
177 info->types[QEMU_CLIPBOARD_TYPE_TEXT].available = true; in gd_owner_change()
H 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()
409 "Unhandled MIME types requested"); in dbus_clipboard_request()
413 if (info->types[type].data) { in dbus_clipboard_request()
/qemu/docs/interop/
H 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
121 # machine types of the @i386 and @x86_64 emulation targets, S3
127 # machine types of the @i386 and @x86_64 emulation targets, S4
130 # "pc-q35-*" machine types of the @i386 and @x86_64 emulation
[all …]
/qemu/docs/devel/
H A Dqapi-code-gen.rst36 events, as well as types used by them. Forward references are
39 It is permissible for the schema to contain additional types not used
43 There are several kinds of types: simple types (a number of built-in
44 types, such as ``int`` and ``str``; as well as enumerations), arrays,
45 complex types (structs and unions), and alternate types (a choice
46 between other types).
110 Built-in Types
113 The following types are predefined, and map to C as follows:
186 violate the rules on permitted return types. Default is none.
188 Pragma 'documentation-exceptions' takes a list of types, commands, and
[all …]
H 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/include/qapi/
H A Dqobject-output-visitor.h29 * QDict for struct/union types, a QList for list types, QString for
30 * type 'str' and enumeration types, QNum for integer and float
31 * types, QBool for type 'bool'. For type 'any', it increments the
32 * QObject's reference count. For QAPI alternate types, it creates
H A Dqobject-input-visitor.h30 * QObject must match FOO. QDict matches struct/union types, QList
31 * matches list types, QString matches type 'str' and enumeration
32 * types, QNum matches integer and float types, QBool matches type
34 * is matched when one of its member types is.
/qemu/scripts/qapi/
H A Dtypes.py2 QAPI types generator
285 prefix, 'qapi-types', ' * Schema-defined QAPI types',
286 ' * Built-in QAPI types', __doc__)
292 #include "qapi/qapi-builtin-types.h"
300 types = self._module_basename('qapi-types', name)
305 #include "%(types)s.h"
309 types=types, visit=visit,
312 #include "qapi/qapi-builtin-types.h"
365 # implicit types won't be directly allocated/freed
H A Devents.py27 from .types import gen_enum, gen_enum_lookup
188 types = self._module_basename('qapi-types', name)
204 #include "%(types)s.h"
206 types=types))
H A Dbackend.py11 from .types import gen_types
33 :param builtins: Generate code for built-in types?
56 :param builtins: Generate code for built-in types?
/qemu/tests/
H A Dmeson.build5 'qapi-builtin-types.c',
6 'qapi-builtin-types.h',
25 'test-qapi-types-sub-sub-module.c',
26 'test-qapi-types-sub-sub-module.h',
27 'test-qapi-types.c',
28 'test-qapi-types.h',
/qemu/qapi/
H A Dmeson.build80 'qapi-types.c', 'qapi-types.h',
89 'qapi-builtin-types.c', 'qapi-builtin-visit.c',
90 'qapi-builtin-types.h', 'qapi-builtin-visit.h',
97 'qapi-types-@0@.c'.format(module),
98 'qapi-types-@0@.h'.format(module),
H A Dtpm.json45 # An enumeration of TPM types
57 # @query-tpm-types:
59 # Return a list of supported TPM types
67 # -> { "execute": "query-tpm-types" }
70 { 'command': 'query-tpm-types', 'returns': ['TpmType'],
127 # A union referencing different TPM backend types' configuration
/qemu/include/qemu/
H A Dtypedefs.h10 * types that need more types for their members. It can also result
16 * For struct types used in only a few headers, judicious use of the
21 * Incomplete struct types
125 * Pointer types
133 * Function types
/qemu/include/standard-headers/linux/
H A Dvirtio_gpio.h6 #include "standard-headers/linux/types.h"
11 /* Virtio GPIO request types */
23 /* Direction types */
28 /* Virtio GPIO IRQ types */
H A Dvirtio_iommu.h10 #include "standard-headers/linux/types.h"
44 /* Request types */
51 /* Status types */
152 /* Fault types */
/qemu/rust/qemu-api/src/
H A Dassertions.rs6 //! This module provides macros to check the equality of types and
8 //! types match the expectations of C code.
25 /// Assert that two types are the same.
36 /// Different types will cause a compile failure
72 /// Different types will cause a compile failure
/qemu/scripts/tracetool/
H A D__init__.py64 # We only want to allow standard C types or fixed sized
65 # integer types. We don't want QEMU specific types
101 "Only standard C types and fixed size integer "
102 "types should be used. struct, union, and "
103 "other complex pointer types should be "
184 def types(self): member in Arguments
185 """List of argument types."""
/qemu/docs/system/arm/
H A Dvirt.rst61 Supported guest CPU types:
95 Graphics output is available, but unlike the x86 PC machine types
121 address space above 32 bits. The default is ``on`` for machine types
132 The default is ``on`` for machine types later than ``virt-7.2``.
141 The default is ``on`` for machine types later than ``virt-3.0``.
170 for machine types later than ``virt-2.7``.
248 QEMU supports two types of guest image boot for ``virt``, and
/qemu/block/
H A Ddmg.c39 * or truncating when converting to 32-bit types
123 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()
[all …]
/qemu/tests/functional/
H A Dtest_virtio_version.py3 Check compatibility of virtio device types
51 vm.cmd('qom-list-types', implements=implements)]
59 Check if virtio-version-specific device types result in the
101 # <prefix>-non-transitional device types should be 100% equivalent to
125 # <prefix>-transitional device types should be 100% equivalent to
/qemu/scripts/
H A Dcompare-machine-types.py139 # Now it's stub, because all memory_backend types don't have default values
177 qom_all_types = vm.cmd('qom-list-types', abstract=True)
188 imps = vm.cmd('qom-list-types', implements=drv.name)
270 script_desc = """Script to compare machine types (their compat_props).
273 * save info about all machines: ./scripts/compare-machine-types.py --all \
275 * compare machines: ./scripts/compare-machine-types.py --mt pc-q35-2.12 \
277 * compare binaries and machines: ./scripts/compare-machine-types.py \
333 help='prints all available machine types (list '
334 'of machine types will be ignored)')
336 help='list of Machine Types '
[all …]

12345678910>>...28