Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_open.c335 fp->ctf_ptrtab = ctf_alloc(sizeof (ushort_t) * (fp->ctf_typemax + 1)); in init_types()
337 if (fp->ctf_txlate == NULL || fp->ctf_ptrtab == NULL) in init_types()
344 bzero(fp->ctf_ptrtab, sizeof (ushort_t) * (fp->ctf_typemax + 1)); in init_types()
487 fp->ctf_ptrtab[ in init_types()
525 if ((dst = fp->ctf_ptrtab[id]) != 0) { in init_types()
532 fp->ctf_ptrtab[ in init_types()
952 if (fp->ctf_ptrtab != NULL) { in ctf_close()
953 ctf_free(fp->ctf_ptrtab, in ctf_close()
H A Dctf_lookup.c115 ntype = fp->ctf_ptrtab[CTF_TYPE_TO_INDEX(type)]; in ctf_lookup_by_name()
118 if (ntype == CTF_ERR || (ntype = fp->ctf_ptrtab[ in ctf_lookup_by_name()
H A Dctf_impl.h197 ushort_t *ctf_ptrtab; /* translation table for pointer-to lookups */ member
H A Dctf_types.c512 if ((ntype = fp->ctf_ptrtab[CTF_TYPE_TO_INDEX(type)]) != 0) in ctf_type_pointer()
521 if ((ntype = fp->ctf_ptrtab[CTF_TYPE_TO_INDEX(type)]) != 0) in ctf_type_pointer()
/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-open.c774 fp->ctf_ptrtab = malloc (sizeof (uint32_t) * fp->ctf_ptrtab_len); in init_types()
776 if (fp->ctf_txlate == NULL || fp->ctf_ptrtab == NULL) in init_types()
783 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types()
923 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, tp->ctt_type)] = id; in init_types()
1839 free (fp->ctf_ptrtab); in ctf_dict_close()
H A Dctf-create.c52 if (fp->ctf_ptrtab == NULL) in ctf_grow_ptrtab()
61 if ((new_ptrtab = realloc (fp->ctf_ptrtab, in ctf_grow_ptrtab()
65 fp->ctf_ptrtab = new_ptrtab; in ctf_grow_ptrtab()
66 memset (fp->ctf_ptrtab + fp->ctf_ptrtab_len, 0, in ctf_grow_ptrtab()
594 fp->ctf_ptrtab[ref_idx] = type_idx; in ctf_add_reftype()
H A Dctf-serialize.c1133 nfp->ctf_ptrtab = fp->ctf_ptrtab; in ctf_serialize()
1183 fp->ctf_ptrtab = NULL; in ctf_serialize()
H A Dctf-lookup.c190 ntype = fp->ctf_ptrtab[idx]; in ctf_lookup_by_name_internal()
220 ntype = fp->ctf_ptrtab[idx]; in ctf_lookup_by_name_internal()
H A Dctf-impl.h403 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member
H A Dctf-types.c1163 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]) != 0) in ctf_type_pointer()
1172 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]) != 0) in ctf_type_pointer()
H A DChangeLog-20201202 (ctf_add_reftype): Likewise. Initialize the ctf_ptrtab, checking
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-open.c774 fp->ctf_ptrtab = malloc (sizeof (uint32_t) * fp->ctf_ptrtab_len); in init_types()
776 if (fp->ctf_txlate == NULL || fp->ctf_ptrtab == NULL) in init_types()
783 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types()
923 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, tp->ctt_type)] = id; in init_types()
1838 free (fp->ctf_ptrtab); in ctf_dict_close()
H A Dctf-create.c52 if (fp->ctf_ptrtab == NULL) in ctf_grow_ptrtab()
61 if ((new_ptrtab = realloc (fp->ctf_ptrtab, in ctf_grow_ptrtab()
65 fp->ctf_ptrtab = new_ptrtab; in ctf_grow_ptrtab()
66 memset (fp->ctf_ptrtab + fp->ctf_ptrtab_len, 0, in ctf_grow_ptrtab()
598 fp->ctf_ptrtab[ref_idx] = type_idx; in ctf_add_reftype()
H A Dctf-serialize.c1133 nfp->ctf_ptrtab = fp->ctf_ptrtab; in ctf_serialize()
1183 fp->ctf_ptrtab = NULL; in ctf_serialize()
H A Dctf-lookup.c190 ntype = fp->ctf_ptrtab[idx]; in ctf_lookup_by_name_internal()
220 ntype = fp->ctf_ptrtab[idx]; in ctf_lookup_by_name_internal()
H A Dctf-impl.h403 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member
H A Dctf-types.c1154 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]) != 0) in ctf_type_pointer()
1163 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]) != 0) in ctf_type_pointer()
H A DChangeLog-20201202 (ctf_add_reftype): Likewise. Initialize the ctf_ptrtab, checking
/netbsd-src/external/gpl3/gdb/dist/libctf/
H A DChangeLog-20201202 (ctf_add_reftype): Likewise. Initialize the ctf_ptrtab, checking