Lines Matching full:depth

43     u_int depth);
53 db_pprint_int(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) in db_pprint_int() argument
79 * Pretty-prints a struct. Nested structs are pretty-printed up 'depth' nested
83 db_pprint_struct(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) in db_pprint_struct() argument
103 if (depth > max_depth) { in db_pprint_struct()
122 db_indent = depth; in db_pprint_struct()
129 db_pprint_type(maddr, mtype, depth + 1); in db_pprint_struct()
145 db_indent = depth; in db_pprint_struct()
152 db_pprint_type(maddr, mtype, depth + 1); in db_pprint_struct()
156 db_indent = depth - 1; in db_pprint_struct()
162 * indented with 'depth' spaces.
165 db_pprint_arr(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) in db_pprint_arr() argument
184 db_indent = depth; in db_pprint_arr()
192 db_pprint_type(elem_addr, elem_type, depth); in db_pprint_arr()
198 db_indent = depth - 1; in db_pprint_arr()
206 db_pprint_enum(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) in db_pprint_enum() argument
239 * Pretty-prints a pointer. If the 'depth' parameter is less than the
245 db_pprint_ptr(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) in db_pprint_ptr() argument
289 if (depth < max_depth && (val != 0)) { in db_pprint_ptr()
291 db_pprint_type(val, ref_type, depth + 1); in db_pprint_ptr()
294 db_indent = depth; in db_pprint_ptr()
308 db_pprint_type(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) in db_pprint_type() argument
321 db_pprint_int(addr, type, depth); in db_pprint_type()
325 db_pprint_struct(addr, type, depth); in db_pprint_type()
329 db_indent = depth; in db_pprint_type()
333 db_pprint_ptr(addr, type, depth); in db_pprint_type()
341 db_pprint_type(addr, ref_type, depth); in db_pprint_type()
345 db_pprint_enum(addr, type, depth); in db_pprint_type()
348 db_pprint_arr(addr, type, depth); in db_pprint_type()
359 * Syntax: pprint [/d depth] <sym_name>
397 * Syntax: pprint [/d depth] struct <struct_name> <addr>
428 /* Set default depth */ in db_pprint_cmd()
437 /* Parse desired depth level */ in db_pprint_cmd()
441 db_error("Invalid depth provided\n"); in db_pprint_cmd()