Home
last modified time | relevance | path

Searched refs:NameLength (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/AcpiTableDxe/
DAmlString.c289 UINTN NameLength; in AmlGetAslNameStringSize() local
296 NameLength = 0; in AmlGetAslNameStringSize()
311 NameLength = AmlGetAslNameSegLength (Buffer); in AmlGetAslNameStringSize()
312 if ((NameLength == 0) || (NameLength > AML_NAME_SEG_SIZE)) { in AmlGetAslNameStringSize()
316 Buffer += NameLength; in AmlGetAslNameStringSize()
390 UINTN NameLength; in AmlNameFromAslName() local
436 NameLength = AmlGetAslNameSegLength (Buffer); in AmlNameFromAslName()
437 ASSERT ((NameLength != 0) && (NameLength <= AML_NAME_SEG_SIZE)); in AmlNameFromAslName()
438 AmlUpperCaseCopyMem (AmlBuffer, Buffer, NameLength); in AmlNameFromAslName()
439 SetMem (AmlBuffer + NameLength, AML_NAME_SEG_SIZE - NameLength, AML_NAME_CHAR__); in AmlNameFromAslName()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckLib/
DVarCheckLib.c139 UINTN NameLength; in VariablePropertyGetWithWildcardName() local
141 NameLength = StrLen (VariableName) - 4; in VariablePropertyGetWithWildcardName()
146 … (StrnCmp (VariableName, mVarCheckVariableWithWildcardName[Index].Name, NameLength) == 0) && in VariablePropertyGetWithWildcardName()
147 VarCheckInternalIsHexaDecimalDigitCharacter (VariableName[NameLength]) && in VariablePropertyGetWithWildcardName()
148 VarCheckInternalIsHexaDecimalDigitCharacter (VariableName[NameLength + 1]) && in VariablePropertyGetWithWildcardName()
149 VarCheckInternalIsHexaDecimalDigitCharacter (VariableName[NameLength + 2]) && in VariablePropertyGetWithWildcardName()
150 VarCheckInternalIsHexaDecimalDigitCharacter (VariableName[NameLength + 3])) { in VariablePropertyGetWithWildcardName()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckUefiLib/
DVarCheckUefiLibNullClass.c755 UINTN NameLength; in GetUefiDefinedVarCheckFunction() local
771 NameLength = StrLen (VariableName) - 4; in GetUefiDefinedVarCheckFunction()
774 (StrnCmp (VariableName, mGlobalVariableList2[Index].Name, NameLength) == 0) && in GetUefiDefinedVarCheckFunction()
775 VarCheckUefiIsHexaDecimalDigitCharacter (VariableName[NameLength]) && in GetUefiDefinedVarCheckFunction()
776 VarCheckUefiIsHexaDecimalDigitCharacter (VariableName[NameLength + 1]) && in GetUefiDefinedVarCheckFunction()
777 VarCheckUefiIsHexaDecimalDigitCharacter (VariableName[NameLength + 2]) && in GetUefiDefinedVarCheckFunction()
778 VarCheckUefiIsHexaDecimalDigitCharacter (VariableName[NameLength + 3])) { in GetUefiDefinedVarCheckFunction()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/
DIfrVariable.c474 UINTN NameLength; in EfiLibHiiVariableOverrideBySuffix() local
480 NameLength = EfiStrLen (Name); in EfiLibHiiVariableOverrideBySuffix()
482 NameSuffixed = EfiLibAllocateZeroPool ((NameLength + SuffixLength + 1) * sizeof (CHAR16)); in EfiLibHiiVariableOverrideBySuffix()
/device/linaro/bootloader/edk2/ArmPkg/Library/SemihostLib/
DSemihostLib.c51 OpenBlock.NameLength = AsciiStrLen(FileName); in SemihostFileOpen()
229 RemoveBlock.NameLength = AsciiStrLen(FileName); in SemihostFileRemove()
DSemihostPrivate.h22 UINTN NameLength; member
44 UINTN NameLength; member
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
DSecureBootConfigImpl.c406 UINTN NameLength; in EnrollPlatformKey() local
422 NameLength = StrLen (Private->FileContext->FileName); in EnrollPlatformKey()
423 if (NameLength <= 4) { in EnrollPlatformKey()
426 FilePostFix = Private->FileContext->FileName + NameLength - 4; in EnrollPlatformKey()
823 UINTN NameLength; in EnrollKeyExchangeKey() local
838 NameLength = StrLen (Private->FileContext->FileName); in EnrollKeyExchangeKey()
839 if (NameLength <= 4) { in EnrollKeyExchangeKey()
842 FilePostFix = Private->FileContext->FileName + NameLength - 4; in EnrollKeyExchangeKey()
1338 UINTN NameLength; in EnrollX509HashtoSigDB() local
1361 NameLength = StrLen (Private->FileContext->FileName); in EnrollX509HashtoSigDB()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/TlsAuthConfigDxe/
DTlsAuthConfigImpl.c1058 UINTN NameLength; in EnrollCertDatabase() local
1067 NameLength = StrLen (Private->FileContext->FileName); in EnrollCertDatabase()
1068 if (NameLength <= 4) { in EnrollCertDatabase()
1071 FilePostFix = Private->FileContext->FileName + NameLength - 4; in EnrollCertDatabase()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DConfigKeywordHandler.c1672 UINTN NameLength; in ConstructConfigHdr() local
1723 NameLength = 0; in ConstructConfigHdr()
1725 NameLength = StrLen (Name); in ConstructConfigHdr()
1748 MaxLen = 5 + sizeof (EFI_GUID) * 2 + 6 + NameLength * 4 + 6 + DevicePathSize * 2 + 1; in ConstructConfigHdr()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiHiiLib/
DHiiLib.c723 UINTN NameLength; in HiiConstructConfigHdr() local
736 NameLength = 0; in HiiConstructConfigHdr()
738 NameLength = StrLen (Name); in HiiConstructConfigHdr()
761 MaxLen = 5 + sizeof (EFI_GUID) * 2 + 6 + NameLength * 4 + 6 + DevicePathSize * 2 + 1; in HiiConstructConfigHdr()