Lines Matching defs:hdr
464 ctf_header_t *hdr, size_t *objt_size,
503 hdr->cth_flags |= CTF_F_IDXSORTED;
955 ctf_header_t hdr, *hdrp;
996 memset (&hdr, 0, sizeof (hdr));
997 hdr.cth_magic = CTF_MAGIC;
998 hdr.cth_version = CTF_VERSION;
1002 hdr.cth_flags = (CTF_F_NEWFUNCINFO | CTF_F_DYNSTR);
1004 if (ctf_symtypetab_sect_sizes (fp, &symstate, &hdr, &objt_size, &func_size,
1017 hdr.cth_lbloff = hdr.cth_objtoff = 0;
1018 hdr.cth_funcoff = hdr.cth_objtoff + objt_size;
1019 hdr.cth_objtidxoff = hdr.cth_funcoff + func_size;
1020 hdr.cth_funcidxoff = hdr.cth_objtidxoff + objtidx_size;
1021 hdr.cth_varoff = hdr.cth_funcidxoff + funcidx_size;
1022 hdr.cth_typeoff = hdr.cth_varoff + (nvars * sizeof (ctf_varent_t));
1023 hdr.cth_stroff = hdr.cth_typeoff + type_size;
1024 hdr.cth_strlen = 0;
1026 buf_size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen;
1031 memcpy (buf, &hdr, sizeof (ctf_header_t));
1032 t = (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_objtoff;
1044 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_varoff);
1062 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_typeoff);
1066 assert (t == (unsigned char *) buf + sizeof (ctf_header_t) + hdr.cth_stroff);