Searched refs:ctf_ptrtab (Results 1 - 25 of 27) sorted by relevance

12

/netbsd-current/external/cddl/osnet/dist/common/ctf/
H A Dctf_lookup.c107 * Find a pointer to type by looking in fp->ctf_ptrtab.
115 ntype = fp->ctf_ptrtab[CTF_TYPE_TO_INDEX(type)];
118 if (ntype == CTF_ERR || (ntype = fp->ctf_ptrtab[
H A Dctf_open.c335 fp->ctf_ptrtab = ctf_alloc(sizeof (ushort_t) * (fp->ctf_typemax + 1));
337 if (fp->ctf_txlate == NULL || fp->ctf_ptrtab == NULL)
344 bzero(fp->ctf_ptrtab, sizeof (ushort_t) * (fp->ctf_typemax + 1));
483 * in fp->ctf_ptrtab[ index of referenced type ].
487 fp->ctf_ptrtab[
525 if ((dst = fp->ctf_ptrtab[id]) != 0) {
532 fp->ctf_ptrtab[
952 if (fp->ctf_ptrtab != NULL) {
953 ctf_free(fp->ctf_ptrtab,
H A Dctf_impl.h197 ushort_t *ctf_ptrtab; /* translation table for pointer-to lookups */ member in struct:ctf_file
H A Dctf_types.c497 * Find a pointer to type by looking in fp->ctf_ptrtab. If we can't find a
512 if ((ntype = fp->ctf_ptrtab[CTF_TYPE_TO_INDEX(type)]) != 0)
521 if ((ntype = fp->ctf_ptrtab[CTF_TYPE_TO_INDEX(type)]) != 0)
/netbsd-current/external/gpl3/gdb.old/dist/libctf/
H A Dctf-lookup.c97 /* Find a pointer to type by looking in fp->ctf_ptrtab.
107 ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)];
113 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, ntype)]) == 0)
H A Dctf-open.c746 fp->ctf_ptrtab = malloc (sizeof (uint32_t) * fp->ctf_ptrtab_len);
748 if (fp->ctf_txlate == NULL || fp->ctf_ptrtab == NULL)
755 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1));
890 fp->ctf_ptrtab[ index of referenced type ]. */
894 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, tp->ctt_type)] = id;
936 if ((dst = fp->ctf_ptrtab[id]) != 0)
944 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, tp->ctt_type)] = dst;
1740 free (fp->ctf_ptrtab);
H A Dctf-create.c48 if (fp->ctf_ptrtab == NULL)
57 if ((new_ptrtab = realloc (fp->ctf_ptrtab,
61 fp->ctf_ptrtab = new_ptrtab;
62 memset (fp->ctf_ptrtab + fp->ctf_ptrtab_len, 0,
538 nfp->ctf_ptrtab = fp->ctf_ptrtab;
574 fp->ctf_ptrtab = NULL;
951 fp->ctf_ptrtab[ref_idx] = type_idx;
959 fp->ctf_ptrtab[refref_idx] = type_idx;
H A Dctf-impl.h385 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member in struct:ctf_file
H A Dctf-types.c1136 /* Find a pointer to type by looking in fp->ctf_ptrtab. If we can't find a
1153 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]) != 0)
1162 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]) != 0)
/netbsd-current/external/gpl3/binutils/dist/libctf/
H A Dctf-create.c52 if (fp->ctf_ptrtab == NULL)
61 if ((new_ptrtab = realloc (fp->ctf_ptrtab,
65 fp->ctf_ptrtab = new_ptrtab;
66 memset (fp->ctf_ptrtab + fp->ctf_ptrtab_len, 0,
598 fp->ctf_ptrtab[ref_idx] = type_idx;
H A Dctf-open.c774 fp->ctf_ptrtab = malloc (sizeof (uint32_t) * fp->ctf_ptrtab_len);
776 if (fp->ctf_txlate == NULL || fp->ctf_ptrtab == NULL)
783 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1));
918 store the index of the pointer type in fp->ctf_ptrtab[ index of
923 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, tp->ctt_type)] = id;
1838 free (fp->ctf_ptrtab);
H A Dctf-serialize.c1133 nfp->ctf_ptrtab = fp->ctf_ptrtab;
1183 fp->ctf_ptrtab = NULL;
H A Dctf-lookup.c162 is set) and fp->ctf_ptrtab. If we can't find a pointer to the
190 ntype = fp->ctf_ptrtab[idx];
220 ntype = fp->ctf_ptrtab[idx];
H A Dctf-impl.h403 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member in struct:ctf_dict
H A Dctf-types.c1137 /* Find a pointer to type by looking in fp->ctf_ptrtab. If we can't find a
1154 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]) != 0)
1163 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, type)]) != 0)
/netbsd-current/external/gpl3/gdb/dist/libctf/
H A Dctf-create.c52 if (fp->ctf_ptrtab == NULL)
61 if ((new_ptrtab = realloc (fp->ctf_ptrtab,
65 fp->ctf_ptrtab = new_ptrtab;
66 memset (fp->ctf_ptrtab + fp->ctf_ptrtab_len, 0,
598 fp->ctf_ptrtab[ref_idx] = type_idx;
H A Dctf-open.c774 fp->ctf_ptrtab = malloc (sizeof (uint32_t) * fp->ctf_ptrtab_len);
776 if (fp->ctf_txlate == NULL || fp->ctf_ptrtab == NULL)
783 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1));
918 store the index of the pointer type in fp->ctf_ptrtab[ index of
923 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, tp->ctt_type)] = id;
1838 free (fp->ctf_ptrtab);
H A Dctf-serialize.c1133 nfp->ctf_ptrtab = fp->ctf_ptrtab;
1183 fp->ctf_ptrtab = NULL;
H A Dctf-lookup.c162 is set) and fp->ctf_ptrtab. If we can't find a pointer to the
190 ntype = fp->ctf_ptrtab[idx];
220 ntype = fp->ctf_ptrtab[idx];
H A Dctf-impl.h403 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member in struct:ctf_dict
/netbsd-current/external/gpl3/binutils.old/dist/libctf/
H A Dctf-open.c774 fp->ctf_ptrtab = malloc (sizeof (uint32_t) * fp->ctf_ptrtab_len);
776 if (fp->ctf_txlate == NULL || fp->ctf_ptrtab == NULL)
783 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1));
918 store the index of the pointer type in fp->ctf_ptrtab[ index of
923 fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX (fp, tp->ctt_type)] = id;
1838 free (fp->ctf_ptrtab);
H A Dctf-create.c52 if (fp->ctf_ptrtab == NULL)
61 if ((new_ptrtab = realloc (fp->ctf_ptrtab,
65 fp->ctf_ptrtab = new_ptrtab;
66 memset (fp->ctf_ptrtab + fp->ctf_ptrtab_len, 0,
598 fp->ctf_ptrtab[ref_idx] = type_idx;
H A Dctf-serialize.c1133 nfp->ctf_ptrtab = fp->ctf_ptrtab;
1183 fp->ctf_ptrtab = NULL;
H A Dctf-lookup.c162 is set) and fp->ctf_ptrtab. If we can't find a pointer to the
190 ntype = fp->ctf_ptrtab[idx];
220 ntype = fp->ctf_ptrtab[idx];
H A Dctf-impl.h403 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member in struct:ctf_dict

Completed in 336 milliseconds

12