Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DMv.c81 CHAR16* SrcPathBuffer; in IsSoucePathValid() local
92 SrcPathBuffer = AllocateCopyPool (StrSize (SrcPath), SrcPath); in IsSoucePathValid()
93 if (SrcPathBuffer == NULL) { in IsSoucePathValid()
99 FreePool(SrcPathBuffer); in IsSoucePathValid()
103 gUnicodeCollation->StrUpr (gUnicodeCollation, SrcPathBuffer); in IsSoucePathValid()
106 if (SrcPathBuffer[StrLen (SrcPathBuffer) -1 ] == L'\\') { in IsSoucePathValid()
107 SrcPathBuffer[StrLen (SrcPathBuffer) - 1] = CHAR_NULL; in IsSoucePathValid()
114 if (StrCmp (CwdPathBuffer, SrcPathBuffer) == 0 || in IsSoucePathValid()
115 ((StrStr (CwdPathBuffer, SrcPathBuffer) == CwdPathBuffer) && in IsSoucePathValid()
116 (CwdPathBuffer[StrLen (SrcPathBuffer)] == L'\\')) in IsSoucePathValid()
[all …]