Lines Matching refs:ctf_header_t
72 static const ctf_header_t hdr = { .cth_preamble = { CTF_MAGIC, CTF_VERSION, 0 } }; in ctf_create()
267 ctf_header_t hdr, *hdrp; in ctf_serialize()
351 buf_size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_serialize()
356 memcpy (buf, &hdr, sizeof (ctf_header_t)); in ctf_serialize()
357 t = (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_varoff; in ctf_serialize()
359 hdrp = (ctf_header_t *) buf; in ctf_serialize()
381 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_typeoff); in ctf_serialize()
472 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_stroff); in ctf_serialize()
500 hdrp = (ctf_header_t *) buf; in ctf_serialize()
2074 resid = sizeof (ctf_header_t); in ctf_gzwrite()
2104 ctf_header_t h; in ctf_compress_write()
2105 ctf_header_t *hp = &h; in ctf_compress_write()
2106 ssize_t header_len = sizeof (ctf_header_t); in ctf_compress_write()
2165 ctf_header_t *hp; in ctf_write_mem()
2166 ssize_t header_len = sizeof (ctf_header_t); in ctf_write_mem()
2183 hp = (ctf_header_t *) buf; in ctf_write_mem()
2221 resid = sizeof (ctf_header_t); in ctf_write()