Lines Matching refs:Ancestor
93 // #pragma mark - Ancestor
96 class Ancestor {
98 Ancestor(Ancestor* parent, const BString& path, size_t pathComponentOffset)
117 Ancestor* Parent() const
122 Ancestor* Child() const
214 Ancestor*& HashNext()
220 Ancestor* fParent;
221 Ancestor* fChild;
222 Ancestor* fHashNext;
236 typedef Ancestor ValueType;
243 size_t Hash(Ancestor* value) const
248 bool Compare(const node_ref& key, Ancestor* value) const
253 Ancestor*& GetLink(Ancestor* value) const
553 status_t _StartWatchingAncestors(Ancestor* ancestor,
555 void _StopWatchingAncestors(Ancestor* ancestor,
576 Ancestor* _GetAncestor(const node_ref& nodeRef) const;
623 Ancestor* fRoot;
624 Ancestor* fBaseAncestor;
835 // Create the Ancestor objects -- they correspond to the path components and
860 Ancestor* nextAncestor = fRoot->Child();
928 // create the Ancestor objects
933 Ancestor* ancestor = NULL;
945 ancestor = new(std::nothrow) Ancestor(ancestor, ancestorPath,
965 PathHandler::_StartWatchingAncestors(Ancestor* startAncestor, bool notify)
975 for (Ancestor* ancestor = startAncestor; ancestor != NULL;
1012 PathHandler::_StopWatchingAncestors(Ancestor* ancestor, bool notify)
1154 Ancestor* fromAncestor = _GetAncestor(fromEntryRef.DirectoryNodeRef());
1155 Ancestor* toAncestor = _GetAncestor(toEntryRef.DirectoryNodeRef());
1356 if (Ancestor* ancestor = _GetAncestor(nodeRef)) {
1382 Ancestor* ancestor = _GetAncestor(nodeRef);
1417 Ancestor* childAncestor = ancestor->Child();
1511 Ancestor* ancestor = _GetAncestor(nodeRef);
1635 Ancestor*