Home
last modified time | relevance | path

Searched refs:boxed (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/qemu/tests/qapi-schema/
H A Dqapi-schema-test.out35 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 Devent-boxed-empty.err1 event-boxed-empty.json: In event 'FOO':
2 event-boxed-empty.json:2: 'boxed': true requires 'data'
H A Dargs-bad-boxed.err1 args-bad-boxed.json: In command 'foo':
2 args-bad-boxed.json:2: flag 'boxed' may only use true value
H A Ddoc-bad-boxed-command-arg.json10 # @cmd-boxed:
13 { 'command': 'cmd-boxed', 'boxed': true,
H A Ddoc-good.json200 # @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 Ddoc-good.out46 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 Dargs-bad-boxed.json1 # 'boxed' should only appear with value true
2 { 'command': 'foo', 'boxed': false }
H A Devent-boxed-empty.json1 # 'boxed' requires a non-empty type
2 { 'event': 'FOO', 'boxed': true }
H A Dargs-boxed-string.json1 # 'boxed' requires a complex (not built-in) type
2 { 'command': 'foo', 'boxed': true, 'data': 'str' }
H A Dargs-boxed-anon.json1 # 'boxed' can only be used with named types
2 { 'command': 'foo', 'boxed': true, 'data': { 'string': 'str' } }
H A Dargs-boxed-anon.err1 args-boxed-anon.json: In command 'foo':
2 args-boxed-anon.json:2: 'data' should be a type name
H A Dqapi-schema-test.json193 { '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 Dargs-boxed-string.err1 args-boxed-string.json: In command 'foo':
2 args-boxed-string.json:2: command's 'data' cannot take built-in type 'str'
H A Dindented-expr.out13 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 Dtest-qapi.py72 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 Ddoc-bad-boxed-command-arg.err1 doc-bad-boxed-command-arg.json:11: documented member 'a' does not exist
H A Dargs-if-unboxed.err2 args-if-unboxed.json:5: conditional command arguments require 'boxed': true
H A Dargs-if-implicit.err2 args-if-implicit.json:1: conditional command arguments require 'boxed': true
H A Dargs-union.err2 args-union.json:9: command's 'data' can take union type 'Uni' only with 'boxed': true
H A Devent-args-if-unboxed.err2 …ent-args-if-unboxed.json:1: event's 'data' members may have 'if' conditions only with 'boxed': true
/openbmc/qemu/scripts/qapi/
H A Devents.py32 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 Dcommands.py43 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 Dschema.py253 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 Dboxed.rs386 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 Dlib.rs239 pub mod boxed; module
241 mod boxed { module
242 pub use std::boxed::Box;

123