Home
last modified time | relevance | path

Searched full:optional (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/qemu/tests/qapi-schema/
H A Dqapi-schema-test.out13 member integer: int optional=False
14 member boolean: bool optional=False
15 member string: str optional=False
17 member enum1: EnumOne optional=False
18 member enum2: EnumOne optional=True
19 member enum3: EnumOne optional=False
20 member enum4: EnumOne optional=True
26 member type: EnumOne optional=False
42 member string: str optional=False
43 member enum1: EnumOne optional=True
[all …]
H A Dunion-optional-discriminator.err1 union-optional-discriminator.json: In union 'MyUnion':
2 union-optional-discriminator.json:6: discriminator member 'switch' of base type 'Base' must not be
H A Ddoc-good.out20 member base1: Enum optional=False
23 member var1: str optional=False
42 member arg1: int optional=False
43 member arg2: str optional=True
44 member arg3: bool optional=False
/qemu/tests/qtest/libqos/
H A Dvirtio-9p-client.h90 /* user supplied tag number being returned with response (optional) */
92 /* file ID of directory from where walk should start (optional) */
94 /* file ID for target directory being walked to (optional) */
96 /* low level variant of path to walk to (optional) */
99 /* high level variant of path to walk to (optional) */
101 /* data being received from 9p server as 'Rwalk' response (optional) */
106 /* only send Twalk request but not wait for a reply? (optional) */
108 /* do we expect an Rlerror response, if yes which error code? (optional) */
124 /* user supplied tag number being returned with response (optional) */
126 /* maximum message size that can be handled by client (optional) */
[all …]
/qemu/scripts/qapi/
H A Dschema.py29 Optional,
52 ifcond: Optional[Union[str, Dict[str, object]]] = None,
79 def __init__(self, info: Optional[QAPISourceInfo]):
80 self._module: Optional[QAPISchemaModule] = None
96 def connect_doc(self, doc: Optional[QAPIDoc] = None) -> None:
100 self, schema: QAPISchema, info: Optional[QAPISourceInfo]
121 info: Optional[QAPISourceInfo],
122 doc: Optional[QAPIDoc],
123 ifcond: Optional[QAPISchemaIfCond] = None,
124 features: Optional[List[QAPISchemaFeature]] = None,
[all …]
H A Dintrospect.py20 Optional,
57 # With optional annotations, the type of all values is:
92 comment: Optional[str] = None
177 self._schema: Optional[QAPISchema] = None
268 comment: Optional[str] = None
296 if member.optional:
310 def visit_builtin_type(self, name: str, info: Optional[QAPISourceInfo],
314 def visit_enum_type(self, name: str, info: Optional[QAPISourceInfo],
318 prefix: Optional[str]) -> None:
326 def visit_array_type(self, name: str, info: Optional[QAPISourceInfo],
[all …]
H A Dtypes.py16 from typing import List, Optional
42 prefix: Optional[str] = None) -> str:
86 prefix: Optional[str] = None) -> str:
157 base: Optional[QAPISchemaObjectType],
159 variants: Optional[QAPISchemaVariants]) -> str:
326 info: Optional[QAPISourceInfo],
330 prefix: Optional[str]) -> None:
337 info: Optional[QAPISourceInfo],
347 info: Optional[QAPISourceInfo],
350 base: Optional[QAPISchemaObjectType],
[all …]
H A Dvisit.py16 from typing import List, Optional
61 base: Optional[QAPISchemaObjectType],
63 branches: Optional[QAPISchemaBranches]) -> str:
73 if memb.optional and not memb.need_has():
93 if memb.optional:
124 if memb.optional:
371 info: Optional[QAPISourceInfo],
375 prefix: Optional[str]) -> None:
382 info: Optional[QAPISourceInfo],
391 info: Optional[QAPISourceInfo],
[all …]
H A Dparser.py27 Optional,
52 doc: Optional['QAPIDoc'] = None):
55 self.doc: Optional['QAPIDoc'] = doc
94 previously_included: Optional[Set[str]] = None,
95 incl_info: Optional[QAPISourceInfo] = None):
106 self.val: Optional[Union[bool, str]] = None
183 doc: Optional['QAPIDoc'] = None) -> None:
187 def reject_expr_doc(doc: Optional['QAPIDoc']) -> None:
199 ) -> Optional['QAPISchemaParser']:
202 inf: Optional[QAPISourceInfo] = info
[all …]
H A Dgen.py21 Optional,
112 def build_params(arg_type: Optional[QAPISchemaObjectType],
114 extra: Optional[str] = None) -> str:
139 self._start_if: Optional[Tuple[QAPISchemaIfCond, str, str]] = None
258 builtin_blurb: Optional[str],
266 self._current_module: Optional[str] = None
268 Optional[QAPIGenTrace]]] = {}
269 self._main_module: Optional[str] = None
320 gent: Optional[QAPIGenTrace] = None
363 def visit_include(self, name: str, info: Optional[QAPISourceInfo]) -> None:
H A Dcommands.py19 Optional,
42 arg_type: Optional[QAPISchemaObjectType],
44 ret_type: Optional[QAPISchemaType],
56 arg_type: Optional[QAPISchemaObjectType],
58 ret_type: Optional[QAPISchemaType],
189 arg_type: Optional[QAPISchemaObjectType],
191 ret_type: Optional[QAPISchemaType],
376 info: Optional[QAPISourceInfo],
379 arg_type: Optional[QAPISchemaObjectType],
380 ret_type: Optional[QAPISchemaType],
H A Dsource.py13 from typing import List, Optional, TypeVar
36 def __init__(self, fname: str, parent: Optional['QAPISourceInfo']):
43 self.defn_meta: Optional[str] = None
44 self.defn_name: Optional[str] = None
H A Derror.py20 from typing import Optional
32 info: Optional[QAPISourceInfo],
34 col: Optional[int] = None):
/qemu/python/qemu/machine/
H A Dmachine.py36 Optional,
76 def __init__(self, exitcode: Optional[int],
77 command: str, output: Optional[str]):
127 name: Optional[str] = None,
129 monitor_address: Optional[SocketAddrT] = None,
131 console_log: Optional[str] = None,
132 log_dir: Optional[str] = None,
133 qmp_timer: Optional[float] = 30):
143 @param drain_console: (optional) True to drain console socket to buffer
144 @param console_log: (optional) path to console log file
[all …]
H A Dqtest.py24 Optional,
55 address: Optional[SocketAddrT] = None,
56 sock: Optional[socket.socket] = None,
68 self._sockfile: Optional[TextIO] = None
122 def settimeout(self, timeout: Optional[float]) -> None:
136 name: Optional[str] = None,
138 qmp_timer: Optional[float] = None):
146 self._qtest: Optional[QEMUQtestProtocol] = None
147 self._qtest_sock_pair: Optional[
H A Dconsole_socket.py20 from typing import Deque, Optional
35 address: Optional[str] = None,
36 sock_fd: Optional[int] = None,
37 file: Optional[str] = None,
135 def settimeout(self, value: Optional[float]) -> None:
/qemu/include/qapi/
H A Dvisitor-impl.h54 /* Optional; intended for input visitors */
68 /* Optional; intended for input visitors */
79 /* Optional */
90 /* Optional; fallback is type_uint64() */
112 /* Must be set for input visitors to visit structs, optional otherwise.
114 void (*optional)(Visitor *v, const char *name, bool *present); member
116 /* Optional */
120 /* Optional */
127 /* Optional */
130 /* Must be set for output visitors, optional otherwise. */
/qemu/python/qemu/qmp/
H A Dlegacy.py32 Optional,
76 :param nickname: Optional nickname used for logging.
82 nickname: Optional[str] = None):
91 self._timeout: Optional[float] = None
100 self, future: Awaitable[_T], timeout: Optional[float] = None
106 def _get_greeting(self) -> Optional[QMPMessage]:
117 exc_type: Optional[Type[BaseException]],
118 exc_val: Optional[BaseException],
119 exc_tb: Optional[TracebackType]) -> None:
143 def connect(self, negotiate: bool = True) -> Optional[QMPMessage]:
[all …]
/qemu/target/hexagon/imported/
H A Dmacros.def51 /* optional attributes */
57 /* optional attributes */
63 /* optional attributes */
577 /* optional attributes */
588 /* optional attributes */
594 /* optional attributes */
600 /* optional attributes */
606 /* optional attributes */
612 /* optional attributes */
618 /* optional attributes */
[all …]
/qemu/include/ui/
H A Dconsole.h208 /* optional */
211 /* optional */
214 /* optional */
217 /* optional */
221 /* optional */
224 /* optional */
227 /* optional */
231 /* optional */
234 /* optional */
249 /* optional (default to true if has dpy_gl_scanout_dmabuf) */
[all …]
/qemu/monitor/
H A Dmonitor-internal.h41 * 's' string (accept optional quote)
42 * 'S' it just appends the rest of the string (accept optional quote)
53 * user mode accepts an optional E, e, P, p, T, t, G, g, M, m,
58 * user mode accepts an optional ms, us, ns suffix,
60 * '/' optional gdb-like print format (like "/10x")
62 * '?' optional type (for all types, except '/')
63 * '.' other form of optional type (for 'i' and 'l')
66 * '-' optional parameter (eg. '-f'); if followed by a 's', it
67 * specifies an optional string param (e.g. '-fs' allows '-f foo')
/qemu/tests/qtest/migration/
H A Dframework.h145 /* Optional: fine tune start parameters */
152 * Optional: the URI for the src QEMU to connect to
160 * Optional: JSON-formatted list of src QEMU URIs. If a port is
166 /* Optional: the cpr migration channel, in JSON or dotted keys format */
169 /* Optional: callback to run at start to set migration parameters */
171 /* Optional: callback to run at finish to cleanup */
175 * Optional: normally we expect the migration process to complete.
201 * Optional: set number of migration passes to wait for, if live==true.
207 * Optional: whether the guest CPUs should be running during a precopy
/qemu/tests/qemu-iotests/
H A Dfindtests.py24 from typing import Optional, List, Iterator, Set
28 def chdir(path: Optional[str] = None) -> Iterator[None]:
42 def __init__(self, test_dir: Optional[str] = None) -> None:
92 def find_tests(self, groups: Optional[List[str]] = None,
93 exclude_groups: Optional[List[str]] = None,
94 tests: Optional[List[str]] = None,
95 start_from: Optional[str] = None) -> List[str]:
/qemu/util/
H A Dcpuinfo-aarch64.c78 info |= sysctl_for_bool("hw.optional.arm.FEAT_LSE") * CPUINFO_LSE; in cpuinfo_init()
79 info |= sysctl_for_bool("hw.optional.arm.FEAT_LSE2") * CPUINFO_LSE2; in cpuinfo_init()
80 info |= sysctl_for_bool("hw.optional.arm.FEAT_AES") * CPUINFO_AES; in cpuinfo_init()
81 info |= sysctl_for_bool("hw.optional.arm.FEAT_PMULL") * CPUINFO_PMULL; in cpuinfo_init()
82 info |= sysctl_for_bool("hw.optional.arm.FEAT_BTI") * CPUINFO_BTI; in cpuinfo_init()
/qemu/python/qemu/utils/
H A D__init__.py23 from typing import Optional
39 def get_info_usernet_hostfwd_port(info_usernet_output: str) -> Optional[int]:
57 width: Optional[int] = None,
58 name: Optional[str] = None,
104 def _bar(name: Optional[str], top: bool = True) -> str:

12345678910>>...16