Home
last modified time | relevance | path

Searched refs:ctf_ptrtab (Results 1 – 5 of 5) sorted by relevance

/dflybsd-src/contrib/binutils-2.34/libctf/
H A Dctf-open.c751 fp->ctf_ptrtab = malloc (sizeof (uint32_t) * fp->ctf_ptrtab_len); in init_types()
753 if (fp->ctf_txlate == NULL || fp->ctf_ptrtab == NULL) in init_types()
760 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types()
878 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, tp->ctt_type)] = id; in init_types()
917 if ((dst = fp->ctf_ptrtab[id]) != 0) in init_types()
925 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, tp->ctt_type)] = dst; in init_types()
1684 free (fp->ctf_ptrtab); in ctf_file_close()
H A Dctf-lookup.c107 ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]; in ctf_lookup_by_name()
113 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, ntype)]) == 0) in ctf_lookup_by_name()
H A Dctf-create.c43 if (fp->ctf_ptrtab == NULL) in ctf_grow_ptrtab()
52 if ((new_ptrtab = realloc (fp->ctf_ptrtab, in ctf_grow_ptrtab()
56 fp->ctf_ptrtab = new_ptrtab; in ctf_grow_ptrtab()
57 memset (fp->ctf_ptrtab + fp->ctf_ptrtab_len, 0, in ctf_grow_ptrtab()
531 nfp->ctf_ptrtab = fp->ctf_ptrtab; in ctf_serialize()
558 fp->ctf_ptrtab = NULL; in ctf_serialize()
918 fp->ctf_ptrtab[ref_idx] = type_idx; in ctf_add_reftype()
926 fp->ctf_ptrtab[refref_idx] = type_idx; in ctf_add_reftype()
H A Dctf-impl.h265 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member
H A Dctf-types.c711 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]) != 0) in ctf_type_pointer()
720 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]) != 0) in ctf_type_pointer()