Lines Matching refs:depth
184 int depth = 0; // used to determine when we are done with a tree.
198 depth ++;
203 writeAttributes(writer, isInscope(depth));
207 depth ++;
212 writeAttributes(writer, isInscope(depth));
216 depth ++;
220 writeAttributes(writer, isInscope(depth));
224 depth ++;
227 writeAttributes(writer, isInscope(depth));
281 depth --;
282 if(depth==0)
288 } while(depth>0 || _treeCount>0);
293 int depth = 0;
306 depth ++;
311 writeAttributes(writer, isInscope(depth));
315 depth ++;
320 writeAttributes(writer, isInscope(depth));
324 depth ++;
328 writeAttributes(writer, isInscope(depth));
332 depth ++;
335 writeAttributes(writer, isInscope(depth));
389 depth --;
390 if(depth==0)
396 } while(depth > 0 || _treeCount>0);
400 private boolean isInscope(int depth) {
401 return _buffer.getInscopeNamespaces().size() > 0 && depth ==1;