Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/
DInstallPkg.py488 ToFile = os.path.normpath(os.path.join(RootDir, File))
489 if os.path.exists(ToFile):
490 Logger.Info( ST.WRN_FILE_EXISTED % ToFile )
497 OrigPath = os.path.split(ToFile)[0]
498 ToFile = os.path.normpath(os.path.join(OrigPath, Input))
500 …Md5Sum = InstallFile(ContentZipFile, FromFile, ToFile, DistPkg.Header.ReadOnly, FileObject.GetExec…
501 DistPkg.FileList.append((ToFile, Md5Sum))
670 ToFile = os.path.normpath(os.path.join(NewModuleFullPath, ConvertPath(File)))
671 Md5Sum = InstallFile(ContentZipFile, FromFile, ToFile, ReadOnly, Executable)
672 if Package and ((ToFile, Md5Sum) not in Package.FileList):
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
DPackageFile.py77 ToFile = os.path.normpath(os.path.join(ToDest, FileN))
78 Msg = "%s -> %s" % (FileN, ToFile)
80 self.Extract(FileN, ToFile)
87 def UnpackFile(self, File, ToFile): argument
90 Msg = "%s -> %s" % (File, ToFile)
92 self.Extract(File, ToFile)
93 return ToFile
121 ToFile = __FileHookOpen__(ToDest, 'wb')
127 ToFile.write(FileContent)
128 ToFile.close()