Home
last modified time | relevance | path

Searched refs:ItemList (Results 1 – 16 of 16) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfSectionParser.py66 def GetSpecialStr2(ItemList, FileName, LineNo, SectionString): argument
71 if len(ItemList) == 3:
77 if not (ItemList[0].upper() == DT.TAB_LIBRARY_CLASSES.upper() or \
78 ItemList[0].upper() == DT.TAB_DEPEX.upper() or \
79 ItemList[0].upper() == DT.TAB_USER_EXTENSIONS.upper()):
80 if ItemList[2] != '':
87 Str2 = ItemList[2]
88 elif len(ItemList) == 4:
94 …if not ItemList[0].upper() == DT.TAB_USER_EXTENSIONS.upper() or ItemList[0].upper() == DT.TAB_DEPE…
95 if ItemList[3] != '':
[all …]
DDecParser.py992 ItemList = GetSplitValueList(Item, DT.TAB_SPLIT)
996 SectionName = ItemList[0]
1005 if len(ItemList) > 2:
1013 if len(ItemList) > 1:
1014 Str1 = ItemList[1]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DInfParserLite.py131 ItemList = GetSplitValueList(Item, TAB_SPLIT)
133 CurrentSection = ItemList[0]
135 if CurrentSection != ItemList[0]:
136 …und in one section definition, this is not allowed." % (CurrentSection, ItemList[0]), File=Filenam…
137 ItemList.append('')
138 ItemList.append('')
139 if len(ItemList) > 5:
142 ArchList.append(ItemList[1].upper())
143 ThirdList.append(ItemList[2])
DReport.py142 ItemList = DepexString.split(' ')
144 for Item in ItemList:
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DDecClassObject.py205 ItemList = GetSplitValueList(Item, TAB_SPLIT)
207 CurrentSection = ItemList[0]
209 if CurrentSection != ItemList[0]:
210 …und in one section definition, this is not allowed." % (CurrentSection, ItemList[0]), File=Filenam…
213 ItemList.append('')
214 ItemList.append('')
215 if len(ItemList) > 5:
218 if ItemList[1] != '' and ItemList[1].upper() not in ARCH_LIST_FULL:
219 …er.error("Parser", PARSER_ERROR, "Invalid Arch definition '%s' found" % ItemList[1], File=Filename…
220 ArchList.append(ItemList[1].upper())
[all …]
DParsing.py275 ItemList = GetSplitValueList((Item[0] + DataType.TAB_VALUE_SPLIT * 2))
278 if len(ItemList) > 5:
281 CheckFileType(ItemList[1], '.Inf', ContainerFile, 'LibraryClasses', Item[0], LineNo)
282 CheckFileExist(WorkspaceDir, ItemList[1], ContainerFile, 'LibraryClasses', Item[0], LineNo)
283 if ItemList[2] != '':
284 CheckPcdTokenInfo(ItemList[2], 'LibraryClasses', ContainerFile, LineNo)
288 return (ItemList[0], ItemList[1], ItemList[2], SupMod)
DInfClassObject.py396 ItemList = GetSplitValueList(Item, TAB_SPLIT)
398 CurrentSection = ItemList[0]
400 if CurrentSection != ItemList[0]:
401 …und in one section definition, this is not allowed." % (CurrentSection, ItemList[0]), File=Filenam…
406 ItemList.append('')
407 ItemList.append('')
408 if len(ItemList) > 5:
411 if ItemList[1] != '' and ItemList[1].upper() not in ARCH_LIST_FULL:
412 …er.error("Parser", PARSER_ERROR, "Invalid Arch definition '%s' found" % ItemList[1], File=Filename…
413 ArchList.append(ItemList[1].upper())
[all …]
DDscClassObject.py1086 ItemList = GetSplitValueList(Item, TAB_SPLIT)
1088 CurrentSection = ItemList[0]
1090 if CurrentSection != ItemList[0]:
1091 …und in one section definition, this is not allowed." % (CurrentSection, ItemList[0]), File=Filenam…
1096 ItemList.append('')
1097 ItemList.append('')
1098 if len(ItemList) > 5:
1101 if ItemList[1] != '' and ItemList[1].upper() not in ARCH_LIST_FULL:
1102 …er.error("Parser", PARSER_ERROR, "Invalid Arch definition '%s' found" % ItemList[1], File=Filename…
1103 ArchList.append(ItemList[1].upper())
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
DInfBinarySectionTest.py260 ItemList = []
281 ItemList.append((ValueList, InfLineCommentObject, CurrentLine))
283 return ItemList
DDecParserUnitTest.py127 self.ItemList = []
140 self.ItemObject.ItemList.append(Item)
193 self.assertEqual(len(data.ItemList), 3)
195 dataitem = data.ItemList[0]
204 dataitem = data.ItemList[1]
213 dataitem = data.ItemList[2]
224 self.assertEqual(len(data.ItemList), 1)
226 dataitem = data.ItemList[0]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DParsing.py106 ItemList = GetSplitValueList((Item[0] + DataType.TAB_VALUE_SPLIT * 2))
109 if len(ItemList) > 5:
115 CheckFileType(ItemList[1], '.Inf', ContainerFile, 'LibraryClasses', \
117 CheckFileExist(WorkspaceDir, ItemList[1], ContainerFile, \
119 if ItemList[2] != '':
120 CheckPcdTokenInfo(ItemList[2], 'LibraryClasses', \
125 return (ItemList[0], ItemList[1], ItemList[2], SupMod)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DMetaFileParser.py288 ItemList = GetSplitValueList(Item, TAB_SPLIT,2)
290 if self._SectionName != '' and self._SectionName != ItemList[0].upper():
293 self._SectionName = ItemList[0].upper()
297 if self._SectionName not in SECTIONS_HAVE_ITEM_AFTER_ARCH and len(ItemList) > 3:
307 if len(ItemList) > 1:
308 S1 = ItemList[1].upper()
314 if len(ItemList) > 2:
316 S2 = ItemList[2]
318 S2 = ItemList[2].upper()
1717 ItemList = Item.split(TAB_SPLIT)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
DDecObject.py577 self.ItemList = []
589 self.ItemList.append(Item)
594 return self.ItemList
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
DMetaFileParser.py291 ItemList = GetSplitValueList(Item, TAB_SPLIT)
293 if self._SectionName != '' and self._SectionName != ItemList[0].upper():
296 self._SectionName = ItemList[0].upper()
304 if len(ItemList) > 1:
305 S1 = ItemList[1].upper()
310 if len(ItemList) > 2:
311 S2 = ItemList[2].upper()
1637 ItemList = GetSplitValueList(Item, TAB_SPLIT)
1640 self._SectionName = ItemList[0].upper()
1659 if len(ItemList) > 1:
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
DBuildReport.py887 self.ItemList = []
1048 self.ItemList.append((Phase, Symbol, FilePath))
1064 if len(self.ItemList) == 0:
1075 for Item in self.ItemList:
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DFdfParser.py528 ItemList = Section.split('.')
529 Item = ItemList[0]
535 elif Item == 'VTF' and len(ItemList) == 3:
536 UiName = ItemList[2]
540 self.__CurSection = ['VTF', UiName, ItemList[1]]
541 elif len(ItemList) > 1:
542 self.__CurSection = [ItemList[0], ItemList[1], 'COMMON']
543 elif len(ItemList) > 0:
544 self.__CurSection = [ItemList[0], 'DUMMY', 'COMMON']