Home | History | Annotate | Download | only in releasetools

Lines Matching full:sha1

100 from hashlib import sha1 as sha1
151 then the sha1 is searched for, and finally a file with the same
165 result = tgtfiles.get("sha1:" + src.sha1)
835 source_boot.size, source_boot.sha1,
836 target_boot.size, target_boot.sha1))
877 source_boot.size, source_boot.sha1,
878 target_boot.size, target_boot.sha1),
880 target_boot.size, target_boot.sha1,
881 source_boot.sha1, "patch/boot.img.p")
931 matching_file_cache["sha:" + sf.sha1] = sf
947 verbatim_targets.append((fn, tf.size, tf.sha1))
950 elif tf.sha1 != sf.sha1:
968 verbatim_targets.append((tf.name, tf.size, tf.sha1))
974 patch_list.append((tf, sf, tf.size, common.sha1(d).hexdigest()))
983 script.SkipNextActionIfTargetExists(tf.name, tf.sha1)
984 script.PatchCheck("/"+sf.name, tf.sha1, sf.sha1)
989 for fn, size, sha1 in self.verbatim_targets:
991 script.FileCheck("/"+fn, sha1)
993 script.FileCheck(tf.name, tf.sha1)
1013 script.SkipNextActionIfTargetExists(tf.name, tf.sha1)
1014 script.ApplyPatch("/"+sf.name, "-", tf.size, tf.sha1, sf.sha1, "patch/"+sf.name+".p")
1022 script.ApplyPatch("/"+sf.name, "-", tf.size, tf.sha1, sf.sha1, "patch/"+sf.name+".p")
1184 source_boot.size, source_boot.sha1,
1185 target_boot.size, target_boot.sha1))
1240 source_boot.size, source_boot.sha1,
1241 target_boot.size, target_boot.sha1),
1243 target_boot.size, target_boot.sha1,
1244 source_boot.sha1, "patch/boot.img.p")