/netbsd-src/external/cddl/osnet/dist/common/ctf/ |
H A D | ctf_open.c | 335 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 D | ctf_lookup.c | 115 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 D | ctf_impl.h | 197 ushort_t *ctf_ptrtab; /* translation table for pointer-to lookups */ member
|
H A D | ctf_types.c | 512 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 D | ctf-open.c | 774 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 D | ctf-create.c | 52 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 D | ctf-serialize.c | 1133 nfp->ctf_ptrtab = fp->ctf_ptrtab; in ctf_serialize() 1183 fp->ctf_ptrtab = NULL; in ctf_serialize()
|
H A D | ctf-lookup.c | 190 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 D | ctf-impl.h | 403 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member
|
H A D | ctf-types.c | 1163 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 D | ChangeLog-2020 | 1202 (ctf_add_reftype): Likewise. Initialize the ctf_ptrtab, checking
|
/netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
H A D | ctf-open.c | 774 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 D | ctf-create.c | 52 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 D | ctf-serialize.c | 1133 nfp->ctf_ptrtab = fp->ctf_ptrtab; in ctf_serialize() 1183 fp->ctf_ptrtab = NULL; in ctf_serialize()
|
H A D | ctf-lookup.c | 190 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 D | ctf-impl.h | 403 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member
|
H A D | ctf-types.c | 1154 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 D | ChangeLog-2020 | 1202 (ctf_add_reftype): Likewise. Initialize the ctf_ptrtab, checking
|
/netbsd-src/external/gpl3/gdb/dist/libctf/ |
H A D | ChangeLog-2020 | 1202 (ctf_add_reftype): Likewise. Initialize the ctf_ptrtab, checking
|