Home
last modified time | relevance | path

Searched refs:struct_name (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/rust/bits/src/
H A Dlib.rs94 $struct_vis:vis struct $struct_name:ident($field_vis:vis $type:ty) {
103 $struct_vis struct $struct_name($field_vis $type);
105 impl $struct_name {
107 pub const $const: $struct_name = $struct_name($val); )+
157 $struct_name(value)
187 $struct_name(self.0 & rhs.0)
193 $struct_name(self.0 & !rhs.0)
199 $struct_name(self.0 ^ rhs.0)
205 $struct_name(self.0 | rhs.0)
211 $struct_name(self.0 ^ Self::VALID__)
[all …]
/openbmc/qemu/rust/qemu-api/src/
H A Dvmstate.rs203 …($struct_name:ty, $field_name:ident $([0 .. $num:ident $(* $factor:expr)?])? $(, $test_fn:expr)? $…
208 offset: ::std::mem::offset_of!($struct_name, $field_name),
209 $(num_offset: ::std::mem::offset_of!($struct_name, $num),)?
210 $(field_exists: $crate::vmstate_exist_fn!($struct_name, $test_fn),)?
215 $struct_name,
220 $struct_name,
224 $struct_name,
456 ($struct_name:ty, $test_fn:expr) => {{
467 Some(test_cb_builder__::<$struct_name, _>(phantom__(&$test_fn)))
481 …($struct_name:ty, $field_name:ident $([0 .. $num:ident $(* $factor:expr)?])?, $vmsd:expr, $type:ty…
[all …]
/openbmc/qemu/scripts/
H A Dblock-coroutine-wrapper.py70 self.struct_name = snake_to_camel(self.name)
157 struct_name = func.struct_name
187 struct_name = func.struct_name
211 struct_name = func.struct_name
254 struct_name = func.struct_name
H A Ddecodetree.py454 def struct_name(self): member in Arguments
462 output('} ', self.struct_name(), ';\n\n')
543 self.base.struct_name(), ' *a, ', insntype, ' insn)\n{\n')
555 output('typedef ', self.base.base.struct_name(),
1637 output(i4, i4, f.struct_name(), ' f_', f.name, ';\n')
/openbmc/u-boot/tools/dtoc/
H A Ddtb_platdata.py386 struct_name, aliases = get_compat_name(node)
388 self._aliases[alias] = struct_name
439 struct_name = 'struct phandle_%d_arg' % info.max_args
440 self.out('\t%s%s[%d]' % (tab_to(2, struct_name),
452 for alias, struct_name in self._aliases.iteritems():
454 STRUCT_PREFIX, struct_name))
462 struct_name, _ = get_compat_name(node)
465 (STRUCT_PREFIX, struct_name, VAL_PREFIX, var_name))
512 self.buf('\t.name\t\t= "%s",\n' % struct_name)
/openbmc/bmcweb/scripts/
H A Dparse_registries.py101 struct_name = to_pascal_case(namespace)
102 registry.write(REGISTRY_HEADER.format(struct_name))
284 struct_name = to_pascal_case(namespace_name)
435 struct_name = to_pascal_case(namespace_name)
568 struct_name=struct_name