/netbsd-src/external/cddl/osnet/dist/tools/ctf/dump/ |
H A D | dump.c | 114 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 D | ctf-open.c | 357 + 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 D | ctf-dump.c | 391 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 D | ctf-serialize.c | 1023 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 D | ctf-open.c | 357 + 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 D | ctf-dump.c | 391 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 D | ctf-serialize.c | 1023 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 D | ctf_open.c | 208 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 D | ctf_create.c | 318 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 D | ctf.h | 127 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 D | ctf.c | 747 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 D | ctf.h | 163 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 D | ctf.h | 163 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 D | ctf.h | 160 uint32_t cth_stroff; /* Offset of string section. */ member
|
/netbsd-src/external/cddl/osnet/dev/fbt/ |
H A D | fbt.c | 592 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 D | ctf-spec.info | 356 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)
|
H A D | ctf-spec.texi | 416 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 D | ctf-spec.texi | 416 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 D | ctf-spec.info | 356 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 D | ChangeLog.git | 136317 represented by the cth_stroff header field. Its length is recorded in
|