Home
last modified time | relevance | path

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

/external/selinux/sepolgen/src/sepolgen/
Drefpolicy.py87 return filter(lambda x: isinstance(x, Node), walktree(self))
90 return filter(lambda x: isinstance(x, Module), walktree(self))
93 return filter(lambda x: isinstance(x, Interface), walktree(self))
96 return filter(lambda x: isinstance(x, Template), walktree(self))
99 return filter(lambda x: isinstance(x, SupportMacros), walktree(self))
104 return filter(lambda x: isinstance(x, ModuleDeclaration), walktree(self))
107 return filter(lambda x: isinstance(x, InterfaceCall), walktree(self))
110 return filter(lambda x: isinstance(x, AVRule), walktree(self))
113 return filter(lambda x: isinstance(x, TypeRule), walktree(self))
117 return filter(lambda x: isinstance(x, TypeAttribute), walktree(self))
[all …]
Doutput.py51 for node, depth in refpolicy.walktree(self.module, showdepth=True):