/device/linaro/bootloader/edk2/MdeModulePkg/Universal/BdsDxe/ |
D | Language.c | 53 UINTN CompareLength; in IsLangInSupportedLangCodes() local 57 CompareLength = ISO_639_2_ENTRY_SIZE; in IsLangInSupportedLangCodes() 58 for (Index = 0; Index < AsciiStrLen (SupportedLang); Index += CompareLength) { in IsLangInSupportedLangCodes() 59 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) { in IsLangInSupportedLangCodes() 73 for (; *SupportedLang != '\0'; SupportedLang += CompareLength) { in IsLangInSupportedLangCodes() 81 …for (CompareLength = 0; SupportedLang[CompareLength] != '\0' && SupportedLang[CompareLength] != ';… in IsLangInSupportedLangCodes() 83 if ((CompareLength == LanguageLength) && in IsLangInSupportedLangCodes() 84 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) { in IsLangInSupportedLangCodes()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/ |
D | Language.c | 349 UINTN CompareLength; in IsLangInSupportedLangCodes() local 353 CompareLength = ISO_639_2_ENTRY_SIZE; in IsLangInSupportedLangCodes() 354 for (Index = 0; Index < AsciiStrLen (SupportedLang); Index += CompareLength) { in IsLangInSupportedLangCodes() 355 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) { in IsLangInSupportedLangCodes() 369 for (; *SupportedLang != '\0'; SupportedLang += CompareLength) { in IsLangInSupportedLangCodes() 377 …for (CompareLength = 0; SupportedLang[CompareLength] != '\0' && SupportedLang[CompareLength] != ';… in IsLangInSupportedLangCodes() 379 if ((CompareLength == LanguageLength) && in IsLangInSupportedLangCodes() 380 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) { in IsLangInSupportedLangCodes()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/ |
D | EmuVariable.c | 405 UINTN CompareLength; in GetIndexFromSupportedLangCodes() local 409 CompareLength = ISO_639_2_ENTRY_SIZE; in GetIndexFromSupportedLangCodes() 410 for (Index = 0; Index < AsciiStrLen (SupportedLang); Index += CompareLength) { in GetIndexFromSupportedLangCodes() 411 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) { in GetIndexFromSupportedLangCodes() 415 Index = Index / CompareLength; in GetIndexFromSupportedLangCodes() 428 for (Index = 0; *SupportedLang != '\0'; Index++, SupportedLang += CompareLength) { in GetIndexFromSupportedLangCodes() 436 …for (CompareLength = 0; SupportedLang[CompareLength] != '\0' && SupportedLang[CompareLength] != ';… in GetIndexFromSupportedLangCodes() 438 if ((CompareLength == LanguageLength) && in GetIndexFromSupportedLangCodes() 439 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) { in GetIndexFromSupportedLangCodes() 485 UINTN CompareLength; in GetLangFromSupportedLangCodes() local [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/ |
D | FSVariable.c | 592 UINTN CompareLength; in GetIndexFromSupportedLangCodes() local 596 CompareLength = ISO_639_2_ENTRY_SIZE; in GetIndexFromSupportedLangCodes() 597 for (Index = 0; Index < AsciiStrLen (SupportedLang); Index += CompareLength) { in GetIndexFromSupportedLangCodes() 598 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) { in GetIndexFromSupportedLangCodes() 602 Index = Index / CompareLength; in GetIndexFromSupportedLangCodes() 615 for (Index = 0; *SupportedLang != '\0'; Index++, SupportedLang += CompareLength) { in GetIndexFromSupportedLangCodes() 623 …for (CompareLength = 0; SupportedLang[CompareLength] != '\0' && SupportedLang[CompareLength] != ';… in GetIndexFromSupportedLangCodes() 625 if ((CompareLength == LanguageLength) && in GetIndexFromSupportedLangCodes() 626 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) { in GetIndexFromSupportedLangCodes() 672 UINTN CompareLength; in GetLangFromSupportedLangCodes() local [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/MiscSubClassPlatformDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 41 UINTN CompareLength; in CurrentLanguageMatch() local 61 CompareLength = AsciiStrLen (BestLanguage); in CurrentLanguageMatch() 68 …if ((EndMatchLang == MatchLang + CompareLength) && AsciiStrnCmp(MatchLang, BestLanguage, CompareLe… in CurrentLanguageMatch()
|
/device/linaro/bootloader/edk2/Nt32Pkg/MiscSubClassPlatformDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 39 UINTN CompareLength; in CurrentLanguageMatch() local 59 CompareLength = AsciiStrLen (BestLanguage); in CurrentLanguageMatch() 66 …if ((EndMatchLang == MatchLang + CompareLength) && AsciiStrnCmp(MatchLang, BestLanguage, CompareLe… in CurrentLanguageMatch()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 64 UINTN CompareLength; in CurrentLanguageMatch() 84 CompareLength = AsciiStrLen (BestLanguage); in CurrentLanguageMatch() 91 …if ((EndMatchLang == MatchLang + CompareLength) && AsciiStrnCmp(MatchLang, BestLanguage, CompareLe… in CurrentLanguageMatch()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 46 UINTN CompareLength; in CurrentLanguageMatch() local 69 CompareLength = AsciiStrLen (BestLanguage); in CurrentLanguageMatch() 76 …if ((EndMatchLang == MatchLang + CompareLength) && AsciiStrnCmp(MatchLang, BestLanguage, CompareLe… in CurrentLanguageMatch()
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/ |
D | Variable.c | 1333 UINTN CompareLength; in GetIndexFromSupportedLangCodes() local 1337 CompareLength = ISO_639_2_ENTRY_SIZE; in GetIndexFromSupportedLangCodes() 1338 for (Index = 0; Index < AsciiStrLen (SupportedLang); Index += CompareLength) { in GetIndexFromSupportedLangCodes() 1339 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) { in GetIndexFromSupportedLangCodes() 1343 Index = Index / CompareLength; in GetIndexFromSupportedLangCodes() 1356 for (Index = 0; *SupportedLang != '\0'; Index++, SupportedLang += CompareLength) { in GetIndexFromSupportedLangCodes() 1364 …for (CompareLength = 0; SupportedLang[CompareLength] != '\0' && SupportedLang[CompareLength] != ';… in GetIndexFromSupportedLangCodes() 1366 if ((CompareLength == LanguageLength) && in GetIndexFromSupportedLangCodes() 1367 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) { in GetIndexFromSupportedLangCodes() 1417 UINTN CompareLength; in GetLangFromSupportedLangCodes() local [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/ |
D | UefiLib.c | 1332 UINTN CompareLength; in GetBestLanguage() local 1344 CompareLength = 3; in GetBestLanguage() 1361 for (Supported = SupportedLanguages; *Supported != '\0'; Supported += CompareLength) { in GetBestLanguage() 1373 …for (CompareLength = 0; Supported[CompareLength] != 0 && Supported[CompareLength] != ';'; CompareL… in GetBestLanguage() 1377 if (LanguageLength > CompareLength) { in GetBestLanguage() 1389 BestLanguage = AllocateZeroPool (CompareLength + 1); in GetBestLanguage() 1393 return CopyMem (BestLanguage, Supported, CompareLength); in GetBestLanguage()
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/ |
D | UefiLib.c | 1462 UINTN CompareLength; in GetBestLanguage() local 1474 CompareLength = 3; in GetBestLanguage() 1491 for (Supported = SupportedLanguages; *Supported != '\0'; Supported += CompareLength) { in GetBestLanguage() 1503 …for (CompareLength = 0; Supported[CompareLength] != 0 && Supported[CompareLength] != ';'; CompareL… in GetBestLanguage() 1507 if (LanguageLength > CompareLength) { in GetBestLanguage() 1519 BestLanguage = AllocateZeroPool (CompareLength + 1); in GetBestLanguage() 1523 return CopyMem (BestLanguage, Supported, CompareLength); in GetBestLanguage()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | Variable.c | 1404 UINTN CompareLength; in GetIndexFromSupportedLangCodes() local 1408 CompareLength = ISO_639_2_ENTRY_SIZE; in GetIndexFromSupportedLangCodes() 1409 for (Index = 0; Index < AsciiStrLen (SupportedLang); Index += CompareLength) { in GetIndexFromSupportedLangCodes() 1410 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) { in GetIndexFromSupportedLangCodes() 1414 Index = Index / CompareLength; in GetIndexFromSupportedLangCodes() 1427 for (Index = 0; *SupportedLang != '\0'; Index++, SupportedLang += CompareLength) { in GetIndexFromSupportedLangCodes() 1435 …for (CompareLength = 0; SupportedLang[CompareLength] != '\0' && SupportedLang[CompareLength] != ';… in GetIndexFromSupportedLangCodes() 1437 if ((CompareLength == LanguageLength) && in GetIndexFromSupportedLangCodes() 1438 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) { in GetIndexFromSupportedLangCodes() 1484 UINTN CompareLength; in GetLangFromSupportedLangCodes() local [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/ |
D | VfrUtilityLib.cpp | 3211 UINTN CompareLength; in GetBestLanguage() local 3231 for (Supported = SupportedLanguages; *Supported != '\0'; Supported += CompareLength) { in GetBestLanguage() 3239 …for (CompareLength = 0; Supported[CompareLength] != 0 && Supported[CompareLength] != ';'; CompareL… in GetBestLanguage() 3243 if (LanguageLength > CompareLength) { in GetBestLanguage()
|