/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
D | Parsing.py | 252 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo = -1): argument 256 …RaiseParserError(Item[0], 'LibraryClasses', ContainerFile, '<LibraryClassKeyWord>|<LibraryInstance… 258 CheckFileType(List[1], '.Inf', ContainerFile, 'library class instance', Item[0], LineNo) 259 CheckFileExist(WorkspaceDir, List[1], ContainerFile, 'LibraryClasses', Item[0], LineNo) 274 def GetLibraryClassOfInf(Item, ContainerFile, WorkspaceDir, LineNo = -1): argument 279 …RaiseParserError(Item[0], 'LibraryClasses', ContainerFile, '<LibraryClassKeyWord>[|<LibraryInstanc… 281 CheckFileType(ItemList[1], '.Inf', ContainerFile, 'LibraryClasses', Item[0], LineNo) 282 CheckFileExist(WorkspaceDir, ItemList[1], ContainerFile, 'LibraryClasses', Item[0], LineNo) 284 CheckPcdTokenInfo(ItemList[2], 'LibraryClasses', ContainerFile, LineNo) 318 def GetPcd(Item, Type, ContainerFile, LineNo = -1): argument [all …]
|
D | InfClassObject.py | 219 ContainerFile = self.Identification.FileFullPath 224 self.GenModuleHeader(ContainerFile) 229 self.GenBuildOptions(ContainerFile) 234 self.GenIncludes(ContainerFile) 239 self.GenLibraries(ContainerFile) 244 self.GenLibraryClasses(ContainerFile) 249 self.GenPackages(ContainerFile) 254 self.GenNmakes(ContainerFile) 259 self.GenPcds(ContainerFile) 264 self.GenSources(ContainerFile) [all …]
|
D | DscClassObject.py | 148 ContainerFile = self.Identification.FileFullPath 153 self.GenPlatformHeader(ContainerFile) 158 self.GenBuildOptions(ContainerFile) 163 self.GenSkuInfos(ContainerFile) 168 self.GenLibraries(ContainerFile) 173 self.GenLibraryClasses(ContainerFile) 178 self.GenPcds(DataType.TAB_PCDS_FIXED_AT_BUILD, ContainerFile) 179 self.GenPcds(DataType.TAB_PCDS_PATCHABLE_IN_MODULE, ContainerFile) 180 self.GenFeatureFlagPcds(DataType.TAB_PCDS_FEATURE_FLAG, ContainerFile) 181 self.GenDynamicDefaultPcds(DataType.TAB_PCDS_DYNAMIC_DEFAULT, ContainerFile) [all …]
|
D | DecClassObject.py | 258 ContainerFile = self.Identification.FileFullPath 263 self.GenPackageHeader(ContainerFile) 268 self.GenIncludes(ContainerFile) 273 self.GenGuidProtocolPpis(DataType.TAB_GUIDS, ContainerFile) 278 self.GenGuidProtocolPpis(DataType.TAB_PROTOCOLS, ContainerFile) 283 self.GenGuidProtocolPpis(DataType.TAB_PPIS, ContainerFile) 288 self.GenLibraryClasses(ContainerFile) 293 self.GenPcds(ContainerFile) 301 def GenPackageHeader(self, ContainerFile): argument 310 RaiseParserError(Record[0], 'Defines', ContainerFile, '<Key> = <Value>', Record[2]) [all …]
|
D | String.py | 623 ContainerFile = open(ContainerFilename, 'r').read() 625 LineNo = GetLineNo(ContainerFile, Line) 651 ContainerFile = open(ContainerFilename, 'r').read() 653 LineNo = GetLineNo(ContainerFile, Line)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | Parsing.py | 80 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo= -1): argument 84 RaiseParserError(Item[0], 'LibraryClasses', ContainerFile, \ 87 CheckFileType(List[1], '.Inf', ContainerFile, \ 89 CheckFileExist(WorkspaceDir, List[1], ContainerFile, \ 105 def GetLibraryClassOfInf(Item, ContainerFile, WorkspaceDir, LineNo= -1): argument 111 (Item[0], 'LibraryClasses', ContainerFile, \ 115 CheckFileType(ItemList[1], '.Inf', ContainerFile, 'LibraryClasses', \ 117 CheckFileExist(WorkspaceDir, ItemList[1], ContainerFile, \ 121 ContainerFile, LineNo) 155 def GetPcd(Item, Type, ContainerFile, LineNo= -1): argument [all …]
|
D | CommentParsing.py | 176 def ParseGenericComment (GenericComment, ContainerFile=None, SkipTag=None): argument 177 if ContainerFile: 203 def ParsePcdErrorCode (Value = None, ContainerFile = None, LineNum = None): argument 214 File = ContainerFile, 226 File = ContainerFile, 235 def ParseDecPcdGenericComment (GenericComment, ContainerFile, TokenSpaceGuidCName, CName, MacroRepl… argument 261 File = ContainerFile, 276 PcdErr.SetErrorNumber(ParsePcdErrorCode(ValueList[0], ContainerFile, LineNum)) 284 ContainerFile, 291 File = ContainerFile, [all …]
|
D | String.py | 530 ContainerFile = open(ContainerFilename, 'r').read() 532 LineNo = GetLineNo(ContainerFile, Line) 558 ContainerFile = open(ContainerFilename, 'r').read() 560 LineNo = GetLineNo(ContainerFile, Line)
|
D | UniClassObject.py | 230 def FormatUniEntry(StrTokenName, TokenValueList, ContainerFile): argument 243 Lang = GetLanguageCode(Lang.split('-')[0], True, ContainerFile) 245 Lang = GetLanguageCode(Lang, False, ContainerFile)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/ |
D | DecPomAlignment.py | 147 ContainerFile = self.GetFullPath() 152 self.GenPackageHeader(ContainerFile) 157 self.GenIncludes(ContainerFile) 162 self.GenGuidProtocolPpis(TAB_GUIDS, ContainerFile) 167 self.GenGuidProtocolPpis(TAB_PROTOCOLS, ContainerFile) 172 self.GenGuidProtocolPpis(TAB_PPIS, ContainerFile) 177 self.GenLibraryClasses(ContainerFile) 182 self.GenPcds(ContainerFile) 188 self.GenModuleFileList(ContainerFile) 264 def GenPackageHeader(self, ContainerFile): argument [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/ |
D | GenDecFile.py | 313 ContainerFile = Package.GetFullPath() 525 SaveFileOnChange(ContainerFile, Content, False) 527 os.chmod(ContainerFile, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH) 529 …os.chmod(ContainerFile, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH|stat.S_IWUSR|stat.S_IWGRP|stat.S_IW… 530 return ContainerFile 591 …ContainerFile = GetUniFileName(os.path.dirname(PackageObject.GetFullPath()), PackageObject.GetBase… 596 …niEntry('#string ' + TAB_DEC_PACKAGE_ABSTRACT, PackageObject.GetAbstract(), ContainerFile) + '\r\n' 598 …UniEntry('#string ' + TAB_DEC_PACKAGE_DESCRIPTION, PackageObject.GetDescription(), ContainerFile) \ 601 …Content += FormatUniEntry('#string ' + TAB_DEC_BINARY_ABSTRACT, BinaryAbstract, ContainerFile) + '… 603 … FormatUniEntry('#string ' + TAB_DEC_BINARY_DESCRIPTION, BinaryDescription, ContainerFile) + '\r\n' [all …]
|
D | GenInfFile.py | 58 ContainerFile = ModuleObject.GetFullPath() 181 SaveFileOnChange(ContainerFile, Content, False) 183 os.chmod(ContainerFile, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH) 185 …os.chmod(ContainerFile, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH|stat.S_IWUSR|stat.S_IWGRP|stat.S_IW… 186 return ContainerFile 229 …ContainerFile = GetUniFileName(os.path.dirname(ModuleObject.GetFullPath()), ModuleObject.GetBaseNa… 237 …ormatUniEntry('#string ' + DT.TAB_INF_ABSTRACT, ModuleObject.GetAbstract(), ContainerFile) + '\r\n' 239 …FormatUniEntry('#string ' + DT.TAB_INF_DESCRIPTION, ModuleObject.GetDescription(), ContainerFile) \ 242 …ractString = FormatUniEntry('#string ' + DT.TAB_INF_BINARY_ABSTRACT, BinaryAbstract, ContainerFile) 247 ContainerFile) [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
D | InfSectionParser.py | 431 …def InfSpecialCommentParser (self, SpecialSectionList, InfSectionObject, ContainerFile, SectionTyp… argument 498 ContainerFile
|