/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxeDebugLibReportStatusCode/ |
D | DebugLib.c | 66 TotalSize = sizeof (EFI_DEBUG_INFO) + 12 * sizeof (UINT64) + AsciiStrLen (Format) + 1; in DebugPrint() 140 FileNameLength = AsciiStrLen (FileName); in DebugAssert() 141 DescriptionLength = AsciiStrLen (Description); in DebugAssert() 158 AsciiStrCpy (Temp + AsciiStrLen (FileName) + 1, Description); in DebugAssert()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
D | String.c | 1117 ASSERT ((UINTN)(Destination - Source) > AsciiStrLen (Source)); in AsciiStrCpy() 1118 ASSERT ((UINTN)(Source - Destination) > AsciiStrLen (Source)); in AsciiStrCpy() 1178 ASSERT ((UINTN)(Destination - Source) > AsciiStrLen (Source)); in AsciiStrnCpy() 1210 AsciiStrLen ( in AsciiStrLen() function 1253 return (AsciiStrLen (String) + 1) * sizeof (*String); in AsciiStrSize() 1500 AsciiStrCpy (Destination + AsciiStrLen (Destination), Source); in AsciiStrCat() 1554 AsciiStrnCpy (Destination + AsciiStrLen (Destination), Source, Length); in AsciiStrnCat() 1605 ASSERT (AsciiStrLen (String) < PcdGet32 (PcdMaximumAsciiStringLength)); in AsciiStrStr() 1613 ASSERT (AsciiStrLen (SearchString) < PcdGet32 (PcdMaximumAsciiStringLength)); in AsciiStrStr() 1684 ASSERT (AsciiStrLen (String) < PcdGet32 (PcdMaximumAsciiStringLength)); in AsciiStrDecimalToUintn() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | Variable.c | 51 VariableName = AllocatePool((AsciiStrLen (AsciiVariableName) + 1) * sizeof (CHAR16)); in EblGetCmd() 128 VariableName = AllocatePool((AsciiStrLen (AsciiVariableSetting) + 1) * sizeof (CHAR16)); in EblSetCmd() 155 AsciiValueLength = AsciiStrLen (AsciiValue); in EblSetCmd() 173 VariableName = AllocatePool((AsciiStrLen (AsciiVariableName) + 1) * sizeof (CHAR16)); in EblSetCmd() 181 AsciiStrLen (AsciiValue)+1, in EblSetCmd()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/ |
D | GdbDebugAgent.c | 473 if (AsciiStrLen(AddressBuffer) >= MAX_ADDR_SIZE) { in ReadFromMemory() 479 if (AsciiStrLen(PacketData) - AsciiStrLen(AddressBuffer) - 2 >= MAX_LENGTH_SIZE) { in ReadFromMemory() 535 if (AsciiStrLen(AddressBuffer) >= MAX_ADDR_SIZE) { in WriteToMemory() 541 if (AsciiStrLen(LengthBuffer) >= MAX_LENGTH_SIZE) { in WriteToMemory() 548 …MessageLength = (AsciiStrLen(PacketData) - AsciiStrLen(AddressBuffer) - AsciiStrLen(LengthBuffer) … in WriteToMemory() 603 if (AsciiStrLen(AddressBuffer) >= MAX_ADDR_SIZE) { in ParseBreakpointPacket()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/SemihostLib/ |
D | SemihostLib.c | 51 OpenBlock.NameLength = AsciiStrLen(FileName); in SemihostFileOpen() 229 RemoveBlock.NameLength = AsciiStrLen(FileName); in SemihostFileRemove() 265 RenameBlock.FileNameLength = AsciiStrLen (FileName); in SemihostFileRename() 267 RenameBlock.NewFileNameLength = AsciiStrLen (NewFileName); in SemihostFileRename() 310 SystemBlock.CommandLength = AsciiStrLen(CommandLine); in SemihostSystem()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
D | Mtftp4Support.c | 303 FileNameLength = AsciiStrLen ((CHAR8 *) Token->Filename); in Mtftp4SendRequest() 304 ModeLength = AsciiStrLen ((CHAR8 *) Mode); in Mtftp4SendRequest() 308 OptionStrLength = AsciiStrLen ((CHAR8 *) Options[Index].OptionStr); in Mtftp4SendRequest() 309 ValueStrLength = AsciiStrLen ((CHAR8 *) Options[Index].ValueStr); in Mtftp4SendRequest() 336 OptionStrLength = AsciiStrLen ((CHAR8 *) Options[Index].OptionStr); in Mtftp4SendRequest() 337 ValueStrLength = AsciiStrLen ((CHAR8 *) Options[Index].ValueStr); in Mtftp4SendRequest() 378 Len = (UINT32) (AsciiStrLen ((CHAR8 *) ErrInfo) + sizeof (EFI_MTFTP4_ERROR_HEADER)); in Mtftp4SendError()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/ |
D | GdbStub.c | 632 if (AsciiStrLen (AddressBuffer) >= MAX_ADDR_SIZE) { in ReadFromMemory() 639 if (AsciiStrLen (PacketData) - AsciiStrLen (AddressBuffer) - 2 >= MAX_LENGTH_SIZE) { in ReadFromMemory() 696 if (AsciiStrLen (AddressBuffer) >= MAX_ADDR_SIZE) { in WriteToMemory() 703 if (AsciiStrLen (LengthBuffer) >= MAX_LENGTH_SIZE) { in WriteToMemory() 711 …MessageLength = (AsciiStrLen (PacketData) - AsciiStrLen (AddressBuffer) - AsciiStrLen (LengthBuffe… in WriteToMemory() 767 if (AsciiStrLen (AddressBuffer) >= MAX_ADDR_SIZE) { in ParseBreakpointPacket()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseDebugLibSerialPort/ |
D | DebugLib.c | 98 SerialPortWrite ((UINT8 *)Buffer, AsciiStrLen (Buffer)); in DebugPrint() 141 SerialPortWrite ((UINT8 *)Buffer, AsciiStrLen (Buffer)); in DebugAssert()
|
/device/linaro/bootloader/edk2/NetworkPkg/HttpUtilitiesDxe/ |
D | HttpUtilitiesProtocol.c | 194 StrLength = AsciiStrLen (HttpHeader->FieldName); in HttpUtilitiesBuild() 200 StrLength = AsciiStrLen (HttpHeader->FieldValue); in HttpUtilitiesBuild() 225 StrLength = AsciiStrLen (HttpHeader->FieldName); in HttpUtilitiesBuild() 233 StrLength = AsciiStrLen (HttpHeader->FieldValue); in HttpUtilitiesBuild()
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiDhcp6.c | 57 IScsiRootPathIdLen = (UINT16) AsciiStrLen (ISCSI_ROOT_PATH_ID); in IScsiDhcp6ExtractRootPath() 103 Fields[RP_FIELD_IDX_SERVERNAME].Len = (UINT8) AsciiStrLen (Fields[RP_FIELD_IDX_SERVERNAME].Str); in IScsiDhcp6ExtractRootPath() 125 Fields[FieldIndex].Len = (UINT8) AsciiStrLen (Fields[FieldIndex].Str); in IScsiDhcp6ExtractRootPath() 194 if (AsciiStrLen (Field->Str) > ISCSI_NAME_MAX_SIZE - 1) { in IScsiDhcp6ExtractRootPath() 201 Status = IScsiNormalizeName (Field->Str, AsciiStrLen (Field->Str)); in IScsiDhcp6ExtractRootPath()
|
D | IScsiDhcp.c | 55 IScsiRootPathIdLen = (UINT8) AsciiStrLen (ISCSI_ROOT_PATH_ID); in IScsiDhcpExtractRootPath() 97 Fields[FieldIndex].Len = (UINT8) AsciiStrLen (Fields[FieldIndex].Str); in IScsiDhcpExtractRootPath() 166 if (AsciiStrLen (Field->Str) > ISCSI_NAME_MAX_SIZE - 1) { in IScsiDhcpExtractRootPath() 173 Status = IScsiNormalizeName (Field->Str, AsciiStrLen (Field->Str)); in IScsiDhcpExtractRootPath()
|
D | IScsiIbft.c | 386 Length = (UINT16) AsciiStrLen (NvData->TargetName); in IScsiFillNICAndTargetSections() 396 Length = (UINT16) AsciiStrLen (AuthConfig->CHAPName); in IScsiFillNICAndTargetSections() 404 Length = (UINT16) AsciiStrLen (AuthConfig->CHAPSecret); in IScsiFillNICAndTargetSections() 413 Length = (UINT16) AsciiStrLen (AuthConfig->ReverseCHAPName); in IScsiFillNICAndTargetSections() 421 Length = (UINT16) AsciiStrLen (AuthConfig->ReverseCHAPSecret); in IScsiFillNICAndTargetSections()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
D | String.c | 1123 ASSERT ((UINTN)(Destination - Source) > AsciiStrLen (Source)); in AsciiStrCpy() 1124 ASSERT ((UINTN)(Source - Destination) > AsciiStrLen (Source)); in AsciiStrCpy() 1185 ASSERT ((UINTN)(Destination - Source) > AsciiStrLen (Source)); in AsciiStrnCpy() 1223 AsciiStrLen ( in AsciiStrLen() function 1266 return (AsciiStrLen (String) + 1) * sizeof (*String); in AsciiStrSize() 1522 AsciiStrCpy (Destination + AsciiStrLen (Destination), Source); in AsciiStrCat() 1580 DestinationLen = AsciiStrLen (Destination); in AsciiStrnCat() 2036 ASSERT ((UINTN) ((CHAR8 *) Destination - Source) > AsciiStrLen (Source)); in AsciiStrToUnicodeStr()
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDebugLibDebugPortProtocol/ |
D | DebugLib.c | 135 UefiDebugLibDebugPortProtocolWrite (Buffer, AsciiStrLen (Buffer)); in DebugPrint() 188 UefiDebugLibDebugPortProtocolWrite (Buffer, AsciiStrLen (Buffer)); in DebugAssert()
|
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseFspDebugLibSerialPort/ |
D | DebugLib.c | 98 SerialPortWrite ((UINT8 *)Buffer, AsciiStrLen (Buffer)); in DebugPrint() 161 SerialPortWrite ((UINT8 *)Buffer, AsciiStrLen (Buffer)); in DebugAssertInternal()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiDhcp.c | 47 IScsiRootPathIdLen = (UINT8) AsciiStrLen (ISCSI_ROOT_PATH_ID); in IScsiDhcpExtractRootPath() 89 Fields[FieldIndex].Len = (UINT8) AsciiStrLen (Fields[FieldIndex].Str); in IScsiDhcpExtractRootPath() 149 if (AsciiStrLen (Field->Str) > ISCSI_NAME_MAX_SIZE - 1) { in IScsiDhcpExtractRootPath() 156 Status = IScsiNormalizeName (Field->Str, AsciiStrLen (Field->Str)); in IScsiDhcpExtractRootPath()
|
D | IScsiIbft.c | 368 Length = (UINT16) AsciiStrLen (SessionConfigData->NvData.TargetName); in IScsiFillNICAndTargetSections() 378 Length = (UINT16) AsciiStrLen (AuthConfig->CHAPName); in IScsiFillNICAndTargetSections() 386 Length = (UINT16) AsciiStrLen (AuthConfig->CHAPSecret); in IScsiFillNICAndTargetSections() 395 Length = (UINT16) AsciiStrLen (AuthConfig->ReverseCHAPName); in IScsiFillNICAndTargetSections() 403 Length = (UINT16) AsciiStrLen (AuthConfig->ReverseCHAPSecret); in IScsiFillNICAndTargetSections()
|
/device/linaro/bootloader/edk2/DuetPkg/SmbiosGenDxe/ |
D | SmbiosGen.c | 73 UString = AllocateZeroPool ((AsciiStrLen(AString) + 1) * sizeof(CHAR16)); in InstallProcessorSmbios() 140 …UString = AllocateZeroPool ((AsciiStrLen(AString) + 1) * sizeof(CHAR16) + sizeof(FIRMWARE_BIOS_VER… in InstallMiscSmbios() 170 …UString = AllocateZeroPool ((AsciiStrLen(AString) + 1) * sizeof(CHAR16) + sizeof(FIRMWARE_PRODUCT_… in InstallMiscSmbios()
|
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/ |
D | realpath.c | 45 Temp = AllocateZeroPool((1+AsciiStrLen(file_name))*sizeof(CHAR16)); in realpath()
|
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/ |
D | Mtftp6Support.c | 493 FileNameLength = AsciiStrLen ((CHAR8 *) Token->Filename); in Mtftp6SendRequest() 494 ModeLength = AsciiStrLen ((CHAR8 *) Mode); in Mtftp6SendRequest() 498 OptionStrLength = AsciiStrLen ((CHAR8 *) Options[Index].OptionStr); in Mtftp6SendRequest() 499 ValueStrLength = AsciiStrLen ((CHAR8 *) Options[Index].ValueStr); in Mtftp6SendRequest() 533 OptionStrLength = AsciiStrLen ((CHAR8 *) Options[Index].OptionStr); in Mtftp6SendRequest() 534 ValueStrLength = AsciiStrLen ((CHAR8 *) Options[Index].ValueStr); in Mtftp6SendRequest() 588 Len = (UINT32) (AsciiStrLen ((CHAR8 *) ErrInfo) + sizeof (EFI_MTFTP6_ERROR_HEADER)); in Mtftp6SendError() 605 …AsciiStrCpyS ((CHAR8 *) TftpError->Error.ErrorMessage, AsciiStrLen ((CHAR8 *) ErrInfo) + 1 , (CHAR… in Mtftp6SendError()
|
/device/linaro/bootloader/edk2/EmulatorPkg/MiscSubClassPlatformDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 61 CompareLength = AsciiStrLen (BestLanguage); in CurrentLanguageMatch() 206 LangStrLen = AsciiStrLen(CurrentLang); in MISC_SMBIOS_TABLE_FUNCTION()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
D | PosixFileSystem.c | 200 if (AsciiStrLen (Str) < Count) { in CutPrefix() 433 Dst = NewPrivateFile->FileName + AsciiStrLen (NewPrivateFile->FileName); in PosixFileOpen() 434 GuardPointer = NewPrivateFile->FileName + AsciiStrLen (PrivateRoot->FilePath); in PosixFileOpen() 508 RealFileName = NewPrivateFile->FileName + AsciiStrLen(NewPrivateFile->FileName) - 1; in PosixFileOpen() 794 NameSize = AsciiStrLen (PrivateFile->Dirent->d_name) + 1; in PosixFileRead() 806 FullFileName = malloc (AsciiStrLen(PrivateFile->FileName) + 1 + NameSize); in PosixFileRead() 1197 …NewFileName = malloc (AsciiStrLen (PrivateRoot->FilePath) + 1 + StrLen (NewFileInfo->FileName) + 1… in PosixFileSetInfo() 1203 AsciiFilePtr = NewFileName + AsciiStrLen(NewFileName); in PosixFileSetInfo() 1207 …NewFileName = malloc (AsciiStrLen (PrivateFile->FileName) + 2 + StrLen (NewFileInfo->FileName) + 1… in PosixFileSetInfo() 1213 AsciiFilePtr = NewFileName + AsciiStrLen(NewFileName); in PosixFileSetInfo()
|
/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/ |
D | RsaVerify2.c | 356 AsciiStrLen (Payload), in ValidateCryptPkcs7() 377 AsciiStrLen (Payload) in ValidateCryptPkcs7()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 69 CompareLength = AsciiStrLen (BestLanguage); in CurrentLanguageMatch() 216 LangStrLen = AsciiStrLen(CurrentLang); in MISC_SMBIOS_TABLE_FUNCTION()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/ |
D | MiscNumberOfInstallableLanguagesFunction.c | 84 CompareLength = AsciiStrLen (BestLanguage); in CurrentLanguageMatch() 229 LangStrLen = AsciiStrLen(CurrentLang); in MISC_SMBIOS_TABLE_FUNCTION()
|