/openbmc/qemu/tests/qapi-schema/ |
H A D | qapi-schema-test.out | 35 gen=True success_response=True boxed=False oob=False preconfig=False 178 gen=True success_response=True boxed=False oob=False preconfig=False 182 gen=True success_response=True boxed=False oob=False preconfig=False 187 gen=True success_response=True boxed=False oob=False preconfig=False 189 gen=True success_response=False boxed=False oob=False preconfig=False 191 gen=True success_response=True boxed=False oob=False preconfig=False coroutine=True 196 gen=True success_response=True boxed=False oob=False preconfig=False 200 gen=True success_response=True boxed=False oob=False preconfig=False 201 command boxed-struct UserDefZero -> None 202 gen=True success_response=True boxed=True oob=False preconfig=False [all …]
|
H A D | doc-bad-boxed-command-arg.json | 1 # Boxed arguments are not to be documented with the command 10 # @cmd-boxed: 13 { 'command': 'cmd-boxed', 'boxed': true,
|
H A D | doc-good.out | 46 gen=True success_response=True boxed=False oob=False preconfig=False 49 command cmd-boxed Object -> None 50 gen=True success_response=True boxed=True oob=False preconfig=False 54 boxed=True 205 doc symbol=cmd-boxed 207 If you're bored enough to read this, go see a video of boxed cats
|
H A D | event-boxed-empty.err | 1 event-boxed-empty.json: In event 'FOO': 2 event-boxed-empty.json:2: 'boxed': true requires 'data'
|
H A D | args-bad-boxed.err | 1 args-bad-boxed.json: In command 'foo': 2 args-bad-boxed.json:2: flag 'boxed' may only use true value
|
H A D | qapi-schema-test.json | 193 { 'command': 'boxed-struct', 'boxed': true, 'data': 'UserDefZero' } 194 { 'command': 'boxed-union', 'data': 'UserDefFlatUnion', 'boxed': true } 195 { 'command': 'boxed-empty', 'boxed': true, 'data': 'Empty1' } 226 { 'event': 'EVENT_E', 'boxed': true, 'data': 'UserDefZero' } 227 { 'event': 'EVENT_F', 'boxed': true, 'data': 'UserDefFlatUnion' } 228 { 'event': 'EVENT_G', 'boxed': true, 'data': 'Empty1' } 284 'boxed': true, 292 'boxed': true,
|
H A D | doc-good.json | 200 # @cmd-boxed: 201 # If you're bored enough to read this, go see a video of boxed cats 213 { 'command': 'cmd-boxed', 'boxed': true, 223 { 'event': 'EVT_BOXED', 'boxed': true,
|
H A D | test-qapi.py | 72 arg_type, ret_type, gen, success_response, boxed, argument 77 print(' gen=%s success_response=%s boxed=%s oob=%s preconfig=%s%s' 78 % (gen, success_response, boxed, allow_oob, allow_preconfig, 83 def visit_event(self, name, info, ifcond, features, arg_type, boxed): argument 85 print(' boxed=%s' % boxed)
|
H A D | args-bad-boxed.json | 1 # 'boxed' should only appear with value true 2 { 'command': 'foo', 'boxed': false }
|
H A D | event-boxed-empty.json | 1 # 'boxed' requires a non-empty type 2 { 'event': 'FOO', 'boxed': true }
|
H A D | args-boxed-string.json | 1 # 'boxed' requires a complex (not built-in) type 2 { 'command': 'foo', 'boxed': true, 'data': 'str' }
|
H A D | args-boxed-anon.json | 1 # 'boxed' can only be used with named types 2 { 'command': 'foo', 'boxed': true, 'data': { 'string': 'str' } }
|
H A D | args-boxed-anon.err | 1 args-boxed-anon.json: In command 'foo': 2 args-boxed-anon.json:2: 'data' should be a type name
|
H A D | args-boxed-string.err | 1 args-boxed-string.json: In command 'foo': 2 args-boxed-string.json:2: command's 'data' cannot take built-in type 'str'
|
H A D | indented-expr.out | 13 gen=True success_response=True boxed=False oob=False preconfig=False 15 gen=True success_response=True boxed=False oob=False preconfig=False
|
H A D | meson.build | 27 'args-bad-boxed.json', 28 'args-boxed-anon.json', 29 'args-boxed-string.json', 58 'doc-bad-boxed-command-arg.json', 104 'event-boxed-empty.json',
|
H A D | doc-good.txt | 243 "cmd-boxed" (Command) 246 If you're bored enough to read this, go see a video of boxed cats
|
H A D | doc-bad-boxed-command-arg.err | 1 doc-bad-boxed-command-arg.json:11: documented member 'a' does not exist
|
H A D | args-union.err | 2 args-union.json:9: command's 'data' can take union type 'Uni' only with 'boxed': true
|
/openbmc/qemu/scripts/qapi/ |
H A D | events.py | 32 boxed: bool) -> str: 35 'param': build_params(arg_type, boxed)} 40 boxed: bool) -> str: 45 proto=build_event_send_proto(name, arg_type, boxed)) 84 boxed: bool, 91 # or split the code into a wrapper function that creates a boxed 93 have_args = boxed or (arg_type and not arg_type.is_empty()) 101 proto=build_event_send_proto(name, arg_type, boxed)) 109 if not boxed: 235 boxed: bool) -> None: [all …]
|
H A D | commands.py | 43 boxed: bool, 52 params=build_params(arg_type, boxed, 'Error **errp')) 57 boxed: bool, 63 if boxed: 190 boxed: bool, 194 have_args = boxed or (arg_type and not arg_type.is_empty()) 248 ret += gen_call(name, arg_type, boxed, ret_type, gen_tracing) 382 boxed: bool, 399 self._genh.add(gen_command_decl(name, arg_type, boxed, 402 self._genc.add(gen_marshal(name, arg_type, boxed, ret_type,
|
H A D | schema.py | 253 boxed: bool, 267 boxed: bool, 1003 boxed: bool, 1015 self.boxed = boxed 1032 if self.arg_type.branches and not self.boxed: 1035 "command's 'data' can take %s only with 'boxed': true" 1038 if self.arg_type.has_conditional_members() and not self.boxed: 1041 "conditional command arguments require 'boxed': true") 1067 self.boxed, self.allow_oob, self.allow_preconfig, 1082 boxed: bool, [all …]
|
H A D | expr.py | 237 for key in ('boxed', 'allow-oob', 'allow-preconfig', 'coroutine'): 564 boxed = expr.get('boxed', False) 566 if boxed: 568 raise QAPISemError(expr.info, "'boxed': true requires 'data'") 585 boxed = expr.get('boxed', False) 587 if boxed: 589 raise QAPISemError(expr.info, "'boxed': true requires 'data'") 662 ['data', 'returns', 'boxed', 'if', 'features', 669 ['event'], ['data', 'boxed', 'if', 'features'])
|
/openbmc/linux/rust/alloc/ |
H A D | lib.rs | 13 //! ## Boxed values 56 //! [`Box`]: boxed 235 // Need to conditionally define the mod from `boxed.rs` to avoid 237 // to allow code to have `use boxed::Box;` declarations. 239 pub mod boxed; module 241 mod boxed { module 242 pub use std::boxed::Box;
|
H A D | boxed.rs | 16 //! let boxed: Box<u8> = Box::new(val); 22 //! let boxed: Box<u8> = Box::new(5); 23 //! let val: u8 = *boxed; 41 //! Recursive structures must be boxed, because if the definition of `Cons` 192 /// See the [module-level documentation](../../std/boxed/index.html) for more. 386 let mut boxed = Self::new_uninit_in(alloc); in new_in() localVariable 388 boxed.as_mut_ptr().write(x); in new_in() 389 boxed.assume_init() in new_in() 414 let mut boxed = Self::try_new_uninit_in(alloc)?; in try_new_in() localVariable 416 boxed.as_mut_ptr().write(x); in try_new_in() [all …]
|