Home
last modified time | relevance | path

Searched refs:sym2 (Results 1 – 25 of 55) sorted by relevance

123

/netbsd-src/tests/libexec/ld.elf_so/
H A Dt_ifunc.c120 long long (*(*sym2)(void))(void); in ATF_TC_BODY() local
144 sym2 = dlsym(handle, "ifunc_indirect"); in ATF_TC_BODY()
147 ATF_CHECK(sym2 != NULL); in ATF_TC_BODY()
149 sym = (*sym2)(); in ATF_TC_BODY()
/netbsd-src/external/gpl3/binutils.old/dist/gprof/
H A Dcg_print.c1014 Sym *sym1, *sym2; in order_and_dump_functions_by_arcs() local
1110 sym2 = child; in order_and_dump_functions_by_arcs()
1111 if (sym2->next) in order_and_dump_functions_by_arcs()
1112 while (sym2->next) in order_and_dump_functions_by_arcs()
1113 sym2 = sym2->next; in order_and_dump_functions_by_arcs()
1115 while (sym2->prev) in order_and_dump_functions_by_arcs()
1116 sym2 = sym2->prev; in order_and_dump_functions_by_arcs()
1119 && sym2 == parent) in order_and_dump_functions_by_arcs()
/netbsd-src/external/gpl3/binutils/dist/gprof/
H A Dcg_print.c1014 Sym *sym1, *sym2; in order_and_dump_functions_by_arcs() local
1110 sym2 = child; in order_and_dump_functions_by_arcs()
1111 if (sym2->next) in order_and_dump_functions_by_arcs()
1112 while (sym2->next) in order_and_dump_functions_by_arcs()
1113 sym2 = sym2->next; in order_and_dump_functions_by_arcs()
1115 while (sym2->prev) in order_and_dump_functions_by_arcs()
1116 sym2 = sym2->prev; in order_and_dump_functions_by_arcs()
1119 && sym2 == parent) in order_and_dump_functions_by_arcs()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Ddependency.c1208 gfc_symbol *sym2; in check_data_pointer_types() local
1217 sym2 = expr2->symtree->n.sym; in check_data_pointer_types()
1220 if (sym1->ts.type == BT_DERIVED && sym2->ts.type == BT_DERIVED) in check_data_pointer_types()
1225 if (gfc_compare_types (&sym1->ts, &sym2->ts)) in check_data_pointer_types()
1245 if ((sym2->attr.pointer || ref1->u.c.component->attr.pointer) in check_data_pointer_types()
1246 && gfc_compare_types (&ref1->u.c.component->ts, &sym2->ts)) in check_data_pointer_types()
1260 if ((sym2->attr.pointer || cm1->attr.pointer) in check_data_pointer_types()
1261 && gfc_compare_types (&cm1->ts, &sym2->ts)) in check_data_pointer_types()
1346 gfc_symbol *sym2 = expr2->symtree->n.sym; in gfc_check_dependency() local
1347 if (sym1->attr.target && sym2->attr.target in gfc_check_dependency()
[all …]
H A Dmatch.c6630 gfc_symbol *sym, *sym2; in gfc_match_select_rank() local
6663 sym2 = expr2->symtree->n.sym; in gfc_match_select_rank()
6664 as = (sym2->ts.type == BT_CLASS in gfc_match_select_rank()
6665 && CLASS_DATA (sym2)) ? CLASS_DATA (sym2)->as : sym2->as; in gfc_match_select_rank()
6677 if (expr2->ts.type == BT_CLASS && CLASS_DATA (sym2)) in gfc_match_select_rank()
6684 CLASS_DATA (sym)->attr.allocatable = CLASS_DATA (sym2)->attr.allocatable; in gfc_match_select_rank()
6685 CLASS_DATA (sym)->attr.pointer = CLASS_DATA (sym2)->attr.pointer; in gfc_match_select_rank()
6686 CLASS_DATA (sym)->attr.target = CLASS_DATA (sym2)->attr.target; in gfc_match_select_rank()
6691 sym->ts = sym2->ts; in gfc_match_select_rank()
6692 sym->as = gfc_copy_array_spec (sym2->as); in gfc_match_select_rank()
[all …]
H A Dtrans-stmt.c1704 gfc_symbol *sym2; in trans_associate_var() local
1755 sym2 = e->symtree->n.sym; in trans_associate_var()
1760 if (sym2->attr.dummy && !sym2->attr.optional) in trans_associate_var()
1762 class_decl = DECL_LANG_SPECIFIC (sym2->backend_decl) ? in trans_associate_var()
1763 GFC_DECL_SAVED_DESCRIPTOR (sym2->backend_decl) : in trans_associate_var()
1764 sym2->backend_decl; in trans_associate_var()
1773 class_decl = sym2->backend_decl; in trans_associate_var()
1824 sym2 = sym->assoc->target->symtree->n.sym; in trans_associate_var()
1825 if (sym2->assoc && sym->assoc->target && sym2->ts.type != BT_CLASS) in trans_associate_var()
1827 sym2 = sym2->assoc->target->symtree->n.sym; in trans_associate_var()
[all …]
H A Dopenmp.c3986 gfc_symbol *sym1, *sym2; member
3997 || (*e)->symtree->n.sym == rcd->sym2)) in resolve_omp_udr_callback()
4030 gfc_symbol *sym1, gfc_symbol *sym2) in resolve_omp_udr_clause() argument
4049 sym2_copy = *sym2; in resolve_omp_udr_clause()
4051 *sym2 = *n->sym; in resolve_omp_udr_clause()
4053 sym2->name = sym2_copy.name; in resolve_omp_udr_clause()
4059 rcd.sym2 = sym2; in resolve_omp_udr_clause()
4077 *sym2 = sym2_copy; in resolve_omp_udr_clause()
H A Dresolve.c9193 gfc_symbol *sym2 = expr2 ? expr2->symtree->n.sym : NULL; in fixup_array_ref() local
9201 if (CLASS_DATA (sym1)->as == NULL && sym2) in fixup_array_ref()
9203 = gfc_copy_array_spec (CLASS_DATA (sym2)->as); in fixup_array_ref()
9208 if (sym1->as == NULL && sym2) in fixup_array_ref()
9209 sym1->as = gfc_copy_array_spec (sym2->as); in fixup_array_ref()
13626 gfc_symbol *sym1, *sym2; in check_generic_tbp_ambiguity() local
13636 sym2 = t2->specific->u.specific->n.sym; in check_generic_tbp_ambiguity()
13638 if (sym1 == sym2) in check_generic_tbp_ambiguity()
13642 if (sym1->attr.subroutine != sym2->attr.subroutine in check_generic_tbp_ambiguity()
13643 || sym1->attr.function != sym2->attr.function) in check_generic_tbp_ambiguity()
[all …]
H A Dmodule.c4317 mio_omp_udr_expr (gfc_omp_udr *udr, gfc_symbol **sym1, gfc_symbol **sym2, in mio_omp_udr_expr() argument
4325 (*sym2)->module = module_name; in mio_omp_udr_expr()
4328 mio_symbol_ref (sym2); in mio_omp_udr_expr()
4353 pointer_info *p2 = mio_symbol_ref (sym2); in mio_omp_udr_expr()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Ddependency.cc1209 gfc_symbol *sym2; in check_data_pointer_types() local
1218 sym2 = expr2->symtree->n.sym; in check_data_pointer_types()
1221 if (sym1->ts.type == BT_DERIVED && sym2->ts.type == BT_DERIVED) in check_data_pointer_types()
1226 if (gfc_compare_types (&sym1->ts, &sym2->ts)) in check_data_pointer_types()
1246 if ((sym2->attr.pointer || ref1->u.c.component->attr.pointer) in check_data_pointer_types()
1247 && gfc_compare_types (&ref1->u.c.component->ts, &sym2->ts)) in check_data_pointer_types()
1261 if ((sym2->attr.pointer || cm1->attr.pointer) in check_data_pointer_types()
1262 && gfc_compare_types (&cm1->ts, &sym2->ts)) in check_data_pointer_types()
1347 gfc_symbol *sym2 = expr2->symtree->n.sym; in gfc_check_dependency() local
1348 if (sym1->attr.target && sym2->attr.target in gfc_check_dependency()
[all …]
H A Dmatch.cc6721 gfc_symbol *sym, *sym2; in gfc_match_select_rank() local
6754 sym2 = expr2->symtree->n.sym; in gfc_match_select_rank()
6755 as = (sym2->ts.type == BT_CLASS in gfc_match_select_rank()
6756 && CLASS_DATA (sym2)) ? CLASS_DATA (sym2)->as : sym2->as; in gfc_match_select_rank()
6768 if (expr2->ts.type == BT_CLASS && CLASS_DATA (sym2)) in gfc_match_select_rank()
6775 CLASS_DATA (sym)->attr.allocatable = CLASS_DATA (sym2)->attr.allocatable; in gfc_match_select_rank()
6776 CLASS_DATA (sym)->attr.pointer = CLASS_DATA (sym2)->attr.pointer; in gfc_match_select_rank()
6777 CLASS_DATA (sym)->attr.target = CLASS_DATA (sym2)->attr.target; in gfc_match_select_rank()
6782 sym->ts = sym2->ts; in gfc_match_select_rank()
6783 sym->as = gfc_copy_array_spec (sym2->as); in gfc_match_select_rank()
[all …]
H A Dtrans-stmt.cc1740 gfc_symbol *sym2; in trans_associate_var() local
1791 sym2 = e->symtree->n.sym; in trans_associate_var()
1796 if (sym2->attr.dummy && !sym2->attr.optional) in trans_associate_var()
1798 class_decl = sym2->backend_decl; in trans_associate_var()
1810 class_decl = sym2->backend_decl; in trans_associate_var()
1861 sym2 = sym->assoc->target->symtree->n.sym; in trans_associate_var()
1862 if (sym2->assoc && sym->assoc->target && sym2->ts.type != BT_CLASS) in trans_associate_var()
1864 sym2 = sym2->assoc->target->symtree->n.sym; in trans_associate_var()
1865 se.expr = sym2->backend_decl; in trans_associate_var()
H A Dopenmp.cc6173 gfc_symbol *sym1, *sym2; member
6184 || (*e)->symtree->n.sym == rcd->sym2)) in resolve_omp_udr_callback()
6217 gfc_symbol *sym1, gfc_symbol *sym2) in resolve_omp_udr_clause() argument
6236 sym2_copy = *sym2; in resolve_omp_udr_clause()
6238 *sym2 = *n->sym; in resolve_omp_udr_clause()
6240 sym2->name = sym2_copy.name; in resolve_omp_udr_clause()
6246 rcd.sym2 = sym2; in resolve_omp_udr_clause()
6264 *sym2 = sym2_copy; in resolve_omp_udr_clause()
H A Dresolve.cc9331 gfc_symbol *sym2 = expr2 ? expr2->symtree->n.sym : NULL; in fixup_array_ref() local
9339 if (CLASS_DATA (sym1)->as == NULL && sym2) in fixup_array_ref()
9341 = gfc_copy_array_spec (CLASS_DATA (sym2)->as); in fixup_array_ref()
9346 if (sym1->as == NULL && sym2) in fixup_array_ref()
9347 sym1->as = gfc_copy_array_spec (sym2->as); in fixup_array_ref()
13838 gfc_symbol *sym1, *sym2; in check_generic_tbp_ambiguity() local
13848 sym2 = t2->specific->u.specific->n.sym; in check_generic_tbp_ambiguity()
13850 if (sym1 == sym2) in check_generic_tbp_ambiguity()
13854 if (sym1->attr.subroutine != sym2->attr.subroutine in check_generic_tbp_ambiguity()
13855 || sym1->attr.function != sym2->attr.function) in check_generic_tbp_ambiguity()
[all …]
H A Dmodule.cc4468 mio_omp_udr_expr (gfc_omp_udr *udr, gfc_symbol **sym1, gfc_symbol **sym2, in mio_omp_udr_expr() argument
4476 (*sym2)->module = module_name; in mio_omp_udr_expr()
4479 mio_symbol_ref (sym2); in mio_omp_udr_expr()
4504 pointer_info *p2 = mio_symbol_ref (sym2); in mio_omp_udr_expr()
/netbsd-src/external/bsd/libproc/dist/tests/
H A Dproc_test.c253 GElf_Sym sym1, sym2; in ATF_TC_BODY() local
270 error = proc_name2sym(phdl, aout_object, "main", &sym2, &si2); in ATF_TC_BODY()
274 ATF_CHECK_EQ(memcmp(&sym1, &sym2, sizeof(sym1)), 0); in ATF_TC_BODY()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dcppmangle.d1616 auto sym2 = getQualifier(sym); in writeQualified() local
1617 if (sym2 && isStd(sym2)) // Nspace path in writeQualified()
1629 else if (sym2) in writeQualified()
1632 if (!this.substitute(sym2)) in writeQualified()
1633 sym2.accept(this); in writeQualified()
1641 if (sym2) in writeQualified()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DElf.cc788 asymbol *sym2 = *((asymbol **) b); in cmp_sym_addr() local
790 uint64_t a2 = sym2->value; in cmp_sym_addr()
793 if (sym2->section) in cmp_sym_addr()
794 a2 += sym2->section->vma; in cmp_sym_addr()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dsymtab.cc1306 elfcpp::Sym<size, big_endian> sym2(symbuf); in add_from_relobj() local
1326 psym = &sym2; in add_from_relobj()
1334 if (psym != &sym2) in add_from_relobj()
1337 psym = &sym2; in add_from_relobj()
1340 elfcpp::STV visibility = sym2.get_st_visibility(); in add_from_relobj()
1345 unsigned char nonvis = sym2.get_st_nonvis(); in add_from_relobj()
1523 elfcpp::Sym<size, big_endian> sym2(symbuf); in add_from_dynobj() local
1533 psym = &sym2; in add_from_dynobj()
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dsymtab.cc1306 elfcpp::Sym<size, big_endian> sym2(symbuf); in add_from_relobj() local
1326 psym = &sym2; in add_from_relobj()
1334 if (psym != &sym2) in add_from_relobj()
1337 psym = &sym2; in add_from_relobj()
1340 elfcpp::STV visibility = sym2.get_st_visibility(); in add_from_relobj()
1345 unsigned char nonvis = sym2.get_st_nonvis(); in add_from_relobj()
1523 elfcpp::Sym<size, big_endian> sym2(symbuf); in add_from_dynobj() local
1533 psym = &sym2; in add_from_dynobj()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-vrp.cc372 tree sym2 = get_single_symbol (val2, &neg2, &inv2); in compare_values_warnv() local
376 if (sym1 && sym2) in compare_values_warnv()
379 if (sym1 != sym2 || neg1 != neg2) in compare_values_warnv()
411 if ((sym1 && inv1 && cst2) || (sym2 && inv2 && cst1)) in compare_values_warnv()
420 && (!sym2 || !warning_suppressed_p (val2, OPT_Woverflow))) in compare_values_warnv()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dmmo.c2205 const struct mmo_symbol *sym2 = *(const struct mmo_symbol **) arg2; in mmo_sort_mmo_symbols() local
2208 if (sym1->serno < sym2->serno) in mmo_sort_mmo_symbols()
2210 else if (sym1->serno > sym2->serno) in mmo_sort_mmo_symbols()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dmmo.c2203 const struct mmo_symbol *sym2 = *(const struct mmo_symbol **) arg2; in mmo_sort_mmo_symbols() local
2206 if (sym1->serno < sym2->serno) in mmo_sort_mmo_symbols()
2208 else if (sym1->serno > sym2->serno) in mmo_sort_mmo_symbols()
H A Dsom.c2757 asymbol **sym2 = (asymbol **) arg2; in compare_syms() local
2767 if ((*sym2)->flags & BSF_SECTION_SYM) in compare_syms()
2768 count2 = (*sym2)->udata.i; in compare_syms()
2770 count2 = som_symbol_data (*sym2)->reloc_count; in compare_syms()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-vrp.c553 tree sym2 = get_single_symbol (val2, &neg2, &inv2); in compare_values_warnv() local
557 if (sym1 && sym2) in compare_values_warnv()
560 if (sym1 != sym2 || neg1 != neg2) in compare_values_warnv()
592 if ((sym1 && inv1 && cst2) || (sym2 && inv2 && cst1)) in compare_values_warnv()
601 && (!sym2 || !TREE_NO_WARNING (val2))) in compare_values_warnv()

123