Home
last modified time | relevance | path

Searched refs:QAPISchemaModule (Results 1 – 2 of 2) sorted by relevance

/qemu/scripts/qapi/
H A Dgen.py37 QAPISchemaModule,
292 if QAPISchemaModule.is_user_module(name):
297 ret = '' if QAPISchemaModule.is_builtin_module(name) else self._prefix
298 if QAPISchemaModule.is_user_module(name):
304 assert QAPISchemaModule.is_system_module(name)
313 if QAPISchemaModule.is_user_module(name):
336 if QAPISchemaModule.is_builtin_module(name) and not opt_builtins:
350 if QAPISchemaModule.is_builtin_module(name):
359 assert QAPISchemaModule.is_user_module(name)
H A Dschema.py80 self._module: Optional[QAPISchemaModule] = None
103 fname = info.fname if info else QAPISchemaModule.BUILTIN_MODULE_NAME
272 class QAPISchemaModule: class
318 def __init__(self, sub_module: QAPISchemaModule, info: QAPISourceInfo): argument
1143 self._module_dict: Dict[str, QAPISchemaModule] = {}
1155 self._make_module(QAPISchemaModule.BUILTIN_MODULE_NAME)
1211 if QAPISchemaModule.is_system_module(fname):
1215 def _make_module(self, fname: str) -> QAPISchemaModule:
1218 self._module_dict[name] = QAPISchemaModule(name)
1221 def module_by_fname(self, fname: str) -> QAPISchemaModule: