Home
last modified time | relevance | path

Searched refs:OptCnt (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcMtftp.c134 UINT32 OptCnt; in PxeBcMtftp6GetFileSize() local
143 OptCnt = 1; in PxeBcMtftp6GetFileSize()
162 OptCnt++; in PxeBcMtftp6GetFileSize()
170 (UINT8) OptCnt, in PxeBcMtftp6GetFileSize()
196 OptCnt = 0; in PxeBcMtftp6GetFileSize()
201 (UINT32 *) &OptCnt, in PxeBcMtftp6GetFileSize()
212 while (OptCnt != 0) { in PxeBcMtftp6GetFileSize()
213 if (AsciiStrnCmp ((CHAR8 *) Option[OptCnt - 1].OptionStr, "tsize", 5) == 0) { in PxeBcMtftp6GetFileSize()
214 *BufferSize = AsciiStrDecimalToUint64 ((CHAR8 *) (Option[OptCnt - 1].ValueStr)); in PxeBcMtftp6GetFileSize()
217 OptCnt--; in PxeBcMtftp6GetFileSize()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcMtftp.c119 UINT32 OptCnt; in PxeBcTftpGetFileSize() local
128 OptCnt = 1; in PxeBcTftpGetFileSize()
145 OptCnt++; in PxeBcTftpGetFileSize()
153 (UINT8) OptCnt, in PxeBcTftpGetFileSize()
174 OptCnt = 0; in PxeBcTftpGetFileSize()
180 (UINT32 *) &OptCnt, in PxeBcTftpGetFileSize()
191 while (OptCnt != 0) { in PxeBcTftpGetFileSize()
193 if (AsciiStrnCmp ((CHAR8 *) Option[OptCnt - 1].OptionStr, "tsize", 5) == 0) { in PxeBcTftpGetFileSize()
195 *BufferSize = AtoU64 (Option[OptCnt - 1].ValueStr); in PxeBcTftpGetFileSize()
199 OptCnt--; in PxeBcTftpGetFileSize()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/
DDhcp6Impl.c1145 UINT32 OptCnt; in EfiDhcp6Parse() local
1175 OptCnt = 0; in EfiDhcp6Parse()
1186 OptCnt++; in EfiDhcp6Parse()
1193 if (OptCnt > *OptionCount) { in EfiDhcp6Parse()
1194 *OptionCount = OptCnt; in EfiDhcp6Parse()
1203 OptCnt = 0; in EfiDhcp6Parse()
1208 PacketOptionList[OptCnt] = (EFI_DHCP6_PACKET_OPTION *) Start; in EfiDhcp6Parse()
1211 OptCnt++; in EfiDhcp6Parse()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellTftpCommandLib/
DTftp.c814 UINT32 OptCnt; in GetFileSize() local
841 (UINT32 *) &OptCnt, in GetFileSize()
849 while (OptCnt != 0) { in GetFileSize()
854 OptCnt--; in GetFileSize()
859 if (OptCnt == 0) { in GetFileSize()
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsFilePath.c858 UINT32 OptCnt; in Mtftp4GetFileSize() local
885 (UINT32 *) &OptCnt, in Mtftp4GetFileSize()
893 while (OptCnt != 0) { in Mtftp4GetFileSize()
898 OptCnt--; in Mtftp4GetFileSize()
903 if (OptCnt == 0) { in Mtftp4GetFileSize()