• Home
  • Raw
  • Download

Lines Matching refs:Param1Copy

190   CHAR16            *Param1Copy;  in ShellCommandRunCd()  local
255 Param1Copy = CatSPrint (NULL, L"%s", Param1, NULL); in ShellCommandRunCd()
256 for (Walker = Param1Copy; Walker != NULL && *Walker != CHAR_NULL; Walker++) { in ShellCommandRunCd()
262 if (Param1Copy != NULL && IsCurrentFileSystem (Param1Copy, Cwd)) { in ShellCommandRunCd()
263 Status = ReplaceDriveWithCwd (&Param1Copy,Cwd); in ShellCommandRunCd()
265 Param1Copy = PathCleanUpDirectories (Param1Copy); in ShellCommandRunCd()
275 if (!EFI_ERROR(Status) && Param1Copy != NULL) { in ShellCommandRunCd()
277 if (Param1Copy[0] == L'\\') { in ShellCommandRunCd()
281 TotalSize = ((Splitter - Cwd + 1) * sizeof(CHAR16)) + StrSize(Param1Copy); in ShellCommandRunCd()
287 StrCatS (TempBuffer, TotalSize / sizeof(CHAR16), Param1Copy); in ShellCommandRunCd()
289 FreePool (Param1Copy); in ShellCommandRunCd()
290 Param1Copy = TempBuffer; in ShellCommandRunCd()
294 if (StrStr (Param1Copy,L":") == NULL) { in ShellCommandRunCd()
295 TotalSize = StrSize (Cwd) + StrSize (Param1Copy); in ShellCommandRunCd()
302 StrCatS (TempBuffer, TotalSize / sizeof (CHAR16), Param1Copy); in ShellCommandRunCd()
304 FreePool (Param1Copy); in ShellCommandRunCd()
305 Param1Copy = PathCleanUpDirectories (TempBuffer); in ShellCommandRunCd()
312 Status = ExtractDriveAndPath (Param1Copy, &Drive, &Path); in ShellCommandRunCd()
316 if (EFI_ERROR(ShellIsDirectory (Param1Copy))) { in ShellCommandRunCd()
317 …PrintHiiEx (-1, -1, NULL, STRING_TOKEN(STR_GEN_NOT_DIR), gShellLevel2HiiHandle, L"cd", Param1Copy); in ShellCommandRunCd()
322 …lPrintHiiEx (-1, -1, NULL, STRING_TOKEN(STR_GEN_DIR_NF), gShellLevel2HiiHandle, L"cd", Param1Copy); in ShellCommandRunCd()
338 FreePool (Param1Copy); in ShellCommandRunCd()