/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/AcpiTableDxe/ |
D | AmlString.c | 290 UINTN TotalLength; in AmlGetAslNameStringSize() local 295 TotalLength = 0; in AmlGetAslNameStringSize() 333 TotalLength = *Root + *Parent + (*SegCount) * AML_NAME_SEG_SIZE; in AmlGetAslNameStringSize() 335 TotalLength += 2; in AmlGetAslNameStringSize() 337 TotalLength += 1; in AmlGetAslNameStringSize() 343 TotalLength ++; in AmlGetAslNameStringSize() 345 return TotalLength; in AmlGetAslNameStringSize() 389 UINTN TotalLength; in AmlNameFromAslName() local 395 TotalLength = AmlGetAslNameStringSize (AslPath, &Root, &Parent, &SegCount); in AmlNameFromAslName() 396 if (TotalLength == 0) { in AmlNameFromAslName() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/ |
D | GenSec.c | 264 UINT32 TotalLength; in GenSectionCommonLeafSection() local 294 TotalLength = sizeof (EFI_COMMON_SECTION_HEADER) + InputFileLength; in GenSectionCommonLeafSection() 303 if (TotalLength >= MAX_SECTION_SIZE) { in GenSectionCommonLeafSection() 304 TotalLength = sizeof (EFI_COMMON_SECTION_HEADER2) + InputFileLength; in GenSectionCommonLeafSection() 307 VerboseMsg ("the size of the created section file is %u bytes", (unsigned) TotalLength); in GenSectionCommonLeafSection() 311 Buffer = (UINT8 *) malloc ((size_t) TotalLength); in GenSectionCommonLeafSection() 318 if (TotalLength < MAX_SECTION_SIZE) { in GenSectionCommonLeafSection() 319 CommonSect->Size[0] = (UINT8) (TotalLength & 0xff); in GenSectionCommonLeafSection() 320 CommonSect->Size[1] = (UINT8) ((TotalLength & 0xff00) >> 8); in GenSectionCommonLeafSection() 321 CommonSect->Size[2] = (UINT8) ((TotalLength & 0xff0000) >> 16); in GenSectionCommonLeafSection() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/ |
D | GenSection.c | 202 INTN TotalLength; in GenSectionCommonLeafSection() local 234 TotalLength = sizeof (CommonSect) + (INTN) InputFileLength; in GenSectionCommonLeafSection() 238 if (TotalLength >= MAX_SECTION_SIZE) { in GenSectionCommonLeafSection() 239 …InputFileName[0], "file size (0x%X) exceeds section size limit(%dM).", TotalLength, MAX_SECTION_SI… in GenSectionCommonLeafSection() 245 memcpy (&CommonSect.Size, &TotalLength, 3); in GenSectionCommonLeafSection() 414 UINTN TotalLength; in GenSectionCompressionSection() local 516 TotalLength = CompressedLength + sizeof (EFI_COMPRESSION_SECTION); in GenSectionCompressionSection() 517 if (TotalLength >= MAX_SECTION_SIZE) { in GenSectionCompressionSection() 531 CompressionSect.CommonHeader.Size[0] = (UINT8) (TotalLength & 0xff); in GenSectionCompressionSection() 532 CompressionSect.CommonHeader.Size[1] = (UINT8) ((TotalLength & 0xff00) >> 8); in GenSectionCompressionSection() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
D | StrGather.py | 358 TotalLength = EFI_HII_ARRAY_SIZE_LENGTH 424 TotalLength = TotalLength + ArrayLength 467 AllStr = WriteLine(AllStr, CreateArrayItem(DecToHexList(TotalLength + 2)) + '\n') 475 AllStr = WriteLine(AllStr, CreateArrayItem(DecToHexList(TotalLength)) + '\n')
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/ |
D | UsbDesc.c | 737 Desc.TotalLength, Status)); in UsbGetOneConfig() 742 DEBUG (( EFI_D_INFO, "UsbGetOneConfig: total length is %d\n", Desc.TotalLength)); in UsbGetOneConfig() 744 Buf = AllocateZeroPool (Desc.TotalLength); in UsbGetOneConfig() 750 Status = UsbCtrlGetDesc (UsbDev, USB_DESC_TYPE_CONFIG, Index, 0, Buf, Desc.TotalLength); in UsbGetOneConfig() 830 ConfigDesc = UsbParseConfigDesc ((UINT8 *) Config, Config->TotalLength); in UsbBuildDescTable()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/SectionExtraction/ |
D | CoreSectionExtraction.c | 267 UINTN TotalLength; in IsValidSectionStream() local 272 TotalLength = 0; in IsValidSectionStream() 275 while (TotalLength < SectionStreamLength) { in IsValidSectionStream() 281 TotalLength += SectionLength; in IsValidSectionStream() 283 if (TotalLength == SectionStreamLength) { in IsValidSectionStream() 296 TotalLength += (UINTN) NextSectionHeader - (UINTN) SectionHeader; in IsValidSectionStream()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/ |
D | SectionExtraction.c | 277 UINTN TotalLength; in IsValidSectionStream() local 282 TotalLength = 0; in IsValidSectionStream() 285 while (TotalLength < SectionStreamLength) { in IsValidSectionStream() 291 TotalLength += SectionLength; in IsValidSectionStream() 293 if (TotalLength == SectionStreamLength) { in IsValidSectionStream() 306 TotalLength += (UINTN) NextSectionHeader - (UINTN) SectionHeader; in IsValidSectionStream()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/ |
D | MnpIo.c | 37 UINT32 TotalLength; in MnpIsValidTxToken() local 63 TotalLength = 0; in MnpIsValidTxToken() 75 TotalLength += FragmentTable[Index].FragmentLength; in MnpIsValidTxToken() 85 if (TotalLength != (TxData->DataLength + TxData->HeaderLength)) { in MnpIsValidTxToken()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/ |
D | UsbMouseAbsolutePointer.c | 579 Buf = AllocateZeroPool (ConfigDesc.TotalLength); in InitializeUsbMouseDevice() 588 ConfigDesc.TotalLength, in InitializeUsbMouseDevice() 607 while (Total < ConfigDesc.TotalLength) { in InitializeUsbMouseDevice()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/ |
D | FastbootTransportUsb.c | 174 …mGetConfigDescriptorResponse.ConfigDescriptor.TotalLength = sizeof (GET_CONFIG_DESCRIPTOR_RESPONSE… in FastbootTransportUsbStart()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe/ |
D | UsbMouse.c | 579 Buf = AllocateZeroPool (ConfigDesc.TotalLength); in InitializeUsbMouseDevice() 588 ConfigDesc.TotalLength, in InitializeUsbMouseDevice() 607 while (Total < ConfigDesc.TotalLength) { in InitializeUsbMouseDevice()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/ArpDxe/ |
D | ArpImpl.c | 1025 UINT32 TotalLength; in ArpSendFrame() local 1079 TotalLength = SnpMode->MediaHeaderSize + sizeof (ARP_HEAD) + in ArpSendFrame() 1085 Packet = AllocatePool (TotalLength); in ArpSendFrame() 1167 TxData->DataLength = TotalLength - SnpMode->MediaHeaderSize; in ArpSendFrame() 1172 TxData->FragmentTable[0].FragmentLength = TotalLength; in ArpSendFrame()
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | Usb.h | 133 UINT16 TotalLength; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/ |
D | usb.h | 200 UINT16 TotalLength; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/ |
D | GenFfsFile.c | 1527 UINT32 TotalLength; in AdjustFileSize() local 1534 TotalLength = 0; in AdjustFileSize() 1540 while (TotalLength < SectionStreamLength) { in AdjustFileSize() 1542 TotalLength += SectionLength; in AdjustFileSize() 1544 if (TotalLength == SectionStreamLength) { in AdjustFileSize() 1545 return TotalLength; in AdjustFileSize() 1558 TotalLength += (UINTN) NextSectionHeader - (UINTN) SectionHeader; in AdjustFileSize()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Ip4/ |
D | Ip4.h | 102 UINT16 TotalLength; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | Ip4.h | 197 UINT16 TotalLength; member
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/ |
D | LegacyBootMaintUi.c | 1185 UINTN TotalLength; in GetLegacyOptionsOrder() local 1237 TotalLength = sizeof (BBS_TYPE) + sizeof (UINT16) + Index * sizeof (UINT16); in GetLegacyOptionsOrder() 1238 VarDevOrder = *(UINT16 *) ((UINT8 *) DevOrder + TotalLength); in GetLegacyOptionsOrder()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Isp1761UsbDxe/ |
D | Isp1761UsbDxe.c | 242 ResponseSize = mConfigDescriptor->TotalLength; in HandleGetDescriptor()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/ |
D | DwUsbDxe.c | 248 ResponseSize = mConfigDescriptor->TotalLength; in HandleGetDescriptor()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusPei/ |
D | UsbPeim.c | 817 ConfigDescLength = ConfigDesc->TotalLength; in PeiUsbGetAllConfiguration()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
D | XhciSched.c | 3263 while ((UINTN) IfDesc < ((UINTN) ConfigDesc + ConfigDesc->TotalLength)) { in XhcSetInterface() 3460 while ((UINTN) IfDesc < ((UINTN) ConfigDesc + ConfigDesc->TotalLength)) { in XhcSetInterface64()
|