• Home
  • Raw
  • Download

Lines Matching refs:Description

152   CHAR16                       *Description;  in BmGetDescriptionFromDiskInfo()  local
159 Description = NULL; in BmGetDescriptionFromDiskInfo()
179 Description = AllocateZeroPool ((ModelNameLength + SerialNumberLength + 2) * sizeof (CHAR16)); in BmGetDescriptionFromDiskInfo()
180 ASSERT (Description != NULL); in BmGetDescriptionFromDiskInfo()
182 Description[Index] = (CHAR16) IdentifyData.ModelName[Index + 1]; in BmGetDescriptionFromDiskInfo()
183 Description[Index + 1] = (CHAR16) IdentifyData.ModelName[Index]; in BmGetDescriptionFromDiskInfo()
187 Description[Length++] = L' '; in BmGetDescriptionFromDiskInfo()
190 Description[Length + Index] = (CHAR16) IdentifyData.SerialNo[Index + 1]; in BmGetDescriptionFromDiskInfo()
191 Description[Length + Index + 1] = (CHAR16) IdentifyData.SerialNo[Index]; in BmGetDescriptionFromDiskInfo()
194 Description[Length++] = L'\0'; in BmGetDescriptionFromDiskInfo()
197 BmEliminateExtraSpaces (Description); in BmGetDescriptionFromDiskInfo()
207Description = AllocateZeroPool ((VENDOR_IDENTIFICATION_LENGTH + PRODUCT_IDENTIFICATION_LENGTH + 2)… in BmGetDescriptionFromDiskInfo()
208 ASSERT (Description != NULL); in BmGetDescriptionFromDiskInfo()
218 AsciiStrToUnicodeStrS (StrPtr, Description, VENDOR_IDENTIFICATION_LENGTH + 1); in BmGetDescriptionFromDiskInfo()
224 Description[VENDOR_IDENTIFICATION_LENGTH] = L' '; in BmGetDescriptionFromDiskInfo()
228 …AsciiStrToUnicodeStrS (StrPtr, Description + VENDOR_IDENTIFICATION_LENGTH + 1, PRODUCT_IDENTIFICAT… in BmGetDescriptionFromDiskInfo()
230 BmEliminateExtraSpaces (Description); in BmGetDescriptionFromDiskInfo()
234 return Description; in BmGetDescriptionFromDiskInfo()
255 CHAR16 *Description; in BmGetUsbDescription() local
313 Description = AllocateZeroPool (DescMaxSize); in BmGetUsbDescription()
314 ASSERT (Description != NULL); in BmGetUsbDescription()
315 StrCatS (Description, DescMaxSize/sizeof(CHAR16), Manufacturer); in BmGetUsbDescription()
316 StrCatS (Description, DescMaxSize/sizeof(CHAR16), L" "); in BmGetUsbDescription()
318 StrCatS (Description, DescMaxSize/sizeof(CHAR16), Product); in BmGetUsbDescription()
319 StrCatS (Description, DescMaxSize/sizeof(CHAR16), L" "); in BmGetUsbDescription()
321 StrCatS (Description, DescMaxSize/sizeof(CHAR16), SerialNumber); in BmGetUsbDescription()
333 BmEliminateExtraSpaces (Description); in BmGetUsbDescription()
335 return Description; in BmGetUsbDescription()
356 CHAR16 *Description; in BmGetNetworkDescription() local
441 Description = AllocatePool (DescriptionSize); in BmGetNetworkDescription()
442 ASSERT (Description != NULL); in BmGetNetworkDescription()
444 Description, DescriptionSize, in BmGetNetworkDescription()
454 return Description; in BmGetNetworkDescription()
472 CHAR16 *Description; in BmGetLoadFileDescription() local
483 Description = NULL; in BmGetLoadFileDescription()
489 Description = (CHAR16 *)(DevicePathNode + 1); in BmGetLoadFileDescription()
496 if (Description != NULL) { in BmGetLoadFileDescription()
497 return AllocateCopyPool (StrSize (Description), Description); in BmGetLoadFileDescription()
516 CHAR16 *Description; in BmGetMiscDescription() local
522 Description = L"Floppy"; in BmGetMiscDescription()
532 Description = BlockIo->Media->RemovableMedia ? L"DVD/CDROM" : L"Hard Drive"; in BmGetMiscDescription()
536 Description = L"USB Device"; in BmGetMiscDescription()
540 Description = L"SCSI Device"; in BmGetMiscDescription()
546 Description = BlockIo->Media->RemovableMedia ? L"Removable Disk" : L"Hard Drive"; in BmGetMiscDescription()
548 Description = L"Misc Device"; in BmGetMiscDescription()
555 Description = L"Non-Block Boot Device"; in BmGetMiscDescription()
557 Description = L"Misc Device"; in BmGetMiscDescription()
562 return AllocateCopyPool (StrSize (Description), Description); in BmGetMiscDescription()
626 CHAR16 *Description; in BmGetBootDescription() local
661 Description = Entry->Handler (Handle, DefaultDescription); in BmGetBootDescription()
662 if (Description != NULL) { in BmGetBootDescription()
664 return Description; in BmGetBootDescription()
711 DescriptionSize = StrSize (BootOptions[Base].Description); in BmMakeBootOptionDescriptionUnique()
713 …if (!Visited[Index] && StrCmp (BootOptions[Base].Description, BootOptions[Index].Description) == 0… in BmMakeBootOptionDescriptionUnique()
716 FreePool (BootOptions[Index].Description); in BmMakeBootOptionDescriptionUnique()
717 BootOptions[Index].Description = AllocatePool (DescriptionSize + MaxSuffixSize); in BmMakeBootOptionDescriptionUnique()
719 BootOptions[Index].Description, DescriptionSize + MaxSuffixSize, in BmMakeBootOptionDescriptionUnique()
721 BootOptions[Base].Description, MatchCount in BmMakeBootOptionDescriptionUnique()