Home
last modified time | relevance | path

Searched refs:PcdValue (Results 1 – 15 of 15) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DParserValidate.py567 def IsValidPcdValue(PcdValue): argument
568 for Char in PcdValue:
575 if IsValidFeatureFlagExp(PcdValue, True)[0]:
584 if IsValidHex(PcdValue):
588 if ReIsValidIntegerSingle.match(PcdValue) != None:
592 if ReIsValidIntegerMulti.match(PcdValue) != None:
600 if ReIsValidStringType.match(PcdValue):
602 if PcdValue.strip().startswith('L\"'):
603 StringValue = PcdValue.strip().lstrip('L\"').rstrip('\"')
606 elif PcdValue.strip().startswith('\"'):
[all …]
DString.py888 PcdValue = ''
924 PcdValue = NewValueList[0]
925 return [PcdTokenCName, PcdValue], True
927 PcdValue = NewValueList[0]
929 return [PcdTokenCName, PcdValue, PcdFeatureFlagExp], True
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/
DGenVpd.py37 …def __init__(self, PcdCName, SkuId,PcdOffset, PcdSize, PcdValue, Lineno=None, FileName=None, PcdUn… argument
43 self.PcdValue = PcdValue.strip()
50 if self.PcdValue == '' :
105 self.PcdValue = pack(_FORMAT_CHAR[1], 1)
111 self.PcdValue = pack(_FORMAT_CHAR[1], 0)
159 self.PcdValue = pack(_FORMAT_CHAR[Size], IntValue)
202 self.PcdValue = pack('%ds' % Size, ValueString)
257 self.PcdValue = ReturnArray.tolist()
291 self.PcdValue = ReturnArray.tolist()
403 PCD.PcdValue = PCD.PcdValue.strip(' ')
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DFfsFileStatement.py63 PcdValue = GenFdsGlobalVariable.GetPcdValue(self.NameGuid)
64 if len(PcdValue) == 0:
67 if PcdValue.startswith('{'):
68 PcdValue = GuidStructureByteArrayToGuidString(PcdValue)
69 RegistryGuidStr = PcdValue
DFfsInfStatement.py824 PcdValue = GenFdsGlobalVariable.GetPcdValue(Rule.NameGuid)
825 if len(PcdValue) == 0:
828 if PcdValue.startswith('{'):
829 PcdValue = GuidStructureByteArrayToGuidString(PcdValue)
830 RegistryGuidStr = PcdValue
980 PcdValue = GenFdsGlobalVariable.GetPcdValue(Rule.NameGuid)
981 if len(PcdValue) == 0:
984 if PcdValue.startswith('{'):
985 PcdValue = GuidStructureByteArrayToGuidString(PcdValue)
986 RegistryGuidStr = PcdValue
DGenFdsGlobalVariable.py694 PcdValue = ''
706 PcdValue = PcdObj.DefaultValue
707 return PcdValue
722 PcdValue = PcdObj.DefaultValue
723 return PcdValue
725 return PcdValue
DGenFds.py675 PcdValue = ''
679 PcdValue = PcdObj.DefaultValue
682 if PcdValue == '':
685 Int64PcdValue = long(PcdValue, 0)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DVpdInfoFile.py140 PcdValue = str(Pcd.SkuInfoList[Pcd.SkuInfoList.keys()[i]].DefaultValue).strip()
141 if PcdValue == "" :
142 PcdValue = Pcd.DefaultValue
144 …nCName, str(Pcd.SkuInfoList.keys()[i]),str(Offset).strip(), str(Pcd.MaxDatumSize).strip(),PcdValue)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DAutoGen.py1418 PcdValue = Sku.DefaultValue
1419 if Pcd.DatumType == 'VOID*' and PcdValue.startswith("L"):
1442 PcdValue = Sku.DefaultValue
1443 if PcdValue == "":
1444 PcdValue = Pcd.DefaultValue
1446 if PcdValue.startswith("{"):
1448 elif PcdValue.startswith("L"):
1460 if PcdValue.startswith("{"):
1518 PcdValue = Sku.DefaultValue
1519 if PcdValue == "":
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/
DPatchPcdValue.py269 …if CommandOptions.PcdOffset == None or CommandOptions.PcdValue == None or CommandOptions.PcdTypeNa…
281 …e, CommandOptions.PcdOffset, CommandOptions.PcdTypeName, CommandOptions.PcdValue, CommandOptions.P…
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
DBuildReport.py905 PcdValue = DecDefaultValue
907 PcdValue = DscDefaultValue
911 … InfDefault, PcdValue = ModulePcdSet[Pcd.TokenCName, Pcd.TokenSpaceGuidCName, Type]
919 PcdValue = pcd[2]
931 PcdValueNumber = int(PcdValue.strip(), 0)
953 DecMatch = (DecDefaultValue.strip() == PcdValue.strip())
958 InfMatch = (InfDefaultValue.strip() == PcdValue.strip())
963 DscMatch = (DscDefaultValue.strip() == PcdValue.strip())
969 …10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.DatumType + ')', PcdValue.strip()))
971 …10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.DatumType + ')', PcdValue.strip()))
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DMetaFileParser.py1544 PcdValue = ValList[Index]
1545 if PcdValue:
1547 ValList[Index] = ValueExpression(PcdValue, self._Macros)(True)
1557 GlobalData.gPlatformPcds[TAB_SPLIT.join(self._ValueList[0:2])] = PcdValue
1558 self._Symbols[TAB_SPLIT.join(self._ValueList[0:2])] = PcdValue
1883 PcdValue = ValueList[0]
1884 if PcdValue:
1886 ValueList[0] = ValueExpression(PcdValue, self._AllPcdDict)(True)
DWorkspaceDatabase.py858PcdValue, DatumType, MaxDatumSize = self._ValidatePcd(PcdCName, TokenSpaceGuid, Setting, Type, Dum…
860 PcdValueDict[PcdCName, TokenSpaceGuid][SkuName] = (PcdValue,DatumType,MaxDatumSize)
862 … PcdValueDict[PcdCName, TokenSpaceGuid] = {SkuName:(PcdValue,DatumType,MaxDatumSize)}
868 PcdValue = None
872 PcdValue,DatumType,MaxDatumSize = PcdSetting['COMMON']
874 PcdValue,DatumType,MaxDatumSize = PcdSetting['DEFAULT']
876 PcdValue,DatumType,MaxDatumSize = PcdSetting[SkuObj.SystemSkuId]
883 PcdValue,
927PcdValue, DatumType, MaxDatumSize = self._ValidatePcd(PcdCName, TokenSpaceGuid, Setting, Type, Dum…
928 SkuInfo = SkuInfoClass(SkuName, self.SkuIds[SkuName], '', '', '', '', '', PcdValue)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
DMetaFileParser.py1437 PcdValue = ValueList[0]
1439 ValueList[0] = ValueExpression(PcdValue, self._Macros)(True)
1443 PcdValue = ValueList[-1]
1445 ValueList[-1] = ValueExpression(PcdValue, self._Macros)(True)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/
DGenInfFile.py889 PcdValue = PatchPcd.DefaultValue
906 Statement = HelpString + TokenSpaceName + '.' + PcdCName + ' | ' + PcdValue + ' | ' + \