/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 | 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 | doc-bad-boxed-command-arg.json | 10 # @cmd-boxed: 13 { 'command': 'cmd-boxed', '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 | 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 | 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 | 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 | 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 | test-qapi.py | 72 arg_type, ret_type, gen, success_response, boxed, argument 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 | doc-bad-boxed-command-arg.err | 1 doc-bad-boxed-command-arg.json:11: documented member 'a' does not exist
|
H A D | args-if-unboxed.err | 2 args-if-unboxed.json:5: conditional command arguments require 'boxed': true
|
H A D | args-if-implicit.err | 2 args-if-implicit.json:1: conditional command arguments require 'boxed': true
|
H A D | args-union.err | 2 args-union.json:9: command's 'data' can take union type 'Uni' only with 'boxed': true
|
H A D | event-args-if-unboxed.err | 2 …ent-args-if-unboxed.json:1: event's 'data' members may have 'if' conditions 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, 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: 237 self._genh.add(gen_event_send_decl(name, arg_type, boxed)) [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: 1038 if self.arg_type.has_conditional_members() and not self.boxed: 1067 self.boxed, self.allow_oob, self.allow_preconfig, 1082 boxed: bool, 1087 self.boxed = boxed 1100 if self.arg_type.branches and not self.boxed: [all …]
|
/openbmc/linux/rust/alloc/ |
H A D | boxed.rs | 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() 417 Ok(boxed.assume_init()) in try_new_in() 591 pub fn into_boxed_slice(boxed: Self) -> Box<[T], A> { in into_boxed_slice() 592 let (raw, alloc) = Box::into_raw_with_allocator(boxed); in into_boxed_slice() 609 pub fn into_inner(boxed: Self) -> T { in into_inner() 610 *boxed in into_inner() [all …]
|
H A D | lib.rs | 239 pub mod boxed; module 241 mod boxed { module 242 pub use std::boxed::Box;
|