/netbsd-current/external/cddl/osnet/dist/common/ctf/ |
H A D | ctf_lookup.c | 107 * 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 D | ctf_open.c | 335 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 D | ctf_impl.h | 197 ushort_t *ctf_ptrtab; /* translation table for pointer-to lookups */ member in struct:ctf_file
|
H A D | ctf_types.c | 497 * 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 D | ctf-lookup.c | 97 /* 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 D | ctf-open.c | 746 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 D | ctf-create.c | 48 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 D | ctf-impl.h | 385 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member in struct:ctf_file
|
H A D | ctf-types.c | 1136 /* 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 D | ctf-create.c | 52 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 D | ctf-open.c | 774 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 D | ctf-serialize.c | 1133 nfp->ctf_ptrtab = fp->ctf_ptrtab; 1183 fp->ctf_ptrtab = NULL;
|
H A D | ctf-lookup.c | 162 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 D | ctf-impl.h | 403 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member in struct:ctf_dict
|
H A D | ctf-types.c | 1137 /* 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 D | ctf-create.c | 52 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 D | ctf-open.c | 774 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 D | ctf-serialize.c | 1133 nfp->ctf_ptrtab = fp->ctf_ptrtab; 1183 fp->ctf_ptrtab = NULL;
|
H A D | ctf-lookup.c | 162 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 D | ctf-impl.h | 403 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 D | ctf-open.c | 774 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 D | ctf-create.c | 52 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 D | ctf-serialize.c | 1133 nfp->ctf_ptrtab = fp->ctf_ptrtab; 1183 fp->ctf_ptrtab = NULL;
|
H A D | ctf-lookup.c | 162 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 D | ctf-impl.h | 403 uint32_t *ctf_ptrtab; /* Translation table for pointer-to lookups. */ member in struct:ctf_dict
|