Home
last modified time | relevance | path

Searched refs:psyms (Results 1 – 25 of 34) sorted by relevance

12

/netbsd-src/usr.bin/indent/
H A Dparse.c51 ps.psyms.len--;
52 ps.psyms.sym[ps.psyms.len - 1] = psym; in psyms_reduce_stmt()
53 ps.ind_level_follow = ps.psyms.ind_level[ps.psyms.len - 1]; in psyms_reduce_stmt()
60 for (size_t i = ps.psyms.len - 2; i > 0; i--) in psyms_reduce_stmt()
61 if (ps.psyms.sym[i] == psym_decl) in psyms_reduce_stmt()
69 if (ps.psyms.len == ps.psyms.cap) { in psyms_reduce_stmt()
70 ps.psyms in psyms_reduce_stmt()
[all...]
H A Dindent.c358 && ps.psyms.len == 3) in update_ps_badp()
406 if (ps.psyms.len > 2) /* check for balanced braces */ in process_eof()
489 dst->psyms.sym = dup_array(ps.psyms.sym, ps.psyms.len); in parser_state_back_up()
490 dst->psyms.ind_level = dup_array(ps.psyms.ind_level, ps.psyms.len);
498 parser_symbol *ps_psyms_sym = ps.psyms.sym; in parser_state_restore()
499 int *ps_psyms_ind_level = ps.psyms in parser_state_restore()
[all...]
H A Dio.c211 if (ps.psyms.len >= 3) in compute_case_label_indent()
219 size_t i = ps.psyms.len - 1; in compute_case_label_indent()
220 while (i > 0 && ps.psyms.sym[i] != psym_switch_expr)
222 float case_ind = (float)ps.psyms.ind_level[i] + opt.case_indent; in compute_label_indent()
363 && ps.psyms.len > 2) { in output_indented_line()
389 if (ps.psyms.len >= 2 in is_stmt_cont()
390 && ps.psyms.sym[ps.psyms.len - 2] == psym_lbrace_enum in is_stmt_cont()
408 if (!(ps.psyms.sym[ps.psyms in prepare_next_line()
[all...]
H A Ddebug.c338 for (size_t i = 0; i < s->psyms.len; i++) { in debug_parser_state()
341 i > 0 ? " " : "", s->psyms.ind_level[i]); in debug_parser_state()
343 buf_add_str(buf, psym_name[s->psyms.sym[i]]); in debug_parser_state()
383 debug_ps_str(psyms, ps_psyms_to_string); in debug_parser_state()
396 const struct psym_stack *psyms = &ps.psyms; debug_psyms_stack() local
H A Dindent.h366 struct psym_stack psyms;
365 struct psym_stack psyms; global() member
H A Dlexi.c445 if (*p == '(' && ps.psyms.len < 3 && ps.ind_level == 0 && in lexi_alnum()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delf32-spu.c2700 void *psyms; in mark_functions_via_relocs() local
2714 psyms = &symtab_hdr->contents; in mark_functions_via_relocs()
2733 if (!get_sym_h (&h, &sym, &sym_sec, psyms, r_indx, sec->owner)) in mark_functions_via_relocs()
2994 Elf_Internal_Sym *syms, *sy, **psyms, **psy; in discover_functions() local
3026 psyms = bfd_malloc ((symcount + 1) * sizeof (*psyms)); in discover_functions()
3027 if (psyms == NULL) in discover_functions()
3029 psym_arr[bfd_idx] = psyms; in discover_functions()
3034 for (psy = psyms, p = psecs, sy = syms; sy < syms + symcount; ++p, ++sy) in discover_functions()
3044 symcount = psy - psyms; in discover_functions()
3050 qsort (psyms, symcount, sizeof (*psyms), sort_syms); in discover_functions()
[all …]
H A Dxcofflink.c280 _bfd_xcoff_canonicalize_dynamic_symtab (bfd *abfd, asymbol **psyms) in _bfd_xcoff_canonicalize_dynamic_symtab() argument
319 for (; elsym < elsymend; elsym += bfd_xcoff_ldsymsz(abfd), symbuf++, psyms++) in _bfd_xcoff_canonicalize_dynamic_symtab()
359 *psyms = (asymbol *) symbuf; in _bfd_xcoff_canonicalize_dynamic_symtab()
362 *psyms = NULL; in _bfd_xcoff_canonicalize_dynamic_symtab()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delf32-spu.c2701 void *psyms; in mark_functions_via_relocs() local
2715 psyms = &symtab_hdr->contents; in mark_functions_via_relocs()
2734 if (!get_sym_h (&h, &sym, &sym_sec, psyms, r_indx, sec->owner)) in mark_functions_via_relocs()
2995 Elf_Internal_Sym *syms, *sy, **psyms, **psy; in discover_functions() local
3027 psyms = bfd_malloc ((symcount + 1) * sizeof (*psyms)); in discover_functions()
3028 if (psyms == NULL) in discover_functions()
3030 psym_arr[bfd_idx] = psyms; in discover_functions()
3035 for (psy = psyms, p = psecs, sy = syms; sy < syms + symcount; ++p, ++sy) in discover_functions()
3045 symcount = psy - psyms; in discover_functions()
3051 qsort (psyms, symcount, sizeof (*psyms), sort_syms); in discover_functions()
[all …]
H A Dxcofflink.c280 _bfd_xcoff_canonicalize_dynamic_symtab (bfd *abfd, asymbol **psyms) in _bfd_xcoff_canonicalize_dynamic_symtab() argument
317 for (; elsym < elsymend; elsym += bfd_xcoff_ldsymsz(abfd), symbuf++, psyms++) in _bfd_xcoff_canonicalize_dynamic_symtab()
357 *psyms = (asymbol *) symbuf; in _bfd_xcoff_canonicalize_dynamic_symtab()
360 *psyms = NULL; in _bfd_xcoff_canonicalize_dynamic_symtab()
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dobject.cc2304 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in do_count_local_symbols() local
2324 psyms += sym_size; in do_count_local_symbols()
2329 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
2331 elfcpp::Sym<size, big_endian> sym(psyms); in do_count_local_symbols()
2777 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in write_local_symbols() local
2809 psyms += sym_size; in write_local_symbols()
2810 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in write_local_symbols()
2812 elfcpp::Sym<size, big_endian> isym(psyms); in write_local_symbols()
H A Dreloc.cc1406 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in find_functions() local
1411 for (unsigned int i = 0; i < symcount; ++i, psyms += sym_size) in find_functions()
1413 typename elfcpp::Sym<size, big_endian> isym(psyms); in find_functions()
H A Dsymtab.cc3075 unsigned char* psyms; in sized_write_globals() local
3077 psyms = NULL; in sized_write_globals()
3079 psyms = of->get_output_view(this->offset_, oview_size); in sized_write_globals()
3255 unsigned char* ps = psyms + (sym_index * sym_size); in sized_write_globals()
3303 unsigned char* ps = psyms + (sym_index * sym_size); in sized_write_globals()
3320 of->write_output_view(this->offset_, oview_size, psyms); in sized_write_globals()
H A Darm.cc1725 const unsigned char* psyms, unsigned int* pshndx);
6536 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in do_count_local_symbols() local
6564 psyms += sym_size; in do_count_local_symbols()
6567 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
6569 elfcpp::Sym<32, big_endian> sym(psyms); in do_count_local_symbols()
6788 const unsigned char* psyms, in find_linked_text_section() argument
6836 elfcpp::Sym<32, big_endian> sym(psyms + r_sym * sym_size); in find_linked_text_section()
7048 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in do_read_symbols() local
7060 psyms, &text_shndx); in do_read_symbols()
7142 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in update_output_local_symbol_count() local
[all …]
H A Daarch64.cc1924 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in do_count_local_symbols() local
1950 psyms += sym_size; in do_count_local_symbols()
1953 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
1955 elfcpp::Sym<size, big_endian> sym(psyms); in do_count_local_symbols()
H A Dmips.cc6783 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in do_count_local_symbols() local
6789 psyms += sym_size; in do_count_local_symbols()
6790 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
6792 elfcpp::Sym<size, big_endian> sym(psyms); in do_count_local_symbols()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dobject.cc2304 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in do_count_local_symbols() local
2324 psyms += sym_size; in do_count_local_symbols()
2329 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
2331 elfcpp::Sym<size, big_endian> sym(psyms); in do_count_local_symbols()
2777 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in write_local_symbols() local
2809 psyms += sym_size; in write_local_symbols()
2810 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in write_local_symbols()
2812 elfcpp::Sym<size, big_endian> isym(psyms); in write_local_symbols()
H A Dreloc.cc1406 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in find_functions() local
1411 for (unsigned int i = 0; i < symcount; ++i, psyms += sym_size) in find_functions()
1413 typename elfcpp::Sym<size, big_endian> isym(psyms); in find_functions()
H A Dsymtab.cc3075 unsigned char* psyms; in sized_write_globals() local
3077 psyms = NULL; in sized_write_globals()
3079 psyms = of->get_output_view(this->offset_, oview_size); in sized_write_globals()
3255 unsigned char* ps = psyms + (sym_index * sym_size); in sized_write_globals()
3303 unsigned char* ps = psyms + (sym_index * sym_size); in sized_write_globals()
3320 of->write_output_view(this->offset_, oview_size, psyms); in sized_write_globals()
H A Darm.cc1725 const unsigned char* psyms, unsigned int* pshndx);
6536 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in do_count_local_symbols() local
6564 psyms += sym_size; in do_count_local_symbols()
6567 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
6569 elfcpp::Sym<32, big_endian> sym(psyms); in do_count_local_symbols()
6788 const unsigned char* psyms, in find_linked_text_section() argument
6836 elfcpp::Sym<32, big_endian> sym(psyms + r_sym * sym_size); in find_linked_text_section()
7048 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in do_read_symbols() local
7060 psyms, &text_shndx); in do_read_symbols()
7142 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in update_output_local_symbol_count() local
[all …]
H A Daarch64.cc1925 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in do_count_local_symbols() local
1951 psyms += sym_size; in do_count_local_symbols()
1954 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
1956 elfcpp::Sym<size, big_endian> sym(psyms); in do_count_local_symbols()
H A Dmips.cc6821 const unsigned char* psyms = this->get_view(symtabshdr.get_sh_offset(), in do_count_local_symbols() local
6827 psyms += sym_size; in do_count_local_symbols()
6828 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
6830 elfcpp::Sym<size, big_endian> sym(psyms); in do_count_local_symbols()
H A Dpowerpc.cc2566 const unsigned char* psyms = this->get_view(shdr.get_sh_offset(), in do_read_symbols() local
2568 psyms += sym_size; in do_read_symbols()
2569 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_read_symbols()
2571 elfcpp::Sym<size, big_endian> sym(psyms); in do_read_symbols()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dwrstabs.c463 bfd_byte **psyms, in write_stabs_in_sections_debugging_info() argument
526 *psyms = info.symbols; in write_stabs_in_sections_debugging_info()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dwrstabs.c461 bfd_byte **psyms, in write_stabs_in_sections_debugging_info() argument
517 *psyms = info.symbols; in write_stabs_in_sections_debugging_info()

12