Lines Matching defs:depth
4542 * @depth: used to limit any risk of recursion
4550 xmlGetLineNoInternal(xmlNodePtr node, int depth)
4554 if (depth >= 5)
4568 result = xmlGetLineNoInternal(node->children, depth + 1);
4570 result = xmlGetLineNoInternal(node->next, depth + 1);
4572 result = xmlGetLineNoInternal(node->prev, depth + 1);
4581 result = xmlGetLineNoInternal(node->prev, depth + 1);
4584 result = xmlGetLineNoInternal(node->parent, depth + 1);
7764 int shadowDepth; /* Shadowed at this depth */
7766 * depth:
7773 int depth;
7828 * @depth: depth and ns-kind information
7834 xmlNsPtr oldNs, xmlNsPtr newNs, int depth)
7903 ret->depth = depth;
8536 * @depth: the current tree depth
8555 int depth,
8589 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8596 ((! ancestorsOnly) || (mi->depth == XML_TREE_NSMAP_PARENT)) &&
8648 if ((mi->depth < depth) &&
8655 mi->shadowDepth = depth;
8660 if (xmlDOMWrapNsMapAddItem(nsMap, -1, ns, tmpns, depth) == NULL) {
8695 int depth = -1, adoptns = 0, parnsdone = 0;
8719 depth++;
8745 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8782 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8787 mi->shadowDepth = depth;
8795 depth) == NULL)
8852 &nsMap, depth,
8889 (nsMap->last->depth >= depth))
8897 if (mi->shadowDepth >= depth)
8901 depth--;
8966 int depth = -1, adoptStr = 1;
9036 depth++;
9068 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
9074 mi->shadowDepth = depth;
9082 ns, ns, depth) == NULL)
9139 &nsMap, depth,
9239 (nsMap->last->depth >= depth))
9247 if (mi->shadowDepth >= depth)
9251 depth--;
9336 int depth = -1;
9497 depth++;
9551 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
9558 * depth.
9560 mi->shadowDepth = depth;
9568 ns, cloneNs, depth) == NULL)
9681 &nsMap, depth,
9759 (nsMap->last->depth >= depth))
9767 if (mi->shadowDepth >= depth)
9771 depth--;