Home
last modified time | relevance | path

Searched refs:ctf_header_t (Results 1 – 25 of 35) sorted by relevance

12

/netbsd-src/external/cddl/osnet/dev/fbt/
H A Dfbt.c450 const ctf_header_t *hp = (const ctf_header_t *) mc->ctftab; in fbt_ctfoff_init()
451 const uint8_t *ctfdata = mc->ctftab + sizeof(ctf_header_t); in fbt_ctfoff_init()
577 const ctf_header_t *hp = (const ctf_header_t *) mc->ctftab; in fbt_typoff_init()
581 const uint8_t *ctfdata = mc->ctftab + sizeof(ctf_header_t); in fbt_typoff_init()
904 tp = (const ctf_type_t *)(mc->ctftab + offset + sizeof(ctf_header_t)); in ctf_lookup_by_id()
912 const ctf_header_t *hp = (const ctf_header_t *) mc->ctftab; in fbt_array_info()
936 const ctf_header_t *hp = (const ctf_header_t *) mc->ctftab;; in ctf_strptr()
942 strp = (const char *)(mc->ctftab + hp->cth_stroff + name + sizeof(ctf_header_t)); in ctf_strptr()
1203 dp = (const ushort_t *)(mc->ctftab + offset + sizeof(ctf_header_t)); in fbt_getargdesc()
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dctf.c659 write_buffer(ctf_header_t *h, ctf_buf_t *buf, size_t *resszp) in write_buffer()
664 outbuf = xmalloc(sizeof (ctf_header_t) + (buf->ctb_ptr - buf->ctb_base) in write_buffer()
668 (void) bcopy_data(h, sizeof (ctf_header_t), &bufpos); in write_buffer()
683 write_compressed_buffer(ctf_header_t *h, ctf_buf_t *buf, size_t *resszp) in write_compressed_buffer()
688 bcopy(h, resbuf.rb_base, sizeof (ctf_header_t)); in write_compressed_buffer()
689 resbuf.rb_ptr = resbuf.rb_base + sizeof (ctf_header_t); in write_compressed_buffer()
706 ctf_header_t h; in ctf_gen()
789 count_types(ctf_header_t *h, caddr_t data) in count_types()
861 resurrect_labels(ctf_header_t *h, tdata_t *td, caddr_t ctfdata, char *matchlbl) in resurrect_labels()
906 resurrect_objects(ctf_header_t *h, tdata_t *td, tdesc_t **tdarr, int tdsize, in resurrect_objects()
[all …]
/netbsd-src/external/cddl/osnet/dist/tools/ctf/dump/
H A Ddump.c111 ref_to_str(uint_t name, const ctf_header_t *hp, const ctf_data_t *cd) in ref_to_str()
182 print_header(const ctf_header_t *hp, const ctf_data_t *cd) in print_header()
204 print_labeltable(const ctf_header_t *hp, const ctf_data_t *cd) in print_labeltable()
267 read_data(const ctf_header_t *hp, const ctf_data_t *cd) in read_data()
311 read_funcs(const ctf_header_t *hp, const ctf_data_t *cd) in read_funcs()
388 read_types(const ctf_header_t *hp, const ctf_data_t *cd) in read_types()
634 read_strtab(const ctf_header_t *hp, const ctf_data_t *cd) in read_strtab()
814 ctf_header_t *hp = NULL; in main()
941 cd.cd_ctfdata = (caddr_t)cd.cd_ctfdata + sizeof (ctf_header_t); in main()
943 if (cd.cd_ctflen < sizeof (ctf_header_t)) { in main()
[all …]
/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-serialize.c464 ctf_header_t *hdr, size_t *objt_size, in ctf_symtypetab_sect_sizes()
955 ctf_header_t hdr, *hdrp; in ctf_serialize()
1026 buf_size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_serialize()
1031 memcpy (buf, &hdr, sizeof (ctf_header_t)); in ctf_serialize()
1032 t = (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_objtoff; in ctf_serialize()
1034 hdrp = (ctf_header_t *) buf; in ctf_serialize()
1044 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_varoff); in ctf_serialize()
1062 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_typeoff); in ctf_serialize()
1066 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_stroff); in ctf_serialize()
1096 hdrp = (ctf_header_t *) buf; in ctf_serialize()
[all …]
H A Dctf-labels.c27 const ctf_header_t *h; in extract_label_info()
29 h = (const ctf_header_t *) fp->ctf_data.cts_data; in extract_label_info()
H A Dctf-open.c235 init_symtab (ctf_dict_t *fp, const ctf_header_t *hp, const ctf_sect_t *sp) in init_symtab()
348 ctf_set_base (ctf_dict_t *fp, const ctf_header_t *hp, unsigned char *base) in ctf_set_base()
389 ctf_set_version (ctf_dict_t *fp, ctf_header_t *cth, int ctf_version) in ctf_set_version()
399 upgrade_header (ctf_header_t *hp) in upgrade_header()
427 upgrade_types_v1 (ctf_dict_t *fp, ctf_header_t *cth) in upgrade_types_v1()
651 upgrade_types (ctf_dict_t *fp, ctf_header_t *cth) in upgrade_types()
679 init_types (ctf_dict_t *fp, ctf_header_t *cth) in init_types()
969 ctf_flip_header (ctf_header_t *cth) in ctf_flip_header()
1215 ctf_flip (ctf_dict_t *fp, ctf_header_t *cth, unsigned char *buf, in ctf_flip()
1335 size_t hdrsz = sizeof (ctf_header_t); in ctf_bufopen_internal()
[all …]
H A Dctf-impl.h744 extern void ctf_flip_header (ctf_header_t *);
745 extern int ctf_flip (ctf_dict_t *, ctf_header_t *, unsigned char *, int);
H A Dctf-lookup.c719 ctf_header_t *hp = fp->ctf_header; in ctf_symbol_next()
751 ctf_header_t *hp = fp->ctf_header; in ctf_symbol_next()
H A Dctf-dump.c293 const ctf_header_t *hp = fp->ctf_header; in ctf_dump_header()
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-serialize.c464 ctf_header_t *hdr, size_t *objt_size, in ctf_symtypetab_sect_sizes()
955 ctf_header_t hdr, *hdrp; in ctf_serialize()
1026 buf_size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_serialize()
1031 memcpy (buf, &hdr, sizeof (ctf_header_t)); in ctf_serialize()
1032 t = (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_objtoff; in ctf_serialize()
1034 hdrp = (ctf_header_t *) buf; in ctf_serialize()
1044 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_varoff); in ctf_serialize()
1062 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_typeoff); in ctf_serialize()
1066 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_stroff); in ctf_serialize()
1096 hdrp = (ctf_header_t *) buf; in ctf_serialize()
[all …]
H A Dctf-labels.c27 const ctf_header_t *h; in extract_label_info()
29 h = (const ctf_header_t *) fp->ctf_data.cts_data; in extract_label_info()
H A Dctf-open.c235 init_symtab (ctf_dict_t *fp, const ctf_header_t *hp, const ctf_sect_t *sp) in init_symtab()
348 ctf_set_base (ctf_dict_t *fp, const ctf_header_t *hp, unsigned char *base) in ctf_set_base()
389 ctf_set_version (ctf_dict_t *fp, ctf_header_t *cth, int ctf_version) in ctf_set_version()
399 upgrade_header (ctf_header_t *hp) in upgrade_header()
427 upgrade_types_v1 (ctf_dict_t *fp, ctf_header_t *cth) in upgrade_types_v1()
651 upgrade_types (ctf_dict_t *fp, ctf_header_t *cth) in upgrade_types()
679 init_types (ctf_dict_t *fp, ctf_header_t *cth) in init_types()
969 ctf_flip_header (ctf_header_t *cth) in ctf_flip_header()
1215 ctf_flip (ctf_dict_t *fp, ctf_header_t *cth, unsigned char *buf, in ctf_flip()
1335 size_t hdrsz = sizeof (ctf_header_t); in ctf_bufopen_internal()
[all …]
H A Dctf-impl.h745 extern void ctf_flip_header (ctf_header_t *);
746 extern int ctf_flip (ctf_dict_t *, ctf_header_t *, unsigned char *, int);
H A Dctf-lookup.c707 ctf_header_t *hp = fp->ctf_header; in ctf_symbol_next()
739 ctf_header_t *hp = fp->ctf_header; in ctf_symbol_next()
/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_labels.c37 const ctf_header_t *h; in extract_label_info()
45 h = (const ctf_header_t *)fp->ctf_data.cts_data; in extract_label_info()
H A Dctf_open.c114 init_symtab(ctf_file_t *fp, const ctf_header_t *hp, in init_symtab()
203 init_types(ctf_file_t *fp, const ctf_header_t *cth) in init_types()
551 ctf_header_t hp; in ctf_bufopen()
588 if (ctfsect->cts_size < sizeof (ctf_header_t)) in ctf_bufopen()
592 hdrsz = sizeof (ctf_header_t); in ctf_bufopen()
H A Dctf_create.c58 static const ctf_header_t hdr = { .cth_preamble = { in ctf_create()
246 ctf_header_t hdr; in ctf_update()
320 size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_update()
325 bcopy(&hdr, buf, sizeof (ctf_header_t)); in ctf_update()
326 t = (uchar_t *)buf + sizeof (ctf_header_t); in ctf_update()
327 s = s0 = (uchar_t *)buf + sizeof (ctf_header_t) + hdr.cth_stroff; in ctf_update()
/netbsd-src/external/gpl3/binutils/dist/libctf/doc/
H A Dctf-spec.info242 part of the ‘ctf_header_t’, so consuming programs rarely need to
358 } ctf_header_t;
1407 * ctf_header_t: CTF header. (line 44)
1408 * ctf_header_t, cth_cuname: CTF header. (line 61)
1409 * ctf_header_t, cth_flags: CTF Preamble. (line 30)
1410 * ctf_header_t, cth_funcidxoff: CTF header. (line 82)
1411 * ctf_header_t, cth_funcoff: CTF header. (line 74)
1412 * ctf_header_t, cth_lbloff: CTF header. (line 66)
1413 * ctf_header_t, cth_magic: CTF Preamble. (line 24)
1414 * ctf_header_t, cth_objtidxoff: CTF header. (line 78)
[all …]
H A Dctf-spec.texi268 @code{ctf_preamble_t} appear to be part of the @code{ctf_header_t}, so
282 @vindex ctf_header_t, cth_magic
293 @vindex ctf_header_t, cth_version
303 @vindex ctf_header_t, cth_flags
418 } ctf_header_t;
424 @tindex ctf_header_t
431 @vindex ctf_header_t, cth_preamble
438 @vindex ctf_header_t, cth_parlabel
447 @vindex ctf_header_t, cth_parname
456 @vindex ctf_header_t, cth_cuname
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/libctf/doc/
H A Dctf-spec.texi268 @code{ctf_preamble_t} appear to be part of the @code{ctf_header_t}, so
282 @vindex ctf_header_t, cth_magic
293 @vindex ctf_header_t, cth_version
303 @vindex ctf_header_t, cth_flags
418 } ctf_header_t;
424 @tindex ctf_header_t
431 @vindex ctf_header_t, cth_preamble
438 @vindex ctf_header_t, cth_parlabel
447 @vindex ctf_header_t, cth_parname
456 @vindex ctf_header_t, cth_cuname
[all …]
H A Dctf-spec.info242 part of the 'ctf_header_t', so consuming programs rarely need to
358 } ctf_header_t;
1407 * ctf_header_t: CTF header. (line 44)
1408 * ctf_header_t, cth_cuname: CTF header. (line 61)
1409 * ctf_header_t, cth_flags: CTF Preamble. (line 30)
1410 * ctf_header_t, cth_funcidxoff: CTF header. (line 82)
1411 * ctf_header_t, cth_funcoff: CTF header. (line 74)
1412 * ctf_header_t, cth_lbloff: CTF header. (line 66)
1413 * ctf_header_t, cth_magic: CTF Preamble. (line 24)
1414 * ctf_header_t, cth_objtidxoff: CTF header. (line 78)
[all …]
/netbsd-src/external/cddl/osnet/dist/uts/common/sys/
H A Dctf.h129 } ctf_header_t; typedef
/netbsd-src/external/gpl3/gcc/dist/include/
H A Dctf.h162 } ctf_header_t; typedef
/netbsd-src/external/gpl3/binutils/dist/include/
H A Dctf.h182 } ctf_header_t; typedef
/netbsd-src/external/gpl3/binutils.old/dist/include/
H A Dctf.h182 } ctf_header_t; typedef

12