Lines Matching refs:arch
26 for arch in self.archs:
27 self.sysincludes[arch] = {}
70 for arch in [a for a in self.archs if a != 'common']:
71 arch_root = os.path.join(root, arch)
72 includes[arch] = self.scan_includes(arch_root)
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]
102 for arch in self.archs:
103 for pack in new_includes[arch]:
104 self.append_sysincludes(arch, pack[0], pack[1], platform)
147 for arch in self.archs:
148 arch_root = (lambda s: s if s != 'common' else '')(arch)
150 for pack in self.bionic_includes[arch]:
155 if (root in self.sysincludes[arch]) and \
156 (include in self.sysincludes[arch][root]):
158 platform = self.sysincludes[arch][root][include][0]
164 if arch not in self.diffs:
165 self.diffs[arch] = {}
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]
183 for arch in self.archs:
184 if arch not in self.diffs:
186 print '{0}/'.format(arch)
187 roots = self.diffs[arch].keys()
191 includes = self.diffs[arch][root].keys()
195 self.print_history(arch, root, include)
196 diff = self.diffs[arch][root][include]