/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/ |
D | RmPkg.py | 49 def CheckDpDepex(Dep, Guid, Version, WorkspaceDir): argument 66 … LogFilePath = os.path.normpath(os.path.join(WorkspaceDir, GlobalData.gINVALID_MODULE_FILE)) 106 def GetCurrentFileList(DataBase, Guid, Version, WorkspaceDir): argument 109 RootDir = os.path.normpath(os.path.join(WorkspaceDir, Dir)) 135 WorkspaceDir = GlobalData.gWORKSPACE 144 …DistFile, Guid, Version = GetInstalledDpInfo(Options.DistributionFile, Dep, DataBase, WorkspaceDir) 149 CheckDpDepex(Dep, Guid, Version, WorkspaceDir) 154 RemoveDist(Guid, Version, StoredDistFile, DataBase, WorkspaceDir, Options.Yes) 195 def GetInstalledDpInfo(DistributionFile, Dep, DataBase, WorkspaceDir): argument 209 … StoredDistFile = os.path.normpath(os.path.join(WorkspaceDir, GlobalData.gUPT_DIR, NewDpFileName)) [all …]
|
D | InstallPkg.py | 66 def InstallNewPackage(WorkspaceDir, Path, CustomPath = False): argument 74 FullPath = os.path.normpath(os.path.join(WorkspaceDir, Path)) 85 return InstallNewPackage(WorkspaceDir, Input, False) 93 def InstallNewModule(WorkspaceDir, Path, PathList = None): argument 98 FullPath = os.path.normpath(os.path.join(WorkspaceDir, Path)) 111 return InstallNewModule(WorkspaceDir, Input, PathList) 119 def InstallNewFile(WorkspaceDir, File): argument 120 FullPath = os.path.normpath(os.path.join(WorkspaceDir, File)) 128 return InstallNewFile(WorkspaceDir, Input) 136 def UnZipDp(WorkspaceDir, DpPkgFileName): argument [all …]
|
D | MkPkg.py | 81 WorkspaceDir = GlobalData.gWORKSPACE 125 chdir(WorkspaceDir) 140 FileFullPath = mws.join(WorkspaceDir, FromFile) 164 DistPkg.GetDistributionPackage(WorkspaceDir, Options.PackageFileList, \ 168 FileFullPath = os.path.normpath(os.path.join(WorkspaceDir, File)) 187 chdir(WorkspaceDir) 259 WorkspaceDir = GlobalData.gWORKSPACE 260 WorkspaceDir = os.path.normpath(WorkspaceDir) 268 Path = mws.join(WorkspaceDir, Item) 274 elif not IsValidPath(Item, WorkspaceDir):
|
D | ReplacePkg.py | 51 WorkspaceDir = GlobalData.gWORKSPACE 53 …DistPkg, ContentZipFile, DpPkgFileName, DistFile = UnZipDp(WorkspaceDir, Options.PackFileToReplace) 56 Dep, DataBase, WorkspaceDir) 66 RemoveDist(OrigDpGuid, OrigDpVersion, StoredDistFile, DataBase, WorkspaceDir, Options.Yes) 71 InstallDp(DistPkg, DpPkgFileName, ContentZipFile, Options, Dep, WorkspaceDir, DataBase)
|
D | UPT.py | 192 WorkspaceDir = GlobalData.gWORKSPACE 196 Mgr = FileHook.RecoverMgr(WorkspaceDir) 199 GlobalData.gDB = IpiDatabase(os.path.normpath(os.path.join(WorkspaceDir, \ 200 … "Conf/DistributionPackageDatabase.db")), WorkspaceDir) 214 … if not os.path.exists(os.path.join(WorkspaceDir, Opt.PackageInformationDataFile)): 217 … Opt.PackageInformationDataFile = os.path.join(WorkspaceDir, Opt.PackageInformationDataFile) 228 AbsPath = GetFullPathDist(Opt.PackFileToInstall, WorkspaceDir) 269 AbsPath = GetFullPathDist(Opt.PackFileToReplace, WorkspaceDir) 321 def GetFullPathDist(DistFile, WorkspaceDir): argument 330 AbsPath = os.path.normpath(os.path.join(WorkspaceDir, DistFile))
|
D | TestInstall.py | 46 WorkspaceDir = GlobalData.gWORKSPACE 52 DistPkg, ContentZipFile, __, DistFile = UnZipDp(WorkspaceDir, DistFile)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
D | EdkIIWorkspace.py | 47 self.WorkspaceDir = os.path.realpath(os.environ.get('WORKSPACE')) 48 (Drive, Path) = os.path.splitdrive(self.WorkspaceDir) 52 self.WorkspaceDir = Drive + Path 54 self.WorkspaceDir = Drive.upper() + Path 103 if FileName.find(self.WorkspaceDir) != 0: 105 return FileName.replace (self.WorkspaceDir, '').strip('\\').strip('/') 116 return os.path.realpath(mws.join(self.WorkspaceDir,FileName)) 127 return os.path.realpath(FileName.replace(TAB_WORKSPACE, self.WorkspaceDir))
|
D | FdfClassObject.py | 41 def __init__(self, Filename = None, IsToDatabase = False, WorkspaceDir = None, Database = None): argument 42 self.WorkspaceDir = WorkspaceDir
|
D | DscClassObject.py | 95 …def __init__(self, Filename=None, IsToDatabase=False, IsToPlatform=False, WorkspaceDir=None, Datab… argument 99 self.WorkspaceDir = WorkspaceDir 287 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_BUILD_OPTIONS, '',… 342 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_SKUIDS, '', Includ… 393 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_LIBRARIES, '', Inc… 436 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_LIBRARY_CLASSES, '… 440 …(LibraryClasses, GetLibraryClass([NewItem, IncludeFile[4]], Filename, self.WorkspaceDir, -1), Arch) 444 …upModelList) = GetLibraryClass([Record[0], Record[4]], ContainerFile, self.WorkspaceDir, Record[2]) 495 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, Type, '', IncludeFile[… 545 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, Type, '', IncludeFile[… [all …]
|
D | String.py | 646 def CheckFileExist(WorkspaceDir, CheckFilename, ContainerFilename, SectionName, Line, LineNo= -1): argument 649 CheckFile = WorkspaceFile(WorkspaceDir, CheckFilename) 710 def WorkspaceFile(WorkspaceDir, Filename): argument 711 return mws.join(NormPath(WorkspaceDir), NormPath(Filename))
|
D | EdkIIWorkspaceBuild.py | 432 def __init__(self, ActivePlatform, WorkspaceDir): argument 433 self.WorkspaceDir = NormPath(WorkspaceDir) 468 self.DscDatabase[self.DscFileName] = Dsc(File, False, True, self.WorkspaceDir, self.Db) 1192 return WorkspaceFile(self.WorkspaceDir, Filename) 1256 …self.InfDatabase[InfFileName] = Inf(File, False, True, self.WorkspaceDir, self.Db, self.SupArchLis… 1270 …self.DecDatabase[DecFileName] = Dec(File, False, True, self.WorkspaceDir, self.Db, self.SupArchLis…
|
D | Parsing.py | 252 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo = -1): argument 259 CheckFileExist(WorkspaceDir, List[1], ContainerFile, 'LibraryClasses', Item[0], LineNo) 274 def GetLibraryClassOfInf(Item, ContainerFile, WorkspaceDir, LineNo = -1): argument 282 CheckFileExist(WorkspaceDir, ItemList[1], ContainerFile, 'LibraryClasses', Item[0], LineNo)
|
D | DecClassObject.py | 86 …def __init__(self, Filename=None, IsToDatabase=False, IsToPackage=False, WorkspaceDir=None, Databa… argument 90 self.WorkspaceDir = WorkspaceDir
|
D | InfClassObject.py | 167 …def __init__(self, Filename=None, IsToDatabase=False, IsToModule=False, WorkspaceDir=None, Databas… argument 171 self.WorkspaceDir = WorkspaceDir 754 …elList) = GetLibraryClassOfInf([Record[0], Record[4]], ContainerFile, self.WorkspaceDir, Record[2]) 795 … (Package, Pcd) = GetPackage(Record[0], ContainerFile, self.WorkspaceDir, Record[2])
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/ |
D | DistributionPackageClass.py | 113 def GetDistributionPackage(self, WorkspaceDir, PackageList, ModuleList): argument 115 Root = WorkspaceDir 123 WorkspaceDir = mws.getWs(Root, PackageFile) 124 DecObj = DecPomAlignment(PackageFileFullPath, WorkspaceDir, CheckMulDec=True) 147 … ModuleObj = InfPomAlignment(Filename, WorkspaceDir, PackageObj.GetPackagePath()) 175 WorkspaceDir = mws.getWs(Root, ModuleFile) 178 ModuleObj = InfPomAlignment(ModuleFileFullPath, WorkspaceDir) 194 WorkspaceDir = Root
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/ |
D | build.py | 102 WorkspaceDir = os.path.normcase(os.path.normpath(os.environ["WORKSPACE"])) 103 if not os.path.exists(WorkspaceDir): 104 … EdkLogger.error("build", FILE_NOT_FOUND, "WORKSPACE doesn't exist", ExtraData="%s" % WorkspaceDir) 105 elif ' ' in WorkspaceDir: 107 ExtraData=WorkspaceDir) 108 os.environ["WORKSPACE"] = WorkspaceDir 112 mws.setWs(WorkspaceDir, PackagesPath) 124 os.environ["ECP_SOURCE"] = mws.join(WorkspaceDir, GlobalData.gEdkCompatibilityPkg) 169 if EfiSourceDir.upper().find(WorkspaceDir.upper()) != 0: 171 … ExtraData="WORKSPACE = %s\n EFI_SOURCE = %s" % (WorkspaceDir, EfiSourceDir)) [all …]
|
D | BuildReport.py | 1419 InfPath = mws.join(Wa.WorkspaceDir, M.MetaFile.File) 1443 ModuleSectFile = mws.join(Wa.WorkspaceDir, Section.SectFileName) 1631 self._WorkspaceDir = Wa.WorkspaceDir 1637 self.OutputPath = os.path.join(Wa.WorkspaceDir, Wa.OutputDir) 1672 InfClass = PathClass(NormPath(InfName), Wa.WorkspaceDir, Pa.Arch)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
D | Ecc.py | 73 WorkspaceDir = os.path.normcase(os.path.normpath(os.environ["WORKSPACE"])) 74 os.environ["WORKSPACE"] = WorkspaceDir 78 mws.setWs(WorkspaceDir, PackagesPath) 81 os.environ["ECP_SOURCE"] = mws.join(WorkspaceDir, GlobalData.gEdkCompatibilityPkg) 98 GlobalData.gWorkspace = WorkspaceDir 103 GlobalData.gGlobalDefines["WORKSPACE"] = WorkspaceDir
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | Parsing.py | 80 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo= -1): argument 89 CheckFileExist(WorkspaceDir, List[1], ContainerFile, \ 105 def GetLibraryClassOfInf(Item, ContainerFile, WorkspaceDir, LineNo= -1): argument 117 CheckFileExist(WorkspaceDir, ItemList[1], ContainerFile, \ 829 WorkspaceDir = GlobalData.gWORKSPACE 831 for PkgRoot in [WorkspaceDir] + PackageDir: 864 WorkspaceDir = GlobalData.gWORKSPACE 865 for Root, Dirs, Files in os.walk(WorkspaceDir):
|
D | Misc.py | 585 WorkspaceDir = os.path.normpath(environ["WORKSPACE"]) 586 if not os.path.exists(WorkspaceDir): 590 ExtraData="%s" % WorkspaceDir) 592 WorkspaceDir = os.getcwd() 594 if WorkspaceDir[-1] == ':': 595 WorkspaceDir += os.sep 598 mws.setWs(WorkspaceDir, PackagesPath) 600 return WorkspaceDir, mws.PACKAGES_PATH
|
D | String.py | 553 def CheckFileExist(WorkspaceDir, CheckFilename, ContainerFilename, SectionName, Line, LineNo= -1): argument 556 CheckFile = WorkspaceFile(WorkspaceDir, CheckFilename) 612 def WorkspaceFile(WorkspaceDir, Filename): argument 613 return os.path.join(NormPath(WorkspaceDir), NormPath(Filename))
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
D | InfParser.py | 84 def __init__(self, Filename = None, WorkspaceDir = None): argument 91 self.WorkspaceDir = WorkspaceDir
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/ |
D | DecPomAlignment.py | 99 def __init__(self, Filename, WorkspaceDir = None, CheckMulDec = False): argument 102 self.WorkspaceDir = WorkspaceDir 134 self.SetPackagePath(GetRelativePath(Path, self.WorkspaceDir)) 135 self.SetCombinePath(GetRelativePath(Filename, self.WorkspaceDir))
|
D | InfPomAlignment.py | 75 self.WorkspaceDir = " " 152 self.WorkspaceDir = " "
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
D | AutoGen.py | 235 def _Init(self, WorkspaceDir, ActivePlatform, Target, Toolchain, ArchList, MetaFileDb, argument 246 self.WorkspaceDir = WorkspaceDir 264 os.chdir(self.WorkspaceDir) 712 PathClassObj = PathClass(FfsFile.InfFileName, self.WorkspaceDir) 1071 self.WorkspaceDir = Workspace.WorkspaceDir 1253 InfName = mws.join(self.WorkspaceDir, InfName) 1630 self._FdfFile= mws.join(self.WorkspaceDir, self.Workspace.FdfFile) 1649 self.WorkspaceDir, 2541 self.WorkspaceDir = Workspace.WorkspaceDir 2552 self.SourceDir = mws.relpath(self.SourceDir, self.WorkspaceDir) [all …]
|