Home
last modified time | relevance | path

Searched refs:ModuleType (Results 1 – 25 of 59) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_module.py6 ModuleType = type(sys) variable
12 foo = ModuleType.__new__(ModuleType)
20 self.assertEqual(foo.__doc__, ModuleType.__doc__)
24 foo = ModuleType("foo")
31 foo = ModuleType("foo", "foodoc")
39 foo = ModuleType("foo", u"foodoc\u1234")
47 foo = ModuleType("foo", u"foodoc\u1234")
62 foo = ModuleType("foo")
70 m = ModuleType("foo")
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
DInfDepexObject.py47 self.ModuleType = ''
69 self.ModuleType = Type
71 return self.ModuleType
97 ModuleType = KeyItem[1]
115 if ModuleType and ModuleType != 'COMMON':
116 if ModuleType in DT.VALID_DEPEX_MODULE_TYPE_LIST:
117 InfDepexItemIns.SetModuleType(ModuleType)
121 ST.ERR_INF_PARSER_DEPEX_SECTION_MODULE_TYPE_ERROR % (ModuleType),
DInfDefineObject.py188 self.ModuleType = None
273 def SetModuleType(self, ModuleType, Comments): argument
277 if self.ModuleType != None:
285 if (IsValidInfMoudleType(ModuleType)):
286 self.ModuleType = InfDefMember()
287 self.ModuleType.SetValue(ModuleType)
288 self.ModuleType.CurrentLine = CurrentLine()
289 self.ModuleType.CurrentLine.SetLineNo(self.CurrentLine[1])
290 self.ModuleType.CurrentLine.SetLineString(self.CurrentLine[2])
291 self.ModuleType.CurrentLine.SetFileName(self.CurrentLine[0])
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DWorkspaceCommon.py79 ModuleType = Module.ModuleType
89 if Module.ModuleType != SUP_MODULE_USER_DEFINED:
91 … if LibraryClass.startswith("NULL") and Platform.LibraryClasses[LibraryClass, Module.ModuleType]:
92 … Module.LibraryClasses[LibraryClass] = Platform.LibraryClasses[LibraryClass, Module.ModuleType]
113 LibraryPath = Platform.LibraryClasses[LibraryClassName, ModuleType]
122 … LibraryModule.LibraryClass.append(LibraryClassObject(LibraryClassName, [ModuleType]))
125 or (ModuleType != 'USER_DEFINED'
126 and ModuleType not in LibraryModule.LibraryClass[0].SupModList):
DWorkspaceDatabase.py666 LibraryClass, LibraryInstance, Dummy, Arch, ModuleType, Dummy, LineNo = Record
679 if ModuleType != 'COMMON' and ModuleType not in SUP_MODULE_LIST:
680 … EdkLogger.error('build', OPTION_UNKNOWN, "Unknown module type [%s]" % ModuleType,
682 LibraryClassDict[Arch, ModuleType, LibraryClass] = LibraryInstance
690 for ModuleType in SUP_MODULE_LIST:
691 LibraryInstance = LibraryClassDict[self._Arch, ModuleType, LibraryClass]
694 self._LibraryClasses[LibraryClass, ModuleType] = LibraryInstance
810 def GetBuildOptionsByModuleType(self, Edk, ModuleType): argument
813 if (Edk, ModuleType) not in self._ModuleTypeOptions:
815 self._ModuleTypeOptions[Edk, ModuleType] = options
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_loader.py87 m = types.ModuleType('m')
104 m = types.ModuleType('m')
115 m = types.ModuleType('m')
154 m = types.ModuleType('m')
177 m = types.ModuleType('m')
353 m = types.ModuleType('m')
367 m = types.ModuleType('m')
383 m = types.ModuleType('m')
398 m = types.ModuleType('m')
419 m = types.ModuleType('m')
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DFfsInfStatement.py88 … if '.depex' not in self.FinalTargetSuffixMap and self.InfModule.ModuleType != "USER_DEFINED" \
90 ModuleType = self.InfModule.ModuleType
93 if ModuleType != DataType.SUP_MODULE_USER_DEFINED:
95 … if LibraryClass.startswith("NULL") and PlatformDataBase.LibraryClasses[LibraryClass, ModuleType]:
96 ….InfModule.LibraryClasses[LibraryClass] = PlatformDataBase.LibraryClasses[LibraryClass, ModuleType]
113 for Dep in Module.Depex[self.CurrentArch, ModuleType]:
129 LibraryPath = PlatformDataBase.LibraryClasses[LibName, ModuleType]
138 Dpx = DependencyExpression(DepexList, ModuleType, True)
192 self.ModuleType = Inf.ModuleType
196 self.ModuleType = Inf.ComponentType
[all …]
DDepexSection.py102 ModuleType = 'PEIM'
105 ModuleType = 'DXE_DRIVER'
108 ModuleType = 'DXE_SMM_DRIVER'
116 Depex = DependencyExpression(self.Expression, ModuleType)
DGenFdsGlobalVariable.py144 Macro["MODULE_TYPE" ] = Inf.ModuleType
177 if Inf.ModuleType != Inf.BuildType:
178 … RuleObject = BuildRuleDatabase[Type, Inf.ModuleType, Arch, GenFdsGlobalVariable.BuildRuleFamily]
184 if Inf.ModuleType != Inf.BuildType:
185 … RuleObject = BuildRuleDatabase[Type, Inf.ModuleType, Arch, GenFdsGlobalVariable.ToolChainFamily]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/
DInfPomAlignment.py194 ModuleType = DefineObj.GetModuleType().GetValue()
195 if ModuleType:
200 if len(DefineObj.LibraryClass) == 0 and ModuleType == 'BASE':
205 Line=DefineObj.ModuleType.CurrentLine.LineNo,
206 ExtraData=DefineObj.ModuleType.CurrentLine.LineString)
207 self.LibModuleTypeList.append(ModuleType)
723 ModuleType = Depex.GetModuleType()
726 if self.GetModuleType() == 'BASE' and not ModuleType:
733 … if self.GetModuleType() != 'BASE' and ModuleType and ModuleType not in self.GetIsLibraryModList():
736 if ModuleType:
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DGenDepex.py128 def __init__(self, Expression, ModuleType, Optimize=False): argument
129 self.ModuleType = ModuleType
130 self.Phase = gType2Phase[ModuleType]
287 if self.ModuleType == 'PEIM' and len(NewOperand) == 1 and NewOperand[0] == 'TRUE':
292 …if self.ModuleType in ['UEFI_DRIVER', 'DXE_DRIVER', 'DXE_RUNTIME_DRIVER', 'DXE_SAL_DRIVER', 'DXE_S…
408 if Option.ModuleType == None or Option.ModuleType not in gType2Phase:
424 Dpx = DependencyExpression(DxsString, Option.ModuleType, Option.Optimize)
DGenC.py1257 if Lib.ModuleType in ['BASE', 'SEC']:
1260 elif Lib.ModuleType in ['PEI_CORE','PEIM']:
1263 elif Lib.ModuleType in ['DXE_CORE','DXE_DRIVER','DXE_SMM_DRIVER','DXE_RUNTIME_DRIVER',
1285 if Info.ModuleType in ['BASE', 'SEC']:
1287 elif Info.ModuleType in ['PEI_CORE','PEIM']:
1289 elif Info.ModuleType in ['DXE_CORE','DXE_DRIVER','DXE_SMM_DRIVER','DXE_RUNTIME_DRIVER',
1314 if Lib.ModuleType in ['BASE', 'SEC']:
1317 elif Lib.ModuleType in ['PEI_CORE','PEIM']:
1320 elif Lib.ModuleType in ['DXE_CORE','DXE_DRIVER','DXE_SMM_DRIVER','DXE_RUNTIME_DRIVER',
1342 if Info.ModuleType in ['BASE', 'SEC']:
[all …]
DAutoGen.py1306 if M.ModuleType in ["PEIM", "PEI_CORE"]:
1351 if M.ModuleType in ["PEIM", "PEI_CORE"]:
1959 ModuleType = Module.ModuleType
1969 if Module.ModuleType != SUP_MODULE_USER_DEFINED:
1971 … LibraryClass.startswith("NULL") and self.Platform.LibraryClasses[LibraryClass, Module.ModuleType]:
1972 …Module.LibraryClasses[LibraryClass] = self.Platform.LibraryClasses[LibraryClass, Module.ModuleType]
1995 LibraryPath = self.Platform.LibraryClasses[LibraryClassName, ModuleType]
2007 … LibraryModule.LibraryClass.append(LibraryClassObject(LibraryClassName, [ModuleType]))
2010 or (ModuleType != 'USER_DEFINED'
2011 and ModuleType not in LibraryModule.LibraryClass[0].SupModList):
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DEdkIIWorkspaceBuild.py176 self.ModuleType = ''
583 for ModuleType in SupModuleList:
584 Pb.LibraryClasses[(Item.Name, ModuleType)] = Item.FilePath
740 Pb.ModuleType = ModuleHeader.ModuleType
874 … Instance = self.FindLibraryClassInstanceOfModule(Lib, Arch, Pb.ModuleType, Inf)
877 Pb.LibraryClasses[(Lib, Pb.ModuleType)] = Instance
930 ModuleType = Module.ModuleType
949 if (LibraryName, ModuleType) not in Module.LibraryClasses:
950 Module.LibraryClasses[LibraryName, ModuleType] = LibraryFile
967 if ModuleType != "USER_DEFINED" and ModuleType not in Key:
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/POM/
DModuleObject.py102 self.ModuleType = ''
145 def SetModuleType(self, ModuleType): argument
146 self.ModuleType = ModuleType
149 return self.ModuleType
436 def SetModuleType(self, ModuleType): argument
437 self.ModuelType = ModuleType
DCommonObject.py819 self.ModuleType = ''
830 def SetModuleType(self, ModuleType): argument
831 self.ModuleType = ModuleType
834 return self.ModuleType
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DGenFw.c1059 char *ModuleType; in main() local
1127 ModuleType = NULL; in main()
1201 ModuleType = argv[1]; in main()
1511 VerboseMsg ("Create efi image on module type %s based on the input PE image.", ModuleType); in main()
1987 if (ModuleType == NULL) { in main()
1999 if (stricmp (ModuleType, "BASE") == 0 || in main()
2000 stricmp (ModuleType, "SEC") == 0 || in main()
2001 stricmp (ModuleType, "SECURITY_CORE") == 0 || in main()
2002 stricmp (ModuleType, "PEI_CORE") == 0 || in main()
2003 stricmp (ModuleType, "PEIM") == 0 || in main()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dnew.py15 from types import ModuleType as module
Dtypes.py62 ModuleType = type(sys) variable
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DParserValidate.py100 for ModuleType in ModuleTypeList:
101 return IsValidInfMoudleType(ModuleType)
107 def IsValidInfMoudleType(ModuleType): argument
108 if ModuleType in MODULE_LIST:
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
DBuildReport.py307 LibDepexList = Lib.DepexExpression[M.Arch, M.ModuleType]
373 ModuleType = M.ModuleType
374 if not ModuleType:
375 ModuleType = gComponentType2ModuleType.get(M.ComponentType, "")
377 if ModuleType in ["SEC", "PEI_CORE", "DXE_CORE", "SMM_CORE", "UEFI_APPLICATION"]:
388 self.Depex = M.DepexExpressionList.get(M.ModuleType, "")
389 self.ModuleDepex = " ".join(M.Module.DepexExpression[M.Arch, M.ModuleType])
395 LibDepex = " ".join(Lib.DepexExpression[M.Arch, M.ModuleType]).strip()
541 ModuleType = M.ModuleType
542 if not ModuleType:
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/CommonDataClass/
DPlatformClass.py331 self.ModuleType = []
382 self.ModuleType = ''
DPackageClass.py70 self.ModuleType = []
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dtypes.py62 ModuleType = type(sys) variable
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DSdramSpdLpDdr.h49 UINT8 ModuleType : 4; ///< Bits 3:0 member
388 SPD_LPDDR_MODULE_TYPE_STRUCT ModuleType; ///< 3 Module Type member

123