Lines Matching full:depth
44 u_int depth);
54 db_pprint_int(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
80 * Pretty-prints a struct. Nested structs are pretty-printed up 'depth' nested
84 db_pprint_struct(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
104 if (depth > max_depth) {
123 db_indent = depth;
130 db_pprint_type(maddr, mtype, depth + 1);
146 db_indent = depth;
153 db_pprint_type(maddr, mtype, depth + 1);
157 db_indent = depth - 1;
163 * indented with 'depth' spaces.
166 db_pprint_arr(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
185 db_indent = depth;
193 db_pprint_type(elem_addr, elem_type, depth);
199 db_indent = depth - 1;
207 db_pprint_enum(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
240 * Pretty-prints a pointer. If the 'depth' parameter is less than the
246 db_pprint_ptr(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
290 if (depth < max_depth && (val != 0)) {
292 db_pprint_type(val, ref_type, depth + 1);
295 db_indent = depth;
309 db_pprint_type(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
322 db_pprint_int(addr, type, depth);
326 db_pprint_struct(addr, type, depth);
330 db_indent = depth;
334 db_pprint_ptr(addr, type, depth);
342 db_pprint_type(addr, ref_type, depth);
346 db_pprint_enum(addr, type, depth);
349 db_pprint_arr(addr, type, depth);
360 * Syntax: pprint [/d depth] <sym_name>
398 * Syntax: pprint [/d depth] struct <struct_name> <addr>
429 /* Set default depth */
438 /* Parse desired depth level */
442 db_error("Invalid depth provided\n");