Lines Matching refs:DestPath

236   CHAR16                    *DestPath;
249 DestPath = NULL;
312 DestPath = AllocateZeroPool(PathLen);
314 if (DestPath == NULL || HiiOutput == NULL || HiiResultOk == NULL) {
315 SHELL_FREE_NON_NULL(DestPath);
348 StrCpy(DestPath, Cwd);
349 if (DestPath[StrLen(DestPath)-1] != L'\\' && DestDir[0] != L'\\') {
350 StrCat(DestPath, L"\\");
351 } else if (DestPath[StrLen(DestPath)-1] == L'\\' && DestDir[0] == L'\\') {
352 ((CHAR16*)DestPath)[StrLen(DestPath)-1] = CHAR_NULL;
354 StrCat(DestPath, DestDir);
356 StrCpy(DestPath, DestDir);
370 StrCpy(DestPath, Cwd);
371 while (PathRemoveLastItem(DestPath));
372 StrCat(DestPath, DestDir+1);
373 StrCat(DestPath, Node->FileName);
375 StrCpy(DestPath, Cwd);
376 if (DestPath[StrLen(DestPath)-1] != L'\\' && DestDir[0] != L'\\') {
377 StrCat(DestPath, L"\\");
378 } else if (DestPath[StrLen(DestPath)-1] == L'\\' && DestDir[0] == L'\\') {
379 ((CHAR16*)DestPath)[StrLen(DestPath)-1] = CHAR_NULL;
381 StrCat(DestPath, DestDir);
383 StrCat(DestPath, L"\\");
385 ((CHAR16*)DestPath)[StrLen(DestPath)-1] = CHAR_NULL;
387 StrCat(DestPath, Node->FileName);
390 StrCpy(DestPath, DestDir);
392 StrCat(DestPath, L"\\");
396 StrCat(DestPath, Node->FileName);
403 if (EFI_ERROR(VerifyIntermediateDirectories(DestPath))) {
410 && !EFI_ERROR(ShellIsDirectory(DestPath))
411 && StrniCmp(Node->FullName, DestPath, StrLen(DestPath)) == NULL
417 if (StringNoCaseCompare(&Node->FullName, &DestPath) == 0) {
423 if ((TempLocation = StrniCmp(Node->FullName, DestPath, StrLen(Node->FullName))) == 0
424 && (DestPath[StrLen(Node->FullName)] == CHAR_NULL || DestPath[StrLen(Node->FullName)] == L'\\')
431 PathCleanUpDirectories(DestPath);
433 ShellPrintEx(-1, -1, HiiOutput, Node->FullName, DestPath);
438 ShellStatus = CopySingleFile(Node->FullName, DestPath, &Response, SilentMode);
447 SHELL_FREE_NON_NULL(DestPath);