Lines Matching refs:pathParts
87 void SplitPathToParts(const UString &path, UStringVector &pathParts) in SplitPathToParts() argument
89 pathParts.Clear(); in SplitPathToParts()
99 pathParts.Add(name); in SplitPathToParts()
105 pathParts.Add(name); in SplitPathToParts()
170 bool CItem::CheckPath(const UStringVector &pathParts, bool isFile) const in CheckPath() argument
174 int delta = (int)pathParts.Size() - (int)PathParts.Size(); in CheckPath()
198 if (!CompareWildCardWithName(PathParts[i], pathParts[i + d])) in CheckPath()
273 bool CCensorNode::CheckPathCurrent(bool include, const UStringVector &pathParts, bool isFile) const in CheckPathCurrent() argument
277 if (items[i].CheckPath(pathParts, isFile)) in CheckPathCurrent()
282 bool CCensorNode::CheckPath(UStringVector &pathParts, bool isFile, bool &include) const in CheckPath() argument
284 if (CheckPathCurrent(false, pathParts, isFile)) in CheckPath()
290 bool finded = CheckPathCurrent(true, pathParts, isFile); in CheckPath()
291 if (pathParts.Size() == 1) in CheckPath()
293 int index = FindSubNode(pathParts.Front()); in CheckPath()
296 UStringVector pathParts2 = pathParts; in CheckPath()
306 UStringVector pathParts; in CheckPath() local
307 SplitPathToParts(path, pathParts); in CheckPath()
308 return CheckPath(pathParts, isFile, include); in CheckPath()
319 bool CCensorNode::CheckPathToRoot(bool include, UStringVector &pathParts, bool isFile) const in CheckPathToRoot() argument
321 if (CheckPathCurrent(include, pathParts, isFile)) in CheckPathToRoot()
325 pathParts.Insert(0, Name); in CheckPathToRoot()
326 return Parent->CheckPathToRoot(include, pathParts, isFile); in CheckPathToRoot()
376 UStringVector pathParts; in AddItem() local
379 SplitPathToParts(path, pathParts); in AddItem()
381 if (pathParts.Back().IsEmpty()) in AddItem()
384 pathParts.DeleteBack(); in AddItem()
386 const UString &front = pathParts.Front(); in AddItem()
394 for (int i = 0; i < pathParts.Size(); i++) in AddItem()
396 const UString &part = pathParts[i]; in AddItem()
406 if (pathParts.Size() > 1) in AddItem()
407 numAbsParts = pathParts.Size() - 1; in AddItem()
413 const UString &front = pathParts.Front(); in AddItem()
418 pathParts.Delete(0); in AddItem()
425 item.PathParts = pathParts; in AddItem()