Searched refs:cth_stroff (Results 1 – 5 of 5) sorted by relevance
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()395 const ctf_type_t *end = (ctf_type_t *)(cd->cd_ctfdata + hp->cth_stroff); in read_types()406 if (hp->cth_stroff >= cd->cd_ctflen) in read_types()408 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 …]
125 uint_t cth_stroff; /* offset of string section */ member140 uint_t cth_stroff; member
205 const ctf_type_t *tend = (ctf_type_t *)(fp->ctf_buf + cth->cth_stroff); in init_types()603 hp.cth_stroff = h1p->cth_stroff; in ctf_bufopen()610 size = hp.cth_stroff + hp.cth_strlen; in ctf_bufopen()616 hp.cth_stroff > size) in ctf_bufopen()622 hp.cth_typeoff > hp.cth_stroff) in ctf_bufopen()704 fp->ctf_str[CTF_STRTAB_0].cts_strs = (const char *)buf + hp.cth_stroff; in ctf_bufopen()
311 hdr.cth_stroff = hdr.cth_typeoff + size; in ctf_update()313 size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_update()320 s = s0 = (uchar_t *)buf + sizeof (ctf_header_t) + hdr.cth_stroff; in ctf_update()
643 h.cth_stroff = ctf_buf_cur(buf); in ctf_gen()679 while (dptr < data + h->cth_stroff) { in count_types()747 caddr_t sbuf = ctfdata + h->cth_stroff; in resurrect_labels()905 size_t bufsz = h->cth_stroff - h->cth_typeoff; in resurrect_types()906 caddr_t sbuf = ctfdata + h->cth_stroff; in resurrect_types()1184 td->td_parlabel = xstrdup(buf + h->cth_stroff + h->cth_parlabel); in ctf_parse()1259 ctfdatasz = h->cth_stroff + h->cth_strlen; in ctf_load()