Home
last modified time | relevance | path

Searched refs:LanguageLength (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/BdsDxe/
DLanguage.c54 UINTN LanguageLength; in IsLangInSupportedLangCodes() local
71 for (LanguageLength = 0; Lang[LanguageLength] != '\0'; LanguageLength++); in IsLangInSupportedLangCodes()
83 if ((CompareLength == LanguageLength) && in IsLangInSupportedLangCodes()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
DLanguage.c350 UINTN LanguageLength; in IsLangInSupportedLangCodes() local
367 for (LanguageLength = 0; Lang[LanguageLength] != '\0'; LanguageLength++); in IsLangInSupportedLangCodes()
379 if ((CompareLength == LanguageLength) && in IsLangInSupportedLangCodes()
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/
DUefiLib.c1376 UINTN LanguageLength; in GetBestLanguage() local
1388 LanguageLength = MIN (3, AsciiStrLen (Language)); in GetBestLanguage()
1394 …for (LanguageLength = 0; Language[LanguageLength] != 0 && Language[LanguageLength] != ';'; Languag… in GetBestLanguage()
1400 while (LanguageLength > 0) { in GetBestLanguage()
1420 if (LanguageLength > CompareLength) { in GetBestLanguage()
1427 if (AsciiStrnCmp (Supported, Language, LanguageLength) == 0) { in GetBestLanguage()
1444 LanguageLength = 0; in GetBestLanguage()
1449 … for (LanguageLength--; LanguageLength > 0 && Language[LanguageLength] != '-'; LanguageLength--); in GetBestLanguage()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/
DUefiLib.c1506 UINTN LanguageLength; in GetBestLanguage() local
1518 LanguageLength = MIN (3, AsciiStrLen (Language)); in GetBestLanguage()
1524 …for (LanguageLength = 0; Language[LanguageLength] != 0 && Language[LanguageLength] != ';'; Languag… in GetBestLanguage()
1530 while (LanguageLength > 0) { in GetBestLanguage()
1550 if (LanguageLength > CompareLength) { in GetBestLanguage()
1557 if (AsciiStrnCmp (Supported, Language, LanguageLength) == 0) { in GetBestLanguage()
1574 LanguageLength = 0; in GetBestLanguage()
1579 … for (LanguageLength--; LanguageLength > 0 && Language[LanguageLength] != '-'; LanguageLength--); in GetBestLanguage()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/
DEmuVariable.c406 UINTN LanguageLength; in GetIndexFromSupportedLangCodes() local
426 for (LanguageLength = 0; Lang[LanguageLength] != '\0'; LanguageLength++); in GetIndexFromSupportedLangCodes()
438 if ((CompareLength == LanguageLength) && in GetIndexFromSupportedLangCodes()
585 UINTN LanguageLength; in VariableGetBestLanguage() local
597 LanguageLength = MIN (3, AsciiStrLen (Language)); in VariableGetBestLanguage()
603 …for (LanguageLength = 0; Language[LanguageLength] != 0 && Language[LanguageLength] != ';'; Languag… in VariableGetBestLanguage()
609 while (LanguageLength > 0) { in VariableGetBestLanguage()
629 if (LanguageLength > CompareLength) { in VariableGetBestLanguage()
636 if (AsciiStrnCmp (Supported, Language, LanguageLength) == 0) { in VariableGetBestLanguage()
649 LanguageLength = 0; in VariableGetBestLanguage()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/
DFSVariable.c593 UINTN LanguageLength; in GetIndexFromSupportedLangCodes() local
613 for (LanguageLength = 0; Lang[LanguageLength] != '\0'; LanguageLength++); in GetIndexFromSupportedLangCodes()
625 if ((CompareLength == LanguageLength) && in GetIndexFromSupportedLangCodes()
772 UINTN LanguageLength; in VariableGetBestLanguage() local
784 LanguageLength = MIN (3, AsciiStrLen (Language)); in VariableGetBestLanguage()
790 …for (LanguageLength = 0; Language[LanguageLength] != 0 && Language[LanguageLength] != ';'; Languag… in VariableGetBestLanguage()
796 while (LanguageLength > 0) { in VariableGetBestLanguage()
816 if (LanguageLength > CompareLength) { in VariableGetBestLanguage()
823 if (AsciiStrnCmp (Supported, Language, LanguageLength) == 0) { in VariableGetBestLanguage()
836 LanguageLength = 0; in VariableGetBestLanguage()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DVariable.c1334 UINTN LanguageLength; in GetIndexFromSupportedLangCodes() local
1354 for (LanguageLength = 0; Lang[LanguageLength] != '\0'; LanguageLength++); in GetIndexFromSupportedLangCodes()
1366 if ((CompareLength == LanguageLength) && in GetIndexFromSupportedLangCodes()
1518 UINTN LanguageLength; in VariableGetBestLanguage() local
1530 LanguageLength = MIN (3, AsciiStrLen (Language)); in VariableGetBestLanguage()
1536 …for (LanguageLength = 0; Language[LanguageLength] != 0 && Language[LanguageLength] != ';'; Languag… in VariableGetBestLanguage()
1542 while (LanguageLength > 0) { in VariableGetBestLanguage()
1562 if (LanguageLength > CompareLength) { in VariableGetBestLanguage()
1569 if (AsciiStrnCmp (Supported, Language, LanguageLength) == 0) { in VariableGetBestLanguage()
1582 LanguageLength = 0; in VariableGetBestLanguage()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.c1442 UINTN LanguageLength; in GetIndexFromSupportedLangCodes() local
1462 for (LanguageLength = 0; Lang[LanguageLength] != '\0'; LanguageLength++); in GetIndexFromSupportedLangCodes()
1474 if ((CompareLength == LanguageLength) && in GetIndexFromSupportedLangCodes()
1621 UINTN LanguageLength; in VariableGetBestLanguage() local
1635 LanguageLength = MIN (3, AsciiStrLen (Language)); in VariableGetBestLanguage()
1641 …for (LanguageLength = 0; Language[LanguageLength] != 0 && Language[LanguageLength] != ';'; Languag… in VariableGetBestLanguage()
1647 while (LanguageLength > 0) { in VariableGetBestLanguage()
1667 if (LanguageLength > CompareLength) { in VariableGetBestLanguage()
1674 if (AsciiStrnCmp (Supported, Language, LanguageLength) == 0) { in VariableGetBestLanguage()
1687 LanguageLength = 0; in VariableGetBestLanguage()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrUtilityLib.cpp3300 UINTN LanguageLength; in GetBestLanguage() local
3310 …for (LanguageLength = 0; Language[LanguageLength] != 0 && Language[LanguageLength] != ';'; Languag… in GetBestLanguage()
3315 while (LanguageLength > 0) { in GetBestLanguage()
3331 if (LanguageLength > CompareLength) { in GetBestLanguage()
3338 if (strncmp (Supported, Language, LanguageLength) == 0) { in GetBestLanguage()
3346 for (LanguageLength--; LanguageLength > 0 && Language[LanguageLength] != '-'; LanguageLength--); in GetBestLanguage()