/netbsd-src/external/gpl3/binutils/dist/libctf/ |
H A D | ctf-lookup.c | 298 if (fp->ctf_parent != NULL) in ctf_lookup_by_name_internal() 305 if (refresh_pptrtab (fp, fp->ctf_parent) < 0) in ctf_lookup_by_name_internal() 309 if ((ptype = ctf_lookup_by_name_internal (fp->ctf_parent, fp, in ctf_lookup_by_name_internal() 312 return (ctf_set_typed_errno (fp, ctf_errno (fp->ctf_parent))); in ctf_lookup_by_name_internal() 401 if (fp->ctf_parent != NULL) in ctf_lookup_variable() 405 if ((ptype = ctf_lookup_variable (fp->ctf_parent, name)) != CTF_ERR) in ctf_lookup_variable() 407 return (ctf_set_typed_errno (fp, ctf_errno (fp->ctf_parent))); in ctf_lookup_variable() 521 if (fp->ctf_parent) in ctf_lookup_symbol_name() 524 ret = ctf_lookup_symbol_name (fp->ctf_parent, symidx); in ctf_lookup_symbol_name() 526 ctf_set_errno (fp, ctf_errno (fp->ctf_parent)); in ctf_lookup_symbol_name() [all …]
|
H A D | ctf-create.c | 303 fp = fp->ctf_parent; in ctf_dtd_lookup() 318 fp = fp->ctf_parent; in ctf_dynamic_type() 723 fp = fp->ctf_parent; in ctf_set_array() 1065 fp = fp->ctf_parent; in ctf_add_enumerator() 1140 fp = fp->ctf_parent; in ctf_add_member_offset() 1501 if (LCTF_TYPE_ISPARENT (src_fp, src_type) && src_fp->ctf_parent) in ctf_add_type_mapping() 1502 src_fp = src_fp->ctf_parent; in ctf_add_type_mapping() 1506 if (LCTF_TYPE_ISPARENT (dst_fp, dst_type) && dst_fp->ctf_parent) in ctf_add_type_mapping() 1507 dst_fp = dst_fp->ctf_parent; in ctf_add_type_mapping() 1545 if (LCTF_TYPE_ISPARENT (src_fp, src_type) && src_fp->ctf_parent) in ctf_type_mapping() [all …]
|
H A D | ctf-open.c | 1758 if (fp->ctf_parent && !fp->ctf_parent_unreffed) in ctf_dict_close() 1759 ctf_dict_close (fp->ctf_parent); in ctf_dict_close() 1912 return fp->ctf_parent; in ctf_parent_dict() 1977 if (fp->ctf_parent && !fp->ctf_parent_unreffed) in ctf_import() 1978 ctf_dict_close (fp->ctf_parent); in ctf_import() 1979 fp->ctf_parent = NULL; in ctf_import() 1999 fp->ctf_parent = pfp; in ctf_import() 2016 if (fp->ctf_parent && !fp->ctf_parent_unreffed) in ctf_import_unref() 2017 ctf_dict_close (fp->ctf_parent); in ctf_import_unref() 2018 fp->ctf_parent = NULL; in ctf_import_unref() [all …]
|
H A D | ctf-serialize.c | 492 if (!fp->ctf_dynsyms && fp->ctf_parent && fp->ctf_parent->ctf_dynsyms) in ctf_symtypetab_sect_sizes() 493 s->symfp = fp->ctf_parent; in ctf_symtypetab_sect_sizes() 1114 nfp->ctf_parent = fp->ctf_parent; in ctf_serialize()
|
H A D | ctf-types.c | 496 if ((fp->ctf_flags & LCTF_CHILD) && (fp->ctf_parent == NULL)) in ctf_variable_next() 628 return fp->ctf_parent; in ctf_get_dict() 1260 if (LCTF_TYPE_ISPARENT (lfp, ltype) && lfp->ctf_parent != NULL) in ctf_type_cmp() 1261 lfp = lfp->ctf_parent; in ctf_type_cmp() 1263 if (LCTF_TYPE_ISPARENT (rfp, rtype) && rfp->ctf_parent != NULL) in ctf_type_cmp() 1264 rfp = rfp->ctf_parent; in ctf_type_cmp()
|
H A D | ctf-dedup.c | 1772 && (fp->ctf_parent == found || found->ctf_parent == fp)) in ctf_dedup_multiple_input_dicts() 3144 else if (fp->ctf_parent && fp->ctf_parent->ctf_dedup.cd_type_hashes != NULL) in ctf_dedup_type_mapping() 3145 output = fp->ctf_parent; in ctf_dedup_type_mapping() 3155 if (src_fp->ctf_parent && ctf_type_isparent (src_fp, src_type)) in ctf_dedup_type_mapping() 3156 src_fp = src_fp->ctf_parent; in ctf_dedup_type_mapping() 3179 if (fp->ctf_parent) in ctf_dedup_type_mapping() 3181 ctf_dict_t *pfp = fp->ctf_parent; in ctf_dedup_type_mapping()
|
H A D | ctf-link.c | 46 if (fp->ctf_parent && fp->ctf_parent->ctf_cuname) in ctf_link_input_name() 47 return fp->ctf_parent->ctf_cuname; in ctf_link_input_name()
|
H A D | ctf-impl.h | 430 struct ctf_dict *ctf_parent; /* Parent CTF dict (if any). */ member
|
H A D | ctf-archive.c | 766 if ((fp->ctf_flags & LCTF_CHILD) && fp->ctf_parname && !fp->ctf_parent) in ctf_arc_import_parent()
|
/netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
H A D | ctf-lookup.c | 301 if (fp->ctf_parent != NULL) in ctf_lookup_by_name_internal() 308 if (refresh_pptrtab (fp, fp->ctf_parent) < 0) in ctf_lookup_by_name_internal() 312 if ((ptype = ctf_lookup_by_name_internal (fp->ctf_parent, fp, in ctf_lookup_by_name_internal() 315 return (ctf_set_errno (fp, ctf_errno (fp->ctf_parent))); in ctf_lookup_by_name_internal() 404 if (fp->ctf_parent != NULL) in ctf_lookup_variable() 405 return ctf_lookup_variable (fp->ctf_parent, name); in ctf_lookup_variable() 518 if (fp->ctf_parent) in ctf_lookup_symbol_name() 521 ret = ctf_lookup_symbol_name (fp->ctf_parent, symidx); in ctf_lookup_symbol_name() 523 ctf_set_errno (fp, ctf_errno (fp->ctf_parent)); in ctf_lookup_symbol_name() 628 if (fp->ctf_parent) in ctf_lookup_symbol_idx() [all …]
|
H A D | ctf-open.c | 1757 if (fp->ctf_parent && !fp->ctf_parent_unreffed) in ctf_dict_close() 1758 ctf_dict_close (fp->ctf_parent); in ctf_dict_close() 1911 return fp->ctf_parent; in ctf_parent_dict() 1976 if (fp->ctf_parent && !fp->ctf_parent_unreffed) in ctf_import() 1977 ctf_dict_close (fp->ctf_parent); in ctf_import() 1978 fp->ctf_parent = NULL; in ctf_import() 1998 fp->ctf_parent = pfp; in ctf_import() 2015 if (fp->ctf_parent && !fp->ctf_parent_unreffed) in ctf_import_unref() 2016 ctf_dict_close (fp->ctf_parent); in ctf_import_unref() 2017 fp->ctf_parent = NULL; in ctf_import_unref() [all …]
|
H A D | ctf-create.c | 319 fp = fp->ctf_parent; in ctf_dynamic_type() 1471 if (LCTF_TYPE_ISPARENT (src_fp, src_type) && src_fp->ctf_parent) in ctf_add_type_mapping() 1472 src_fp = src_fp->ctf_parent; in ctf_add_type_mapping() 1476 if (LCTF_TYPE_ISPARENT (dst_fp, dst_type) && dst_fp->ctf_parent) in ctf_add_type_mapping() 1477 dst_fp = dst_fp->ctf_parent; in ctf_add_type_mapping() 1515 if (LCTF_TYPE_ISPARENT (src_fp, src_type) && src_fp->ctf_parent) in ctf_type_mapping() 1516 src_fp = src_fp->ctf_parent; in ctf_type_mapping() 1529 target_fp->ctf_parent != NULL); in ctf_type_mapping() 1534 if (target_fp->ctf_parent) in ctf_type_mapping() 1535 target_fp = target_fp->ctf_parent; in ctf_type_mapping() [all …]
|
H A D | ctf-serialize.c | 492 if (!fp->ctf_dynsyms && fp->ctf_parent && fp->ctf_parent->ctf_dynsyms) in ctf_symtypetab_sect_sizes() 493 s->symfp = fp->ctf_parent; in ctf_symtypetab_sect_sizes() 1114 nfp->ctf_parent = fp->ctf_parent; in ctf_serialize()
|
H A D | ctf-types.c | 495 if ((fp->ctf_flags & LCTF_CHILD) && (fp->ctf_parent == NULL)) in ctf_variable_next() 620 return fp->ctf_parent; in ctf_get_dict() 1251 if (LCTF_TYPE_ISPARENT (lfp, ltype) && lfp->ctf_parent != NULL) in ctf_type_cmp() 1252 lfp = lfp->ctf_parent; in ctf_type_cmp() 1254 if (LCTF_TYPE_ISPARENT (rfp, rtype) && rfp->ctf_parent != NULL) in ctf_type_cmp() 1255 rfp = rfp->ctf_parent; in ctf_type_cmp()
|
H A D | ctf-dedup.c | 1773 && (fp->ctf_parent == found || found->ctf_parent == fp)) in ctf_dedup_multiple_input_dicts() 3147 else if (fp->ctf_parent && fp->ctf_parent->ctf_dedup.cd_type_hashes != NULL) in ctf_dedup_type_mapping() 3148 output = fp->ctf_parent; in ctf_dedup_type_mapping() 3158 if (src_fp->ctf_parent && ctf_type_isparent (src_fp, src_type)) in ctf_dedup_type_mapping() 3159 src_fp = src_fp->ctf_parent; in ctf_dedup_type_mapping() 3182 if (fp->ctf_parent) in ctf_dedup_type_mapping() 3184 ctf_dict_t *pfp = fp->ctf_parent; in ctf_dedup_type_mapping()
|
H A D | ctf-link.c | 46 if (fp->ctf_parent && fp->ctf_parent->ctf_cuname) in ctf_link_input_name() 47 return fp->ctf_parent->ctf_cuname; in ctf_link_input_name()
|
H A D | ctf-impl.h | 430 struct ctf_dict *ctf_parent; /* Parent CTF dict (if any). */ member
|
H A D | ctf-archive.c | 764 if ((fp->ctf_flags & LCTF_CHILD) && fp->ctf_parname && !fp->ctf_parent) in ctf_arc_import_parent()
|
/netbsd-src/external/cddl/osnet/dist/common/ctf/ |
H A D | ctf_lookup.c | 170 if (fp->ctf_parent != NULL && in ctf_lookup_by_name() 171 (ptype = ctf_lookup_by_name(fp->ctf_parent, name)) != CTF_ERR) in ctf_lookup_by_name() 224 (fp = fp->ctf_parent) == NULL) { in ctf_lookup_by_id()
|
H A D | ctf_open.c | 900 if (fp->ctf_parent != NULL) in ctf_close() 901 ctf_close(fp->ctf_parent); in ctf_close() 972 return (fp->ctf_parent); in ctf_parent_file() 999 if (fp->ctf_parent != NULL) in ctf_import() 1000 ctf_close(fp->ctf_parent); in ctf_import() 1007 fp->ctf_parent = pfp; in ctf_import()
|
H A D | ctf_types.c | 578 if (CTF_TYPE_ISPARENT(ltype) && lfp->ctf_parent != NULL) in ctf_type_cmp() 579 lfp = lfp->ctf_parent; in ctf_type_cmp() 581 if (CTF_TYPE_ISPARENT(rtype) && rfp->ctf_parent != NULL) in ctf_type_cmp() 582 rfp = rfp->ctf_parent; in ctf_type_cmp()
|
H A D | ctf_impl.h | 200 struct ctf_file *ctf_parent; /* parent CTF container (if any) */ member
|
H A D | ctf_create.c | 439 (void) ctf_import(nfp, fp->ctf_parent); in ctf_update()
|