Home
last modified time | relevance | path

Searched refs:PathToReturn (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DUefiShellLevel2CommandsLib.c176 CHAR16 *PathToReturn; in GetFullyQualifiedPath() local
180 PathToReturn = NULL; in GetFullyQualifiedPath()
183 ASSERT((PathToReturn == NULL && Size == 0) || (PathToReturn != NULL)); in GetFullyQualifiedPath()
189 StrnCatGrow(&PathToReturn, &Size, CurDir, 0); in GetFullyQualifiedPath()
190 StrnCatGrow(&PathToReturn, &Size, L"\\", 0); in GetFullyQualifiedPath()
195 StrnCatGrow(&PathToReturn, &Size, Path, 0); in GetFullyQualifiedPath()
197 PathCleanUpDirectories(PathToReturn); in GetFullyQualifiedPath()
199 if (PathToReturn == NULL) { in GetFullyQualifiedPath()
203 while (PathToReturn[StrLen(PathToReturn)-1] == L'*') { in GetFullyQualifiedPath()
204 PathToReturn[StrLen(PathToReturn)-1] = CHAR_NULL; in GetFullyQualifiedPath()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellProtocol.c2977 CHAR16 *PathToReturn; in EfiShellGetCurDir() local
2988 PathToReturn = NULL; in EfiShellGetCurDir()
2991 ASSERT((PathToReturn == NULL && Size == 0) || (PathToReturn != NULL)); in EfiShellGetCurDir()
2992 PathToReturn = StrnCatGrow(&PathToReturn, &Size, MapListItem->MapName, 0); in EfiShellGetCurDir()
2993 PathToReturn = StrnCatGrow(&PathToReturn, &Size, MapListItem->CurrentDirectoryPath, 0); in EfiShellGetCurDir()
2996 return (AddBufferToFreeList(PathToReturn)); in EfiShellGetCurDir()