Home
last modified time | relevance | path

Searched refs:lsym (Results 1 – 25 of 26) sorted by relevance

12

/netbsd/src/usr.bin/indent/
Dlexi.c51 lexer_symbol lsym; member
420 lexer_symbol lsym = lsym_word; in lexi_alnum() local
422 lsym = kw->lsym; in lexi_alnum()
424 if (lsym == lsym_tag || lsym == lsym_type) in lexi_alnum()
426 return lsym; in lexi_alnum()
430 lsym = lsym_type; in lexi_alnum()
435 if (lsym == lsym_tag) in lexi_alnum()
464 return lsym; in lexi_alnum()
592 lexer_symbol lsym; in lexi() local
598 lsym = lsym_preprocessing; in lexi()
[all …]
Dindent.c307 should_break_line(lexer_symbol lsym) in should_break_line() argument
309 if (lsym == lsym_if && ps.prev_lsym == lsym_else in should_break_line()
312 if (ps.newline == nl_unless_lbrace && lsym != lsym_lbrace) in should_break_line()
314 if (ps.newline == nl_unless_semicolon && lsym != lsym_semicolon) in should_break_line()
316 if (ps.newline == nl_unless_if && lsym != lsym_if) in should_break_line()
320 if (lsym == lsym_semicolon && ps.prev_lsym == lsym_rbrace) in should_break_line()
324 if (lsym == lsym_lbrace && opt.brace_same_line) in should_break_line()
330 move_com_to_code(lexer_symbol lsym) in move_com_to_code() argument
336 ps.want_blank = lsym != lsym_rparen && lsym != lsym_rbracket; in move_com_to_code()
340 update_ps_lbrace_kind(lexer_symbol lsym) in update_ps_lbrace_kind() argument
[all …]
/netbsd/src/external/gpl3/binutils/dist/ld/
Dldelfgen.c430 ctf_link_sym_t lsym; in ldelf_new_dynsym_for_ctf() local
438 lsym.st_name = NULL; in ldelf_new_dynsym_for_ctf()
439 lsym.st_nameidx = sym->st_name; in ldelf_new_dynsym_for_ctf()
440 lsym.st_nameidx_set = 1; in ldelf_new_dynsym_for_ctf()
441 lsym.st_symidx = symidx; in ldelf_new_dynsym_for_ctf()
442 lsym.st_shndx = sym->st_shndx; in ldelf_new_dynsym_for_ctf()
443 lsym.st_type = ELF_ST_TYPE (sym->st_info); in ldelf_new_dynsym_for_ctf()
444 lsym.st_value = sym->st_value; in ldelf_new_dynsym_for_ctf()
445 if (ctf_link_add_linker_symbol (ctf_output, &lsym) < 0) in ldelf_new_dynsym_for_ctf()
Dplugin.c649 is_visible_from_outside (struct ld_plugin_symbol *lsym, in is_visible_from_outside() argument
679 return (lsym->visibility == LDPV_DEFAULT in is_visible_from_outside()
680 || lsym->visibility == LDPV_PROTECTED); in is_visible_from_outside()
/netbsd/src/external/gpl3/binutils/dist/gold/
Dgc.h236 typename elfcpp::Sym<size, big_endian> lsym(plocal_syms in gc_process_relocs()
238 dst_indx = lsym.get_st_shndx(); in gc_process_relocs()
242 dst_off = lsym.get_st_value() + addend; in gc_process_relocs()
253 if (lsym.get_st_type() == elfcpp::STT_SECTION) in gc_process_relocs()
271 && lsym.get_st_type() != elfcpp::STT_OBJECT in gc_process_relocs()
275 lsym)) in gc_process_relocs()
277 src_obj, lsym.get_st_shndx()); in gc_process_relocs()
Dplugin.cc1219 is_referenced_from_outside(Symbol* lsym) in is_referenced_from_outside() argument
1221 if (lsym->in_real_elf()) in is_referenced_from_outside()
1225 if (parameters->options().is_undefined(lsym->name())) in is_referenced_from_outside()
1234 is_visible_from_outside(Symbol* lsym) in is_visible_from_outside() argument
1236 if (lsym->in_dyn()) in is_visible_from_outside()
1239 || parameters->options().in_dynamic_list(lsym->name()) in is_visible_from_outside()
1240 || parameters->options().is_export_dynamic_symbol(lsym->name())) in is_visible_from_outside()
1241 return lsym->is_externally_visible(); in is_visible_from_outside()
1278 Symbol* lsym = this->symbols_[i]; in get_symbol_resolution_info() local
1279 if (lsym->is_forwarder()) in get_symbol_resolution_info()
[all …]
Dtarget-reloc.h78 typename elfcpp::Sym<size, big_endian> lsym(plocal_syms in scan_relocs()
80 unsigned int shndx = lsym.get_st_shndx(); in scan_relocs()
101 output_section, reloc, r_type, lsym, is_discarded); in scan_relocs()
742 typename elfcpp::Sym<size, big_endian> lsym(plocal_syms in scan_relocatable_relocs()
744 unsigned int shndx = lsym.get_st_shndx(); in scan_relocatable_relocs()
756 else if (lsym.get_st_type() != elfcpp::STT_SECTION) in scan_relocatable_relocs()
Dincremental.cc2615 Local_symbol& lsym(this->local_symbols_[i]); in do_relocate() local
2618 unsigned int st_shndx = this->adjust_sym_shndx(i, lsym.st_shndx, in do_relocate()
2627 if (lsym.needs_dynsym_entry) in do_relocate()
2628 dynsym_xindex->add(lsym.output_dynsym_index, st_shndx); in do_relocate()
2636 osym.put_st_name(sympool->get_offset(lsym.name)); in do_relocate()
2637 osym.put_st_value(lsym.st_value); in do_relocate()
2638 osym.put_st_size(lsym.st_size); in do_relocate()
2640 static_cast<elfcpp::STT>(lsym.st_type)); in do_relocate()
2647 if (lsym.needs_dynsym_entry) in do_relocate()
2651 osym.put_st_name(dynpool->get_offset(lsym.name)); in do_relocate()
[all …]
Di386.cc579 const elfcpp::Sym<32, false>& lsym,
598 const elfcpp::Sym<32, false>& lsym);
1802 const elfcpp::Sym<32, false>& lsym, in local() argument
1809 if (lsym.get_st_type() == elfcpp::STT_GNU_IFUNC in local()
1851 if (lsym.get_st_type() != elfcpp::STT_SECTION) in local()
1856 gold_assert(lsym.get_st_value() == 0); in local()
1857 unsigned int shndx = lsym.get_st_shndx(); in local()
1901 && lsym.get_st_type() != elfcpp::STT_GNU_IFUNC) in local()
1917 if (lsym.get_st_type() == elfcpp::STT_GNU_IFUNC) in local()
1980 unsigned int shndx = lsym.get_st_shndx(); in local()
[all …]
Ds390.cc528 const elfcpp::Sym<size, true>& lsym,
547 const elfcpp::Sym<size, true>& lsym);
2293 const elfcpp::Sym<size, true>& lsym, in local() argument
2300 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
2357 if (lsym.get_st_type() != elfcpp::STT_SECTION) in local()
2363 gold_assert(lsym.get_st_value() == 0); in local()
2364 unsigned int shndx = lsym.get_st_shndx(); in local()
2508 unsigned int shndx = lsym.get_st_shndx(); in local()
2613 gold_assert(lsym.get_st_type() != elfcpp::STT_SECTION); in local()
Dtilegx.cc466 const elfcpp::Sym<size, big_endian>& lsym,
485 const elfcpp::Sym<size, big_endian>& lsym);
3240 const elfcpp::Sym<size, big_endian>& lsym, in local() argument
3247 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
3303 if (lsym.get_st_type() != elfcpp::STT_SECTION) in local()
3309 gold_assert(lsym.get_st_value() == 0); in local()
3483 unsigned int shndx = lsym.get_st_shndx(); in local()
3557 gold_assert(lsym.get_st_type() != elfcpp::STT_SECTION); in local()
Dsparc.cc253 const elfcpp::Sym<size, big_endian>& lsym,
2265 const elfcpp::Sym<size, big_endian>& lsym, in local() argument
2271 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
2343 if (lsym.get_st_type() != elfcpp::STT_SECTION) in local()
2351 gold_assert(lsym.get_st_value() == 0); in local()
2448 unsigned int shndx = lsym.get_st_shndx(); in local()
2456 lsym.get_st_shndx(), in local()
2527 gold_assert(lsym.get_st_type() != elfcpp::STT_SECTION); in local()
Dx86_64.cc892 const elfcpp::Sym<size, false>& lsym,
911 const elfcpp::Sym<size, false>& lsym);
3150 const elfcpp::Sym<size, false>& lsym, in local() argument
3157 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
3221 if (lsym.get_st_type() != elfcpp::STT_SECTION) in local()
3227 gold_assert(lsym.get_st_value() == 0); in local()
3228 unsigned int shndx = lsym.get_st_shndx(); in local()
3337 gold_assert(lsym.get_st_type() != elfcpp::STT_SECTION); in local()
3395 unsigned int shndx = lsym.get_st_shndx(); in local()
Dpowerpc.cc965 const Symbol_value<size>* lsym = relobj->local_symbol(local_sym_index); in plt_off() local
966 if (lsym->is_ifunc_symbol()) in plt_off()
1416 const elfcpp::Sym<size, big_endian>& lsym,
2402 lsym(plocal_syms + r_sym * sym_size); in scan_opd_relocs() local
2403 shndx = lsym.get_st_shndx(); in scan_opd_relocs()
2405 value = lsym.get_st_value(); in scan_opd_relocs()
8103 const elfcpp::Sym<size, big_endian>& lsym, in local() argument
8138 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
8242 else if (lsym.get_st_type() != elfcpp::STT_SECTION) in local()
8251 gold_assert(lsym.get_st_value() == 0); in local()
[all …]
Dmips.cc3761 const elfcpp::Sym<size, big_endian>& lsym,
3770 const elfcpp::Sym<size, big_endian>& lsym,
3782 const elfcpp::Sym<size, big_endian>& lsym,
10463 const elfcpp::Sym<size, big_endian>& lsym, in local() argument
10567 bool is_section_symbol = lsym.get_st_type() == elfcpp::STT_SECTION; in local()
10740 unsigned int shndx = lsym.get_st_shndx(); in local()
10849 const elfcpp::Sym<size, big_endian>& lsym, in local() argument
10866 lsym, is_discarded); in local()
10881 const elfcpp::Sym<size, big_endian>& lsym, in local() argument
10898 lsym, is_discarded); in local()
Darm.cc2628 const elfcpp::Sym<32, big_endian>& lsym,
8569 const elfcpp::Sym<32, big_endian>& lsym, in local() argument
8578 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
8632 if (lsym.get_st_type() != elfcpp::STT_SECTION) in local()
8637 gold_assert(lsym.get_st_value() == 0); in local()
8638 unsigned int shndx = lsym.get_st_shndx(); in local()
8779 unsigned int shndx = lsym.get_st_shndx(); in local()
8851 gold_assert(lsym.get_st_type() != elfcpp::STT_SECTION); in local()
Daarch64.cc3231 const elfcpp::Sym<size, big_endian>& lsym,
6100 const elfcpp::Sym<size, big_endian>& lsym, in local() argument
6111 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
/netbsd/src/external/gpl3/binutils/dist/gas/
Decoff.c830 struct localsym *lsym; /* pointer to local symbol node */ member
1677 pscope->lsym = psym; in add_ecoff_symbol()
1702 st_t begin_type = (st_t) pscope->lsym->ecoff_sym.asym.st; in add_ecoff_symbol()
1704 psym->begin_ptr = pscope->lsym; in add_ecoff_symbol()
1745 pscope->lsym->ecoff_sym.asym.index = add_aux_sym_symint (0); in add_ecoff_symbol()
1746 pscope->lsym->index_ptr = in add_ecoff_symbol()
4575 struct localsym *lsym; in ecoff_setup_ext() local
4577 lsym = symbol_get_obj (sym)->ecoff_symbol; in ecoff_setup_ext()
4578 lsym->ecoff_sym.asym.value = 0; in ecoff_setup_ext()
4579 lsym->ecoff_sym.asym.st = (int) st_Nil; in ecoff_setup_ext()
[all …]
/netbsd/src/external/gpl3/binutils/dist/gas/doc/
Dc-lm32.texi199 orhi r4, r4, gotoffhi16(lsym)
200 addi r4, r4, gotofflo16(lsym)
Das.texi4562 * Lsym:: @code{.lsym @var{symbol}, @var{expression}}
6111 @section @code{.lsym @var{symbol}, @var{expression}}
6113 @cindex @code{lsym} directive
6115 @code{.lsym} creates a new symbol named @var{symbol}, but does not put it in
/netbsd/src/usr.bin/xlint/lint1/
Dinit.c246 check_init_expr(const type_t *ltp, sym_t *lsym, tnode_t *rn) in check_init_expr() argument
256 ln->u.sym = lsym; in check_init_expr()
276 check_non_constant_initializer(rn, lsym); in check_init_expr()
/netbsd/src/crypto/external/bsd/openssh/dist/
Dsftp-client.c1881 Attrib *a, ldirattrib, lsym; in download_dir_internal() local
1938 if (sftp_stat(conn, new_src, 1, &lsym) != 0) { in download_dir_internal()
1943 a = &lsym; in download_dir_internal()
2691 Attrib *a, curdir, ldirattrib, newdir, lsym; in crossload_dir_internal() local
2763 if (sftp_stat(from, new_from_path, 1, &lsym) != 0) { in crossload_dir_internal()
2769 a = &lsym; in crossload_dir_internal()
/netbsd/src/external/gpl3/binutils/dist/bfd/
Delf32-msp430.c1775 Elf_Internal_Sym *lsym = isym + sidx; in msp430_elf_relax_adjust_locals() local
1780 && lsym->st_shndx == sec_shndx) in msp430_elf_relax_adjust_locals()
/netbsd/src/external/gpl3/gdb/dist/bfd/
Delf32-msp430.c1775 Elf_Internal_Sym *lsym = isym + sidx; in msp430_elf_relax_adjust_locals() local
1780 && lsym->st_shndx == sec_shndx) in msp430_elf_relax_adjust_locals()
/netbsd/src/external/gpl3/binutils/dist/gas/config/
Dtc-xtensa.c10197 symbolS *lsym; in init_trampoline_frag() local
10201 lsym = (symbolS *) local_symbol_make (label, now_seg, fp, 0); in init_trampoline_frag()
10202 fp->fr_symbol = lsym; in init_trampoline_frag()
10205 fp->tc_frag_data.jump_around_fix = xg_append_jump (fp, lsym, 3); in init_trampoline_frag()
11116 symbolS *lsym; in xg_promote_candidate_litpool() local
11128 lsym = (symbolS *) local_symbol_make (label, lps->seg, poolend, 0); in xg_promote_candidate_litpool()
11129 poolbeg->fr_symbol = lsym; in xg_promote_candidate_litpool()

12