/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/ |
D | DxeTcgPhysicalPresenceLib.c | 527 UINTN BufSize; in UserConfirm() local 534 BufSize = CONFIRM_BUFFER_SIZE; in UserConfirm() 535 ConfirmText = AllocateZeroPool (BufSize); in UserConfirm() 543 UnicodeSPrint (ConfirmText, BufSize, TmpStr1, TmpStr2); in UserConfirm() 547 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in UserConfirm() 555 UnicodeSPrint (ConfirmText, BufSize, TmpStr1, TmpStr2); in UserConfirm() 559 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in UserConfirm() 563 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in UserConfirm() 571 UnicodeSPrint (ConfirmText, BufSize, TmpStr1, TmpStr2); in UserConfirm() 575 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in UserConfirm() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/ |
D | DxeTcg2PhysicalPresenceLib.c | 356 UINTN BufSize; in Tcg2UserConfirm() local 371 BufSize = CONFIRM_BUFFER_SIZE; in Tcg2UserConfirm() 372 ConfirmText = AllocateZeroPool (BufSize); in Tcg2UserConfirm() 388 UnicodeSPrint (ConfirmText, BufSize, TmpStr1, TmpStr2); in Tcg2UserConfirm() 392 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in Tcg2UserConfirm() 393 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), L" \n\n", (BufSize / sizeof (CHAR16)) - StrLen (… in Tcg2UserConfirm() 404 UnicodeSPrint (ConfirmText, BufSize, TmpStr1, TmpStr2); in Tcg2UserConfirm() 408 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in Tcg2UserConfirm() 412 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in Tcg2UserConfirm() 413 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), L" \n\n", (BufSize / sizeof (CHAR16)) - StrLen (… in Tcg2UserConfirm() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/ |
D | DxeTrEEPhysicalPresenceLib.c | 239 UINTN BufSize; in TrEEUserConfirm() local 246 BufSize = CONFIRM_BUFFER_SIZE; in TrEEUserConfirm() 247 ConfirmText = AllocateZeroPool (BufSize); in TrEEUserConfirm() 260 UnicodeSPrint (ConfirmText, BufSize, TmpStr1, TmpStr2); in TrEEUserConfirm() 264 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in TrEEUserConfirm() 265 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), L" \n\n", (BufSize / sizeof (CHAR16)) - StrLen (… in TrEEUserConfirm() 269 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in TrEEUserConfirm() 278 UnicodeSPrint (ConfirmText, BufSize, TmpStr1, TmpStr2); in TrEEUserConfirm() 282 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in TrEEUserConfirm() 286 …StrnCatS (ConfirmText, BufSize / sizeof (CHAR16), TmpStr1, (BufSize / sizeof (CHAR16)) - StrLen (C… in TrEEUserConfirm() [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/ |
D | daShell.c | 219 ssize_t BufSize; in da_ShellRead() local 224 BufSize = (ssize_t)da_ShellSeek(filp, *offset, SEEK_SET); in da_ShellRead() 225 if(BufSize >= 0) { in da_ShellRead() 226 filp->f_offset = BufSize; in da_ShellRead() 230 BufSize = (ssize_t)BufferSize; in da_ShellRead() 233 Status = ShellReadFile( FileHandle, (UINTN *)&BufSize, Buffer); in da_ShellRead() 238 BufSize = -BufSize; in da_ShellRead() 241 BufSize = -1; in da_ShellRead() 245 filp->f_offset += BufSize; // Advance to where we want to read next. in da_ShellRead() 247 return BufSize; in da_ShellRead() [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
D | SysCalls.c | 1188 ssize_t BufSize; in read() local 1190 BufSize = (ssize_t)nbyte; in read() 1191 if(BufSize > 0) { in read() 1197 BufSize = IIO->Read(filp, nbyte, buf); in read() 1200 BufSize = filp->f_ops->fo_read(filp, &filp->f_offset, nbyte, buf); in read() 1205 BufSize = -1; in read() 1208 return BufSize; in read() 1252 ssize_t BufSize; in write() local 1254 BufSize = (ssize_t)nbyte; in write() 1264 BufSize = IIO->Write(filp, buf, nbyte); in write() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
D | TcpOption.c | 85 UINT32 BufSize; in TcpComputeScale() local 89 BufSize = GET_RCV_BUFFSIZE (Tcb->Sk); in TcpComputeScale() 92 while ((Scale < TCP_OPTION_MAX_WS) && ((UINT32) (TCP_OPTION_MAX_WIN << Scale) < BufSize)) { in TcpComputeScale()
|
D | Socket.h | 261 #define GET_RCV_DATASIZE(Sock) (((Sock)->RcvBuffer.DataQueue)->BufSize) 290 #define GET_SND_DATASIZE(Sock) (((Sock)->SndBuffer.DataQueue)->BufSize)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
D | Tcp4Option.c | 85 UINT32 BufSize; in TcpComputeScale() local 89 BufSize = GET_RCV_BUFFSIZE (Tcb->Sk); in TcpComputeScale() 93 ((UINT32) (TCP_OPTION_MAX_WIN << Scale) < BufSize)) { in TcpComputeScale()
|
D | Socket.h | 247 #define GET_RCV_DATASIZE(Sock) (((Sock)->RcvBuffer.DataQueue)->BufSize) 276 #define GET_SND_DATASIZE(Sock) (((Sock)->SndBuffer.DataQueue)->BufSize)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/Ps2MouseDxe/ |
D | CommPs2.c | 466 IN OUT UINTN *BufSize, in PS2MouseRead() argument 486 for (BytesRead = 0; BytesRead < *BufSize; BytesRead++) { in PS2MouseRead() 497 if (BytesRead == 0 || BytesRead != *BufSize) { in PS2MouseRead() 501 *BufSize = BytesRead; in PS2MouseRead()
|
D | CommPs2.h | 270 IN OUT UINTN *BufSize,
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
D | BBSsupport.h | 35 IN UINTN BufSize,
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
D | IkeService.c | 217 UINTN BufSize; in IkeOpenOutputUdp() local 223 BufSize = 0; in IkeOpenOutputUdp() 252 &BufSize, in IkeOpenOutputUdp() 260 IfInfo = AllocateZeroPool (BufSize); in IkeOpenOutputUdp() 273 &BufSize, in IkeOpenOutputUdp()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/ |
D | NetBuffer.c | 1339 NbufQue->BufSize = 0; in NetbufQueInit() 1417 NbufQue->BufSize += Nbuf->TotalSize; in NetbufQueAppend() 1449 NbufQue->BufSize -= First->TotalSize; in NetbufQueRemove() 1490 if ((Len == 0) || (NbufQue->BufSize <= Offset)) { in NetbufQueCopy() 1494 if (NbufQue->BufSize - Offset < Len) { in NetbufQueCopy() 1495 Len = NbufQue->BufSize - Offset; in NetbufQueCopy() 1590 if (Len > NbufQue->BufSize) { in NetbufQueTrim() 1591 Len = NbufQue->BufSize; in NetbufQueTrim() 1594 NbufQue->BufSize -= Len; in NetbufQueTrim() 1640 NbufQue->BufSize = 0; in NetbufQueFlush()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/ |
D | CommPs2.c | 490 IN OUT UINTN *BufSize, in PS2MouseRead() argument 511 while (BytesRead < *BufSize) { in PS2MouseRead() 526 if (BytesRead == 0 || BytesRead != *BufSize) { in PS2MouseRead() 530 *BufSize = BytesRead; in PS2MouseRead()
|
D | CommPs2.h | 292 IN OUT UINTN *BufSize,
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/ |
D | CommPs2.c | 490 IN OUT UINTN *BufSize, in PS2MouseRead() argument 511 while (BytesRead < *BufSize) { in PS2MouseRead() 526 if (BytesRead == 0 || BytesRead != *BufSize) { in PS2MouseRead() 530 *BufSize = BytesRead; in PS2MouseRead()
|
D | CommPs2.h | 292 IN OUT UINTN *BufSize,
|
/device/linaro/bootloader/edk2/OvmfPkg/XenBusDxe/ |
D | XenStore.c | 306 UINTN BufSize; in XenStoreJoin() local 309 BufSize = AsciiStrLen (DirectoryPath) + AsciiStrLen (Node) + 2; in XenStoreJoin() 310 Buf = AllocatePool (BufSize); in XenStoreJoin() 314 AsciiSPrint (Buf, BufSize, "%a", DirectoryPath); in XenStoreJoin() 316 AsciiSPrint (Buf, BufSize, "%a/%a", DirectoryPath, Node); in XenStoreJoin() 1320 UINTN BufSize; in XenStoreVSPrint() local 1324 BufSize = SPrintLengthAsciiFormat (FormatString, Marker2) + 1; in XenStoreVSPrint() 1326 Buf = AllocateZeroPool (BufSize); in XenStoreVSPrint() 1327 AsciiVSPrint (Buf, BufSize, FormatString, Marker); in XenStoreVSPrint()
|
/device/linaro/bootloader/edk2/NetworkPkg/Application/IfConfig6/ |
D | IfConfig6.c | 359 OUT UINTN *BufSize in IfConfig6ParseManualAddressList() argument 371 *BufSize = 0; in IfConfig6ParseManualAddressList() 437 *BufSize = AddrCnt * sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS); in IfConfig6ParseManualAddressList() 462 OUT UINTN *BufSize in IfConfig6ParseGwDnsAddressList() argument 473 *BufSize = 0; in IfConfig6ParseGwDnsAddressList() 531 *BufSize = AddrCnt * sizeof (EFI_IPv6_ADDRESS); in IfConfig6ParseGwDnsAddressList()
|
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/ |
D | UsbCredentialProvider.c | 476 UINTN BufSize; in GetToken() local 479 BufSize = 0; in GetToken() 482 Status = GetFileData (TokenFile, (VOID *)&Buffer, &BufSize); in GetToken() 488 if (!GenerateCredential (Buffer, BufSize, Token)) { in GetToken()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork2CommandsLib/ |
D | Ifconfig6.c | 435 OUT UINTN *BufSize in IfConfig6ParseManualAddressList() argument 447 *BufSize = 0; in IfConfig6ParseManualAddressList() 513 *BufSize = AddrCnt * sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS); in IfConfig6ParseManualAddressList() 538 OUT UINTN *BufSize in IfConfig6ParseGwDnsAddressList() argument 549 *BufSize = 0; in IfConfig6ParseGwDnsAddressList() 607 *BufSize = AddrCnt * sizeof (EFI_IPv6_ADDRESS); in IfConfig6ParseGwDnsAddressList()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Lan91xDxe/ |
D | Lan91xDxe.c | 1702 IN UINTN BufSize, in SnpTransmit() argument 1772 MmuPages = ((BufSize & ~1) + LAN91X_PKT_OVERHEAD - 1) >> 8; in SnpTransmit() 1774 DEBUG((EFI_D_WARN, "LAN91x: Tx buffer too large (%d bytes)\n", BufSize)); in SnpTransmit() 1825 Len = BufSize; in SnpTransmit() 1871 LanDriver->Stats.TxTotalBytes += BufSize; in SnpTransmit() 1884 LinkedTXRecycleBuff->SystemBuf.Length = BufSize; in SnpTransmit() 1894 HdrSize, SrcAddr, BufSize, Ptr[BufSize - 1])); in SnpTransmit()
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
D | unistd.h | 67 char *getcwd(char *Buf, size_t BufSize);
|
/device/linaro/bootloader/edk2/Nt32Pkg/SnpNt32Dxe/ |
D | SnpNt32.c | 1031 UINTN BufSize; in SnpNt32Receive() local 1033 BufSize = *BuffSize; in SnpNt32Receive() 1081 return (*BuffSize <= BufSize) ? EFI_SUCCESS : EFI_BUFFER_TOO_SMALL; in SnpNt32Receive()
|