Lines Matching refs:i
204 i = self.ITEMS.get(name, None)
205 if i is not None:
206 i.uid = int(uid)
207 i.gid = int(gid)
208 i.mode = int(mode, 8)
209 i.selabel = selabel
210 i.capabilities = capabilities
211 if i.is_dir:
212 i.children.sort(key=lambda i: i.name)
215 i = self.ITEMS.get("system/recovery-from-boot.p", None)
216 if i:
217 i.uid, i.gid, i.mode, i.selabel, i.capabilities = 0, 0, 0o644, None, None
218 i = self.ITEMS.get("system/etc/install-recovery.sh", None)
219 if i:
220 i.uid, i.gid, i.mode, i.selabel, i.capabilities = 0, 0, 0o544, None, None
256 for i in self.children:
257 i.Dump(indent=indent+1)
277 for i in self.children:
278 if i.is_dir:
279 for k, v in i.CountChildMetadata().iteritems():
282 k = (i.uid, i.gid, None, i.mode, i.selabel, i.capabilities)
340 for i in item.children:
341 recurse(i, current)
780 int(i) for i in
1067 ["/" + i[0] for i in self.verbatim_targets] +
1068 ["/" + i for i in sorted(self.source_data)
1069 if i not in self.target_data and i not in self.renames] +
1073 return sum(i[1].size for i in self.patch_list)
1381 target_symlinks_d = dict([(i[1], i[0]) for i in target_symlinks])
1382 source_symlinks_d = dict([(i[1], i[0]) for i in source_symlinks])
1394 for i in system_diff.verbatim_targets:
1395 replaced_symlinks["/%s" % (i[0],)] = i[2]
1397 for i in vendor_diff.verbatim_targets:
1398 replaced_symlinks["/%s" % (i[0],)] = i[2]
1445 script.DeleteFiles([i[1] for i in to_create])