Home
last modified time | relevance | path

Searched refs:cth_stroff (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/tools/ctf/dump/
H A Ddump.c114 const char *s = cd->cd_ctfdata + hp->cth_stroff + offset; in ref_to_str()
122 if (hp->cth_stroff + offset >= cd->cd_ctflen) in ref_to_str()
197 (void) printf(" cth_stroff = %u\n", hp->cth_stroff); in print_header()
393 v = (void *) (cd->cd_ctfdata + hp->cth_stroff); in read_types()
405 if (hp->cth_stroff >= cd->cd_ctflen) in read_types()
407 if (hp->cth_typeoff > hp->cth_stroff) in read_types()
637 const char *s = cd->cd_ctfdata + hp->cth_stroff; in read_strtab()
642 if (hp->cth_stroff >= cd->cd_ctflen) in read_strtab()
644 if (hp->cth_stroff + hp->cth_strlen > cd->cd_ctflen) in read_strtab()
962 if ((buf = malloc(hp->cth_stroff + hp->cth_strlen)) == NULL) in main()
[all …]
/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-open.c357 + hp->cth_stroff; in ctf_set_base()
404 hp->cth_stroff = oldhp->cth_stroff; in upgrade_header()
439 tend = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_stroff); in upgrade_types_v1()
484 memcpy (ctf_base + cth->cth_stroff + increase, in upgrade_types_v1()
485 fp->ctf_buf + cth->cth_stroff, cth->cth_strlen); in upgrade_types_v1()
487 memset (ctf_base + cth->cth_typeoff, 0, cth->cth_stroff - cth->cth_typeoff in upgrade_types_v1()
490 cth->cth_stroff += increase; in upgrade_types_v1()
492 assert (cth->cth_stroff >= cth->cth_typeoff); in upgrade_types_v1()
641 assert ((size_t) t2p - (size_t) fp->ctf_buf == cth->cth_stroff); in upgrade_types_v1()
706 tend = (ctf_type_t *) (fp->ctf_buf + cth->cth_stroff); in init_types()
[all …]
H A Dctf-dump.c391 hp->cth_typeoff, hp->cth_stroff) < 0) in ctf_dump_header()
394 if (ctf_dump_header_sectfield (fp, state, "String section", hp->cth_stroff, in ctf_dump_header()
395 hp->cth_stroff + hp->cth_strlen + 1) < 0) in ctf_dump_header()
H A Dctf-serialize.c1023 hdr.cth_stroff = hdr.cth_typeoff + type_size; in ctf_serialize()
1026 buf_size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_serialize()
1066 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_stroff); in ctf_serialize()
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-open.c357 + hp->cth_stroff; in ctf_set_base()
404 hp->cth_stroff = oldhp->cth_stroff; in upgrade_header()
439 tend = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_stroff); in upgrade_types_v1()
484 memcpy (ctf_base + cth->cth_stroff + increase, in upgrade_types_v1()
485 fp->ctf_buf + cth->cth_stroff, cth->cth_strlen); in upgrade_types_v1()
487 memset (ctf_base + cth->cth_typeoff, 0, cth->cth_stroff - cth->cth_typeoff in upgrade_types_v1()
490 cth->cth_stroff += increase; in upgrade_types_v1()
492 assert (cth->cth_stroff >= cth->cth_typeoff); in upgrade_types_v1()
641 assert ((size_t) t2p - (size_t) fp->ctf_buf == cth->cth_stroff); in upgrade_types_v1()
706 tend = (ctf_type_t *) (fp->ctf_buf + cth->cth_stroff); in init_types()
[all …]
H A Dctf-dump.c391 hp->cth_typeoff, hp->cth_stroff) < 0) in ctf_dump_header()
394 if (ctf_dump_header_sectfield (fp, state, "String section", hp->cth_stroff, in ctf_dump_header()
395 hp->cth_stroff + hp->cth_strlen + 1) < 0) in ctf_dump_header()
H A Dctf-serialize.c1023 hdr.cth_stroff = hdr.cth_typeoff + type_size; in ctf_serialize()
1026 buf_size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_serialize()
1066 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_stroff); in ctf_serialize()
/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_open.c208 const ctf_type_t *tend = (const ctf_type_t *)(fp->ctf_buf + cth->cth_stroff); in init_types()
606 hp.cth_stroff = h1p->cth_stroff; in ctf_bufopen()
613 size = hp.cth_stroff + hp.cth_strlen; in ctf_bufopen()
619 hp.cth_stroff > size) in ctf_bufopen()
625 hp.cth_typeoff > hp.cth_stroff) in ctf_bufopen()
707 fp->ctf_str[CTF_STRTAB_0].cts_strs = (const char *)buf + hp.cth_stroff; in ctf_bufopen()
H A Dctf_create.c318 hdr.cth_stroff = hdr.cth_typeoff + size; in ctf_update()
320 size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_update()
327 s = s0 = (uchar_t *)buf + sizeof (ctf_header_t) + hdr.cth_stroff; in ctf_update()
/netbsd-src/external/cddl/osnet/dist/uts/common/sys/
H A Dctf.h127 uint_t cth_stroff; /* offset of string section */ member
142 uint_t cth_stroff; member
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dctf.c747 h.cth_stroff = ctf_buf_cur(buf); in ctf_gen()
758 SWAP_32(h.cth_stroff); in ctf_gen()
795 while (dptr < data + h->cth_stroff) { in count_types()
864 caddr_t sbuf = ctfdata + h->cth_stroff; in resurrect_labels()
1022 size_t bufsz = h->cth_stroff - h->cth_typeoff; in resurrect_types()
1023 caddr_t sbuf = ctfdata + h->cth_stroff; in resurrect_types()
1298 td->td_parlabel = xstrdup(buf + h->cth_stroff + h->cth_parlabel); in ctf_parse()
1374 ctfdatasz = h->cth_stroff + h->cth_strlen; in ctf_load()
/netbsd-src/external/gpl3/binutils/dist/include/
H A Dctf.h163 uint32_t cth_stroff; /* Offset of string section. */ member
180 uint32_t cth_stroff; /* Offset of string section. */ member
/netbsd-src/external/gpl3/binutils.old/dist/include/
H A Dctf.h163 uint32_t cth_stroff; /* Offset of string section. */ member
180 uint32_t cth_stroff; /* Offset of string section. */ member
/netbsd-src/external/gpl3/gcc/dist/include/
H A Dctf.h160 uint32_t cth_stroff; /* Offset of string section. */ member
/netbsd-src/external/cddl/osnet/dev/fbt/
H A Dfbt.c592 tend = (const ctf_type_t *) (ctfdata + hp->cth_stroff); in fbt_typoff_init()
942 strp = (const char *)(mc->ctftab + hp->cth_stroff + name + sizeof(ctf_header_t)); in ctf_strptr()
/netbsd-src/external/gpl3/binutils/dist/libctf/doc/
H A Dctf-spec.info356 uint32_t cth_stroff;
413 0x2c ‘uint32_t cth_stroff’ The offset of the string section.
421cth_stroff’ + ‘cth_strlen’) is compressed with zlib if ‘CTF_F_COMPRESS’
1420 * ctf_header_t, cth_stroff: CTF header. (line 95)
1517 * cth_stroff: CTF header. (line 95)
1640 * struct ctf_header, cth_stroff: CTF header. (line 95)
H A Dctf-spec.texi416 uint32_t cth_stroff;
518 @tab @code{uint32_t cth_stroff}
519 @vindex cth_stroff
520 @vindex struct ctf_header, cth_stroff
521 @vindex ctf_header_t, cth_stroff
534 Everything from this point on (until the end of the file at @code{cth_stroff} +
/netbsd-src/external/gpl3/binutils.old/dist/libctf/doc/
H A Dctf-spec.texi416 uint32_t cth_stroff;
518 @tab @code{uint32_t cth_stroff}
519 @vindex cth_stroff
520 @vindex struct ctf_header, cth_stroff
521 @vindex ctf_header_t, cth_stroff
534 Everything from this point on (until the end of the file at @code{cth_stroff} +
H A Dctf-spec.info356 uint32_t cth_stroff;
413 0x2c 'uint32_t cth_stroff' The offset of the string section.
421 'cth_stroff' + 'cth_strlen') is compressed with zlib if 'CTF_F_COMPRESS'
1420 * ctf_header_t, cth_stroff: CTF header. (line 95)
1517 * cth_stroff: CTF header. (line 95)
1640 * struct ctf_header, cth_stroff: CTF header. (line 95)
/netbsd-src/external/gpl3/binutils/dist/
H A DChangeLog.git136317 represented by the cth_stroff header field. Its length is recorded in