Home
last modified time | relevance | path

Searched refs:ctf_sxlate (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_lookup.c203 if (fp->ctf_sxlate[symidx] == -1u) in ctf_lookup_by_symbol()
206 type = *(ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]); in ctf_lookup_by_symbol()
266 if (fp->ctf_sxlate[symidx] == -1u) in ctf_func_info()
269 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]); in ctf_func_info()
310 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]) + 2; in ctf_func_args()
H A Dctf_open.c118 uint_t *xp = fp->ctf_sxlate; in init_symtab()
738 fp->ctf_sxlate = ctf_alloc(fp->ctf_nsyms * sizeof (uint_t)); in ctf_bufopen()
740 if (fp->ctf_sxlate == NULL) { in ctf_bufopen()
944 if (fp->ctf_sxlate != NULL) in ctf_close()
945 ctf_free(fp->ctf_sxlate, sizeof (uint_t) * fp->ctf_nsyms); in ctf_close()
H A Dctf_impl.h194 uint_t *ctf_sxlate; /* translation table for symtab entries */ member
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-lookup.c741 if (fp->ctf_sxlate[i->ctn_n] == -1u) in ctf_symbol_next()
744 sym = *(uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[i->ctn_n]); in ctf_symbol_next()
751 if (fp->ctf_sxlate[i->ctn_n] >= hp->cth_funcoff in ctf_symbol_next()
752 && fp->ctf_sxlate[i->ctn_n] < hp->cth_objtidxoff) in ctf_symbol_next()
757 if (fp->ctf_sxlate[i->ctn_n] >= hp->cth_objtoff in ctf_symbol_next()
758 && fp->ctf_sxlate[i->ctn_n] < hp->cth_funcoff) in ctf_symbol_next()
983 if (fp->ctf_sxlate[symidx] == -1u) in ctf_lookup_by_sym_or_name()
986 type = *(uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[symidx]); in ctf_lookup_by_sym_or_name()
H A Dctf-open.c240 uint32_t *xp = fp->ctf_sxlate; in init_symtab()
1679 fp->ctf_sxlate = malloc (fp->ctf_nsyms * sizeof (uint32_t)); in ctf_bufopen_internal()
1681 if (fp->ctf_sxlate == NULL) in ctf_bufopen_internal()
1836 free (fp->ctf_sxlate); in ctf_dict_close()
1902 && fp->ctf_sxlate != NULL && fp->ctf_symtab.cts_data != NULL) in ctf_symsect_endianness()
H A Dctf-impl.h399 uint32_t *ctf_sxlate; /* Translation table for unindexed symtypetab member
/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-lookup.c753 if (fp->ctf_sxlate[i->ctn_n] == -1u) in ctf_symbol_next()
756 sym = *(uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[i->ctn_n]); in ctf_symbol_next()
763 if (fp->ctf_sxlate[i->ctn_n] >= hp->cth_funcoff in ctf_symbol_next()
764 && fp->ctf_sxlate[i->ctn_n] < hp->cth_objtidxoff) in ctf_symbol_next()
769 if (fp->ctf_sxlate[i->ctn_n] >= hp->cth_objtoff in ctf_symbol_next()
770 && fp->ctf_sxlate[i->ctn_n] < hp->cth_funcoff) in ctf_symbol_next()
995 if (fp->ctf_sxlate[symidx] == -1u) in ctf_lookup_by_sym_or_name()
998 type = *(uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[symidx]); in ctf_lookup_by_sym_or_name()
H A Dctf-open.c240 uint32_t *xp = fp->ctf_sxlate; in init_symtab()
1680 fp->ctf_sxlate = malloc (fp->ctf_nsyms * sizeof (uint32_t)); in ctf_bufopen_internal()
1682 if (fp->ctf_sxlate == NULL) in ctf_bufopen_internal()
1837 free (fp->ctf_sxlate); in ctf_dict_close()
1903 && fp->ctf_sxlate != NULL && fp->ctf_symtab.cts_data != NULL) in ctf_symsect_endianness()
H A Dctf-impl.h399 uint32_t *ctf_sxlate; /* Translation table for unindexed symtypetab member