Searched refs:mayBeChild (Results 1 – 2 of 2) sorted by relevance
73 bool DOMFilePath::isParentOf(const String& parent, const String& mayBeChild) in isParentOf() argument76 ASSERT(DOMFilePath::isAbsolute(mayBeChild)); in isParentOf()77 if (parent == DOMFilePath::root && mayBeChild != DOMFilePath::root) in isParentOf()79 if (parent.length() >= mayBeChild.length() || !mayBeChild.startsWith(parent, false)) in isParentOf()81 if (mayBeChild[parent.length()] != DOMFilePath::separator) in isParentOf()
51 static bool isParentOf(const String& path, const String& mayBeChild);