/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
D | Parsing.py | 229 def GetBuildOption(String, File, LineNo = -1): argument 232 RaiseParserError(String, 'BuildOptions', File, '[<Family>:]<ToolFlag>=Flag', LineNo) 252 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo = -1): argument 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 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) 300 def CheckPcdTokenInfo(TokenInfoString, Section, File, LineNo = -1): argument [all …]
|
D | String.py | 563 LineNo = 0 567 LineNo = LineNo + 1 583 …EdkLogger.error("Parser", FORMAT_INVALID, Line=LineNo, File=FileName, RaiseError=EdkLogger.IsRaise… 593 …EdkLogger.error("Parser", FORMAT_INVALID, Line=LineNo, File=FileName, RaiseError=EdkLogger.IsRaise… 601 …EdkLogger.error("Parser", FORMAT_INVALID, Line=LineNo, File=FileName, RaiseError=EdkLogger.IsRaise… 619 def CheckFileType(CheckFilename, ExtName, ContainerFilename, SectionName, Line, LineNo= -1): argument 624 if LineNo == -1: 625 LineNo = GetLineNo(ContainerFile, Line) 627 EdkLogger.error("Parser", PARSER_ERROR, ErrorMsg, Line=LineNo, 646 def CheckFileExist(WorkspaceDir, CheckFilename, ContainerFilename, SectionName, Line, LineNo= -1): argument [all …]
|
D | DecClassObject.py | 154 LineNo = 0 162 LineNo = LineNo + 1 210 …is is not allowed." % (CurrentSection, ItemList[0]), File=Filename, Line=LineNo, RaiseError=EdkLog… 212 RaiseParserError(Line, CurrentSection, Filename, '', LineNo) 216 RaiseParserError(Line, CurrentSection, Filename, '', LineNo) 219 … "Invalid Arch definition '%s' found" % ItemList[1], File=Filename, Line=LineNo, RaiseError=EdkLog… 230 …EdkLogger.error("Parser", PARSER_ERROR, ErrorMsg, File=Filename, Line=LineNo, RaiseError=EdkLogger… 235 SectionItemList.append([Line, LineNo]) 311 … ID, Value1, Value2, Arch, LineNo = Record[3], ValueList[0], ValueList[1], Record[1], Record[2]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/ |
D | VfrFormPkg.h | 176 VOID IfrRecordOutput (IN FILE *, IN UINT32 LineNo); 202 inline VOID SetLineNo (IN UINT32 LineNo) { in SetLineNo() argument 203 mLineNo = LineNo; in SetLineNo() 1536 IN UINT32 LineNo in CIfrDup() argument 1539 SetLineNo (LineNo); in CIfrDup() 1549 IN UINT32 LineNo in CIfrEqIdId() argument 1552 SetLineNo (LineNo); in CIfrEqIdId() 1560 IN UINT32 LineNo in SetQuestionId1() argument 1565 …ending (VarIdStr, (VOID *)(&mEqIdId->QuestionId1), sizeof (EFI_QUESTION_ID), LineNo, NO_QST_REFED); in SetQuestionId1() 1572 IN UINT32 LineNo in SetQuestionId2() argument [all …]
|
D | VfrFormPkg.cpp | 31 IN UINT32 LineNo, in SPendingAssign() argument 39 mLineNo = LineNo; in SPendingAssign() 77 IN UINT32 LineNo in SetAddrAndLen() argument 81 mLineNo = LineNo; in SetAddrAndLen() 425 IN UINT32 LineNo, in AssignPending() argument 431 pNew = new SPendingAssign (Key, ValAddr, ValLen, LineNo, Msg); in AssignPending() 560 IN UINT32 LineNo, in IfrRecordRegister() argument 591 IN UINT32 LineNo, in IfrRecordInfoUpdate() argument 604 if (LineNo == 0) { in IfrRecordInfoUpdate() 610 LineNo = Prev->mLineNo; in IfrRecordInfoUpdate() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/ |
D | MetaFileCommentParser.py | 35 def CheckInfComment(SectionType, Comments, InfFile, LineNo, ValueList): argument 37 …CheckUsage(Comments, UsageList, InfFile, LineNo, ValueList[0]+'.'+ValueList[1], ErrorMsgMap[MODEL_… 39 CheckUsage(Comments, UsageList, InfFile, LineNo, ValueList[0], ErrorMsgMap[SectionType]) 41 …CheckUsage(Comments, UsageList + ("TO_START", "BY_START"), InfFile, LineNo, ValueList[0], ErrorMsg… 43 def CheckUsage(Comments, Usages, InfFile, LineNo, Value, ErrorMsg): argument 50 ErrorMsg % (InfFile, LineNo, Value)
|
D | WorkspaceDatabase.py | 169 LineNo = Record[6] 177 …urce override path does not exist:', File=self.MetaFile, ExtraData=SourceOverridePath, Line=LineNo) 562 LineNo = Record[6] 567 EdkLogger.error('build', ErrorCode, File=self.MetaFile, Line=LineNo, 582 LineNo = Record[-1] 587 EdkLogger.error('build', ErrorCode, File=self.MetaFile, Line=LineNo, 635 …kLogger.error('build', FILE_DUPLICATED, File=self.MetaFile, ExtraData=str(ModuleFile), Line=LineNo) 639 File=self.MetaFile, ExtraData=str(ModuleFile), Line=LineNo) 666 LibraryClass, LibraryInstance, Dummy, Arch, ModuleType, Dummy, LineNo = Record 676 EdkLogger.error('build', ErrorCode, File=self.MetaFile, Line=LineNo, [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
D | InfParser.py | 122 LineNo = 0 187 LineNo = LineNo + 1 189 if (LineNo < len(FileLinesList) - 1): 190 NextLine = FileLinesList[LineNo].strip() 195 if (Line == '' or not Line) and LineNo == len(FileLinesList): 209 HeaderStarLineNo = LineNo 210 SectionLines.append((Line, LineNo)) 220 SectionLines.append((Line, LineNo)) 235 SectionLines.append((Line, LineNo)) 254 BinaryHeaderStarLineNo = LineNo [all …]
|
D | InfGuidPpiProtocolSectionParser.py | 52 LineNo = Line[1] 68 LineNo)) 76 Name, Value = MacroParser((LineContent, LineNo), 92 ValueList = [InfExpandMacro(Value, (FileName, LineContent, LineNo), 96 CurrentLineVar = (LineContent, LineNo, FileName) 139 LineNo = Line[1] 155 LineNo)) 163 Name, Value = MacroParser((LineContent, LineNo), 179 …ValueList = [InfExpandMacro(Value, (FileName, LineContent, LineNo), self.FileLocalMacros, SectionM… 182 CurrentLineVar = (LineContent, LineNo, FileName) [all …]
|
D | InfAsBuiltProcess.py | 44 def GetLibInstanceInfo(String, WorkSpace, LineNo, CurrentInfFileName): argument 81 FileLinesList = GetFileLineContent(String, WorkSpace, LineNo, OrignalString) 108 def GetPackageListInfo(FileNameString, WorkSpace, LineNo): argument 113 FileLinesList = GetFileLineContent(FileNameString, WorkSpace, LineNo, '') 120 LineNo = -1 122 LineNo += 1 153 Name, Value = MacroParser((Line, LineNo), 167 Name, Value = MacroParser((Line, LineNo), 178 …Line = InfExpandMacro(Line, (FileNameString, Line, LineNo), DefineSectionMacros, PackageSectionMac… 186 def GetFileLineContent(FileName, WorkSpace, LineNo, OriginalString): argument [all …]
|
D | InfBuildOptionSectionParser.py | 45 LineNo = 0 49 LineNo = Line[1] 90 Line=LineNo) 97 ValueList[0] = InfExpandMacro(ValueList[0], (FileName, LineContent, LineNo), 99 ValueList[1] = InfExpandMacro(ValueList[1], (FileName, LineContent, LineNo), 117 Line=LineNo) 124 Line=LineNo) 132 Line=LineNo) 173 LineNo = Line[1] 207 Line=LineNo,
|
D | InfSectionParser.py | 66 def GetSpecialStr2(ItemList, FileName, LineNo, SectionString): argument 85 Line=LineNo, 97 % (SectionString), File=FileName, Line=LineNo, ExtraData=SectionString) 106 % (SectionString), File=FileName, Line=LineNo, ExtraData=SectionString) 151 def GetArch(ItemList, ArchList, FileName, LineNo, SectionString): argument 169 Line=LineNo, 292 def SectionHeaderParser(self, SectionString, FileName, LineNo): argument 310 Line=LineNo, 323 Line=LineNo, 331 Line=LineNo, [all …]
|
D | InfDepexSectionParser.py | 46 LineNo = Line[1] 52 DepexComment.append((LineContent, LineNo)) 65 DepexComment.append((LineContent[CommentCount:], LineNo)) 70 DepexContent.append((LineContent, LineNo))
|
D | InfDefineSectionParser.py | 80 LineNo = Line[1] 86 LineInfo[1] = LineNo 143 Name, Value = MacroParser((LineContent, LineNo), 155 (FileName, LineContent, LineNo), 182 InfDefMemberObj.CurrentLine.SetLineNo(LineNo)
|
D | InfParserMisc.py | 83 LineNo = LineInfo[2] 89 NewLineInfo = (FileName, LineNo, LineContent) 97 (LineContent, LineNo), 106 (LineContent, LineNo),
|
D | InfPcdSectionParser.py | 131 LineNo = Line[1] 159 Line=LineNo, 168 Line=LineNo, 172 … PcdList.append((ValueList, CommentsList, (LineContent, LineNo, FileName)))
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | Parsing.py | 57 def GetBuildOption(String, File, LineNo= -1): argument 61 '[<Family>:]<ToolFlag>=Flag', LineNo) 80 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo= -1): argument 88 'library class instance', Item[0], LineNo) 90 'LibraryClasses', Item[0], LineNo) 105 def GetLibraryClassOfInf(Item, ContainerFile, WorkspaceDir, LineNo= -1): argument 116 Item[0], LineNo) 118 'LibraryClasses', Item[0], LineNo) 121 ContainerFile, LineNo) 135 def CheckPcdTokenInfo(TokenInfoString, Section, File, LineNo= -1): argument [all …]
|
D | String.py | 473 LineNo = 0 477 LineNo = LineNo + 1 492 …Logger.Error("Parser", FORMAT_INVALID, Line=LineNo, File=FileName, RaiseError=Logger.IS_RAISE_ERRO… 501 …Logger.Error("Parser", FORMAT_INVALID, Line=LineNo, File=FileName, RaiseError=Logger.IS_RAISE_ERRO… 508 …Logger.Error("Parser", FORMAT_INVALID, Line=LineNo, File=FileName, RaiseError=Logger.IS_RAISE_ERRO… 526 def CheckFileType(CheckFilename, ExtName, ContainerFilename, SectionName, Line, LineNo= -1): argument 531 if LineNo == -1: 532 LineNo = GetLineNo(ContainerFile, Line) 534 Logger.Error("Parser", PARSER_ERROR, ErrorMsg, Line=LineNo, \ 553 def CheckFileExist(WorkspaceDir, CheckFilename, ContainerFilename, SectionName, Line, LineNo= -1): argument [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/ |
D | VfrFormPkg.h | 160 IN UINT32 LineNo, 238 VOID IfrRecordOutput (IN FILE *, IN UINT32 LineNo); 244 …DefaultRecord (IN UINT8 Size,IN UINT16 DefaultId,IN UINT8 Type,IN UINT32 LineNo,IN EFI_IFR_TYPE_VA… 277 inline VOID SetLineNo (IN UINT32 LineNo) { in SetLineNo() argument 278 mLineNo = LineNo; in SetLineNo() 1064 IN UINT32 LineNo in CIfrGet() argument 1067 SetLineNo (LineNo); in CIfrGet() 1084 IN UINT32 LineNo in CIfrSet() argument 1087 SetLineNo (LineNo); in CIfrSet() 1974 IN UINT32 LineNo in CIfrDup() argument [all …]
|
D | VfrFormPkg.cpp | 28 IN UINT32 LineNo, in SPendingAssign() argument 36 mLineNo = LineNo; in SPendingAssign() 73 IN UINT32 LineNo in SetAddrAndLen() argument 77 mLineNo = LineNo; in SetAddrAndLen() 504 IN UINT32 LineNo, in AssignPending() argument 510 pNew = new SPendingAssign (Key, ValAddr, ValLen, LineNo, Msg); in AssignPending() 819 IN UINT32 LineNo, in DeclarePendingQuestion() argument 838 DIObj.SetLineNo (LineNo); in DeclarePendingQuestion() 842 CIfrTrue TObj (LineNo); in DeclarePendingQuestion() 851 CNObj.SetLineNo (LineNo); in DeclarePendingQuestion() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/ |
D | InfCommonObject.py | 49 self.LineNo = '' 57 def SetLineNo(self, LineNo): argument 58 self.LineNo = LineNo 63 return self.LineNo
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
D | InfParserLite.py | 114 LineNo = 0 117 LineNo = LineNo + 1 136 …tion definition, this is not allowed." % (CurrentSection, ItemList[0]), File=Filename, Line=LineNo) 140 RaiseParserError(Line, CurrentSection, Filename, '', LineNo) 148 SectionItemList.append([Line, LineNo])
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
D | IdfClassObject.py | 97 LineNo = GetLineNo(FileIn, Line, False) 99 …File Parser", PARSER_ERROR, 'The %s in Line %s of File %s is invalid.' % (Line, LineNo, File.Path)) 105 …ot match #image IMAGE_ID [TRANSPARENT] ImageFileName in Line %s of File %s.' % (LineNo, File.Path)) 107 …d "TRANSPARENT" to describe the transparency setting in Line %s of File %s.' % (LineNo, File.Path)) 114 …ER_ERROR, 'The %s in Line %s of File %s is already defined.' % (LineDetails[1], LineNo, File.Path))
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/ |
D | InfBinarySectionTest.py | 248 LineNo = 0 253 SectionString.append((Line, LineNo, '')) 254 LineNo = LineNo + 1
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
D | Configuration.py | 289 LineNo = 0 291 LineNo = LineNo + 1 297 … EdkLogger.error("Ecc", EdkLogger.ECC_ERROR, ErrorMsg, File = Filepath, Line = LineNo)
|