Home | History | Annotate | Download | only in libxml2

Lines Matching defs:depth

4556  * @depth: used to limit any risk of recursion
4564 xmlGetLineNoInternal(const xmlNode *node, int depth)
4568 if (depth >= 5)
4582 result = xmlGetLineNoInternal(node->children, depth + 1);
4584 result = xmlGetLineNoInternal(node->next, depth + 1);
4586 result = xmlGetLineNoInternal(node->prev, depth + 1);
4595 result = xmlGetLineNoInternal(node->prev, depth + 1);
4598 result = xmlGetLineNoInternal(node->parent, depth + 1);
7783 int shadowDepth; /* Shadowed at this depth */
7785 * depth:
7792 int depth;
7847 * @depth: depth and ns-kind information
7853 xmlNsPtr oldNs, xmlNsPtr newNs, int depth)
7921 ret->depth = depth;
8554 * @depth: the current tree depth
8573 int depth,
8607 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8614 ((! ancestorsOnly) || (mi->depth == XML_TREE_NSMAP_PARENT)) &&
8666 if ((mi->depth < depth) &&
8673 mi->shadowDepth = depth;
8678 if (xmlDOMWrapNsMapAddItem(nsMap, -1, ns, tmpns, depth) == NULL) {
8713 int depth = -1, adoptns = 0, parnsdone = 0;
8737 depth++;
8763 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8800 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8805 mi->shadowDepth = depth;
8813 depth) == NULL)
8870 &nsMap, depth,
8907 (nsMap->last->depth >= depth))
8915 if (mi->shadowDepth >= depth)
8919 depth--;
8984 int depth = -1, adoptStr = 1;
9054 depth++;
9086 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
9092 mi->shadowDepth = depth;
9100 ns, ns, depth) == NULL)
9157 &nsMap, depth,
9257 (nsMap->last->depth >= depth))
9265 if (mi->shadowDepth >= depth)
9269 depth--;
9354 int depth = -1;
9515 depth++;
9569 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
9576 * depth.
9578 mi->shadowDepth = depth;
9586 ns, cloneNs, depth) == NULL)
9699 &nsMap, depth,
9777 (nsMap->last->depth >= depth))
9785 if (mi->shadowDepth >= depth)
9789 depth--;