Lines Matching defs:prefix

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

168 return Prefixes.Add(prefix);
487 adds new Dir item prefix, and enumerates dir items,
488 then it can remove that Dir item prefix, if there are no items in that dir.
526 const UStringVector &addParts, // with (fi.Name), prefix parts from curNode
775 static bool IsVirtualFsFolder(const FString &prefix, const UString &name)
777 UString s = fs2us(prefix);
791 const UStringVector &addParts, // prefix from curNode including
1169 const UString &addPathPrefix, // prefix that will be added to Logical Path
1310 const UString prefix = fullPath.Left(fullPath.Len() - logPath.Len());
1311 if (!IsPathSepar(prefix.Back()))
1314 const unsigned rootPrefixSize = GetRootPrefixSize(prefix);
1317 if (rootPrefixSize == prefix.Len())
1320 if (link.Len() <= prefix.Len())
1323 if (CompareFileNames(link.Left(prefix.Len()), prefix) != 0)
1326 UString newLink = prefix.Left(rootPrefixSize);
1327 newLink += link.Ptr(prefix.Len());
1561 static void ConvertToLongName(const UString &prefix, UString &name)
1568 const FString path (us2fs(prefix + name));
1577 static void ConvertToLongNames(const UString &prefix, CObjectVector<NWildcard::CItem> &items)
1584 if (prefix.IsEmpty() && item.IsDriveItem())
1586 ConvertToLongName(prefix, item.PathParts.Front());
1590 static void ConvertToLongNames(const UString &prefix, NWildcard::CCensorNode &node)
1592 ConvertToLongNames(prefix, node.IncludeItems);
1593 ConvertToLongNames(prefix, node.ExcludeItems);
1598 if (prefix.IsEmpty() && NWildcard::IsDriveColonName(name))
1600 ConvertToLongName(prefix, name);
1622 ConvertToLongNames(prefix + nextNode.Name + WCHAR_PATH_SEPARATOR, nextNode);