Home
last modified time | relevance | path

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

1234

/netbsd-src/external/cddl/osnet/dist/uts/common/sys/
H A 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/binutils/dist/include/
H A 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.old/dist/include/
H A 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/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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/binutils/dist/libctf/
H A Dctf-create.c300 ctf_dtd_lookup (const ctf_dict_t *fp, ctf_id_t type) in ctf_dtd_lookup()
310 ctf_dynamic_type (const ctf_dict_t *fp, ctf_id_t id) in ctf_dynamic_type()
312 ctf_id_t idx; in ctf_dynamic_type()
444 static ctf_id_t
449 ctf_id_t type; in ctf_add_generic()
522 ctf_id_t
527 ctf_id_t type; in ctf_add_encoded()
560 ctf_id_t
561 ctf_add_reftype (ctf_dict_t *fp, uint32_t flag, ctf_id_t ref, uint32_t kind) in ctf_add_reftype()
564 ctf_id_t type; in ctf_add_reftype()
[all …]
H A Dctf-types.c27 ctf_type_isparent (ctf_dict_t *fp, ctf_id_t id) in ctf_type_isparent()
33 ctf_type_ischild (ctf_dict_t * fp, ctf_id_t id) in ctf_type_ischild()
72 ctf_member_iter (ctf_dict_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter()
77 ctf_id_t membtype; in ctf_member_iter()
99 ctf_member_next (ctf_dict_t *fp, ctf_id_t type, ctf_next_t **it, in ctf_member_next()
100 const char **name, ctf_id_t *membtype, int flags) in ctf_member_next()
243 ctf_enum_iter (ctf_dict_t *fp, ctf_id_t type, ctf_enum_f *func, void *arg) in ctf_enum_iter()
269 ctf_enum_next (ctf_dict_t *fp, ctf_id_t type, ctf_next_t **it, in ctf_enum_next()
367 ctf_id_t type; in ctf_type_iter()
395 ctf_id_t type; in ctf_type_iter_all()
[all …]
H A Dctf-impl.h167 ctf_id_t cd_type; /* Type identifier. */
186 ctf_id_t dtd_type; /* Type identifier for this definition. */
196 ctf_id_t dvd_type; /* Type of variable. */
247 ctf_id_t cltk_idx;
254 ctf_id_t ctii_type;
535 ctf_id_t ctn_type;
601 extern const ctf_type_t *ctf_lookup_by_id (ctf_dict_t **, ctf_id_t);
602 extern ctf_id_t ctf_lookup_by_rawname (ctf_dict_t *, int, const char *);
603 extern ctf_id_t ctf_lookup_by_rawhash (ctf_dict_t *, ctf_names_t *, const char *);
608 const char *, ctf_id_t);
[all …]
H A Dctf-lookup.c52 ctf_id_t type = LCTF_INDEX_TO_TYPE (fp, i, 1); in refresh_pptrtab()
53 ctf_id_t reffed_type; in refresh_pptrtab()
134 static ctf_id_t
142 ctf_id_t type = 0; in ctf_lookup_by_name_internal()
143 ctf_id_t ntype, ptype; in ctf_lookup_by_name_internal()
318 ctf_id_t
329 ctf_lookup_by_id (ctf_dict_t **fpp, ctf_id_t type) in ctf_lookup_by_id()
332 ctf_id_t idx; in ctf_lookup_by_id()
388 ctf_id_t
403 ctf_id_t ptype; in ctf_lookup_variable()
[all …]
H A Dctf-dedup.c287 # define CTF_DEDUP_GID_TO_TYPE(id) (ctf_id_t) (((uint64_t) id) & ~(0xffffffff00000000ULL))
297 id_to_packed_id (ctf_dict_t *fp, int input_num, ctf_id_t type) in id_to_packed_id()
336 static ctf_id_t
489 int input_num, ctf_id_t type, int flags,
495 ctf_id_t type,
555 uint32_t *parents, int input_num, ctf_id_t type, in ctf_dedup_rhash_type()
563 ctf_id_t type, in ctf_dedup_rhash_type()
571 ctf_id_t child_type; in ctf_dedup_rhash_type()
805 ctf_id_t *args; in ctf_dedup_rhash_type()
829 if ((args = calloc (fi.ctc_argc, sizeof (ctf_id_t))) == NULL) in ctf_dedup_rhash_type()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-create.c304 ctf_dtd_lookup (const ctf_dict_t *fp, ctf_id_t type) in ctf_dtd_lookup()
311 ctf_dynamic_type (const ctf_dict_t *fp, ctf_id_t id) in ctf_dynamic_type()
313 ctf_id_t idx; in ctf_dynamic_type()
448 static ctf_id_t
453 ctf_id_t type; in ctf_add_generic()
526 ctf_id_t
531 ctf_id_t type; in ctf_add_encoded()
564 ctf_id_t
565 ctf_add_reftype (ctf_dict_t *fp, uint32_t flag, ctf_id_t ref, uint32_t kind) in ctf_add_reftype()
568 ctf_id_t type; in ctf_add_reftype()
[all …]
H A Dctf-types.c27 ctf_type_isparent (ctf_dict_t *fp, ctf_id_t id) in ctf_type_isparent()
33 ctf_type_ischild (ctf_dict_t * fp, ctf_id_t id) in ctf_type_ischild()
72 ctf_member_iter (ctf_dict_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter()
77 ctf_id_t membtype; in ctf_member_iter()
99 ctf_member_next (ctf_dict_t *fp, ctf_id_t type, ctf_next_t **it, in ctf_member_next()
100 const char **name, ctf_id_t *membtype, int flags) in ctf_member_next()
242 ctf_enum_iter (ctf_dict_t *fp, ctf_id_t type, ctf_enum_f *func, void *arg) in ctf_enum_iter()
268 ctf_enum_next (ctf_dict_t *fp, ctf_id_t type, ctf_next_t **it, in ctf_enum_next()
366 ctf_id_t type; in ctf_type_iter()
394 ctf_id_t type; in ctf_type_iter_all()
[all …]
H A Dctf-impl.h167 ctf_id_t cd_type; /* Type identifier. */
186 ctf_id_t dtd_type; /* Type identifier for this definition. */
196 ctf_id_t dvd_type; /* Type of variable. */
247 ctf_id_t cltk_idx;
254 ctf_id_t ctii_type;
535 ctf_id_t ctn_type;
601 extern const ctf_type_t *ctf_lookup_by_id (ctf_dict_t **, ctf_id_t);
602 extern ctf_id_t ctf_lookup_by_rawname (ctf_dict_t *, int, const char *);
603 extern ctf_id_t ctf_lookup_by_rawhash (ctf_dict_t *, ctf_names_t *, const char *);
608 const char *, ctf_id_t);
[all …]
H A Dctf-lookup.c52 ctf_id_t type = LCTF_INDEX_TO_TYPE (fp, i, 1); in refresh_pptrtab()
53 ctf_id_t reffed_type; in refresh_pptrtab()
134 static ctf_id_t
142 ctf_id_t type = 0; in ctf_lookup_by_name_internal()
143 ctf_id_t ntype, ptype; in ctf_lookup_by_name_internal()
321 ctf_id_t
332 ctf_lookup_by_id (ctf_dict_t **fpp, ctf_id_t type) in ctf_lookup_by_id()
335 ctf_id_t idx; in ctf_lookup_by_id()
391 ctf_id_t
650 ctf_id_t
[all …]
H A Dctf-dedup.c287 # define CTF_DEDUP_GID_TO_TYPE(id) (ctf_id_t) (((uint64_t) id) & ~(0xffffffff00000000ULL))
297 id_to_packed_id (ctf_dict_t *fp, int input_num, ctf_id_t type) in id_to_packed_id()
336 static ctf_id_t
489 int input_num, ctf_id_t type, int flags,
495 ctf_id_t type,
555 uint32_t *parents, int input_num, ctf_id_t type, in ctf_dedup_rhash_type()
563 ctf_id_t type, in ctf_dedup_rhash_type()
571 ctf_id_t child_type; in ctf_dedup_rhash_type()
805 ctf_id_t *args; in ctf_dedup_rhash_type()
829 if ((args = calloc (fi.ctc_argc, sizeof (ctf_id_t))) == NULL) in ctf_dedup_rhash_type()
[all …]
/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_types.c61 ctf_member_iter(ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter()
112 ctf_enum_iter(ctf_file_t *fp, ctf_id_t type, ctf_enum_f *func, void *arg) in ctf_enum_iter()
150 ctf_id_t id, max = fp->ctf_typemax; in ctf_type_iter()
170 ctf_id_t
171 ctf_type_resolve(ctf_file_t *fp, ctf_id_t type) in ctf_type_resolve()
173 ctf_id_t prev = type, otype = type; in ctf_type_resolve()
204 ctf_type_qlname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, in ctf_type_qlname()
318 ctf_type_lname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) in ctf_type_lname()
328 ctf_type_name(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) in ctf_type_name()
335 ctf_type_qname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, in ctf_type_qname()
[all …]
H A Dctf_create.c191 ctf_ref_inc(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_inc()
209 ctf_ref_dec(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_dec()
528 ctf_free(dtd->dtd_u.dtu_argv, sizeof (ctf_id_t) * in ctf_dtd_delete()
557 ctf_dtd_lookup(ctf_file_t *fp, ctf_id_t type) in ctf_dtd_lookup()
606 static ctf_id_t
610 ctf_id_t type; in ctf_add_generic()
669 static ctf_id_t
674 ctf_id_t type; in ctf_add_encoded()
689 static ctf_id_t
690 ctf_add_reftype(ctf_file_t *fp, uint_t flag, ctf_id_t ref, uint_t kind) in ctf_add_reftype()
[all …]
H A Dctf_impl.h122 ctf_id_t cd_type; /* type identifier */
142 ctf_id_t dmd_type; /* type of this member (for sou) */
151 ctf_id_t dtd_type; /* type identifier for this definition */
158 ctf_id_t *dtu_argv; /* function */
164 ctf_id_t ctb_type; /* CTF type identifier */
282 extern const ctf_type_t *ctf_lookup_by_id(ctf_file_t **, ctf_id_t);
301 extern ctf_dtdef_t *ctf_dtd_lookup(ctf_file_t *, ctf_id_t);
305 extern void ctf_decl_push(ctf_decl_t *, ctf_file_t *, ctf_id_t);
H A Dctf_lookup.c81 ctf_id_t
89 ctf_id_t type = 0; in ctf_lookup_by_name()
90 ctf_id_t ntype, ptype; in ctf_lookup_by_name()
181 ctf_id_t
185 ctf_id_t type; in ctf_lookup_by_symbol()
219 ctf_lookup_by_id(ctf_file_t **fpp, ctf_id_t type) in ctf_lookup_by_id()
298 ctf_func_args(ctf_file_t *fp, ulong_t symidx, uint_t argc, ctf_id_t *argv) in ctf_func_args()
/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/
H A 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 …]
H A 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);
H A 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 */
H A 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);

1234