Lines Matching refs:depth
44 u_int depth);
53 db_pprint_int(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
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)
103 if (depth > max_depth) {
122 db_indent = depth;
129 db_pprint_type(maddr, mtype, depth + 1);
145 db_indent = depth;
152 db_pprint_type(maddr, mtype, depth + 1);
156 db_indent = depth - 1;
162 * indented with 'depth' spaces.
165 db_pprint_arr(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
184 db_indent = depth;
192 db_pprint_type(elem_addr, elem_type, depth);
198 db_indent = depth - 1;
206 db_pprint_enum(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
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)
270 if (depth < max_depth) {
272 db_pprint_type(addr, ref_type, depth + 1);
275 db_indent = depth;
287 db_pprint_type(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
300 db_pprint_int(addr, type, depth);
304 db_pprint_struct(addr, type, depth);
308 db_indent = depth;
312 db_pprint_ptr(addr, type, depth);
320 db_pprint_type(addr, ref_type, depth);
324 db_pprint_enum(addr, type, depth);
327 db_pprint_arr(addr, type, depth);
338 * Syntax: pprint [/d depth] <sym_name>
376 * Syntax: pprint [/d depth] struct <struct_name> <addr>
407 /* Set default depth */
416 /* Parse desired depth level */
420 db_error("Invalid depth provided\n");