Home
last modified time | relevance | path

Searched refs:OffSet (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/
DModifyAccessPolicy.c28 UINTN OffSet; in SaveAccessPolicy() local
40 OffSet = 0; in SaveAccessPolicy()
46 if (mUserInfo.AccessPolicyLen - OffSet < Size) { in SaveAccessPolicy()
47 ExpandMemory (OffSet, Size); in SaveAccessPolicy()
52 CopyMem (mUserInfo.AccessPolicy + OffSet, &Control, sizeof (Control)); in SaveAccessPolicy()
53 OffSet += sizeof (Control); in SaveAccessPolicy()
59 if (mUserInfo.AccessPolicyLen - OffSet < Size) { in SaveAccessPolicy()
60 ExpandMemory (OffSet, Size); in SaveAccessPolicy()
65 CopyMem (mUserInfo.AccessPolicy + OffSet, &Control, sizeof (Control)); in SaveAccessPolicy()
66 OffSet += sizeof (Control); in SaveAccessPolicy()
[all …]
DUserProfileModify.c640 UINTN OffSet; in ResolveAccessPolicy() local
660 OffSet = 0; in ResolveAccessPolicy()
661 while (OffSet < mUserInfo.AccessPolicyLen) { in ResolveAccessPolicy()
662 CopyMem (&Control, mUserInfo.AccessPolicy + OffSet, sizeof (Control)); in ResolveAccessPolicy()
678 AccessData = mUserInfo.AccessPolicy + OffSet + sizeof (Control); in ResolveAccessPolicy()
689 AccessData = mUserInfo.AccessPolicy + OffSet + sizeof (Control); in ResolveAccessPolicy()
700 AccessData = mUserInfo.AccessPolicy + OffSet + sizeof (Control); in ResolveAccessPolicy()
713 AccessData = mUserInfo.AccessPolicy + OffSet + sizeof (Control); in ResolveAccessPolicy()
726 AccessData = mUserInfo.AccessPolicy + OffSet + sizeof (Control); in ResolveAccessPolicy()
739 AccessData = mUserInfo.AccessPolicy + OffSet + sizeof (Control); in ResolveAccessPolicy()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/
DComponentName.c125 UINTN OffSet; in UpdateName() local
139 OffSet = 0; in UpdateName()
143 OffSet += UnicodeSPrint ( in UpdateName()
149 OffSet += UnicodeSPrint ( in UpdateName()
150 HandleName + OffSet, in UpdateName()
151 sizeof (HandleName) - OffSet * sizeof (CHAR16), in UpdateName()
156 ASSERT (OffSet > 0); in UpdateName()
160 OffSet--; in UpdateName()
164 OffSet += UnicodeSPrint ( in UpdateName()
165 HandleName + OffSet, in UpdateName()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
DComponentName.c253 UINTN OffSet; in UpdateName() local
260 OffSet = 0; in UpdateName()
261 OffSet += UnicodeSPrint ( in UpdateName()
267 OffSet += UnicodeSPrint ( in UpdateName()
268 HandleName + OffSet, in UpdateName()
269 sizeof (HandleName) - OffSet * sizeof (CHAR16), in UpdateName()
274 ASSERT (OffSet > 0); in UpdateName()
278 OffSet--; in UpdateName()
279 OffSet += UnicodeSPrint ( in UpdateName()
280 HandleName + OffSet, in UpdateName()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeDeferImageLoadLib/
DDxeDeferImageLoadLib.c485 UINTN OffSet; in IsDevicePathInList() local
492 OffSet = 0; in IsDevicePathInList()
493 while (OffSet < Access->Size - sizeof (EFI_USER_INFO_ACCESS_CONTROL)) { in IsDevicePathInList()
494 Path = (EFI_DEVICE_PATH_PROTOCOL*)((UINT8*)(Access + 1) + OffSet); in IsDevicePathInList()
502 OffSet += GetDevicePathSize (Path); in IsDevicePathInList()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/
DDxeImageVerificationLib.c1599 UINT32 OffSet; in DxeImageVerificationHandler() local
1795 for (OffSet = SecDataDir->VirtualAddress; in DxeImageVerificationHandler()
1796 OffSet < (SecDataDir->VirtualAddress + SecDataDir->Size); in DxeImageVerificationHandler()
1797 OffSet += (WinCertificate->dwLength + ALIGN_SIZE (WinCertificate->dwLength))) { in DxeImageVerificationHandler()
1798 WinCertificate = (WIN_CERTIFICATE *) (mImageBase + OffSet); in DxeImageVerificationHandler()
1799 if ((SecDataDir->VirtualAddress + SecDataDir->Size - OffSet) <= sizeof (WIN_CERTIFICATE) || in DxeImageVerificationHandler()
1800 (SecDataDir->VirtualAddress + SecDataDir->Size - OffSet) < WinCertificate->dwLength) { in DxeImageVerificationHandler()
1878 if (OffSet != (SecDataDir->VirtualAddress + SecDataDir->Size)) { in DxeImageVerificationHandler()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DSockImpl.c166 UINT32 OffSet; in SockSetTcpRxData() local
172 OffSet = 0; in SockSetTcpRxData()
186 OffSet, in SockSetTcpRxData()
193 OffSet += CopyBytes; in SockSetTcpRxData()
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DSockImpl.c201 UINT32 OffSet; in SockSetTcpRxData() local
207 OffSet = 0; in SockSetTcpRxData()
224 OffSet, in SockSetTcpRxData()
231 OffSet += CopyBytes; in SockSetTcpRxData()
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/
DUserIdentifyManager.c422 UINTN OffSet; in CheckAccessPolicy() local
439 OffSet = 0; in CheckAccessPolicy()
440 while (OffSet < ValueLen) { in CheckAccessPolicy()
441 Path = (EFI_DEVICE_PATH_PROTOCOL *) (PolicyInfo + TotalLen + sizeof (Access) + OffSet); in CheckAccessPolicy()
443 OffSet += PathSize; in CheckAccessPolicy()
445 if (OffSet != ValueLen) { in CheckAccessPolicy()