Lines Matching defs:SupportedLanguages

569   If Language is a member of SupportedLanguages and a Unicode string is found in
575 @param SupportedLanguages A pointer to the set of ISO 639-2 language codes
588 @retval EFI_UNSUPPORTED SupportedLanguages is NULL.
591 member of SupportedLanguages.
600 IN CONST CHAR8 *SupportedLanguages,
616 if (SupportedLanguages == NULL || UnicodeStringTable == NULL) {
623 while (*SupportedLanguages != 0) {
624 if (CompareIso639LanguageCode (Language, SupportedLanguages)) {
645 SupportedLanguages += 3;
656 If Language is a member of SupportedLanguages and a Unicode string is found in
666 @param SupportedLanguages A pointer to a Null-terminated ASCII string that contains a
678 Language and SupportedLanguages follow ISO 639-2 language code format.
687 @retval EFI_UNSUPPORTED SupportedLanguages is NULL.
689 @retval EFI_UNSUPPORTED The language specified by Language is not a member of SupportedLanguages.
697 IN CONST CHAR8 *SupportedLanguages,
718 if (SupportedLanguages == NULL || UnicodeStringTable == NULL) {
726 while (*SupportedLanguages != 0) {
728 if (CompareIso639LanguageCode (Language, SupportedLanguages)) {
732 SupportedLanguages += 3;
734 for (Index = 0; SupportedLanguages[Index] != 0 && SupportedLanguages[Index] != ';'; Index++);
735 if ((AsciiStrnCmp(SupportedLanguages, Language, Index) == 0) && (Language[Index] == 0)) {
739 SupportedLanguages += Index;
740 for (; *SupportedLanguages != 0 && *SupportedLanguages == ';'; SupportedLanguages++);
745 // If Language is not a member of SupportedLanguages, then return EFI_UNSUPPORTED
775 If Language is a member of SupportedLanguages then UnicodeString is added to
783 @param SupportedLanguages A pointer to the set of ISO 639-2 language codes
796 @retval EFI_UNSUPPORTED SupportedLanguages is NULL.
802 member of SupportedLanguages.
809 IN CONST CHAR8 *SupportedLanguages,
829 if (SupportedLanguages == NULL) {
841 // Make sure Language is a member of SupportedLanguages
843 while (*SupportedLanguages != 0) {
844 if (CompareIso639LanguageCode (Language, SupportedLanguages)) {
933 SupportedLanguages += 3;
944 If Language is a member of SupportedLanguages then UnicodeString is added to
955 @param SupportedLanguages A pointer to a Null-terminated ASCII string that contains
966 then Language and SupportedLanguages follow ISO 639-2 language code format.
975 @retval EFI_UNSUPPORTED SupportedLanguages is NULL.
979 @retval EFI_UNSUPPORTED The language specified by Language is not a member of SupportedLanguages.
986 IN CONST CHAR8 *SupportedLanguages,
1010 if (SupportedLanguages == NULL) {
1022 // Make sure Language is a member of SupportedLanguages
1025 while (*SupportedLanguages != 0) {
1027 if (CompareIso639LanguageCode (Language, SupportedLanguages)) {
1031 SupportedLanguages += 3;
1033 for (Index = 0; SupportedLanguages[Index] != 0 && SupportedLanguages[Index] != ';'; Index++);
1034 if (AsciiStrnCmp(SupportedLanguages, Language, Index) == 0) {
1038 SupportedLanguages += Index;
1039 for (; *SupportedLanguages != 0 && *SupportedLanguages == ';'; SupportedLanguages++);
1044 // If Language is not a member of SupportedLanguages, then return EFI_UNSUPPORTED
1290 codes to test against all the language codes in SupportedLanguages.
1292 If SupportedLanguages is NULL, then ASSERT().
1294 @param[in] SupportedLanguages A pointer to a Null-terminated ASCII string that
1306 SupportedLanguages. Close matches only apply to RFC 4646
1310 language code from SupportedLanguages is returned. If
1315 @retval NULL The best matching language could not be found in SupportedLanguages.
1319 language in SupportedLanguages.
1325 IN CONST CHAR8 *SupportedLanguages,
1337 ASSERT (SupportedLanguages != NULL);
1359 // Loop through all language codes in SupportedLanguages
1361 for (Supported = SupportedLanguages; *Supported != '\0'; Supported += CompareLength) {
1363 // In RFC 4646 mode, then Loop through all language codes in SupportedLanguages
1387 // Allocate, copy, and return the best matching language code from SupportedLanguages