Lines Matching refs:root
36 self.root = platforms_root
40 def scan_dir(self, root): argument
43 for filename in os.listdir(root):
44 if os.path.isfile(os.path.join(root, filename)):
48 def scan_includes(self, root): argument
51 includes_root = os.path.join(root, 'include')
65 def scan_archs_includes(self, root): argument
68 includes['common'] = self.scan_includes(root)
71 arch_root = os.path.join(root, arch)
78 platform_root = os.path.join(self.root, platform)
86 def append_sysincludes(self, arch, root, headers, platform): argument
88 if not (root in self.sysincludes[arch]):
89 self.sysincludes[arch][root] = {}
92 if include in self.sysincludes[arch][root]:
93 last_platform = self.sysincludes[arch][root][include][0]
95 self.sysincludes[arch][root][include].insert(0, platform)
97 self.sysincludes[arch][root][include] = [platform]
151 root = pack[0]
152 path_bionic = os.path.join(self.bionic_root, arch_root, 'include', root)
155 if (root in self.sysincludes[arch]) and \
156 (include in self.sysincludes[arch][root]):
158 platform = self.sysincludes[arch][root][include][0]
160 … file_probe = os.path.join(self.platforms_root, platform, arch_root, 'include', root, include)
166 if root not in self.diffs[arch]:
167 self.diffs[arch][root] = {}
169 self.diffs[arch][root][include] = output
171 def print_history(self, arch, root, header): argument
173 history = self.sysincludes[arch][root][header]
189 for root in roots:
190 print ' {0}/'.format((lambda s: s if s != '' else '../include')(root))
191 includes = self.diffs[arch][root].keys()
195 self.print_history(arch, root, include)
196 diff = self.diffs[arch][root][include]