Home
last modified time | relevance | path

Searched refs:NAMED (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/scripts/codeconverter/codeconverter/
H A Dqom_macros.py105 NAMED('typedef_type', RE_TYPE), SP,
116 NAMED('body', r'{\n',
235 NAMED('qom_typename', RE_IDENTIFIER), r'\s*\)\n',
525 NAMED('instancetype', RE_TYPE), SP,
536 NAMED('classtype', RE_TYPE), SP,
548 NAMED('classtype', RE_TYPE), r'\s*,\s*',
563 NAMED('classtype', RE_TYPE), r'\s*,\s*',
708 NAMED('classtype', RE_TYPE), r'\s*,\s*',
709 NAMED('uppercase', RE_IDENTIFIER), SP,
727 NAMED('uppercase', RE_IDENTIFIER), SP,
[all …]
H A Dqom_type_info.py20 RE_TI_FIELD_INIT = S(r'[ \t]*', NAMED('comments', RE_COMMENTS),
100 regexp = S(NAMED('begin', RE_TYPEINFO_START),
101 M(NAMED('fields', RE_TI_FIELDS),
102 NAMED('endcomments', SP, RE_COMMENTS),
103 NAMED('end', r'};?\n'),
429 NAMED('name', RE_IDENTIFIER), r'\s*,\s*',
433 NAMED('parent_uppercase', RE_IDENTIFIER),
435 NAMED('fields', RE_TI_FIELDS),
446 NAMED('fields', RE_TI_FIELDS),
491 NAMED('name', r'TYPE_[a-zA-Z0-9_]+\b'),
[all …]
H A Dregexps.py31 def NAMED(name, *regexps) -> str: function
55 r = NAMED(name, r)
92 RE_INCLUDE = S(r'^[ \t]*#[ \t]*include[ \t]+', NAMED('includepath', RE_INCLUDEPATH), r'[ \t]*\n')
103 RE_SIZEOF = S(r'sizeof\s*\(\s*', NAMED('sizeoftype', RE_TYPE), r'\s*\)')
107 RE_ARRAY_ITEM = S(r'{\s*', NAMED('arrayitem', M(RE_SIMPLE_VALUE, n='?')), r'\s*}\s*,?')
111 NAMED('arrayitems', RE_ARRAY_ITEMS),
H A Dtest_patching.py50 regexp = S(r'BEGIN\s+', NAMED('name', RE_IDENTIFIER), r'\n',
54 regexp = S(r'^\s*', NAMED('name', RE_IDENTIFIER), r'\(\)\n')