/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/ |
D | Language.c | 289 OUT CHAR8 *Lang in GetNextLanguage() argument 297 ASSERT (Lang != NULL); in GetNextLanguage() 305 CopyMem (Lang, StringPtr, Index); in GetNextLanguage() 306 Lang[Index] = 0; in GetNextLanguage() 344 IN CHAR8 *Lang, in IsLangInSupportedLangCodes() argument 355 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) { in IsLangInSupportedLangCodes() 367 for (LanguageLength = 0; Lang[LanguageLength] != '\0'; LanguageLength++); in IsLangInSupportedLangCodes() 380 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) { in IsLangInSupportedLangCodes() 411 CHAR8 *Lang; in InitializeLangVariable() local 416 GetEfiGlobalVariable2 (LangName, (VOID **) &Lang, NULL); in InitializeLangVariable() [all …]
|
D | FrontPage.c | 183 CHAR8 *Lang; in FrontPageCallback() local 212 Lang = AllocatePool (AsciiStrSize (mLanguageString)); in FrontPageCallback() 213 ASSERT (Lang != NULL); in FrontPageCallback() 218 GetNextLanguage (&LangCode, Lang); in FrontPageCallback() 232 AsciiStrSize (Lang), in FrontPageCallback() 233 Lang in FrontPageCallback() 241 FreePool (Lang); in FrontPageCallback() 302 CHAR8 *Lang; in InitializeFrontPage() local 316 Lang = NULL; in InitializeFrontPage() 420 Lang = AllocatePool (AsciiStrSize (mLanguageString)); in InitializeFrontPage() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/BdsDxe/ |
D | Language.c | 48 IN CHAR8 *Lang, in IsLangInSupportedLangCodes() argument 59 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) { in IsLangInSupportedLangCodes() 71 for (LanguageLength = 0; Lang[LanguageLength] != '\0'; LanguageLength++); in IsLangInSupportedLangCodes() 84 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) { in IsLangInSupportedLangCodes() 115 CHAR8 *Lang; in InitializeLangVariable() local 120 GetEfiGlobalVariable2 (LangName, (VOID **) &Lang, NULL); in InitializeLangVariable() 127 if ((Lang == NULL) || !IsLangInSupportedLangCodes (SupportedLang, Lang, Iso639Language)) { in InitializeLangVariable() 141 if (Lang != NULL) { in InitializeLangVariable() 142 FreePool (Lang); in InitializeLangVariable()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/ |
D | StringDB.c | 456 LANGUAGE_LIST *Lang; in StringDBAddString() local 467 Lang = StringDBFindLanguageList (LanguageName); in StringDBAddString() 468 if (Lang == NULL) { in StringDBAddString() 475 Lang = mDBData.CurrentLanguage; in StringDBAddString() 476 if (Lang == NULL) { in StringDBAddString() 510 if (StringDBFindString (Lang->LanguageName, StringName, Scope, NULL, NULL) != NULL) { in StringDBAddString() 518 Lang->LanguageName, in StringDBAddString() 565 if (Lang->String == NULL) { in StringDBAddString() 566 Lang->String = Str; in StringDBAddString() 568 Lang->LastString->Next = Str; in StringDBAddString() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/Type13/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 36 OUT CHAR8 *Lang in GetNextLanguage() argument 42 if(NULL == LangCode || NULL == *LangCode || NULL == Lang) { in GetNextLanguage() 52 (VOID)CopyMem(Lang, StringPtr, Index); in GetNextLanguage() 53 Lang[Index] = 0; in GetNextLanguage() 75 CHAR8 *Lang; in GetSupportedLanguageNumber() local 86 Lang = AllocatePool (AsciiStrSize (Languages)); in GetSupportedLanguageNumber() 87 if (Lang != NULL) { in GetSupportedLanguageNumber() 90 GetNextLanguage (&LanguageString, Lang); in GetSupportedLanguageNumber() 93 FreePool (Lang); in GetSupportedLanguageNumber()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/UiApp/ |
D | FrontPageCustomizedUiSupport.c | 78 OUT CHAR8 *Lang in GetNextLanguage() argument 86 ASSERT (Lang != NULL); in GetNextLanguage() 94 CopyMem (Lang, StringPtr, Index); in GetNextLanguage() 95 Lang[Index] = 0; in GetNextLanguage() 119 CHAR8 *Lang; in LanguageChangeHandler() local 126 Lang = AllocatePool (AsciiStrSize (gLanguageString)); in LanguageChangeHandler() 127 ASSERT (Lang != NULL); in LanguageChangeHandler() 132 GetNextLanguage (&LangCode, Lang); in LanguageChangeHandler() 147 AsciiStrSize (Lang), in LanguageChangeHandler() 148 Lang in LanguageChangeHandler() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/ |
D | StringDB.c | 383 LANGUAGE_LIST *Lang; in StringDBDumpCStrings() local 424 for (Lang = mDBData.LanguageList; Lang != NULL; Lang = Lang->Next) { in StringDBDumpCStrings() 430 LangName = Lang->LanguageName; in StringDBDumpCStrings() 434 if (wcsncmp (LOIPtr->Str, Lang->LanguageName, LANGUAGE_IDENTIFIER_NAME_LEN) == 0) { in StringDBDumpCStrings() 464 Lang->LanguageName, in StringDBDumpCStrings() 465 Lang->PrintableLanguageName in StringDBDumpCStrings() 507 Lang->LanguageName, in StringDBDumpCStrings() 586 Lang->LanguageName, in StringDBDumpCStrings() 597 Lang->LanguageName, in StringDBDumpCStrings() 614 EmptyString.LanguageName = Lang->LanguageName; in StringDBDumpCStrings() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/ |
D | UefiIfrString.c | 252 OUT CHAR8 *Lang in GetCurrentLanguage() argument 279 Lang in GetCurrentLanguage() 283 EfiAsciiStrCpy (Lang, (CHAR8 *) "en-US"); in GetCurrentLanguage() 292 OUT CHAR8 *Lang in GetNextLanguage() argument 313 *Lang = 0; in GetNextLanguage() 323 EfiCopyMem (Lang, StringPtr, Index); in GetNextLanguage() 324 Lang[Index] = 0; in GetNextLanguage() 395 CHAR8 Lang[RFC_3066_ENTRY_SIZE]; in GetSupportedLanguageNumber() local 405 GetNextLanguage (&LanguageString, Lang); in GetSupportedLanguageNumber() 548 CHAR8 Lang[RFC_3066_ENTRY_SIZE]; in IfrLibNewString() local [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/ |
D | DevTree.c | 39 IN CONST CHAR8 *Lang OPTIONAL, in DoDevTreeForHandle() 106 …MPONENT_NAME|EFI_DEVICE_NAME_USE_DEVICE_PATH:EFI_DEVICE_NAME_USE_DEVICE_PATH, (CHAR8*)Lang, &Name); in DoDevTreeForHandle() 128 …ShellStatus = DoDevTreeForHandle(ChildHandleBuffer[LoopVar], Lang, UseDevPaths, IndentCharCount+2,… in DoDevTreeForHandle() 159 CONST CHAR16 *Lang; in ShellCommandRunDevTree() local 199 Lang = ShellCommandLineGetValue(Package, L"-l"); in ShellCommandRunDevTree() 200 if (Lang != NULL) { in ShellCommandRunDevTree() 201 Language = AllocateZeroPool(StrSize(Lang)); in ShellCommandRunDevTree() 202 AsciiSPrint(Language, StrSize(Lang), "%S", Lang); in ShellCommandRunDevTree() 215 Lang = ShellCommandLineGetRawValue(Package, 1); in ShellCommandRunDevTree() 218 if (Lang == NULL) { in ShellCommandRunDevTree() [all …]
|
D | DrvDiag.c | 47 IN CONST CHAR8 *Lang, in DoDiagnostics() argument 180 if (Lang == NULL || Lang[2] == '-') { in DoDiagnostics() 192 … Language = GetBestLanguageForDriver(DriverDiagnostics2->SupportedLanguages, Lang, FALSE); in DoDiagnostics() 206 if (!Found && (Lang == NULL||(Lang!=NULL&&(Lang[2]!='-')))){ in DoDiagnostics() 215 … Language = GetBestLanguageForDriver(DriverDiagnostics->SupportedLanguages, Lang, FALSE); in DoDiagnostics() 335 CONST CHAR16 *Lang; in ShellCommandRunDrvDiag() local 403 Lang = ShellCommandLineGetValue(Package, L"-l"); in ShellCommandRunDrvDiag() 404 if (ShellCommandLineGetFlag(Package, L"-l") && Lang == NULL) { in ShellCommandRunDrvDiag() 409 } else if (Lang != NULL) { in ShellCommandRunDrvDiag() 410 Language = AllocateZeroPool(StrSize(Lang)); in ShellCommandRunDrvDiag() [all …]
|
D | Devices.c | 149 CONST CHAR16 *Lang; in ShellCommandRunDevices() local 191 Lang = ShellCommandLineGetValue(Package, L"-l"); in ShellCommandRunDevices() 192 if (Lang != NULL) { in ShellCommandRunDevices() 193 Language = AllocateZeroPool(StrSize(Lang)); in ShellCommandRunDevices() 194 AsciiSPrint(Language, StrSize(Lang), "%S", Lang); in ShellCommandRunDevices()
|
D | Drivers.c | 181 CONST CHAR16 *Lang; in ShellCommandRunDrivers() local 228 Lang = ShellCommandLineGetValue(Package, L"-l"); in ShellCommandRunDrivers() 229 if (Lang != NULL) { in ShellCommandRunDrivers() 230 Language = AllocateZeroPool(StrSize(Lang)); in ShellCommandRunDrivers() 231 AsciiSPrint(Language, StrSize(Lang), "%S", Lang); in ShellCommandRunDrivers()
|
D | Dh.c | 62 CHAR8 *Lang; in GetDriverName() local 89 Lang = GetBestLanguageForDriver (CompName2->SupportedLanguages, Language, FALSE); in GetDriverName() 90 Status = CompName2->GetDriverName(CompName2, Lang, &NameToReturn); in GetDriverName() 91 FreePool(Lang); in GetDriverName() 860 CONST CHAR16 *Lang; in ShellCommandRunDh() local 899 Lang = ShellCommandLineGetValue(Package, L"-l"); in ShellCommandRunDh() 900 if (Lang != NULL) { in ShellCommandRunDh() 901 Language = AllocateZeroPool(StrSize(Lang)); in ShellCommandRunDh() 902 AsciiSPrint(Language, StrSize(Lang), "%S", Lang); in ShellCommandRunDh() 932 Lang==NULL?NULL:Language, in ShellCommandRunDh() [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/MiscSubClassPlatformDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 104 OUT CHAR8 *Lang in GetNextLanguage() argument 112 ASSERT (Lang != NULL); in GetNextLanguage() 120 CopyMem (Lang, StringPtr, Index); in GetNextLanguage() 121 Lang[Index] = 0; in GetNextLanguage() 143 CHAR8 *Lang; in GetSupportedLanguageNumber() local 154 Lang = AllocatePool (AsciiStrSize (Languages)); in GetSupportedLanguageNumber() 155 if (Lang != NULL) { in GetSupportedLanguageNumber() 158 GetNextLanguage (&LanguageString, Lang); in GetSupportedLanguageNumber() 161 FreePool (Lang); in GetSupportedLanguageNumber()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 127 OUT CHAR8 *Lang in GetNextLanguage() 135 ASSERT (Lang != NULL); in GetNextLanguage() 143 CopyMem (Lang, StringPtr, Index); in GetNextLanguage() 144 Lang[Index] = 0; in GetNextLanguage() 166 CHAR8 *Lang; in GetSupportedLanguageNumber() 177 Lang = AllocatePool (AsciiStrSize (Languages)); in GetSupportedLanguageNumber() 178 if (Lang != NULL) { in GetSupportedLanguageNumber() 181 GetNextLanguage (&LanguageString, Lang); in GetSupportedLanguageNumber() 184 FreePool (Lang); in GetSupportedLanguageNumber()
|
/device/linaro/bootloader/edk2/Nt32Pkg/MiscSubClassPlatformDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 102 OUT CHAR8 *Lang in GetNextLanguage() argument 110 ASSERT (Lang != NULL); in GetNextLanguage() 118 CopyMem (Lang, StringPtr, Index); in GetNextLanguage() 119 Lang[Index] = 0; in GetNextLanguage() 141 CHAR8 *Lang; in GetSupportedLanguageNumber() local 152 Lang = AllocatePool (AsciiStrSize (Languages)); in GetSupportedLanguageNumber() 153 if (Lang != NULL) { in GetSupportedLanguageNumber() 156 GetNextLanguage (&LanguageString, Lang); in GetSupportedLanguageNumber() 159 FreePool (Lang); in GetSupportedLanguageNumber()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 112 OUT CHAR8 *Lang in GetNextLanguage() argument 120 ASSERT (Lang != NULL); in GetNextLanguage() 128 CopyMem (Lang, StringPtr, Index); in GetNextLanguage() 129 Lang[Index] = 0; in GetNextLanguage() 151 CHAR8 *Lang; in GetSupportedLanguageNumber() local 162 Lang = AllocatePool (AsciiStrSize (Languages)); in GetSupportedLanguageNumber() 163 if (Lang != NULL) { in GetSupportedLanguageNumber() 166 GetNextLanguage (&LanguageString, Lang); in GetSupportedLanguageNumber() 169 FreePool (Lang); in GetSupportedLanguageNumber()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/ |
D | CommonXml.py | 112 self.Lang = '' 118 self.Lang = XmlAttribute(Item, 'Lang') 125 return "Prompt = %s Lang = %s" % (self.Prompt, self.Lang) 133 self.Lang = '' 139 self.Lang = XmlAttribute(Item, 'Lang') 146 return "HelpText = %s Lang = %s" % (self.HelpText, self.Lang) 214 for Lang in UniStrDict: 215 for StringDefClassObject in UniStrDict[Lang]: 219 UNIInfAbstractList.append((GetLanguageCode1766(Lang), 223 UNIInfDescriptionList.append((GetLanguageCode1766(Lang), [all …]
|
D | XmlParserMisc.py | 85 HelpTextObj.SetLang(HelT.Lang) 98 PromptObj.SetLang(SubPrompt.Lang)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/ |
D | GenDecFile.py | 324 for (Lang, Copyright) in Package.GetCopyright(): 325 if Lang: 328 for (Lang, License) in Package.GetLicense(): 329 if Lang: 337 for (Lang, Copyright) in DistHeader.GetCopyright(): 340 for (Lang, License) in DistHeader.GetLicense(): 361 for (Lang, Copyright) in UserExtension.GetBinaryCopyright(): 363 for (Lang, License) in UserExtension.GetBinaryLicense(): 612 Lang = TxtObj.GetLang() 617 if (PcdPromptStrName, Lang) not in PromptGenList: [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/POM/ |
D | CommonObject.py | 262 self.Lang = TAB_LANGUAGE_EN_US 265 def SetLang(self, Lang): argument 266 self.Lang = Lang 269 return self.Lang 618 def GetBinaryAbstract(self, Lang=None): argument 619 if Lang: 621 if Key == Lang: 630 def GetBinaryDescription(self, Lang=None): argument 631 if Lang: 633 if Key == Lang: [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | UniClassObject.py | 235 for (Lang, Value) in TokenValueList: 236 if not Value or Lang == DT.TAB_LANGUAGE_EN_X: 238 if Lang == '': 239 Lang = DT.TAB_LANGUAGE_EN_US 240 if Lang == 'eng': 241 Lang = DT.TAB_LANGUAGE_EN_US 242 elif len(Lang.split('-')[0]) == 3: 243 Lang = GetLanguageCode(Lang.split('-')[0], True, ContainerFile) 245 Lang = GetLanguageCode(Lang, False, ContainerFile) 254 SubContent += ' '*PreFormatLength + '#language %-5s ' % Lang + SubValueContent [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/ |
D | DecPomAlignment.py | 309 Lang = TAB_LANGUAGE_EN_X 311 Lang = TAB_LANGUAGE_EN_US 316 self.SetAbstract((Lang, Abstract)) 318 self.SetDescription((Lang, Description)) 338 self.SetBinaryHeaderAbstract((Lang, Abstract)) 339 self.SetBinaryHeaderDescription((Lang, Description)) 351 for Lang in UniStrDict: 352 for StringDefClassObject in UniStrDict[Lang]: 353 Lang = GetLanguageCode1766(Lang) 355 if (Lang, ConvertSpecialUnicodes(StringDefClassObject.StringValue)) \ [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
D | UniClassObject.py | 241 Lang = distutils.util.split_quoted((Line.split(u"//")[0])) 242 if len(Lang) != 3: 253 LangName = GetLanguageCode(Lang[1], self.IsCompatibleMode, self.File) 254 LangPrintName = Lang[2] 615 Lang = self.LanguageDef[0][0] 616 if Name in self.OrderedStringDict[Lang]: 617 ItemIndexInList = self.OrderedStringDict[Lang][Name] 618 Item = self.OrderedStringList[Lang][ItemIndexInList] 624 def FindStringValue(self, Name, Lang): argument 625 if Name in self.OrderedStringDict[Lang]: [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ |
D | HandleParsingLib.h | 38 IN CONST CHAR8 *Lang OPTIONAL 56 IN CONST CHAR8 *Lang OPTIONAL 74 IN CONST CHAR8 *Lang OPTIONAL,
|