Home
last modified time | relevance | path

Searched refs:DescriptionSize (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/
DDebugLib.c266 UINTN DescriptionSize; in DebugAssert() local
277 DescriptionSize = AsciiStrSize (Description); in DebugAssert()
282 if (HeaderSize + ModuleNameSize + FileNameSize + DescriptionSize > sizeof (Buffer)) { in DebugAssert()
287 if (HeaderSize + FileNameSize + DescriptionSize > sizeof (Buffer)) { in DebugAssert()
295 DescriptionSize = sizeof (Buffer) - HeaderSize - FileNameSize; in DebugAssert()
301 DescriptionSize = 1; in DebugAssert()
302 FileNameSize = sizeof (Buffer) - HeaderSize - DescriptionSize; in DebugAssert()
334 Temp = CopyMem (Temp + FileNameSize, Description, DescriptionSize); in DebugAssert()
335 Temp[DescriptionSize - 1] = 0; in DebugAssert()
336 TotalSize += DescriptionSize; in DebugAssert()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/
DDebugLib.c273 UINTN DescriptionSize; in DebugAssert() local
284 DescriptionSize = AsciiStrSize (Description); in DebugAssert()
289 if (HeaderSize + ModuleNameSize + FileNameSize + DescriptionSize > sizeof (Buffer)) { in DebugAssert()
294 if (HeaderSize + FileNameSize + DescriptionSize > sizeof (Buffer)) { in DebugAssert()
302 DescriptionSize = sizeof (Buffer) - HeaderSize - FileNameSize; in DebugAssert()
308 DescriptionSize = 1; in DebugAssert()
309 FileNameSize = sizeof (Buffer) - HeaderSize - DescriptionSize; in DebugAssert()
341 Temp = CopyMem (Temp + FileNameSize, Description, DescriptionSize); in DebugAssert()
342 Temp[DescriptionSize - 1] = 0; in DebugAssert()
343 TotalSize += DescriptionSize; in DebugAssert()
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsLoadOption.c115 UINTN DescriptionSize; in BootOptionToLoadOptionVariable() local
138 DescriptionSize = StrSize(BdsLoadOption->Description); in BootOptionToLoadOptionVariable()
144 …BdsLoadOption->LoadOptionSize = sizeof(UINT32) + sizeof(UINT16) + DescriptionSize + BdsLoadOption-… in BootOptionToLoadOptionVariable()
166 CopyMem (EfiLoadOptionPtr, BdsLoadOption->Description, DescriptionSize); in BootOptionToLoadOptionVariable()
167 EfiLoadOptionPtr += DescriptionSize; in BootOptionToLoadOptionVariable()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmBootDescription.c357 UINTN DescriptionSize; in BmGetNetworkDescription() local
440 DescriptionSize = sizeof (L"HTTPv6 (MAC:112233445566 VLAN65535)"); in BmGetNetworkDescription()
441 Description = AllocatePool (DescriptionSize); in BmGetNetworkDescription()
444 Description, DescriptionSize, in BmGetNetworkDescription()
686 UINTN DescriptionSize; in BmMakeBootOptionDescriptionUnique() local
711 DescriptionSize = StrSize (BootOptions[Base].Description); in BmMakeBootOptionDescriptionUnique()
717 BootOptions[Index].Description = AllocatePool (DescriptionSize + MaxSuffixSize); in BmMakeBootOptionDescriptionUnique()
719 BootOptions[Index].Description, DescriptionSize + MaxSuffixSize, in BmMakeBootOptionDescriptionUnique()
DBmLoadOption.c723 UINTN DescriptionSize; in BmValidateOption() local
743DescriptionSize = BmStrSizeEx ((CHAR16 *) Variable, VariableSize - sizeof (UINT16) - sizeof (UINT3… in BmValidateOption()
744 Variable += DescriptionSize; in BmValidateOption()
754 if ((FilePathSize == 0) || (DescriptionSize == 0)) { in BmValidateOption()
758 if (sizeof (UINT32) + sizeof (UINT16) + DescriptionSize + FilePathSize > VariableSize) { in BmValidateOption()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellBcfgCommandLib/
DUefiShellBcfgCommandLib.c1040 UINTN DescriptionSize; in BcfgDisplayDump() local
1099 DescriptionSize = StrSize (Description); in BcfgDisplayDump()
1102 FilePathList = (UINT8 *)Description + DescriptionSize; in BcfgDisplayDump()
1106 OptionalDataOffset = sizeof *LoadOption + DescriptionSize + in BcfgDisplayDump()