Lines Matching defs:child
223 PackageNode* NextChild(PackageNode* child) const
225 return fEntries.GetNext(child);
244 PackageNode* child = _LookupChild(path, componentEnd - path);
245 if (child == NULL)
249 // last path component -- delete the child
250 fEntries.Remove(child);
251 delete child;
254 child->RemoveEntry(componentEnd + 1);
265 PackageNode* child = it.Next();) {
266 if (strncmp(child->Name(), name, nameLength) == 0
267 && child->Name()[nameLength] == '\0') {
268 return child;
744 // look up the child
745 PackageNode* child = fDirectory->Lookup(name);
746 if (child == NULL)
751 return create_node(child, node) == B_OK ? node : NULL;
758 PackageNode* child = cookie->nextChild;
759 if (child == NULL)
762 cookie->nextChild = fDirectory->NextChild(child);
764 strlcpy(nameBuffer, child->Name(), bufferSize);
771 PackageNode* child = cookie->nextChild;
772 if (child == NULL)
775 cookie->nextChild = fDirectory->NextChild(child);
777 return create_node(child, *_node);