Home
last modified time | relevance | path

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

/build/tools/releasetools/
Dedify_generator.py255 def RenameFile(self, srcfile, tgtfile): argument
258 self.script.append('rename("%s", "%s");' % (srcfile, tgtfile))
262 def SkipNextActionIfTargetExists(self, tgtfile, tgtsha1): argument
266 cmd = ('sha1_check(read_file("%s"), %s) ||' % (tgtfile, tgtsha1))
269 def ApplyPatch(self, srcfile, tgtfile, tgtsize, tgtsha1, *patchpairs): argument
276 % (srcfile, tgtfile, tgtsha1, tgtsize)]
Dblockimgdiff.py36 tgtfd, tgtfile = tempfile.mkstemp(prefix="tgt-")
53 p = subprocess.call(["imgdiff", "-z", srcfile, tgtfile, patchfile],
57 p = subprocess.call(["bsdiff", srcfile, tgtfile, patchfile])
67 os.unlink(tgtfile)