Home
last modified time | relevance | path

Searched refs:matches_of_type (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/scripts/codeconverter/codeconverter/
H A Dtest_patching.py34 matches = f.matches_of_type(BasicPattern)
74 assert len(f.matches_of_type(Function)) == 2
75 print(' '.join(m.name for m in f.matches_of_type(Statement)))
76 assert len(f.matches_of_type(Statement)) == 7
H A Dqom_macros.py177 other_td = [td for td in chain(self.file.matches_of_type(SimpleTypedefMatch),
178 self.file.matches_of_type(FullStructTypedefMatch))
198 qom_matches = chain(*(self.file.matches_of_type(t) for t in qom_macros))
208 qom_matches = chain(*(self.file.matches_of_type(t) for t in qom_macros))
216 for m in chain(file.matches_of_type(SimpleTypedefMatch),
217 file.matches_of_type(FullStructTypedefMatch)))
277 return [m for m in self.file.matches_of_type(TypeCheckMacro)
588 for m in self.file.matches_of_type(t):
798 defs = self.file.matches_of_type(dc)
805 users = self.file.matches_of_type(uc)
[all …]
H A Dqom_type_info.py453 for m in files.matches_of_type(t):
456 for m in files.matches_of_type(t)
705 constants = [m for m in self.allfiles.matches_of_type(ExpressionDefine)
847 for fn in m.file.matches_of_type(StaticVoidFunction):
929 ti = [ti for ti in files.matches_of_type(TypeInfoVar)
963 return file.matches_of_type(TypeInfoVar)
H A Dpatching.py272 def matches_of_type(self, t: Type[T]) -> List[T]: member in RegexpScanner
282 for m in self.matches_of_type(t):
337 for m in self.matches_of_type(t):
379 matches = self.matches_of_type(class_dict[cn])
/openbmc/qemu/scripts/codeconverter/
H A Dconverter.py42 for t in f.matches_of_type(TypeInfoVar):