Lines Matching refs:Splitter
39 CHAR16 *Splitter; in ReplaceDriveWithCwd() local
43 Splitter = NULL; in ReplaceDriveWithCwd()
51 Splitter = StrStr (*FullPath, L":"); in ReplaceDriveWithCwd()
52 ASSERT(Splitter != *FullPath); in ReplaceDriveWithCwd()
54 if (Splitter != NULL && *(Splitter + 1) != L'\\' && *(Splitter + 1) != L'/') { in ReplaceDriveWithCwd()
55 TotalSize = StrSize (Cwd) + StrSize (Splitter + 1); in ReplaceDriveWithCwd()
63 StrCatS (TempBuffer, TotalSize / sizeof(CHAR16), Splitter + 1); in ReplaceDriveWithCwd()
132 CHAR16 *Splitter; in ExtractDriveAndPath() local
136 Splitter = StrStr (FullPath, L":"); in ExtractDriveAndPath()
138 if (Splitter == NULL) { in ExtractDriveAndPath()
145 if (*(Splitter + 1) == CHAR_NULL) { in ExtractDriveAndPath()
152 *Drive = AllocateCopyPool ((Splitter - FullPath + 2) * sizeof(CHAR16), FullPath); in ExtractDriveAndPath()
156 (*Drive)[Splitter - FullPath + 1] = CHAR_NULL; in ExtractDriveAndPath()
158 *Path = AllocateCopyPool (StrSize (Splitter + 1), Splitter + 1); in ExtractDriveAndPath()
192 CHAR16 *Splitter; in ShellCommandRunCd() local
201 Splitter = NULL; in ShellCommandRunCd()
276 Splitter = StrStr (Cwd, L":"); in ShellCommandRunCd()
281 TotalSize = ((Splitter - Cwd + 1) * sizeof(CHAR16)) + StrSize(Param1Copy); in ShellCommandRunCd()
286 StrnCpyS (TempBuffer, TotalSize / sizeof(CHAR16), Cwd, (Splitter - Cwd + 1)); in ShellCommandRunCd()