Home | History | Annotate | Download | only in Common

Lines Matching refs:Prefix

124 unsigned CDirItems::AddPrefix(int phyParent, int logParent, const UString &prefix)

128 return Prefixes.Add(prefix);
346 const UStringVector &addArchivePrefix, // prefix from curNode
419 const UStringVector &addArchivePrefix, // prefix from curNode
530 static bool IsVirtualFsFolder(const FString &prefix, const UString &name)
532 UString s = fs2us(prefix);
543 const UStringVector &addArchivePrefix, // prefix from curNode
839 int phyParent = pair.Prefix.IsEmpty() ? -1 : dirItems.AddPrefix(-1, -1, pair.Prefix);
850 RINOK(EnumerateDirItems(pair.Head, phyParent, logParent, us2fs(pair.Prefix), UStringVector(),
902 const UString prefix = fullPath.Left(fullPath.Len() - logPath.Len());
903 if (!IsPathSepar(prefix.Back()))
906 unsigned rootPrefixSize = GetRootPrefixSize(prefix);
909 if (rootPrefixSize == prefix.Len())
912 if (link.Len() <= prefix.Len())
915 if (CompareFileNames(link.Left(prefix.Len()), prefix) != 0)
918 UString newLink = prefix.Left(rootPrefixSize);
919 newLink += link.Ptr(prefix.Len());
1003 static void ConvertToLongName(const UString &prefix, UString &name)
1008 const FString path (us2fs(prefix + name));
1017 static void ConvertToLongNames(const UString &prefix, CObjectVector<NWildcard::CItem> &items)
1024 if (prefix.IsEmpty() && item.IsDriveItem())
1026 ConvertToLongName(prefix, item.PathParts.Front());
1030 static void ConvertToLongNames(const UString &prefix, NWildcard::CCensorNode &node)
1032 ConvertToLongNames(prefix, node.IncludeItems);
1033 ConvertToLongNames(prefix, node.ExcludeItems);
1038 if (prefix.IsEmpty() && NWildcard::IsDriveColonName(name))
1040 ConvertToLongName(prefix, name);
1062 ConvertToLongNames(prefix + nextNode.Name + WCHAR_PATH_SEPARATOR, nextNode);
1071 ConvertToLongNames(pair.Prefix, pair.Head);