/device/linaro/bootloader/edk2/BaseTools/Scripts/ |
D | BinToPcd.py | 119 if args.MaxSize is None: 125 elif args.MaxSize < len(Buffer): 129 Pcd = ' %s|%s|VOID*|%d' % (args.PcdName, ByteArray (Buffer), args.MaxSize) 130 args.MaxSize = len(Buffer) 139 if args.MaxSize is None: 144 args.MaxSize = len(Buffer) 145 if args.MaxSize < len(Buffer): 153 Pcd = ' %s|*|%d|%s' % (args.PcdName, args.MaxSize, ByteArray (Buffer)) 158 Pcd = ' %s|%d|%d|%s' % (args.PcdName, args.Offset, args.MaxSize, ByteArray (Buffer))
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
D | OnigurumaUefiPort.h | 65 #define strlen_s(String,MaxSize) AsciiStrnLenS (String, MaxSize) argument 66 #define strcat_s(Dest,MaxSize,Src) AsciiStrCatS (Dest, MaxSize, Src) argument 67 #define strncpy_s(Dest,MaxSize,Src,Length) AsciiStrnCpyS (Dest, MaxSize, Src, Length) argument
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/SerializeVariablesLib/ |
D | SerializeVariablesLib.c | 59 IN UINTN MaxSize, in UnpackVariableFromBuffer() argument 78 if (Offset > MaxSize) { in UnpackVariableFromBuffer() 84 if (Offset > MaxSize) { in UnpackVariableFromBuffer() 90 if (Offset > MaxSize) { in UnpackVariableFromBuffer() 96 if (Offset > MaxSize) { in UnpackVariableFromBuffer() 102 if (Offset > MaxSize) { in UnpackVariableFromBuffer() 108 if (Offset > MaxSize) { in UnpackVariableFromBuffer() 136 IN UINTN MaxSize in IterateVariablesInBuffer() argument 163 !EFI_ERROR (Status) && (TotalSizeUsed < MaxSize); in IterateVariablesInBuffer() 167 (MaxSize - TotalSizeUsed), in IterateVariablesInBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/VariableInfo/ |
D | VariableInfo.c | 94 UINTN MaxSize; in PrintInfoFromSmm() local 118 MaxSize = 0; in PrintInfoFromSmm() 123 if (Size > MaxSize) { in PrintInfoFromSmm() 124 MaxSize = Size; in PrintInfoFromSmm() 125 RealCommSize = MaxSize; in PrintInfoFromSmm()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/ |
D | CEATABlockIo.c | 335 UINT64 MaxSize; in CEATABlockIoInit() local 379 MaxSize = *(UINT64*)(CardData->IndentifyDeviceData.MaximumLBA); in CEATABlockIoInit() 380 MaxSize = MultU64x32 (MaxSize, 512); in CEATABlockIoInit() 383 …CardData->BlockNumber = DivU64x32Remainder (MaxSize, CardData->BlockIoMedia.BlockSize, &Remainder); in CEATABlockIoInit()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PCD/Pei/ |
D | Pcd.c | 424 UINTN MaxSize; in PeiPcdGetSize() local 447 return GetPtrTypeSize (TokenNumber, &MaxSize, PeiPcdDb); in PeiPcdGetSize() 1277 OUT UINTN *MaxSize, in GetPtrTypeSize() argument 1295 *MaxSize = SizeTable[SizeTableIdx]; in GetPtrTypeSize() 1307 return *MaxSize; in GetPtrTypeSize() 1359 UINTN MaxSize; in SetPtrTypeSize() local 1369 MaxSize = SizeTable[SizeTableIdx]; in SetPtrTypeSize() 1381 if ((*CurrentSize > MaxSize) || in SetPtrTypeSize() 1383 *CurrentSize = MaxSize; in SetPtrTypeSize()
|
D | Service.c | 34 UINTN MaxSize; in GetLocalTokenNumber() local 49 GetPtrTypeSize (TokenNumber, &MaxSize, Database); in GetLocalTokenNumber() 51 MaxSize = Size; in GetLocalTokenNumber() 53 LocalTokenNumber = GetSkuEnabledTokenNumber (LocalTokenNumber & ~PCD_TYPE_SKU_ENABLED, MaxSize); in GetLocalTokenNumber() 731 UINTN MaxSize; in SetWorker() local 756 GetPtrTypeSize (TokenNumber, &MaxSize, PeiPcdDb); in SetWorker() 757 if (*Size > MaxSize) { in SetWorker() 758 *Size = MaxSize; in SetWorker()
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/ |
D | UefiDevicePathLib.c | 97 IN UINTN MaxSize in IsDevicePathValid() argument 106 if (MaxSize == 0) { in IsDevicePathValid() 107 MaxSize = MAX_UINTN; in IsDevicePathValid() 113 if (MaxSize < sizeof (EFI_DEVICE_PATH_PROTOCOL)) { in IsDevicePathValid() 131 if (Size > MaxSize - END_DEVICE_PATH_LENGTH ) { in IsDevicePathValid()
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
D | DevicePathUtilities.c | 55 IN UINTN MaxSize in IsDevicePathValid() argument 64 if (MaxSize == 0) { in IsDevicePathValid() 65 MaxSize = MAX_UINTN; in IsDevicePathValid() 71 if (MaxSize < sizeof (EFI_DEVICE_PATH_PROTOCOL)) { in IsDevicePathValid() 89 if (Size > MaxSize - END_DEVICE_PATH_LENGTH ) { in IsDevicePathValid()
|
/device/linaro/bootloader/edk2/Omap35xxPkg/LcdGraphicsOutputDxe/ |
D | LcdGraphicsOutputDxe.c | 113 UINTN MaxSize; in LcdPlatformGetVram() local 115 MaxSize = 0x500000; in LcdPlatformGetVram() 116 *VramSize = MaxSize; in LcdPlatformGetVram() 119 …Status = gBS->AllocatePages (AllocateAnyPages, EfiBootServicesData, EFI_SIZE_TO_PAGES((MaxSize)), … in LcdPlatformGetVram()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
D | SafeString.c | 126 IN UINTN MaxSize in StrnLenS() argument 148 if (Length >= MaxSize - 1) { in StrnLenS() 149 return MaxSize; in StrnLenS() 560 IN UINTN MaxSize in AsciiStrnLenS() argument 580 if (Length >= MaxSize - 1) { in AsciiStrnLenS() 581 return MaxSize; in AsciiStrnLenS()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/ |
D | Gpt.c | 128 IN UINTN MaxSize, 146 IN UINTN MaxSize, 802 IN UINTN MaxSize, in PartitionCheckCrc() argument 806 return PartitionCheckCrcAltSize (MaxSize, Hdr->HeaderSize, Hdr); in PartitionCheckCrc() 823 IN UINTN MaxSize, in PartitionCheckCrcAltSize() argument 841 if ((MaxSize != 0) && (Size > MaxSize)) { in PartitionCheckCrcAltSize()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/ |
D | PatchPcdValue.py | 47 def PatchBinaryFile(FileName, ValueOffset, TypeName, ValueString, MaxSize=0): argument 74 if MaxSize == 0: 76 ValueLength = int(MaxSize)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PCD/Dxe/ |
D | Service.c | 59 UINTN MaxSize; in GetLocalTokenNumber() local 83 GetPtrTypeSize (TmpTokenNumber, &MaxSize); in GetLocalTokenNumber() 85 MaxSize = Size; in GetLocalTokenNumber() 87 …LocalTokenNumber = GetSkuEnabledTokenNumber (LocalTokenNumber & ~PCD_TYPE_SKU_ENABLED, MaxSize, Is… in GetLocalTokenNumber() 1137 UINTN MaxSize; in SetWorker() local 1160 GetPtrTypeSize (TokenNumber, &MaxSize); in SetWorker() 1161 if (*Size > MaxSize) { in SetWorker() 1162 *Size = MaxSize; in SetWorker() 1760 OUT UINTN *MaxSize in GetPtrTypeSize() argument 1792 *MaxSize = SizeTable[SizeTableIdx]; in GetPtrTypeSize() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/AcpiTableDxe/ |
D | AcpiSdt.c | 133 OUT UINTN *MaxSize in SdtGetMaxAmlBufferSize() argument 143 *MaxSize = (UINTN)CurrentTableList->Table + CurrentTableList->Table->Length - (UINTN)Buffer; in SdtGetMaxAmlBufferSize() 565 UINTN MaxSize; in Open() local 567 MaxSize = 0; in Open() 576 Status = SdtGetMaxAmlBufferSize (Buffer, &MaxSize); in Open() 581 return SdtOpenEx (Buffer, MaxSize, Handle); in Open()
|
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/ |
D | DiskCache.c | 118 UINT64 MaxSize; in FatExchangeCachePage() local 132 MaxSize = DiskCache->LimitAddress - EntryPos; in FatExchangeCachePage() 133 if (MaxSize < RealSize) { in FatExchangeCachePage() 135 RealSize = (UINTN) MaxSize; in FatExchangeCachePage()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Protocol/ |
D | VarCheck.h | 63 UINTN MaxSize; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/ |
D | IfrOpCodeCreation.c | 515 IN UINT8 MaxSize, in CreateStringOpCode() argument 565 String.MaxSize = MaxSize; in CreateStringOpCode()
|
D | IfrOnTheFly.c | 889 IN UINT8 MaxSize, in CreateString() argument 965 String.MaxSize = MaxSize; in CreateString()
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Framework/ |
D | FrameworkInternalFormRepresentation.h | 252 UINT8 MaxSize; ///< Maximum allowable sized password. member 265 UINT8 MaxSize; ///< Maximum allowable sized password. member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | VarCheck.c | 55 Property.MaxSize = MAX_UINTN; in VariableLockRequestToLock()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/ |
D | EfiInternalFormRepresentation.h | 263 UINT8 MaxSize; // Maximum allowable sized password member 276 UINT8 MaxSize; // Maximum allowable sized password member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | DevicePathLib.h | 42 IN UINTN MaxSize
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
D | PiSmmCpuDxeSmm.c | 963 UINT64 MaxSize; in FindSmramInfo() local 991 for (Index = 0, MaxSize = SIZE_256KB - EFI_PAGE_SIZE; Index < SmramRangeCount; Index++) { in FindSmramInfo() 1001 if (SmramRanges[Index].PhysicalSize >= MaxSize) { in FindSmramInfo() 1002 MaxSize = SmramRanges[Index].PhysicalSize; in FindSmramInfo()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckLib/ |
D | VarCheckLib.c | 648 if ((DataSize < Property->MinSize) || (DataSize > Property->MaxSize)) { in VarCheckLibSetVariableCheck() 649 …ot in 0x%x - 0x%x) %r - %g:%s\n", DataSize, Property->MinSize, Property->MaxSize, EFI_INVALID_PARA… in VarCheckLibSetVariableCheck()
|