Lines Matching refs:Name

34 # @param Name:               Input value for Name of Pcd, default is None
55 def __init__(self, Name = None, Guid = None, Type = None, DatumType = None, Value = None, Token = None, MaxDatumSize = None, SkuInfoList = {}, IsOverrided = False):
56 self.TokenCName = Name
112 # @param Name: Input value for LibraryClassName, default is None
121 def __init__(self, Name = None, SupModList = [], Type = None):
122 self.LibraryClass = Name
518 self.UpdateLibraryClassOfModule(Module, Lib.Name, Arch, Lib.FilePath)
547 Pb.PlatformName = Platform.Header[Arch].Name
584 Pb.LibraryClasses[(Item.Name, ModuleType)] = Item.FilePath
594 Pb.Libraries[Library.Module.Header[ItemArch].Name] = Item.FilePath
601 Name = Item.CName
609 Pb.Pcds[(Name, Guid)] = PcdClassObject(Name, Guid, Type, DatumType, Value, Token, MaxDatumSize, SkuInfoList, False)
611 for (Name, Guid) in PcdsSet:
612 Value = PcdsSet[Name, Guid]
616 if (Name, Guid, PcdType) in Pcds:
617 Pcd = Pcds[(Name, Guid, PcdType)]
623 Pb.Pcds[(Name, Guid)] = PcdClassObject(Name, Guid, Type, DatumType, Value, Token, MaxDatumSize, SkuInfoList, False)
631 EdkLogger.error("AutoGen", PARSER_ERROR, "PCD is not found in any package", ExtraData="%s.%s" % (Guid, Name))
653 Pb.PackageName = Package.Header[Arch].Name
700 Name = Item.CName
708 Pb.Pcds[(Name, Guid, Type)] = PcdClassObject(Name, Guid, Type, DatumType, Value, Token, MaxDatumSize, SkuInfoList, False)
735 Pb.BaseName = ModuleHeader.Name
891 Name = Item.CName
894 Pb.Pcds[(Name, Guid)] = self.FindPcd(Arch, Inf, Name, Guid, Type)
1173 for (Guid, Name, Type, Arch) in self.UnFoundPcdInDsc:
1174 Dec = self.UnFoundPcdInDsc[(Guid, Name, Type, Arch)]
1176 if (Name, Guid, Type) in Pcds:
1177 Pcd = Pcds[(Name, Guid, Type)]
1180 WrnMessage += '%s.%s: Defined in file %s, PcdItemType is Pcds%s, DefaultValue is %s\n' % (Guid, Name, Dec, PcdItemTypeUsed, DefaultValue)
1279 # @param Lib: Input value for Library Class Name
1282 # @param ModuleName: Input value for Module Name
1296 if LibraryClass.Name == Lib:
1308 # @param Lib: Input value for Library Class Name
1356 # @param Name: Name of Pcd
1362 def FindPcd(self, Arch, ModuleName, Name, Guid, Type):
1380 if (Name, Guid) in Pcds:
1382 Pcd = Pcds[(Name, Guid)]
1395 % (Guid, Name, Type, ModuleName, NewType, OwnerPlatform)
1421 if (Name, Guid) == (Pcd.CName, Pcd.TokenSpaceGuidCName):
1444 if (Name, Guid, PcdType) in Pcds:
1445 Pcd = Pcds[(Name, Guid, PcdType)]
1457 if (Name, Guid, NewType) in Pcds:
1458 Pcd = Pcds[(Name, Guid, NewType)]
1465 ErrorMsg = "Pcd '%s.%s [%s]' defined in module '%s' is not found in any package for Arch '%s'" % (Guid, Name, NewType, ModuleName, Arch)
1476 self.UnFoundPcdInDsc[(Guid, Name, NewType, Arch)] = FoundInDecFile
1483 EdkLogger.verbose("No MaxDatumSize specified for PCD %s.%s in module [%s]" % (Guid, Name, ModuleName))
1491 return PcdClassObject(Name, Guid, NewType, DatumType, Value, Token, MaxDatumSize, SkuInfoList, IsOverrided)
1504 Name = LibraryClass.Name
1512 EdkLogger.debug(EdkLogger.DEBUG_3, "\tLibraryClass %s supports all module types" % Name)
1517 if Item.Name == Name:
1532 EdkLogger.debug(EdkLogger.DEBUG_3, "\tLibraryClass %s has specific defined module types" % Name)