Home
last modified time | relevance | path

Searched refs:ctf_id_t (Results 1 – 25 of 34) sorted by relevance

12

/netbsd/src/external/cddl/osnet/dist/uts/common/sys/
Dctf_api.h61 typedef long ctf_id_t; typedef
94 ctf_id_t ctm_type; /* type of struct or union member */
99 ctf_id_t ctr_contents; /* type of array contents */
100 ctf_id_t ctr_index; /* type of array index */
105 ctf_id_t ctc_return; /* function return type */
111 ctf_id_t ctb_typeidx; /* last type associated with the label */
147 typedef int ctf_visit_f(const char *, ctf_id_t, ulong_t, int, void *);
148 typedef int ctf_member_f(const char *, ctf_id_t, ulong_t, void *);
150 typedef int ctf_type_f(ctf_id_t, void *);
176 extern int ctf_func_args(ctf_file_t *, ulong_t, uint_t, ctf_id_t *);
[all …]
/netbsd/src/external/gpl3/gdb/dist/include/
Dctf-api.h45 typedef unsigned long ctf_id_t; typedef
145 ctf_id_t ctm_type; /* Type of struct or union member. */
151 ctf_id_t ctr_contents; /* Type of array contents. */
152 ctf_id_t ctr_index; /* Type of array index. */
158 ctf_id_t ctc_return; /* Function return type. */
165 ctf_id_t ctb_type; /* Last type associated with the label. */
179 #define CTF_ERR ((ctf_id_t) -1L)
286 typedef int ctf_visit_f (const char *name, ctf_id_t type, unsigned long offset,
288 typedef int ctf_member_f (const char *name, ctf_id_t membtype,
291 typedef int ctf_variable_f (const char *name, ctf_id_t type, void *arg);
[all …]
/netbsd/src/external/gpl3/binutils/dist/include/
Dctf-api.h45 typedef unsigned long ctf_id_t; typedef
145 ctf_id_t ctm_type; /* Type of struct or union member. */
151 ctf_id_t ctr_contents; /* Type of array contents. */
152 ctf_id_t ctr_index; /* Type of array index. */
158 ctf_id_t ctc_return; /* Function return type. */
165 ctf_id_t ctb_type; /* Last type associated with the label. */
179 #define CTF_ERR ((ctf_id_t) -1L)
286 typedef int ctf_visit_f (const char *name, ctf_id_t type, unsigned long offset,
288 typedef int ctf_member_f (const char *name, ctf_id_t membtype,
291 typedef int ctf_variable_f (const char *name, ctf_id_t type, void *arg);
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dctfc.h49 typedef uint64_t ctf_id_t; typedef
84 ctf_id_t ctr_contents; /* Type of array contents. */
85 ctf_id_t ctr_index; /* Type of array index. */
93 ctf_id_t ctc_return; /* Function return type. */
133 ctf_id_t dmd_type; /* Type of this member (for sou). */
146 ctf_id_t farg_type; /* Type identifier of the argument. */
160 ctf_id_t dtd_type; /* Type identifier for this definition. */
189 ctf_id_t dvd_type; /* Type of variable. */
297 ctf_id_t ctfc_nextid;
391 extern bool ctf_type_exists (ctf_container_ref, dw_die_ref, ctf_id_t *);
[all …]
Ddwarf2ctf.cc32 static ctf_id_t
159 static ctf_id_t
177 static ctf_id_t
180 ctf_id_t unknown_type_id; in gen_ctf_unknown_type()
220 static ctf_id_t
223 ctf_id_t type_id = CTF_NULL_TYPEID; in gen_ctf_base_type()
332 static ctf_id_t
335 ctf_id_t type_id = CTF_NULL_TYPEID; in gen_ctf_pointer_type()
336 ctf_id_t ptr_type_id = CTF_NULL_TYPEID; in gen_ctf_pointer_type()
354 static ctf_id_t
[all …]
Dctfc.cc376 static ctf_id_t
381 ctf_id_t type; in ctf_add_generic()
404 static ctf_id_t
409 ctf_id_t type; in ctf_add_encoded()
430 ctf_id_t
431 ctf_add_reftype (ctf_container_ref ctfc, uint32_t flag, ctf_id_t ref, in ctf_add_reftype()
435 ctf_id_t type; in ctf_add_reftype()
450 ctf_id_t
455 ctf_id_t type = 0; in ctf_add_forward()
467 ctf_id_t
[all …]
Dbtfout.cc78 static ctf_id_t * btf_id_map = NULL;
94 static vec<ctf_id_t> holes;
99 static vec<ctf_id_t> voids;
149 btf_id_map = XNEWVEC (ctf_id_t, len); in init_btf_id_map()
159 ctf_id_t
160 get_btf_id (ctf_id_t key) in get_btf_id()
168 set_btf_id (ctf_id_t key, ctf_id_t val) in set_btf_id()
176 btf_emit_id_p (ctf_id_t id) in btf_emit_id_p()
361 btf_removed_type_p (ctf_id_t id) in btf_removed_type_p()
369 static ctf_id_t
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dctfread.c182 static int ctf_add_type_cb (ctf_id_t tid, void *arg);
184 static struct type *read_array_type (struct ctf_context *cp, ctf_id_t tid);
186 static struct type *read_pointer_type (struct ctf_context *cp, ctf_id_t tid,
187 ctf_id_t btid);
189 static struct type *read_structure_type (struct ctf_context *cp, ctf_id_t tid);
191 static struct type *read_enum_type (struct ctf_context *cp, ctf_id_t tid);
193 static struct type *read_typedef_type (struct ctf_context *cp, ctf_id_t tid,
194 ctf_id_t btid, const char *name);
196 static struct type *read_type_record (struct ctf_context *cp, ctf_id_t tid);
198 static void process_structure_type (struct ctf_context *cp, ctf_id_t tid);
[all …]
/netbsd/src/external/cddl/osnet/dist/common/ctf/
Dctf_create.c229 ctf_ref_inc(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_inc()
247 ctf_ref_dec(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_dec()
633 ctf_free(dtd->dtd_u.dtu_argv, sizeof (ctf_id_t) * in ctf_dtd_delete()
662 ctf_dtd_lookup(ctf_file_t *fp, ctf_id_t type) in ctf_dtd_lookup()
711 static ctf_id_t
715 ctf_id_t type; in ctf_add_generic()
773 static ctf_id_t
778 ctf_id_t type; in ctf_add_encoded()
793 static ctf_id_t
794 ctf_add_reftype(ctf_file_t *fp, uint_t flag, ctf_id_t ref, uint_t kind) in ctf_add_reftype()
[all …]
Dctf_types.c187 ctf_member_iter(ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter()
228 ctf_enum_iter(ctf_file_t *fp, ctf_id_t type, ctf_enum_f *func, void *arg) in ctf_enum_iter()
267 ctf_id_t id, max = fp->ctf_typemax; in ctf_type_iter()
289 ctf_id_t
290 ctf_type_resolve(ctf_file_t *fp, ctf_id_t type) in ctf_type_resolve()
292 ctf_id_t prev = type, otype = type; in ctf_type_resolve()
325 ctf_type_qlname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, in ctf_type_qlname()
438 ctf_type_lname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) in ctf_type_lname()
448 ctf_type_name(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) in ctf_type_name()
455 ctf_type_qname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, in ctf_type_qname()
[all …]
Dctf_impl.h133 ctf_id_t cd_type; /* type identifier */
153 ctf_id_t dmd_type; /* type of this member (for sou) */
162 ctf_id_t dtd_type; /* type identifier for this definition */
169 ctf_id_t *dtu_argv; /* function */
175 ctf_id_t ctb_type; /* CTF type identifier */
314 extern const void *ctf_lookup_by_id(ctf_file_t **, ctf_id_t);
334 extern ctf_dtdef_t *ctf_dtd_lookup(ctf_file_t *, ctf_id_t);
338 extern void ctf_decl_push(ctf_decl_t *, ctf_file_t *, ctf_id_t);
Dctf_lookup.c83 ctf_id_t
91 ctf_id_t type = 0; in ctf_lookup_by_name()
92 ctf_id_t ntype, ptype; in ctf_lookup_by_name()
184 ctf_id_t
188 ctf_id_t type; in ctf_lookup_by_symbol()
222 ctf_lookup_by_id(ctf_file_t **fpp, ctf_id_t type) in ctf_lookup_by_id()
307 ctf_func_args(ctf_file_t *fp, ulong_t symidx, uint_t argc, ctf_id_t *argv) in ctf_func_args()
Dctf_decl.c90 ctf_decl_push(ctf_decl_t *cd, ctf_file_t *fp, ctf_id_t type) in ctf_decl_push()
/netbsd/src/external/cddl/osnet/dist/lib/libdtrace/common/
Ddt_print.c107 static int dt_print_member(const char *, ctf_id_t, ulong_t, int, void *);
114 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen) in dt_print_type_name()
229 dt_print_int(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_int()
283 dt_print_float(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_float()
314 dt_print_ptr(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_ptr()
320 ctf_id_t bid = ctf_type_reference(ctfp, base); in dt_print_ptr()
366 dt_print_array(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_array()
377 ctf_id_t rtype; in dt_print_array()
465 dt_print_structlike(ctf_id_t id, ulong_t off, dt_printarg_t *pap) in dt_print_structlike()
476 dt_print_enum(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_enum()
[all …]
Ddt_xlator.h50 ctf_id_t dx_src_type; /* CTF reference for input type */
51 ctf_id_t dx_src_base; /* CTF reference for input base */
53 ctf_id_t dx_dst_type; /* CTF reference for output type */
54 ctf_id_t dx_dst_base; /* CTF reference for output base */
79 extern dt_ident_t *dt_xlator_ident(dt_xlator_t *, ctf_file_t *, ctf_id_t);
Ddt_impl.h89 ctf_id_t did_type; /* CTF type reference for this type */
105 ctf_id_t da_type; /* type of argument */
270 ctf_id_t dt_type_func; /* cached CTF identifier for function type */
271 ctf_id_t dt_type_fptr; /* cached CTF identifier for function pointer */
272 ctf_id_t dt_type_str; /* cached CTF identifier for string type */
273 ctf_id_t dt_type_dyn; /* cached CTF identifier for <DYN> type */
274 ctf_id_t dt_type_stack; /* cached CTF identifier for stack type */
275 ctf_id_t dt_type_symaddr; /* cached CTF identifier for _symaddr type */
276 ctf_id_t dt_type_usymaddr; /* cached CTF ident. for _usymaddr type */
Ddt_decl.h49 ctf_id_t dd_type; /* CTF identifier for decl's type */
82 ctf_id_t ds_type; /* CTF id of enclosing type */
122 extern void dt_scope_push(ctf_file_t *, ctf_id_t);
Ddt_xlator.c48 dt_xlator_create_member(const char *name, ctf_id_t type, ulong_t off, void *arg) in dt_xlator_create_member()
261 ctf_id_t src_type = src->dn_type; in dt_xlator_lookup()
262 ctf_id_t src_base = ctf_type_resolve(src_ctfp, src_type); in dt_xlator_lookup()
265 ctf_id_t dst_type = dst->dn_type; in dt_xlator_lookup()
266 ctf_id_t dst_base = ctf_type_resolve(dst_ctfp, dst_type); in dt_xlator_lookup()
361 dt_xlator_ident(dt_xlator_t *dxp, ctf_file_t *ctfp, ctf_id_t type) in dt_xlator_ident()
Ddt_parser.h52 ctf_id_t dn_type; /* CTF type reference for node's type */
202 ctf_file_t **, ctf_id_t *);
241 extern void dt_node_type_assign(dt_node_t *, ctf_file_t *, ctf_id_t, boolean_t);
269 extern const char *dt_type_name(ctf_file_t *, ctf_id_t, char *, size_t);
Ddt_printf.h60 ctf_id_t pfc_ctype; /* CTF type ID for "C" defn of type */
62 ctf_id_t pfc_dtype; /* CTF type ID for "D" defn of type */
Ddt_ident.h81 ctf_id_t di_type; /* CTF identifier for the variable data type */
172 extern void dt_ident_type_assign(dt_ident_t *, ctf_file_t *, ctf_id_t);
Ddt_parser.c272 ctf_id_t type = tip->dtt_type; in dt_type_pointer()
273 ctf_id_t base = ctf_type_resolve(ctfp, type); in dt_type_pointer()
277 ctf_id_t ptr; in dt_type_pointer()
312 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) in dt_type_name()
336 dt_type_promote(dt_node_t *lp, dt_node_t *rp, ctf_file_t **ofp, ctf_id_t *otype) in dt_type_promote()
339 ctf_id_t ltype = lp->dn_type; in dt_type_promote()
342 ctf_id_t rtype = rp->dn_type; in dt_type_promote()
344 ctf_id_t lbase = ctf_type_resolve(lfp, ltype); in dt_type_promote()
347 ctf_id_t rbase = ctf_type_resolve(rfp, rtype); in dt_type_promote()
679 dt_node_type_assign(dt_node_t *dnp, ctf_file_t *fp, ctf_id_t type, in dt_node_type_assign()
[all …]
Ddt_decl.c465 ctf_id_t type; in dt_decl_sou()
515 ctf_id_t base; in dt_decl_member()
662 ctf_id_t type; in dt_decl_enum()
818 ctf_id_t type; in dt_decl_type()
1082 dt_scope_push(ctf_file_t *ctfp, ctf_id_t type) in dt_scope_push()
Ddt_cg.c71 dt_cg_membinfo(ctf_file_t *fp, ctf_id_t type, const char *s, ctf_membinfo_t *mp) in dt_cg_membinfo()
145 dt_cg_load(dt_node_t *dnp, ctf_file_t *ctfp, ctf_id_t type) in dt_cg_load()
194 ctf_id_t type; in dt_cg_ptrsize()
334 ctf_id_t type; in dt_cg_field_set()
644 ctf_id_t type; in dt_cg_prearith_op()
701 ctf_id_t type; in dt_cg_postarith_op()
1366 dt_cg_xlate_member(const char *name, ctf_id_t type, ulong_t off, void *arg) in dt_cg_xlate_member()
1518 ctf_id_t type; in dt_cg_node()
/netbsd/src/external/cddl/osnet/dev/fbt/
Dfbt.c793 ctf_id_t cd_type; /* type identifier */
887 ctf_lookup_by_id(mod_ctf_t *mc, ctf_id_t type) in ctf_lookup_by_id()
910 fbt_array_info(mod_ctf_t *mc, ctf_id_t type, ctf_arinfo_t *arp) in fbt_array_info()
948 ctf_decl_push(ctf_decl_t *cd, mod_ctf_t *mc, ctf_id_t type) in ctf_decl_push()
1043 fbt_type_name(mod_ctf_t *mc, ctf_id_t type, char *buf, size_t len) in fbt_type_name()

12