Home
last modified time | relevance | path

Searched full:derive (Results 1 – 25 of 37) sorted by relevance

12

/qemu/rust/hw/char/pl011/src/
H A Dregisters.rs19 #[derive(Debug, Eq, PartialEq, qemu_api_macros::TryInto)]
82 #[derive(Clone, Copy, Default, DebugBits, FromBits)]
97 #[derive(Clone, Copy, Default, DebugBits, FromBits)]
123 #[derive(Clone, Copy, DebugBits, FromBits)]
148 #[derive(Clone, Copy, DebugBits, FromBits)]
195 #[derive(Clone, Copy, DebugBits, FromBits)]
236 #[derive(Clone, Copy, Debug, Eq, FromBits, PartialEq)]
245 #[derive(Clone, Copy, Debug, Eq, FromBits, PartialEq)]
257 #[derive(Clone, Copy, Debug, Eq, FromBits, PartialEq)]
280 #[derive(Clone, Copy, DebugBits, FromBits)]
[all …]
H A Ddevice.rs41 #[derive(Clone, Copy)]
55 #[derive(Debug, Default)]
80 #[derive(Debug, Default)]
104 #[derive(qemu_api_macros::Object)]
689 #[derive(qemu_api_macros::Object)]
/qemu/rust/qemu-api-macros/src/
H A Dlib.rs86 is_c_repr(&input, "#[derive(Object)]")?; in derive_object_or_error()
89 let parent = &get_fields(&input, "#[derive(Object)]")?[0].ident; in derive_object_or_error()
112 is_transparent_repr(&input, "#[derive(Wrapper)]")?; in derive_opaque_or_error()
115 let field = &get_unnamed_field(&input, "#[derive(Wrapper)]")?; in derive_opaque_or_error()
182 "Cannot derive TryInto for union or struct.".to_string(), in get_variants()
188 "Cannot derive TryInto for enum with non-unit variants.".to_string(), in get_variants()
214 let repr = get_repr_uN(&input, "#[derive(TryInto)]")?; in derive_tryinto_or_error()
/qemu/include/crypto/
H A Dpbkdf.h110 * Apply the PBKDF2 algorithm to derive an encryption
117 * 1 second or longer to derive a key. The derived key
140 * iterations are required to derive an encryption
/qemu/rust/hw/timer/hpet/src/
H A Dfw_cfg.rs14 #[derive(Copy, Clone, Default)]
24 #[derive(Copy, Clone, Default)]
H A Ddevice.rs104 #[derive(qemu_api_macros::TryInto)]
117 #[derive(qemu_api_macros::TryInto)]
187 #[derive(Debug)]
523 #[derive(qemu_api_macros::Object)]
/qemu/rust/qemu-api/src/
H A Dtimer.rs18 #[derive(Debug, qemu_api_macros::Wrapper)]
25 #[derive(qemu_api_macros::Wrapper)]
H A Dirq.rs22 #[derive(Debug, qemu_api_macros::Wrapper)]
46 #[derive(Debug)]
H A Dmemory.rs41 #[derive(Clone)]
137 #[derive(qemu_api_macros::Wrapper)]
H A Dzeroable.rs20 // bindgen does not derive Default here
H A Dqom.rs116 #[derive(Debug, qemu_api_macros::Wrapper)]
177 /// #[derive(qemu_api_macros::Object)]
183 #[derive(Debug)]
232 /// #[derive(PartialEq, Eq)]
717 /// itself) are Zeroable. This unsafe trait can be added via a derive
776 #[derive(PartialEq, Eq, Hash, PartialOrd, Ord)]
H A Duninit.rs59 /// #[derive(Debug)]
H A Dsysbus.rs23 #[derive(Debug, qemu_api_macros::Wrapper)]
H A Dlib.rs75 #[derive(Clone, Copy, Debug)]
H A Dqdev.rs28 #[derive(Debug, qemu_api_macros::Wrapper)]
36 #[derive(Debug, qemu_api_macros::Wrapper)]
/qemu/docs/devel/
H A Drust.rst293 #[derive(Debug, qemu_api_macros::Wrapper)]
296 where the special ``derive`` macro provides useful methods such as
377 is_c_repr(&input, "#[derive(Object)]")?;
380 let parent = &get_fields(&input, "#[derive(Object)]")?[0].ident;
386 * Performing consistency checks; for example ``#[derive(Object)]`` checks
391 on types and attributes. For example, ``#[derive(TryInto)]`` builds an
/qemu/rust/qemu-api/tests/
H A Dtests.rs29 #[derive(qemu_api_macros::Object)]
81 #[derive(qemu_api_macros::Object)]
H A Dvmstate_tests.rs35 #[derive(Default)]
156 #[derive(Default)]
/qemu/tests/qemu-iotests/
H A D10389 # Derive cache sizes from combined size (with a reasonable ratio, but we cannot
93 # Fix one cache, derive the other
/qemu/scripts/coverity-scan/
H A Dmodel.c146 * Derive the g_try_FOO_n() from the g_FOO_n() by adding indeterminate
180 /* Derive the g_FOO() from the g_FOO_n() */
/qemu/subprojects/packagefiles/syn-2-rs/
H A Dmeson.build24 '--cfg', 'feature="derive"',
/qemu/python/qemu/qmp/
H A D__init__.py9 raised by this library derive from `QMPError`, see `qmp.error` for
/qemu/crypto/
H A Dpbkdf-gcrypt.c86 error_setg(errp, "Cannot derive password: %s", in qcrypto_pbkdf2()
H A Dpbkdf-gnutls.c84 error_setg(errp, "Cannot derive password: %s", in qcrypto_pbkdf2()
/qemu/hw/nvme/
H A Dsubsys.c167 "cannot derive a valid rgif (nruh %"PRIu16" nrg %"PRIu32")", in nvme_subsys_setup_fdp()

12