Lines Matching defs:DestPath

19   location (DestPath) is valid.
29 @param DestPath [in] The target location to move to
40 IN CONST CHAR16 *DestPath,
57 Test = StrnCatGrow(&Test, NULL, DestPath, 0);
82 if (StrStr(DestPath, FullName) != 0 && StrStr(DestPath, FullName) != DestPath) {
97 Test1 = StrStr(DestPath, L":");
101 Result = StringNoCaseCompare(&FullName, &DestPath);
139 CHAR16 *DestPath;
144 DestPath = NULL;
150 DestPath = AllocateZeroPool(StrSize(Cwd));
151 if (DestPath == NULL) {
154 StrCpy(DestPath, Cwd);
155 while (PathRemoveLastItem(DestPath)) ;
156 *DestPathPointer = DestPath;
174 DestPath = AllocateZeroPool(NewSize);
175 if (DestPath == NULL) {
179 StrCpy(DestPath, Cwd);
180 if (DestPath[StrLen(DestPath)-1] != L'\\' && DestDir[0] != L'\\') {
181 StrCat(DestPath, L"\\");
182 } else if (DestPath[StrLen(DestPath)-1] == L'\\' && DestDir[0] == L'\\') {
183 ((CHAR16*)DestPath)[StrLen(DestPath)-1] = CHAR_NULL;
185 StrCat(DestPath, DestDir);
187 ASSERT(DestPath == NULL);
188 DestPath = StrnCatGrow(&DestPath, NULL, DestDir, 0);
189 if (DestPath == NULL) {
205 DestPath = AllocateZeroPool(StrSize(Node->FullName)+sizeof(CHAR16));
206 if (DestPath == NULL) {
210 StrCpy(DestPath, Node->FullName);
211 StrCat(DestPath, L"\\");
222 *DestPathPointer = DestPath;
254 CHAR16 *DestPath;
268 DestPath = NULL;
275 ShellStatus = GetDestinationLocation(DestDir, &DestPath, Cwd);
279 DestPath = PathCleanUpDirectories(DestPath);
283 ASSERT (DestPath != NULL);
311 if (!IsValidMove(Node->FullName, Cwd, DestPath, Node->Info->Attribute)) {
317 // Chop off map info from "DestPath"
319 if ((TempLocation = StrStr(DestPath, L":")) != NULL) {
320 CopyMem(DestPath, TempLocation+1, StrSize(TempLocation+1));
326 NewSize = StrSize(DestPath);
334 if (DestPath[0] != L'\\') {
336 StrCat(NewFileInfo->FileName, DestPath);
338 StrCpy(NewFileInfo->FileName, DestPath);
370 FreePool(DestPath);
383 FreePool(DestPath);
431 FreePool(DestPath);