Lines Matching defs:level
36 static char *indent(unsigned level, unsigned flags) {
42 if (flags & BUS_MESSAGE_DUMP_SUBTREE_ONLY && level > 0)
43 level -= 1;
48 p = new(char, n + level*8 + 1);
57 memset(p + i, ' ', level*8);
58 p[i + level*8] = 0;
64 unsigned level = 1;
166 if (level <= 1)
173 level--;
175 prefix = indent(level, flags);
183 prefix = indent(level, flags);
201 level ++;