Searched refs:Item (Results 1 - 25 of 130) sorted by relevance

123456

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/
H A DXmlParser.py133 for Item in self.DistP.Tools.GetFileList():
135 CheckDict = {'FileName':Item.GetURI(), }
150 for Item in self.DistP.MiscellaneousFiles.GetFileList():
152 CheckDict = {'FileName':Item.GetURI(), }
158 for Item in self.DistP.UserExtensions:
160 CheckDict = {'UserId':Item.GetUserID(), }
182 for Item in XmlList(self.Pkg, '/DistributionPackage/PackageSurfaceArea'):
184 Package = Psa.FromXml(Item, 'PackageSurfaceArea')
192 for Item in XmlList(self.Pkg, '/DistributionPackage/ModuleSurfaceArea'):
194 Module = Msa.FromXml(Item, 'ModuleSurfaceAre
[all...]
H A DModuleSurfaceAreaXml.py80 def FromXml(self, Item, Key):
86 for SubItem in XmlList(Item, '%s/Filename' % Key):
97 for AsBuiltItem in XmlList(Item, '%s/AsBuilt' % Key):
113 for SubItem in XmlList(Item, '%s/AsBuilt/LibraryInstances/GUID' % Key):
120 if XmlList(Item, '%s/AsBuilt/LibraryInstances' % Key) and not LibraryList:
124 for SubItem in XmlList(Item, '%s/AsBuilt/BuildFlags' % Key):
173 for Item in BuildFlag.GetAsBuildList():
175 Elem = CreateXmlElement('BuildFlags', ''.join(Item), [], [])
188 for Item in self.FileNames:
189 Str = Str + '\n\t' + str(Item)
[all...]
H A DPcdXml.py53 def FromXml(self, Item, Key):
54 self.ValidValueList = XmlElement(Item, '%s/ValidValueList' % Key)
56 XmlAttribute(XmlNode(Item, '%s/ValidValueList' % Key), 'Lang')
57 self.ValidValueRange = self.TransferValidEpxr2ValidRange(XmlElement(Item, '%s/ValidValueRange' % Key))
58 self.Expression = XmlElement(Item, '%s/Expression' % Key)
59 self.ErrorNumber = XmlElement(Item, '%s/ErrorNumber' % Key)
60 for ErrMsg in XmlList(Item, '%s/ErrorMessage' % Key):
98 for Item in PcdError.GetErrorMessageList():
100 CreateXmlElement('ErrorMessage', Item[1], [], [['Lang', Item[
[all...]
H A DPackageSurfaceAreaXml.py49 def FromXml(self, Item, Key):
50 self.HeaderFile = XmlElement(Item, '%s/HeaderFile' % Key)
51 for HelpTextItem in XmlList(Item, '%s/HelpText' % Key):
75 for Item in self.HelpText:
76 Str = Str + "\n\t" + str(Item)
87 def FromXml(self, Item, Key):
88 self.HeaderFile = XmlElement(Item, '%s/HeaderFile' % Key)
89 self.CommonDefines.FromXml(XmlNode(Item, '%s/HeaderFile' % Key), 'HeaderFile')
90 for HelpTextItem in XmlList(Item, '%s/HelpText' % Key):
113 for Item i
[all...]
H A DCommonXml.py55 def FromXml(self, Item, Key):
56 self.GUID = XmlElement(Item, '%s/GUID' % Key)
57 self.Version = XmlAttribute(XmlNode(Item, '%s/GUID' % Key), 'Version')
89 def FromXml(self, Item, Key):
92 self.Usage = XmlAttribute(Item, 'Usage')
94 [Arch for Arch in GetSplitValueList(XmlAttribute(Item, 'SupArchList'), DataType.TAB_SPACE_SPLIT) if Arch]
96 [Mod for Mod in GetSplitValueList(XmlAttribute(Item, 'SupModList'), DataType.TAB_SPACE_SPLIT) if Mod]
97 self.FeatureFlag = ConvertNOTEQToNE(XmlAttribute(Item, 'FeatureFlag'))
114 def FromXml(self, Item, Key):
117 self.Prompt = XmlElement2(Item, 'Promp
[all...]
H A DGuidProtocolPpiXml.py60 def FromXml(self, Item, Key):
61 self.UiName = XmlAttribute(XmlNode(Item, '%s' % Key), 'UiName')
62 self.GuidType = XmlAttribute(XmlNode(Item, '%s' % Key), 'GuidType')
63 self.Notify = XmlAttribute(XmlNode(Item, '%s' % Key), 'Notify')
64 self.CName = XmlElement(Item, '%s/CName' % Key)
65 self.GuidValue = XmlElement(Item, '%s/GuidValue' % Key)
66 self.VariableName = XmlElement(Item, '%s/VariableName' % Key)
67 self.CommonDefines.FromXml(XmlNode(Item, '%s' % Key), Key)
68 for HelpTextItem in XmlList(Item, '%s/HelpText' % Key):
99 for Item i
[all...]
/device/linaro/bootloader/edk2/ArmPkg/Application/LinuxLoader/
H A DLinuxLoaderEfiApp.c24 @param[out] Item Pointer to the allocated buffer where the
36 OUT CHAR16 **Item
80 *Item = Buffer;
88 @param[in] Item Command line item.
97 IN CONST CHAR16 *Item
100 return ((Item[0] == L'-') && (Item[2] == L'\0'));
162 CHAR16 *Item; local
196 Status = ExtractNextItem (&Walker, &Item);
198 if (!IsFlag (Item)) {
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
H A DException.py27 def FromXml(self, Item, Key):
28 self.KeyWord = XmlElement(Item, '%s/KeyWord' % Key)
29 self.ErrorID = XmlElement(Item, '%s/ErrorID' % Key)
30 self.FilePath = os.path.normpath(XmlElement(Item, '%s/FilePath' % Key))
42 for Item in XmlList(XmlContent, '/ExceptionList/Exception'):
44 Exp.FromXml(Item, 'Exception')
49 for Item in self.List:
50 #RtnList.append((Item.ErrorID, Item.KeyWord, Item
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
H A DInfSoucesObject.py36 def GenSourceInstance(Item, CurrentLineOfItem, ItemObj):
40 if len(Item) < 6 and len(Item) >= 1:
44 if len(Item) == 5:
48 if Item[4].strip() == '':
58 FeatureFlagRtv = IsValidFeatureFlagExp(Item[4].strip())
66 ItemObj.SetFeatureFlagExp(Item[4])
67 if len(Item) >= 4:
68 if Item[3].strip() == '':
69 ItemObj.SetToolCode(Item[
[all...]
H A DInfGuidObject.py244 for Item in GuidList:
249 if len(Item) == 3:
250 CommentsList = Item[1]
251 CurrentLineOfItem = Item[2]
252 Item = Item[0]
254 if len(Item) >= 1 and len(Item) <= 2:
258 if not IsValidCVariableName(Item[0]):
261 ST.ERR_INF_PARSER_INVALID_CNAME%(Item[
[all...]
H A DInfPpiObject.py59 # For the Last comment Item, set BlockFlag.
220 for Item in PpiList:
225 if len(Item) == 3:
226 CommentsList = Item[1]
227 CurrentLineOfItem = Item[2]
228 Item = Item[0]
230 if len(Item) >= 1 and len(Item) <= 2:
234 if not IsValidCVariableName(Item[
[all...]
H A DInfProtocolObject.py210 for Item in ProtocolContent:
215 if len(Item) == 3:
216 CommentsList = Item[1]
217 CurrentLineOfItem = Item[2]
219 Item = Item[0]
221 if len(Item) >= 1 and len(Item) <= 2:
225 if not IsValidCVariableName(Item[0]):
226 ErrorInInf(ST.ERR_INF_PARSER_INVALID_CNAME%(Item[
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
H A DInfBinarySectionTest.py261 for Item in SectionString:
262 ValueList = Item[0].split('|')
277 CurrentLine.SetLineString(Item[0])
278 CurrentLine.SetLineNo(Item[1])
308 for Item in UiStringList:
309 Ui = PrepareTest(Item)
310 if Item == SectionStringsUiItem4 or Item == SectionStringsUiItem5:
333 for Item in VerStringList:
334 Ver = PrepareTest(Item)
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
H A DInfDepexSectionParser.py80 for Item in self.LastSectionHeaderContent:
81 LastItem = Item
82 if (Item[1], Item[2], Item[3]) not in KeyList:
83 KeyList.append((Item[1], Item[2], Item[3]))
H A DInfLibrarySectionParser.py89 for Item in LibHeaderComments:
90 LineCommentContent += Item[0] + DT.END_OF_LINE
139 for Item in self.LastSectionHeaderContent:
140 if (Item[1], Item[2]) not in KeyList:
141 KeyList.append((Item[1], Item[2]))
148 Line=Item[3])
193 Item = ['', '', '']
194 for Item i
[all...]
H A DInfBinarySectionParser.py105 for Item in HeaderComments:
106 LineCommentContent += Item[0] + DT.END_OF_LINE
157 for Item in TokenList:
158 NewValueList.append(Item)
174 for Item in TokenList:
175 NewValueList.append(Item)
192 for Item in TokenList:
193 NewValueList.append(Item)
217 for Item in self.LastSectionHeaderContent:
218 if Item[
[all...]
H A DInfGuidPpiProtocolSectionParser.py110 for Item in self.LastSectionHeaderContent:
111 LineIndex = Item[3]
112 if Item[1] not in ArchList:
113 ArchList.append(Item[1])
195 for Item in self.LastSectionHeaderContent:
196 LineIndex = Item[3]
197 if Item[1] not in ArchList:
198 ArchList.append(Item[1])
232 for Item in self.LastSectionHeaderContent:
233 UserId = Item[
[all...]
H A DInfPcdSectionParser.py51 for Item in self.LastSectionHeaderContent:
52 if (Item[0], Item[1], Item[3]) not in KeysList:
53 KeysList.append((Item[0], Item[1], Item[3]))
54 LineIndex = Item[3]
56 if (Item[0].upper() == DT.TAB_INF_FIXED_PCD.upper() or \
57 Item[
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
H A DEdkIIWorkspaceBuild.py82 for Item in self.SkuInfoList.values():
83 Rtn = Rtn + 'SkuId=' + Item.SkuId + ', ' + 'SkuIdName=' + Item.SkuIdName
483 for Item in Platform.Header[Arch].SupArchList:
484 Tmp.add(Item)
488 for Item in Platform.Header[Arch].BuildTargets:
489 Tmp.add(Item)
498 for Item in Platform.LibraryClasses.LibraryList:
499 for Arch in Item.SupArchList:
500 self.AddToInfDatabase(Item
[all...]
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/
H A DGenCfgOpt.py692 for Item in self._CfgItemList:
693 if len(Item['subreg']) == 0:
696 if Item['value'][0] == '{':
697 binlist = Item['value'][1:-1].split(',')
706 if Item['value'].startswith('0x'):
707 value = int(Item['value'], 16)
709 value = int(Item['value'])
711 while idx < Item['length']:
715 for SubItem in Item['subreg']:
763 for Item i
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Table/
H A DTableDataModel.py74 for Item in DataClass.MODEL_LIST:
75 CrossIndex = Item[1]
76 Name = Item[0]
77 Description = Item[0]
92 for Item in self.Cur:
93 CrossIndex = Item[0]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/
H A DConsole.c216 UNICODE_WIDTH_ENTRY *Item; local
218 Item = NULL;
223 Item = &(mUnicodeWidthTable[Index]);
225 if (UnicodeChar <= Item->WChar) {
232 if (UnicodeChar > Item->WChar) {
245 return Item->Width;
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/
H A DDecPomAlignment.py200 for Item in UEList:
201 if not Item.UserString:
204 UserId = Item.UserId
208 Identifier = Item.IdString
215 self.GenMiscFiles(Item.UserString)
217 UserExtension.SetStatement(Item.UserString)
219 Item.ArchAndModuleType
263 for Item in DefObj.GetDefines():
270 if Item.Key in SkipItemList:
272 DefinesDict['%s = %s' % (Item
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
H A DInfParserLite.py59 for Item in SourceFileList:
60 self.TblInf.Insert(MODEL_EFI_SOURCE_FILE, Item, '', '', '', '', 'COMMON', -1, self.FileID, -1, -1, -1, -1, 0)
97 for Item in SectionItemList:
99 (Name, Value) = AddToSelfMacro(self.Macros, Item[0])
100 self.TblInf.Insert(MODEL_META_DATA_HEADER, Name, Value, Third, '', '', Arch, -1, self.FileID, Item[1], -1, Item[1], -1, 0)
130 for Item in LineList:
131 ItemList = GetSplitValueList(Item, TAB_SPLIT)
168 for Item in P.Macros:
169 print Item,
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/
H A DRsa2048Sha256GenerateKeys.py91 for Item in args.OutputFile:
95 args.PemFileName.append(Item.name)
96 Item.close()
101 Process = subprocess.Popen('%s genrsa -out %s 2048' % (OpenSslCommand, Item.name), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
111 for Item in args.InputFile:
115 args.PemFileName.append(Item.name)
116 Item.close()
119 for Item in args.PemFileName:
123 Process = subprocess.Popen('%s rsa -in %s -modulus -noout' % (OpenSslCommand, Item), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
155 for Item i
[all...]

Completed in 515 milliseconds

123456