Lines Matching defs:depth
218 # Needed to insert a maximum bracked depth while converting to PHP.
1872 $depth = 0; # Current depth inside the tag tree.
1994 if ($tag{1} == '/') $depth--;
1995 else if ($tag{strlen($tag)-2} != '/') $depth++;
1997 if ($depth < 0) {
2011 } while ($depth >= 0);
2069 $depth = 0; # Current depth inside the tag tree.
2122 if ($tag{1} == '/') $depth--;
2123 else if ($tag{strlen($tag)-2} != '/') $depth++;
2179 } while ($depth > 0);