Home
last modified time | relevance | path

Searched refs:PathSize (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DCp.c307 UINTN PathSize; in ValidateAndCopyFiles() local
320 PathSize = 0; in ValidateAndCopyFiles()
364 if (NewSize > PathSize) { in ValidateAndCopyFiles()
365 PathSize = NewSize; in ValidateAndCopyFiles()
392 DestPath = AllocateZeroPool(PathSize); in ValidateAndCopyFiles()
430 StrCpyS(DestPath, PathSize / sizeof(CHAR16), Cwd); in ValidateAndCopyFiles()
431 StrCatS(DestPath, PathSize / sizeof(CHAR16), L"\\"); in ValidateAndCopyFiles()
438 StrCatS(DestPath, PathSize / sizeof(CHAR16), L"\\"); in ValidateAndCopyFiles()
442 StrCatS(DestPath, PathSize/sizeof(CHAR16), CleanFilePathStr); in ValidateAndCopyFiles()
444 StrCpyS(DestPath, PathSize/sizeof(CHAR16), CleanFilePathStr); in ValidateAndCopyFiles()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeDeferImageLoadLib/
DDxeDeferImageLoadLib.c667 UINTN PathSize; in PutDefferedImageInfo() local
693 PathSize = GetDevicePathSize (ImageDevicePath); in PutDefferedImageInfo()
694 CurImageInfo->ImageDevicePath = AllocateZeroPool (PathSize); in PutDefferedImageInfo()
696 CopyMem (CurImageInfo->ImageDevicePath, ImageDevicePath, PathSize); in PutDefferedImageInfo()
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellProtocol.c294 UINTN PathSize; in EfiShellGetMapFromDevicePath() local
306 PathSize = 0; in EfiShellGetMapFromDevicePath()
316 ASSERT((PathForReturn == NULL && PathSize == 0) || (PathForReturn != NULL)); in EfiShellGetMapFromDevicePath()
317 if (PathSize != 0) { in EfiShellGetMapFromDevicePath()
318 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, L";", 0); in EfiShellGetMapFromDevicePath()
320 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, Node->MapName, 0); in EfiShellGetMapFromDevicePath()
410 UINTN PathSize; in EfiShellGetFilePathFromDevicePath() local
418 PathSize = 0; in EfiShellGetFilePathFromDevicePath()
443 ASSERT((PathForReturn == NULL && PathSize == 0) || (PathForReturn != NULL)); in EfiShellGetFilePathFromDevicePath()
444 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, MapListItem->MapName, 0); in EfiShellGetFilePathFromDevicePath()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/
DUserIdentifyManager.c425 UINTN PathSize; in CheckAccessPolicy() local
442 PathSize = GetDevicePathSize (Path); in CheckAccessPolicy()
443 OffSet += PathSize; in CheckAccessPolicy()