Lines Matching full:parts
178 void Correct_FsPath(bool absIsAllowed, bool keepAndReplaceEmptyPrefixes, UStringVector &parts, bool… in Correct_FsPath() argument
188 if (parts[0].IsEmpty()) in Correct_FsPath()
192 if (parts.Size() > 1 && parts[1].IsEmpty()) in Correct_FsPath()
195 if (parts.Size() > 2 && parts[2] == L"?") in Correct_FsPath()
198 if (parts.Size() > 3 && NWindows::NFile::NName::IsDrivePath2(parts[3])) in Correct_FsPath()
208 else if (NWindows::NFile::NName::IsDrivePath2(parts[0])) in Correct_FsPath()
217 UString &ds = parts[i - 1]; in Correct_FsPath()
220 parts.Insert(i, ds.Ptr(2)); in Correct_FsPath()
230 for (; i < parts.Size();) in Correct_FsPath()
232 UString &s = parts[i]; in Correct_FsPath()
239 if (isDir || i != parts.Size() - 1) in Correct_FsPath()
241 parts.Delete(i); in Correct_FsPath()
259 if (parts.IsEmpty()) in Correct_FsPath()
260 parts.Add((UString)k_EmptyReplaceName); in Correct_FsPath()
263 UString &s = parts.Back(); in Correct_FsPath()
270 UString MakePathFromParts(const UStringVector &parts) in MakePathFromParts() argument
273 FOR_VECTOR (i, parts) in MakePathFromParts()
277 s += parts[i]; in MakePathFromParts()