Home
last modified time | relevance | path

Searched refs:Dict (Results 1 – 25 of 48) sorted by relevance

12

/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DGenPcdDb.py700 def BuildExDataBase(Dict): argument
702 InitValueUint64 = Dict['INIT_DB_VALUE_UINT64']
704 VardefValueUint64 = Dict['VARDEF_DB_VALUE_UINT64']
706 InitValueUint32 = Dict['INIT_DB_VALUE_UINT32']
708 VardefValueUint32 = Dict['VARDEF_DB_VALUE_UINT32']
710 VpdHeadValue = Dict['VPD_DB_VALUE']
712 …ExMapTable = zip(Dict['EXMAPPING_TABLE_EXTOKEN'], Dict['EXMAPPING_TABLE_LOCAL_TOKEN'], Dict['EXMAP…
714 LocalTokenNumberTable = Dict['LOCAL_TOKEN_NUMBER_DB_VALUE']
716 GuidTable = Dict['GUID_STRUCTURE']
718 StringHeadValue = Dict['STRING_DB_VALUE']
[all …]
DGenC.py1214 Dict = {'Function':Lib.ConstructorList}
1216 ConstructorPrototypeString.Append(gLibraryStructorPrototype['BASE'].Replace(Dict))
1217 ConstructorCallingString.Append(gLibraryStructorCall['BASE'].Replace(Dict))
1219 ConstructorPrototypeString.Append(gLibraryStructorPrototype['PEI'].Replace(Dict))
1220 ConstructorCallingString.Append(gLibraryStructorCall['PEI'].Replace(Dict))
1223 ConstructorPrototypeString.Append(gLibraryStructorPrototype['DXE'].Replace(Dict))
1224 ConstructorCallingString.Append(gLibraryStructorCall['DXE'].Replace(Dict))
1235 Dict = {
1241 AutoGenH.Append("${BEGIN}${FunctionPrototype}${END}", Dict)
1244 AutoGenC.Append(gLibraryString['BASE'].Replace(Dict))
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DDictionary.py56 def printDict(Dict): argument
57 if Dict != None:
58 KeyList = Dict.keys()
60 if Dict[Key] != '':
61 print Key + ' = ' + str(Dict[Key])
DTargetTxtClassObject.py146 def printDict(Dict): argument
147 if Dict != None:
148 KeyList = Dict.keys()
150 if Dict[Key] != '':
151 print Key + ' = ' + str(Dict[Key])
DString.py101 def MergeArches(Dict, Key, Arch): argument
102 if Key in Dict.keys():
103 Dict[Key].append(Arch)
105 Dict[Key] = Arch.split()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DDataSection.py51 def GenSection(self, OutputPath, ModuleName, SecNum, keyStringList, FfsFile = None, Dict = {}): argument
57 … self.SectFileName = GenFdsGlobalVariable.MacroExtend(self.SectFileName, Dict, FfsFile.CurrentArch)
60 self.SectFileName = GenFdsGlobalVariable.MacroExtend(self.SectFileName, Dict)
98 [GenFdsGlobalVariable.MacroExtend(self.SectFileName, Dict)],
107 [GenFdsGlobalVariable.MacroExtend(self.SectFileName, Dict)],
DAprioriSection.py50 def GenFfs (self, FvName, Dict = {}): argument
68 Dict.update(self.DefineVarDict)
78 Dict['$(ARCH)'] = Arch
79 InfFileName = GenFdsGlobalVariable.MacroExtend(InfFileName, Dict, Arch)
DFfsFileStatement.py57 def GenFfs(self, Dict = {}, FvChildAddr=[], FvParentAddr=None): argument
76 Dict.update(self.DefineVarDict)
97 SectionFiles = [GenFdsGlobalVariable.MacroExtend(self.FileName, Dict)]
117 …ist, align = section.GenSection(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict)
DCompressSection.py56 def GenSection(self, OutputPath, ModuleName, SecNum, KeyStringList, FfsInf = None, Dict = {}): argument
67 …ctList, AlignValue = Sect.GenSection(OutputPath, ModuleName, SecIndex, KeyStringList, FfsInf, Dict)
DUiSection.py51 def GenSection(self, OutputPath, ModuleName, SecNum, KeyStringList, FfsInf=None, Dict={}): argument
66 FileNameStr = GenFdsGlobalVariable.MacroExtend(FileNameStr, Dict)
DVerSection.py51 def GenSection(self, OutputPath, ModuleName, SecNum, KeyStringList, FfsInf=None, Dict={}): argument
71 FileNameStr = GenFdsGlobalVariable.MacroExtend(FileNameStr, Dict)
DFvImageSection.py53 def GenSection(self, OutputPath, ModuleName, SecNum, KeyStringList, FfsInf = None, Dict = {}): argument
76 FvFileName = Fv.AddToBuffer(Buffer, self.FvAddr, MacroDict = Dict)
DEfiSection.py56 def GenSection(self, OutputPath, ModuleName, SecNum, KeyStringList, FfsInf = None, Dict = {}) : argument
83 Filename = GenFdsGlobalVariable.MacroExtend(Filename, Dict)
95 … FileList, IsSect = Section.Section.GetFileList(FfsInf, self.FileType, self.FileExtension, Dict)
227 File = GenFdsGlobalVariable.MacroExtend(File, Dict)
DSection.py99 def GenSection(self, OutputPath, GuidName, SecNum, keyStringList, FfsInf = None, Dict = {}): argument
113 def GetFileList(FfsInf, FileType, FileExtension, Dict = {}): argument
DOptRomFileStatement.py42 def GenFfs(self, Dict = {}): argument
DGuidSection.py56 def GenSection(self, OutputPath, ModuleName, SecNum, KeyStringList, FfsInf=None, Dict={}): argument
96 …urnSectList, align = Sect.GenSection(OutputPath, ModuleName, SecIndex, KeyStringList, FfsInf, Dict)
DGenFdsGlobalVariable.py649 Dict = {'$(WORKSPACE)' : GenFdsGlobalVariable.WorkSpaceDir,
660 Dict['$(OUTPUT_DIRECTORY)'] = OutputDir
663 Dict.update(MacroDict)
665 for key in Dict.keys():
667 Str = Str.replace (key, Dict[key])
DDepexSection.py79 def GenSection(self, OutputPath, ModuleName, SecNum, keyStringList, FfsFile = None, Dict = {}): argument
DFfsInfStatement.py150 def __InfParse__(self, Dict = {}): argument
404 def GenFfs(self, Dict = {}, FvChildAddr = [], FvParentAddr=None): argument
409 self.__InfParse__(Dict)
728 File = GenFdsGlobalVariable.MacroExtend(File, Dict, self.CurrentArch)
767 … GenSecInputFile = GenFdsGlobalVariable.MacroExtend(GenSecInputFile, Dict, self.CurrentArch)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dfixcid.py243 if Dict.has_key(found):
244 subst = Dict[found]
274 Dict = {} variable
307 if Dict.has_key(key):
309 err('%s:%r: warning: previous: %r\n' % (substfile, lineno, Dict[key]))
310 Dict[key] = value
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DSetup.py31 from Dict import *
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/
DGenInfFile.py743 Dict = Sdict()
783 if (Statement, SortedArch) in Dict:
784 PreviousComment = Dict[Statement, SortedArch]
786 Dict[Statement, SortedArch] = Comment
787 NewSectionDict = GenMetaFileMisc.TransferDict(Dict, 'INF_PPI_PROTOCOL')
819 Dict = ItemTypeDict[ItemType]
821 Dict = Sdict()
822 ItemTypeDict[ItemType] = Dict
858 if (Statement, SortedArch) in Dict:
859 PreviousComment = Dict[Statement, SortedArch]
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/
DCommonXml.py758 Dict = {}
780 Dict[DictKey] = ValueList
781 return Dict
783 def ToXml(self, Dict, Key): argument
787 for Item in Dict:
788 ValueList = Dict[Item]
825 Dict = {}
851 Dict[DictKey] = ValueList
852 return Dict
854 def ToXml(self, Dict, Key): argument
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
Dc.py855 Dict = ComplexTypeDict.get(FullFileName)
856 if Dict != None:
857 return Dict
868 Dict = {}
871 Dict[Result[1]] = Result[2]
888 Dict[Result[1]] = Result[2]
891 Dict[Result[1]] = 'VOID'
893 Dict[Result[1]] = GetDataTypeFromModifier(Result[0])
895 ComplexTypeDict[FullFileName] = Dict
896 return Dict
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DString.py58 def MergeArches(Dict, Key, Arch): argument
59 if Key in Dict.keys():
60 Dict[Key].append(Arch)
62 Dict[Key] = Arch.split()

12