Home
last modified time | relevance | path

Searched refs:VariableNameLen (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DVariable.c32 UINTN VariableNameLen; in EblGetCmd() local
52 VariableNameLen = AsciiStrLen (AsciiVariableName) + 1; in EblGetCmd()
53 VariableName = AllocatePool (VariableNameLen * sizeof (CHAR16)); in EblGetCmd()
54 AsciiStrToUnicodeStrS (AsciiVariableName, VariableName, VariableNameLen); in EblGetCmd()
98 UINTN VariableNameLen; in EblSetCmd() local
131 VariableNameLen = AsciiStrLen (AsciiVariableSetting) + 1; in EblSetCmd()
132 VariableName = AllocatePool (VariableNameLen * sizeof (CHAR16)); in EblSetCmd()
133 AsciiStrToUnicodeStrS (AsciiVariableSetting, VariableName, VariableNameLen); in EblSetCmd()
177 VariableNameLen = AsciiStrLen (AsciiVariableName) + 1; in EblSetCmd()
178 VariableName = AllocatePool (VariableNameLen * sizeof (CHAR16)); in EblSetCmd()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmLoadOption.c785 UINTN VariableNameLen; in EfiBootManagerIsValidLoadOptionVariableName() local
793 VariableNameLen = StrLen (VariableName); in EfiBootManagerIsValidLoadOptionVariableName()
795 if (VariableNameLen <= 4) { in EfiBootManagerIsValidLoadOptionVariableName()
800 if ((VariableNameLen - 4 == StrLen (mBmLoadOptionName[Index])) && in EfiBootManagerIsValidLoadOptionVariableName()
801 (StrnCmp (VariableName, mBmLoadOptionName[Index], VariableNameLen - 4) == 0) in EfiBootManagerIsValidLoadOptionVariableName()
817 for (Index = VariableNameLen - 4; Index < VariableNameLen; Index++) { in EfiBootManagerIsValidLoadOptionVariableName()
827 return (BOOLEAN) (Index == VariableNameLen); in EfiBootManagerIsValidLoadOptionVariableName()