Lines Matching defs:Lang
169 CHAR8 *Lang;
182 Lang = NULL;
235 Lang = AllocatePool (AsciiStrSize (mLanguageString));
236 ASSERT (Lang != NULL);
239 GetNextLanguage (&LangCode, Lang);
255 GetNextLanguage (&LangCode, Lang);
258 Status = HiiString->GetString (HiiString, Lang, HiiHandle, PRINTABLE_LANGUAGE_NAME_STRING_ID, StringBuffer, &StringSize, NULL);
262 Status = HiiString->GetString (HiiString, Lang, HiiHandle, PRINTABLE_LANGUAGE_NAME_STRING_ID, StringBuffer, &StringSize, NULL);
267 StringBuffer = AllocatePool (AsciiStrSize (Lang) * sizeof (CHAR16));
269 AsciiStrToUnicodeStr (Lang, StringBuffer);
283 if (Lang == NULL) {
284 Lang = AllocatePool (AsciiStrSize (mLanguageString));
285 ASSERT (Lang != NULL);
288 GetNextLanguage (&LangCode, Lang);
290 if (CurrentLang != NULL && AsciiStrCmp (Lang, CurrentLang) == 0) {
314 FreePool (Lang);
372 CHAR8 *Lang;
400 Lang = AllocatePool (AsciiStrSize (mLanguageString));
401 ASSERT (Lang != NULL);
406 GetNextLanguage (&LangCode, Lang);
420 AsciiStrSize (Lang),
421 Lang
427 FreePool (Lang);