HomeSort by relevance Sort by last modified time
    Searched refs:CurrentSection (Results 1 - 10 of 10) sorted by null

  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
InfParserLite.py 85 # @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, ItemList[0]), File=Filename, Line=LineNo)
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
InfParser.py 123 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) and\
250 CurrentSection = DT.MODEL_META_DATA_FILE_HEADER
273 if (Line.startswith(DT.TAB_COMMENT_SPLIT) and CurrentSection == DT.MODEL_META_DATA_FILE_HEADER) and\
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)
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
FvLib.c 426 EFI_FILE_SECTION_POINTER CurrentSection;
435 CurrentSection = FirstSection;
437 while ((UINTN) CurrentSection.CommonHeader < (UINTN) SearchEnd) {
438 if (CurrentSection.CommonHeader->Type == SectionType) {
443 *Section = CurrentSection;
452 if (CurrentSection.CommonHeader->Type == EFI_SECTION_GUID_DEFINED) {
453 if (GetLength(CurrentSection.CommonHeader->Size) == 0xffffff) {
454 GuidSecAttr = CurrentSection.GuidDefinedSection2->Attributes;
455 GuidDataOffset = CurrentSection.GuidDefinedSection2->DataOffset;
457 GuidSecAttr = CurrentSection.GuidDefinedSection->Attributes;
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
FvLib.c 427 EFI_FILE_SECTION_POINTER CurrentSection;
432 CurrentSection = FirstSection;
434 while ((UINTN) CurrentSection.CommonHeader < (UINTN) SearchEnd) {
435 if (CurrentSection.CommonHeader->Type == SectionType) {
440 *Section = CurrentSection;
450 CurrentSection.CommonHeader->Type == EFI_SECTION_GUID_DEFINED &&
451 !(CurrentSection.GuidDefinedSection->Attributes & EFI_GUIDED_SECTION_PROCESSING_REQUIRED)) {
453 ((UINTN) CurrentSection.CommonHeader + CurrentSection.GuidDefinedSection->DataOffset);
454 SectionSize = CurrentSection.CommonHeader->Size[0] +
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DecClassObject.py 152 IfDefList, SectionItemList, CurrentSection, ArchList, ThirdList, IncludeFiles = \
192 Model = Section[CurrentSection.upper()]
193 InsertSectionItemsIntoDatabase(self.TblDec, self.FileID, Filename, Model, CurrentSection, SectionItemList, ArchList, ThirdList, IfDefList, self.RecordSet)
202 CurrentSection = ''
206 if CurrentSection == '':
207 CurrentSection = ItemList[0]
209 if CurrentSection != ItemList[0]:
210 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)
211 if CurrentSection.upper() not in self.KeyList:
212 RaiseParserError(Line, CurrentSection, Filename, '', LineNo)
    [all...]
DscClassObject.py     [all...]
InfClassObject.py 342 IfDefList, SectionItemList, CurrentSection, ArchList, ThirdList, IncludeFiles = \
381 Model = Section[CurrentSection.upper()]
385 InsertSectionItemsIntoDatabase(self.TblInf, self.FileID, Filename, Model, CurrentSection, SectionItemList, ArchList, ThirdList, IfDefList, self.RecordSet)
393 CurrentSection = ''
397 if CurrentSection == '':
398 CurrentSection = ItemList[0]
400 if CurrentSection != ItemList[0]:
401 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)
402 if CurrentSection.upper() not in self.KeyList:
403 RaiseParserError(Line, CurrentSection, Filename, '', LineNo)
    [all...]
Parsing.py     [all...]
  /external/llvm/lib/MC/MCParser/
ELFAsmParser.cpp 513 MCSectionSubPair CurrentSection = getStreamer().getCurrentSection();
515 cast_or_null<MCSectionELF>(CurrentSection.first))
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
Check.py 438 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\
    [all...]

Completed in 370 milliseconds