Lines Matching defs:depth
37 static void indent(Boolean node, int depth, UInt64 stackOfBits);
39 int depth,
44 int depth, UInt64 stackOfBits);
107 int depth, UInt64 stackOfBits)
137 // Save has-more-siblings state into stackOfBits for this depth.
140 stackOfBits |= (1 << depth);
142 stackOfBits &= ~(1 << depth);
144 // Save has-children state into stackOfBits for this depth.
147 stackOfBits |= (2 << depth);
149 stackOfBits &= ~(2 << depth);
151 indent(true, depth, stackOfBits);
182 properties(service, depth, stackOfBits);
186 traverse(options, plane, children, child, depth + 1, stackOfBits);
196 int depth;
224 indent(false, ctxt->depth, ctxt->stackOfBits);
246 indent(false, ctxt->depth, ctxt->stackOfBits);
257 int depth,
264 context.depth = depth;
268 indent(false, context.depth, context.stackOfBits);
284 indent(false, context.depth, context.stackOfBits);
286 indent(false, context.depth, context.stackOfBits);
291 void indent(Boolean node, int depth, UInt64 stackOfBits)
295 // stackOfBits representation, given current depth is n:
296 // bit n+1 = does depth n have children? 1=yes, 0=no
297 // bit [n, .. i .., 0] = does depth i have more siblings? 1=yes, 0=no
301 for (i = 0; i < depth; i++)
308 for (i = 0; i <= depth + 1; i++)