/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/ |
PackageSurfaceAreaXml.py | 180 for SubItem in XmlList(Item, '/PackageSurfaceArea/LibraryClassDeclarations/LibraryClass'):
182 LibraryClass = Tmp.FromXml(SubItem, 'LibraryClass')
192 for SubItem in XmlList(Item, '/PackageSurfaceArea/IndustryStandardIncludes/IndustryStandardHeader'):
194 Include = Tmp.FromXml(SubItem, 'IndustryStandardHeader')
205 for SubItem in XmlList(Item, '/PackageSurfaceArea/PackageIncludes/PackageHeader'):
207 Include = Tmp.FromXml(SubItem, 'PackageHeader')
217 for SubItem in XmlList(Item, '/PackageSurfaceArea/GuidDeclarations/Entry'):
219 GuidProtocolPpi = Tmp.FromXml(SubItem, 'Entry')
229 for SubItem in XmlList(Item, '/PackageSurfaceArea/ProtocolDeclarations/Entry'):
231 GuidProtocolPpi = Tmp.FromXml(SubItem, 'Entry') [all...] |
CommonXml.py | 176 for SubItem in XmlList(Item, '%s/Abstract' % Key):
177 HeaderAbstractLang = XmlAttribute(SubItem, 'Lang')
178 self.AbstractList.append((HeaderAbstractLang, XmlElement(SubItem, '%s/Abstract' % Key)))
179 for SubItem in XmlList(Item, '%s/Description' % Key):
180 HeaderDescriptionLang = XmlAttribute(SubItem, 'Lang')
181 self.DescriptionList.append((HeaderDescriptionLang, XmlElement(SubItem, '%s/Description' % Key)))
182 for SubItem in XmlList(Item, '%s/Copyright' % Key):
183 HeaderCopyrightLang = XmlAttribute(SubItem, 'Lang')
184 self.CopyrightList.append((HeaderCopyrightLang, XmlElement(SubItem, '%s/Copyright' % Key)))
185 for SubItem in XmlList(Item, '%s/License' % Key): [all...] |
ModuleSurfaceAreaXml.py | 86 for SubItem in XmlList(Item, '%s/Filename' % Key):
88 Bxml = Axml.FromXml(SubItem, 'Filename')
101 for SubItem in XmlList(AsBuiltItem, 'AsBuilt/PatchPcdValue'):
103 Bxml = Axml.FromXml(SubItem, 'PatchPcdValue')
107 for SubItem in XmlList(AsBuiltItem, 'AsBuilt/PcdExValue'):
109 Bxml = Axml.FromXml(SubItem, 'PcdExValue')
113 for SubItem in XmlList(Item, '%s/AsBuilt/LibraryInstances/GUID' % Key):
115 GUID = XmlElement(SubItem, 'GUID')
116 Version = XmlAttribute(XmlNode(SubItem, 'GUID'), 'Version')
124 for SubItem in XmlList(Item, '%s/AsBuilt/BuildFlags' % Key): [all...] |
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/ |
GenCfgOpt.py | 715 for SubItem in Item['subreg']:
716 if SubItem['length'] in (1,2,4,8):
717 valuelist = [b for b in bytearray[SubItem['offset']:SubItem['offset']+SubItem['length']]]
720 SubItem['value'] = '0x%s' % valuestr
722 valuestr = ",".join('0x%02X' % b for b in bytearray[SubItem['offset']:SubItem['offset']+SubItem['length']])
723 SubItem['value'] = '{%s}' % valuestr [all...] |
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/ |
GenCfgOpt.py | 714 def GetBsfBitFields (self, subitem, bytes):
715 start = subitem['bitoffset']
716 end = start + subitem['bitlength']
721 print "Invalid bits offset [%d,%d] for %s" % (start, end, subitem['name'])
750 for SubItem in Item['subreg']:
751 valuestr = self.GetBsfBitFields(SubItem, bytearray)
752 SubItem['value'] = valuestr
[all...] |