/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 315 Lang = NULL; in InitializeFrontPage() 419 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/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 | 40 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 | 48 IN CONST CHAR8 *Lang, in DoDiagnostics() argument 172 if (Lang == NULL || Lang[2] == '-') { in DoDiagnostics() 184 … Language = GetBestLanguageForDriver(DriverDiagnostics2->SupportedLanguages, Lang, FALSE); in DoDiagnostics() 198 if (!Found && (Lang == NULL||(Lang!=NULL&&(Lang[2]!='-')))){ in DoDiagnostics() 207 … Language = GetBestLanguageForDriver(DriverDiagnostics->SupportedLanguages, Lang, FALSE); in DoDiagnostics() 327 CONST CHAR16 *Lang; in ShellCommandRunDrvDiag() local 395 Lang = ShellCommandLineGetValue(Package, L"-l"); in ShellCommandRunDrvDiag() 396 if (ShellCommandLineGetFlag(Package, L"-l") && Lang == NULL) { in ShellCommandRunDrvDiag() 401 } else if (Lang != NULL) { in ShellCommandRunDrvDiag() 402 Language = AllocateZeroPool(StrSize(Lang)); in ShellCommandRunDrvDiag() [all …]
|
D | Devices.c | 150 CONST CHAR16 *Lang; in ShellCommandRunDevices() local 192 Lang = ShellCommandLineGetValue(Package, L"-l"); in ShellCommandRunDevices() 193 if (Lang != NULL) { in ShellCommandRunDevices() 194 Language = AllocateZeroPool(StrSize(Lang)); in ShellCommandRunDevices() 195 AsciiSPrint(Language, StrSize(Lang), "%S", Lang); in ShellCommandRunDevices()
|
D | Drivers.c | 185 CONST CHAR16 *Lang; in ShellCommandRunDrivers() local 232 Lang = ShellCommandLineGetValue(Package, L"-l"); in ShellCommandRunDrivers() 233 if (Lang != NULL) { in ShellCommandRunDrivers() 234 Language = AllocateZeroPool(StrSize(Lang)); in ShellCommandRunDrivers() 235 AsciiSPrint(Language, StrSize(Lang), "%S", Lang); in ShellCommandRunDrivers()
|
D | Dh.c | 63 CHAR8 *Lang; in GetDriverName() local 90 Lang = GetBestLanguageForDriver (CompName2->SupportedLanguages, Language, FALSE); in GetDriverName() 91 Status = CompName2->GetDriverName(CompName2, Lang, &NameToReturn); in GetDriverName() 92 FreePool(Lang); in GetDriverName() 869 CONST CHAR16 *Lang; in ShellCommandRunDh() local 908 Lang = ShellCommandLineGetValue(Package, L"-l"); in ShellCommandRunDh() 909 if (Lang != NULL) { in ShellCommandRunDh() 910 Language = AllocateZeroPool(StrSize(Lang)); in ShellCommandRunDh() 911 AsciiSPrint(Language, StrSize(Lang), "%S", Lang); in ShellCommandRunDh() 941 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/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/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/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/MdeModulePkg/Application/UiApp/ |
D | Language.c | 286 OUT CHAR8 *Lang in GetNextLanguage() argument 294 ASSERT (Lang != NULL); in GetNextLanguage() 302 CopyMem (Lang, StringPtr, Index); in GetNextLanguage() 303 Lang[Index] = 0; in GetNextLanguage()
|
D | FrontPage.c | 169 CHAR8 *Lang; in InitializeLanguage() local 182 Lang = NULL; in InitializeLanguage() 235 Lang = AllocatePool (AsciiStrSize (mLanguageString)); in InitializeLanguage() 236 ASSERT (Lang != NULL); in InitializeLanguage() 239 GetNextLanguage (&LangCode, Lang); in InitializeLanguage() 255 GetNextLanguage (&LangCode, Lang); in InitializeLanguage() 258 …Status = HiiString->GetString (HiiString, Lang, HiiHandle, PRINTABLE_LANGUAGE_NAME_STRING_ID, Stri… in InitializeLanguage() 262 …Status = HiiString->GetString (HiiString, Lang, HiiHandle, PRINTABLE_LANGUAGE_NAME_STRING_ID, Stri… in InitializeLanguage() 267 StringBuffer = AllocatePool (AsciiStrSize (Lang) * sizeof (CHAR16)); in InitializeLanguage() 269 AsciiStrToUnicodeStr (Lang, StringBuffer); in InitializeLanguage() [all …]
|
/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 | 322 for (Lang, Copyright) in Package.GetCopyright(): 323 if Lang: 326 for (Lang, License) in Package.GetLicense(): 327 if Lang: 335 for (Lang, Copyright) in DistHeader.GetCopyright(): 338 for (Lang, License) in DistHeader.GetLicense(): 359 for (Lang, Copyright) in UserExtension.GetBinaryCopyright(): 361 for (Lang, License) in UserExtension.GetBinaryLicense(): 604 Lang = TxtObj.GetLang() 609 if (PcdPromptStrName, Lang) not in PromptGenList: [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/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/PomAdapter/ |
D | DecPomAlignment.py | 300 Lang = TAB_LANGUAGE_EN_X 302 Lang = TAB_LANGUAGE_EN_US 307 self.SetAbstract((Lang, Abstract)) 309 self.SetDescription((Lang, Description)) 329 self.SetBinaryHeaderAbstract((Lang, Abstract)) 330 self.SetBinaryHeaderDescription((Lang, Description)) 342 for Lang in UniStrDict: 343 for StringDefClassObject in UniStrDict[Lang]: 344 Lang = GetLanguageCode1766(Lang) 346 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] 605 Lang = self.LanguageDef[0][0] 606 if Name in self.OrderedStringDict[Lang]: 607 ItemIndexInList = self.OrderedStringDict[Lang][Name] 608 Item = self.OrderedStringList[Lang][ItemIndexInList] 614 def FindStringValue(self, Name, Lang): argument 615 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,
|