Lines Matching refs:depth2
170 int depth1, depth2; in xmlXPathCmpNodesExt() local
382 for (depth2 = 0, cur = node2; cur->parent != NULL; cur = cur->parent) { in xmlXPathCmpNodesExt()
385 depth2++; in xmlXPathCmpNodesExt()
402 while (depth1 > depth2) { in xmlXPathCmpNodesExt()
406 while (depth2 > depth1) { in xmlXPathCmpNodesExt()
407 depth2--; in xmlXPathCmpNodesExt()
3316 int depth1, depth2; in xmlXPathCmpNodes() local
3385 for (depth2 = 0, cur = node2;cur->parent != NULL;cur = cur->parent) { in xmlXPathCmpNodes()
3388 depth2++; in xmlXPathCmpNodes()
3405 while (depth1 > depth2) { in xmlXPathCmpNodes()
3409 while (depth2 > depth1) { in xmlXPathCmpNodes()
3410 depth2--; in xmlXPathCmpNodes()