Home
last modified time | relevance | path

Searched refs:CurrentSection (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfParser.py123 CurrentSection = DT.MODEL_UNKNOWN
205 CurrentSection = DT.MODEL_META_DATA_FILE_HEADER
217 …if (Line.startswith(DT.TAB_COMMENT_SPLIT) and CurrentSection == DT.MODEL_META_DATA_FILE_HEADER) an…
250 CurrentSection = DT.MODEL_META_DATA_FILE_HEADER
273 …if (Line.startswith(DT.TAB_COMMENT_SPLIT) and CurrentSection == DT.MODEL_META_DATA_FILE_HEADER) an…
352 if CurrentSection == DT.MODEL_META_DATA_DEFINE:
353 DefineSectionParsedFlag = self._CallSectionParsers(CurrentSection,
366 CurrentSection = SectionType
375 …SectionLines, CurrentSection = self._ProcessLastSection(SectionLines, Line, LineNo, CurrentSection)
382 if CurrentSection != DT.MODEL_META_DATA_DEFINE or \
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DInfParserLite.py90 def ParserSource(self, CurrentSection, SectionItemList, ArchList, ThirdList): argument
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 …d '%s' are found in one section definition, this is not allowed." % (CurrentSection, ItemList[0]),…
140 RaiseParserError(Line, CurrentSection, Filename, '', LineNo)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFvLib.c426 EFI_FILE_SECTION_POINTER CurrentSection; in SearchSectionByType() local
435 CurrentSection = FirstSection; in SearchSectionByType()
437 while ((UINTN) CurrentSection.CommonHeader < (UINTN) SearchEnd) { in SearchSectionByType()
438 if (CurrentSection.CommonHeader->Type == SectionType) { in SearchSectionByType()
443 *Section = CurrentSection; in SearchSectionByType()
452 if (CurrentSection.CommonHeader->Type == EFI_SECTION_GUID_DEFINED) { in SearchSectionByType()
453 if (GetLength(CurrentSection.CommonHeader->Size) == 0xffffff) { in SearchSectionByType()
454 GuidSecAttr = CurrentSection.GuidDefinedSection2->Attributes; in SearchSectionByType()
455 GuidDataOffset = CurrentSection.GuidDefinedSection2->DataOffset; in SearchSectionByType()
457 GuidSecAttr = CurrentSection.GuidDefinedSection->Attributes; in SearchSectionByType()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DFvLib.c427 EFI_FILE_SECTION_POINTER CurrentSection; in SearchSectionByType() local
432 CurrentSection = FirstSection; in SearchSectionByType()
434 while ((UINTN) CurrentSection.CommonHeader < (UINTN) SearchEnd) { in SearchSectionByType()
435 if (CurrentSection.CommonHeader->Type == SectionType) { in SearchSectionByType()
440 *Section = CurrentSection; in SearchSectionByType()
450 CurrentSection.CommonHeader->Type == EFI_SECTION_GUID_DEFINED && in SearchSectionByType()
451 !(CurrentSection.GuidDefinedSection->Attributes & EFI_GUIDED_SECTION_PROCESSING_REQUIRED)) { in SearchSectionByType()
453 ((UINTN) CurrentSection.CommonHeader + CurrentSection.GuidDefinedSection->DataOffset); in SearchSectionByType()
454 SectionSize = CurrentSection.CommonHeader->Size[0] + in SearchSectionByType()
455 (CurrentSection.CommonHeader->Size[1] << 8) + in SearchSectionByType()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DDecClassObject.py152 IfDefList, SectionItemList, CurrentSection, ArchList, ThirdList, IncludeFiles = \
192 Model = Section[CurrentSection.upper()]
193 …tSectionItemsIntoDatabase(self.TblDec, self.FileID, Filename, Model, CurrentSection, SectionItemLi…
202 CurrentSection = ''
206 if CurrentSection == '':
207 CurrentSection = ItemList[0]
209 if CurrentSection != ItemList[0]:
210 …d '%s' are found in one section definition, this is not allowed." % (CurrentSection, ItemList[0]),…
211 if CurrentSection.upper() not in self.KeyList:
212 RaiseParserError(Line, CurrentSection, Filename, '', LineNo)
[all …]
DDscClassObject.py1040 IfDefList, SectionItemList, CurrentSection, ArchList, ThirdList, IncludeFiles = \
1080 …self.InsertSectionItemsIntoDatabase(self.FileID, Filename, CurrentSection, SectionItemList, ArchLi…
1088 CurrentSection = ''
1092 if CurrentSection == '':
1093 CurrentSection = ItemList[0]
1095 if CurrentSection != ItemList[0]:
1096 …d '%s' are found in one section definition, this is not allowed." % (CurrentSection, ItemList[0]),…
1097 if CurrentSection.upper() not in self.KeyList:
1098 RaiseParserError(Line, CurrentSection, Filename, '', LineNo)
1099 CurrentSection = TAB_UNKNOWN
[all …]
DInfClassObject.py342 IfDefList, SectionItemList, CurrentSection, ArchList, ThirdList, IncludeFiles = \
381 Model = Section[CurrentSection.upper()]
385 …tSectionItemsIntoDatabase(self.TblInf, self.FileID, Filename, Model, CurrentSection, SectionItemLi…
393 CurrentSection = ''
397 if CurrentSection == '':
398 CurrentSection = ItemList[0]
400 if CurrentSection != ItemList[0]:
401 …d '%s' are found in one section definition, this is not allowed." % (CurrentSection, ItemList[0]),…
402 if CurrentSection.upper() not in self.KeyList:
403 RaiseParserError(Line, CurrentSection, Filename, '', LineNo)
[all …]
DParsing.py804 def InsertSectionItems(Model, CurrentSection, SectionItemList, ArchList, ThirdList, RecordSet): argument
842 def InsertSectionItemsIntoDatabase(Table, FileID, Filename, Model, CurrentSection, SectionItemList,… argument
862 … ParseDefine(LineValue, StartLine, Table, FileID, Filename, CurrentSection, Model, Arch)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DCheck.py438 CurrentSection = MODEL_UNKNOWN
461 if CurrentSection != MODEL_UNKNOWN:
469 CurrentSection = MODEL_IDENTIFIER_FILE_HEADER
480 … if (Line.startswith('#') and CurrentSection == MODEL_IDENTIFIER_FILE_HEADER) and\