/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetAddrInfo/ |
D | GetAddrInfo.c | 46 int MaxLen; in main() local 95 MaxLen = pInfo->ai_addr->sa_len; in main() 96 if ( sizeof ( struct sockaddr_in6 ) < MaxLen ) { in main() 97 MaxLen = sizeof ( struct sockaddr_in6 ); in main() 99 for ( Index = 0; ( MaxLen - 2 ) > Index; Index++ ) { in main()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/ |
D | ProcessOptions.c | 957 UINTN MaxLen; in ProcessOptions() local 1000 MaxLen = OrderList->MaxContainers * BufferSize / sizeof (CHAR16); in ProcessOptions() 1001 *OptionString = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in ProcessOptions() 1059 NewStrCat (OptionString[0], MaxLen, Character); in ProcessOptions() 1062 NewStrCat (OptionString[0], MaxLen, StringPtr); in ProcessOptions() 1064 NewStrCat (OptionString[0], MaxLen, Character); in ProcessOptions() 1066 NewStrCat (OptionString[0], MaxLen, Character); in ProcessOptions() 1094 NewStrCat (OptionString[0], MaxLen, Character); in ProcessOptions() 1097 NewStrCat (OptionString[0], MaxLen, StringPtr); in ProcessOptions() 1099 NewStrCat (OptionString[0], MaxLen, Character); in ProcessOptions() [all …]
|
D | InputHandler.c | 87 UINTN MaxLen; in ReadString() local 106 MaxLen = Maximum + 1; in ReadString() 107 TempString = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in ReadString() 248 StrCpyS (StringPtr, MaxLen, TempString); in ReadString() 257 StrnCpyS (StringPtr, MaxLen, &Key.UnicodeChar, 1); in ReadString() 268 StrCatS (TempString, MaxLen, KeyPad); in ReadString() 269 StrCatS (TempString, MaxLen, StringPtr + CurrentCursor); in ReadString() 270 StrCpyS (StringPtr, MaxLen, TempString); in ReadString() 272 StrCatS (StringPtr, MaxLen, KeyPad); in ReadString()
|
D | FormDisplay.c | 2156 UINTN MaxLen; in FxConfirmPopup() local 2217 MaxLen = CfmStrLen + 1 + 1; in FxConfirmPopup() 2218 CfmStr = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in FxConfirmPopup() 2222 StrCpyS (CfmStr, MaxLen, gConfirmDiscardMsg); in FxConfirmPopup() 2227 StrCatS (CfmStr, MaxLen, gConfirmMsgConnect); in FxConfirmPopup() 2228 StrCatS (CfmStr, MaxLen, gConfirmDefaultMsg2nd); in FxConfirmPopup() 2230 StrCpyS (CfmStr, MaxLen, gConfirmDefaultMsg); in FxConfirmPopup() 2236 StrCatS (CfmStr, MaxLen, gConfirmMsgConnect); in FxConfirmPopup() 2237 StrCatS (CfmStr, MaxLen, gConfirmSubmitMsg2nd); in FxConfirmPopup() 2239 StrCpyS (CfmStr, MaxLen, gConfirmSubmitMsg); in FxConfirmPopup() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/ |
D | BuildReport.py | 717 self.MaxLen = 0 733 if len(Pcd.TokenCName) > self.MaxLen: 734 self.MaxLen = len(Pcd.TokenCName) 768 if len(Pcd.TokenCName) > self.MaxLen: 769 self.MaxLen = len(Pcd.TokenCName) 969 …FileWrite(File, ' *B %-*s: %6s %10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.Da… 971 …FileWrite(File, ' %-*s: %6s %10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.Da… 975 …FileWrite(File, ' *F %-*s: %6s %10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.Da… 977 …FileWrite(File, ' *P %-*s: %6s %10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.Da… 979 …FileWrite(File, ' *M %-*s: %6s %10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.Da… [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
D | ConfigKeywordHandler.c | 1683 UINTN MaxLen; in ConstructConfigHdr() local 1748 MaxLen = 5 + sizeof (EFI_GUID) * 2 + 6 + NameLength * 4 + 6 + DevicePathSize * 2 + 1; in ConstructConfigHdr() 1749 String = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in ConstructConfigHdr() 1757 StrCpyS (String, MaxLen, L"GUID="); in ConstructConfigHdr() 1773 StrCatS (ReturnString, MaxLen, L"&NAME="); in ConstructConfigHdr() 1788 StrCatS (ReturnString, MaxLen, L"&PATH="); in ConstructConfigHdr() 2008 UINTN MaxLen; in ExtractConfigRequest() local 2049 MaxLen = StrLen (ConfigHdr) + 1 + StrLen(RequestElement) + 1; in ExtractConfigRequest() 2050 *ConfigRequest = AllocatePool (MaxLen * sizeof (CHAR16)); in ExtractConfigRequest() 2058 StrCpyS (StringPtr, MaxLen, ConfigHdr); in ExtractConfigRequest() [all …]
|
D | ConfigRouting.c | 394 UINTN MaxLen; in AppendToMultiString() local 402 MaxLen = MAX_STRING_LENGTH / sizeof (CHAR16); in AppendToMultiString() 414 MaxLen = (MultiStringSize + AppendStringSize) / sizeof (CHAR16); in AppendToMultiString() 420 StrCatS (*MultiString, MaxLen, AppendString); in AppendToMultiString() 1016 UINTN MaxLen; in MergeDefaultString() local 1054 MaxLen = 1 + HeaderLength + 8 + 4 + 1; in MergeDefaultString() 1055 AltConfigHdr = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in MergeDefaultString() 1059 StrCpyS (AltConfigHdr, MaxLen, L"&"); in MergeDefaultString() 1060 StrnCatS (AltConfigHdr, MaxLen, *AltCfgResp, HeaderLength); in MergeDefaultString() 1061 StrCatS (AltConfigHdr, MaxLen, L"&ALTCFG="); in MergeDefaultString() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FileExplorerLib/ |
D | FileExplorer.c | 615 UINTN MaxLen; in LibAppendFileName() local 631 MaxLen = (Size1 + Size2 + sizeof (CHAR16))/ sizeof (CHAR16); in LibAppendFileName() 638 StrCpyS (Str, MaxLen, Str1); in LibAppendFileName() 640 StrCatS (Str, MaxLen, L"\\"); in LibAppendFileName() 643 StrCatS (Str, MaxLen, Str2); in LibAppendFileName() 659 StrCpyS (TmpStr, MaxLen, Ptr + 3); in LibAppendFileName() 660 StrCpyS (LastSlash, MaxLen - (UINTN) (LastSlash - Str), TmpStr); in LibAppendFileName() 671 StrCpyS (TmpStr, MaxLen, Ptr + 2); in LibAppendFileName() 672 StrCpyS (Ptr, MaxLen - (UINTN) (Ptr - Str), TmpStr); in LibAppendFileName()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
D | BootOption.c | 1090 UINTN MaxLen; in BOpt_AppendFileName() local 1098 MaxLen = (Size1 + Size2 + sizeof (CHAR16)) / sizeof (CHAR16); in BOpt_AppendFileName() 1099 Str = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in BOpt_AppendFileName() 1102 TmpStr = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in BOpt_AppendFileName() 1105 StrCatS (Str, MaxLen, Str1); in BOpt_AppendFileName() 1107 StrCatS (Str, MaxLen, L"\\"); in BOpt_AppendFileName() 1110 StrCatS (Str, MaxLen, Str2); in BOpt_AppendFileName() 1126 StrCpyS (TmpStr, MaxLen, Ptr + 3); in BOpt_AppendFileName() 1127 StrCpyS (LastSlash, MaxLen - (UINTN) (LastSlash - Str), TmpStr); in BOpt_AppendFileName() 1138 StrCpyS (TmpStr, MaxLen, Ptr + 2); in BOpt_AppendFileName() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/ |
D | Setup.c | 637 UINTN MaxLen; in ProcessStorage() local 676 MaxLen = BufferSize / sizeof (CHAR16); in ProcessStorage() 680 StrCpyS (ConfigResp, MaxLen, BrowserStorage->ConfigHdr); in ProcessStorage() 681 StrCatS (ConfigResp, MaxLen, L"&"); in ProcessStorage() 682 StrCatS (ConfigResp, MaxLen, *ResultsData); in ProcessStorage() 1083 UINTN MaxLen; in NewStringCat() local 1090 MaxLen = ( StrSize (*Dest) + StrSize (Src) - 1) / sizeof (CHAR16); in NewStringCat() 1091 NewString = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in NewStringCat() 1094 StrCpyS (NewString, MaxLen, *Dest); in NewStringCat() 1095 StrCatS (NewString, MaxLen, Src); in NewStringCat() [all …]
|
D | IfrParse.c | 691 UINTN MaxLen; in InitializeRequestElement() local 738 MaxLen = StringSize / sizeof (CHAR16) + FormsetStorage->SpareStrLen; in InitializeRequestElement() 747 MaxLen = StringSize / sizeof (CHAR16) + CONFIG_REQUEST_STRING_INCREMENTAL; in InitializeRequestElement() 748 NewStr = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in InitializeRequestElement() 758 StrCatS (FormsetStorage->ConfigRequest, MaxLen, RequestElement); in InitializeRequestElement() 790 MaxLen = StringSize / sizeof (CHAR16) + ConfigInfo->SpareStrLen; in InitializeRequestElement() 799 MaxLen = StringSize / sizeof (CHAR16) + CONFIG_REQUEST_STRING_INCREMENTAL; in InitializeRequestElement() 800 NewStr = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in InitializeRequestElement() 810 StrCatS (ConfigInfo->ConfigRequest, MaxLen, RequestElement); in InitializeRequestElement()
|
D | Expression.c | 1327 UINTN MaxLen; in IfrCatenate() local 1367 MaxLen = (StrSize (String[1]) + Size) / sizeof (CHAR16); in IfrCatenate() 1368 StringPtr= AllocatePool (MaxLen * sizeof (CHAR16)); in IfrCatenate() 1370 StrCpyS (StringPtr, MaxLen, String[1]); in IfrCatenate() 1371 StrCatS (StringPtr, MaxLen, String[0]); in IfrCatenate()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootManagerUiLib/ |
D | BootManager.c | 448 UINTN MaxLen; in UpdateBootManager() local 544 MaxLen = (TempSize + StrSize (L"Device Path : "))/sizeof(CHAR16); in UpdateBootManager() 546 StrCatS (HelpString, MaxLen, L"Device Path : "); in UpdateBootManager() 547 StrCatS (HelpString, MaxLen, TempStr); in UpdateBootManager()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SmbiosDxe/ |
D | SmbiosDxe.c | 181 UINTN MaxLen; in GetSmbiosStructureSize() local 203 MaxLen = SMBIOS_STRING_MAX_LENGTH; in GetSmbiosStructureSize() 211 MaxLen = SMBIOS_TABLE_MAX_LENGTH; in GetSmbiosStructureSize() 217 MaxLen = SMBIOS_3_0_TABLE_MAX_LENGTH; in GetSmbiosStructureSize() 220 for (StrLen = 0 ; StrLen < MaxLen; StrLen++) { in GetSmbiosStructureSize() 226 if (StrLen == MaxLen) { in GetSmbiosStructureSize()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiHiiLib/ |
D | HiiLib.c | 730 UINTN MaxLen; in HiiConstructConfigHdr() local 761 MaxLen = 5 + sizeof (EFI_GUID) * 2 + 6 + NameLength * 4 + 6 + DevicePathSize * 2 + 1; in HiiConstructConfigHdr() 762 String = AllocateZeroPool (MaxLen * sizeof (CHAR16)); in HiiConstructConfigHdr() 770 StrCpyS (String, MaxLen, L"GUID="); in HiiConstructConfigHdr() 786 StrCatS (ReturnString, MaxLen, L"&NAME="); in HiiConstructConfigHdr() 801 StrCatS (ReturnString, MaxLen, L"&PATH="); in HiiConstructConfigHdr() 2138 UINTN MaxLen; in InternalHiiIfrValueAction() local 2395 MaxLen = 1 + StringPtr - StringHdr + 8 + 1; in InternalHiiIfrValueAction() 2396 ConfigAltHdr = AllocateZeroPool ( MaxLen * sizeof (CHAR16)); in InternalHiiIfrValueAction() 2401 StrCpyS (ConfigAltHdr, MaxLen, L"&"); in InternalHiiIfrValueAction() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciPei/ |
D | UhcPeim.c | 2069 IN UINT16 MaxLen in SetTDTokenMaxLength() argument 2076 if (MaxLen > 0x500) { in SetTDTokenMaxLength() 2077 MaxLen = 0x500; in SetTDTokenMaxLength() 2080 PtrTDStruct->TDData.TDTokenMaxLen = MaxLen - 1; in SetTDTokenMaxLength() 2082 return MaxLen; in SetTDTokenMaxLength()
|
D | UhcPeim.h | 899 IN UINT16 MaxLen
|