Searched refs:CurrentSection (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Eot/
H A DInfParserLite.py85 # @param CurrentSection: current section name
90 def ParserSource(self, CurrentSection, SectionItemList, ArchList, ThirdList):
98 if CurrentSection.upper() == 'defines'.upper():
112 IfDefList, SectionItemList, CurrentSection, ArchList, ThirdList, IncludeFiles = \
121 self.ParserSource(CurrentSection, SectionItemList, ArchList, ThirdList)
128 CurrentSection = ''
132 if CurrentSection == '':
133 CurrentSection = ItemList[0]
135 if CurrentSection != ItemList[0]:
136 EdkLogger.error("Parser", PARSER_ERROR, "Different section names '%s' and '%s' are found in one section definition, this is not allowed." % (CurrentSection, ItemLis
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DFvLib.c433 EFI_FILE_SECTION_POINTER CurrentSection; local
438 CurrentSection = FirstSection;
440 while ((UINTN) CurrentSection.CommonHeader < (UINTN) SearchEnd) {
441 if (CurrentSection.CommonHeader->Type == SectionType) {
446 *Section = CurrentSection;
456 CurrentSection.CommonHeader->Type == EFI_SECTION_GUID_DEFINED &&
457 !(CurrentSection.GuidDefinedSection->Attributes & EFI_GUIDED_SECTION_PROCESSING_REQUIRED)) {
459 ((UINTN) CurrentSection.CommonHeader + CurrentSection.GuidDefinedSection->DataOffset);
460 SectionSize = CurrentSection
515 EFI_FILE_SECTION_POINTER CurrentSection; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Parser/
H A DInfParser.py123 CurrentSection = DT.MODEL_UNKNOWN
200 if CurrentSection != DT.MODEL_UNKNOWN:
208 CurrentSection = DT.MODEL_META_DATA_FILE_HEADER
219 if (Line.startswith(DT.TAB_COMMENT_SPLIT) and CurrentSection == DT.MODEL_META_DATA_FILE_HEADER) and\
295 if CurrentSection == DT.MODEL_META_DATA_DEFINE:
296 DefineSectionParsedFlag = self._CallSectionParsers(CurrentSection,
309 CurrentSection = SectionType
318 SectionLines, CurrentSection = self._ProcessLastSection(SectionLines, Line, LineNo, CurrentSection)
325 if CurrentSection !
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Common/
H A DDecClassObject.py151 IfDefList, SectionItemList, CurrentSection, ArchList, ThirdList, IncludeFiles = \
191 Model = Section[CurrentSection.upper()]
192 InsertSectionItemsIntoDatabase(self.TblDec, self.FileID, Filename, Model, CurrentSection, SectionItemList, ArchList, ThirdList, IfDefList, self.RecordSet)
201 CurrentSection = ''
205 if CurrentSection == '':
206 CurrentSection = ItemList[0]
208 if CurrentSection != ItemList[0]:
209 EdkLogger.error("Parser", PARSER_ERROR, "Different section names '%s' and '%s' are found in one section definition, this is not allowed." % (CurrentSection, ItemList[0]), File=Filename, Line=LineNo, RaiseError=EdkLogger.IsRaiseError)
210 if CurrentSection.upper() not in self.KeyList:
211 RaiseParserError(Line, CurrentSection, Filenam
[all...]
H A DDscClassObject.py1034 IfDefList, SectionItemList, CurrentSection, ArchList, ThirdList, IncludeFiles = \
1074 self.InsertSectionItemsIntoDatabase(self.FileID, Filename, CurrentSection, SectionItemList, ArchList, ThirdList, IfDefList)
1082 CurrentSection = ''
1086 if CurrentSection == '':
1087 CurrentSection = ItemList[0]
1089 if CurrentSection != ItemList[0]:
1090 EdkLogger.error("Parser", PARSER_ERROR, "Different section names '%s' and '%s' are found in one section definition, this is not allowed." % (CurrentSection, ItemList[0]), File=Filename, Line=LineNo, RaiseError=EdkLogger.IsRaiseError)
1091 if CurrentSection.upper() not in self.KeyList:
1092 RaiseParserError(Line, CurrentSection, Filename, '', LineNo)
1093 CurrentSection
[all...]
H A DInfClassObject.py341 IfDefList, SectionItemList, CurrentSection, ArchList, ThirdList, IncludeFiles = \
380 Model = Section[CurrentSection.upper()]
384 InsertSectionItemsIntoDatabase(self.TblInf, self.FileID, Filename, Model, CurrentSection, SectionItemList, ArchList, ThirdList, IfDefList, self.RecordSet)
392 CurrentSection = ''
396 if CurrentSection == '':
397 CurrentSection = ItemList[0]
399 if CurrentSection != ItemList[0]:
400 EdkLogger.error("Parser", PARSER_ERROR, "Different section names '%s' and '%s' are found in one section definition, this is not allowed." % (CurrentSection, ItemList[0]), File=Filename, Line=LineNo, RaiseError=EdkLogger.IsRaiseError)
401 if CurrentSection.upper() not in self.KeyList:
402 RaiseParserError(Line, CurrentSection, Filenam
[all...]
H A DParsing.py804 def InsertSectionItems(Model, CurrentSection, SectionItemList, ArchList, ThirdList, RecordSet):
835 # @param CurrentSection: The name of currect section
842 def InsertSectionItemsIntoDatabase(Table, FileID, Filename, Model, CurrentSection, SectionItemList, ArchList, ThirdList, IfDefList, RecordSet):
862 ParseDefine(LineValue, StartLine, Table, FileID, Filename, CurrentSection, Model, Arch)
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Ecc/
H A DCheck.py421 CurrentSection = MODEL_UNKNOWN
444 if CurrentSection != MODEL_UNKNOWN:
452 CurrentSection = MODEL_IDENTIFIER_FILE_HEADER
463 if (Line.startswith('#') and CurrentSection == MODEL_IDENTIFIER_FILE_HEADER) and\

Completed in 702 milliseconds