Home
last modified time | relevance | path

Searched refs:nsyms (Results 1 – 25 of 203) sorted by relevance

123456789

/netbsd/external/gpl3/gcc.old/dist/lto-plugin/
H A Dlto-symtab.c39 unsigned nsyms; member
53 assert (h->nsyms == nsyms); in get_symbols()
55 for (i = 0; i < nsyms; i++) in get_symbols()
97 h->nsyms = nsyms; in add_symbols()
101 for (i = 0; i < nsyms; i++) in add_symbols()
231 unsigned int nsyms = handle->nsyms; in resolve() local
234 for (i = 0; i < nsyms; i++) in resolve()
261 unsigned int nsyms = handle->nsyms; in print() local
264 for (i = 0; i < nsyms; i++) in print()
303 unsigned int nsyms = handle->nsyms; in free_all() local
[all …]
H A Dlto-plugin.c114 int nsyms; member
370 out->nsyms = n; in translate()
398 for (i = 0; i < nsyms; i++) in parse_symtab_extension()
401 out->last_sym += nsyms; in parse_symtab_extension()
491 if (conflicts->nsyms == 0) in finish_conflict_resolution()
567 fprintf (f, "%s %d\n", info->name, symtab->nsyms + info->conflicts.nsyms); in write_resolution()
569 if (info->conflicts.nsyms) in write_resolution()
949 outlen = t->nsyms; in resolve_conflicts()
978 cnf = conflicts->nsyms++; in resolve_conflicts()
1003 assert (conflicts->nsyms + out == t->nsyms); in resolve_conflicts()
[all …]
/netbsd/external/gpl3/gdb/dist/gdb/
H A Ddictionary.c147 int nsyms; member
152 int nsyms; member
159 int nsyms; member
361 int nsyms = symbol_list.size (); in dict_create_hashed() local
404 int nsyms = symbol_list.size (); in dict_create_linear() local
405 DICT_LINEAR_NSYMS (retval) = nsyms; in dict_create_linear()
410 int idx = nsyms - 1; in dict_create_linear()
936 return nsyms;
956 for (const auto &pair : nsyms)
1001 for (const auto &pair : nsyms)
[all …]
/netbsd/external/gpl3/gdb.old/dist/gdb/
H A Ddictionary.c147 int nsyms; member
152 int nsyms; member
159 int nsyms; member
361 int nsyms = symbol_list.size (); in dict_create_hashed() local
404 int nsyms = symbol_list.size (); in dict_create_linear() local
405 DICT_LINEAR_NSYMS (retval) = nsyms; in dict_create_linear()
410 int idx = nsyms - 1; in dict_create_linear()
936 return nsyms;
956 for (const auto &pair : nsyms)
1001 for (const auto &pair : nsyms)
[all …]
/netbsd/external/gpl3/gdb/dist/gold/testsuite/
H A Dplugin_test.c36 int nsyms; member
288 int nsyms = 0; in claim_file_hook() local
384 if (nsyms >= maxsyms) in claim_file_hook()
394 syms[nsyms].name = NULL; in claim_file_hook()
402 syms[nsyms].version = NULL; in claim_file_hook()
409 syms[nsyms].def = def; in claim_file_hook()
412 syms[nsyms].comdat_key = is_comdat ? syms[nsyms].name : NULL; in claim_file_hook()
414 ++nsyms; in claim_file_hook()
423 claimed_file->nsyms = nsyms; in claim_file_hook()
433 file->name, nsyms); in claim_file_hook()
[all …]
/netbsd/external/gpl3/gdb.old/dist/gold/testsuite/
H A Dplugin_test.c36 int nsyms; member
288 int nsyms = 0; in claim_file_hook() local
384 if (nsyms >= maxsyms) in claim_file_hook()
394 syms[nsyms].name = NULL; in claim_file_hook()
402 syms[nsyms].version = NULL; in claim_file_hook()
409 syms[nsyms].def = def; in claim_file_hook()
412 syms[nsyms].comdat_key = is_comdat ? syms[nsyms].name : NULL; in claim_file_hook()
414 ++nsyms; in claim_file_hook()
423 claimed_file->nsyms = nsyms; in claim_file_hook()
433 file->name, nsyms); in claim_file_hook()
[all …]
/netbsd/usr.sbin/tprof/
H A Dksyms.c47 static size_t nsyms = 0; variable
128 nsyms++; in ksymload()
129 syms = erealloc(syms, sizeof(*syms) * nsyms); in ksymload()
130 syms[nsyms - 1] = sym; in ksymload()
134 qsort(syms, nsyms, sizeof(*syms), compare_value); in ksymload()
136 *nsymp = nsyms; in ksymload()
154 hi = nsyms - 1; in ksymlookup()
168 assert(lo == nsyms - 1 || syms[lo]->value <= value); in ksymlookup()
170 for (i = lo; i < nsyms; i++) { in ksymlookup()
/netbsd/external/gpl3/gcc/dist/lto-plugin/
H A Dlto-plugin.c114 int nsyms; member
377 out->nsyms = n; in translate()
405 for (i = 0; i < nsyms; i++) in parse_symtab_extension()
408 out->last_sym += nsyms; in parse_symtab_extension()
498 if (conflicts->nsyms == 0) in finish_conflict_resolution()
574 fprintf (f, "%s %d\n", info->name, symtab->nsyms + info->conflicts.nsyms); in write_resolution()
576 if (info->conflicts.nsyms) in write_resolution()
970 outlen = t->nsyms; in resolve_conflicts()
999 cnf = conflicts->nsyms++; in resolve_conflicts()
1024 assert (conflicts->nsyms + out == t->nsyms); in resolve_conflicts()
[all …]
/netbsd/external/gpl3/gdb/dist/bfd/
H A Dplugin.c163 int nsyms, in add_symbols() argument
173 plugin_data->nsyms = nsyms; in add_symbols()
176 if (nsyms != 0) in add_symbols()
184 add_symbols_v2 (void *handle, int nsyms, in add_symbols_v2() argument
188 return add_symbols (handle, nsyms, syms); in add_symbols_v2()
571 long nsyms = plugin_data->nsyms; in bfd_plugin_get_symtab_upper_bound() local
573 BFD_ASSERT (nsyms >= 0); in bfd_plugin_get_symtab_upper_bound()
575 return ((nsyms + 1) * sizeof (asymbol *)); in bfd_plugin_get_symtab_upper_bound()
603 long nsyms = plugin_data->nsyms; in bfd_plugin_canonicalize_symtab() local
618 for (i = 0; i < nsyms; i++) in bfd_plugin_canonicalize_symtab()
[all …]
/netbsd/external/gpl3/gdb.old/dist/bfd/
H A Dplugin.c163 int nsyms, in add_symbols() argument
173 plugin_data->nsyms = nsyms; in add_symbols()
176 if (nsyms != 0) in add_symbols()
184 add_symbols_v2 (void *handle, int nsyms, in add_symbols_v2() argument
188 return add_symbols (handle, nsyms, syms); in add_symbols_v2()
571 long nsyms = plugin_data->nsyms; in bfd_plugin_get_symtab_upper_bound() local
573 BFD_ASSERT (nsyms >= 0); in bfd_plugin_get_symtab_upper_bound()
575 return ((nsyms + 1) * sizeof (asymbol *)); in bfd_plugin_get_symtab_upper_bound()
603 long nsyms = plugin_data->nsyms; in bfd_plugin_canonicalize_symtab() local
618 for (i = 0; i < nsyms; i++) in bfd_plugin_canonicalize_symtab()
[all …]
/netbsd/external/bsd/byacc/dist/
H A Dlr0.c58 symbol_count = NEW2(nsyms, Value_t); in allocate_itemsets()
72 kernel_base = NEW2(nsyms, Value_t *); in allocate_itemsets()
77 for (i = 0; i < nsyms; i++) in allocate_itemsets()
86 kernel_end = NEW2(nsyms, Value_t *); in allocate_itemsets()
93 shiftset = NEW2(nsyms, Value_t); in allocate_storage()
262 for (i = 0; i < nsyms; i++) in new_itemsets()
496 derives = NEW2(nsyms, Value_t *); in set_derives()
529 for (i = start_symbol; i < nsyms; i++) in print_derives()
550 nullable = TMALLOC(char, nsyms); in set_nullable()
553 for (i = 0; i < nsyms; ++i) in set_nullable()
[all …]
/netbsd/external/gpl3/binutils.old/dist/bfd/
H A Dplugin.c139 int nsyms, in add_symbols() argument
146 plugin_data->nsyms = nsyms; in add_symbols()
149 if (nsyms != 0) in add_symbols()
526 long nsyms = plugin_data->nsyms; in bfd_plugin_get_symtab_upper_bound() local
528 BFD_ASSERT (nsyms >= 0); in bfd_plugin_get_symtab_upper_bound()
530 return ((nsyms + 1) * sizeof (asymbol *)); in bfd_plugin_get_symtab_upper_bound()
558 long nsyms = plugin_data->nsyms; in bfd_plugin_canonicalize_symtab() local
567 for (i = 0; i < nsyms; i++) in bfd_plugin_canonicalize_symtab()
598 return nsyms; in bfd_plugin_canonicalize_symtab()
/netbsd/external/gpl3/binutils/dist/bfd/
H A Dplugin.c163 int nsyms, in add_symbols() argument
173 plugin_data->nsyms = nsyms; in add_symbols()
176 if (nsyms != 0) in add_symbols()
184 add_symbols_v2 (void *handle, int nsyms, in add_symbols_v2() argument
188 return add_symbols (handle, nsyms, syms); in add_symbols_v2()
651 long nsyms = plugin_data->nsyms; in bfd_plugin_get_symtab_upper_bound() local
653 BFD_ASSERT (nsyms >= 0); in bfd_plugin_get_symtab_upper_bound()
655 return ((nsyms + 1) * sizeof (asymbol *)); in bfd_plugin_get_symtab_upper_bound()
683 long nsyms = plugin_data->nsyms; in bfd_plugin_canonicalize_symtab() local
698 for (i = 0; i < nsyms; i++) in bfd_plugin_canonicalize_symtab()
[all …]
/netbsd/external/mpl/bind/dist/util/
H A Dmksymtbl.pl27 my ($binname, $need_uscorefix, $outputfile, $nsyms, $ostype, $nm_prog);
51 $nsyms = 0;
66 $nsyms++;
86 print TBLFILE "const int isc__backtrace_nsymbols = $nsyms;\n";
/netbsd/external/gpl3/gdb/dist/libiberty/
H A Dsimple-object-xcoff.c278 unsigned int nsyms; member
375 + ocr->nsyms * SYMESZ; in simple_object_xcoff_read_strtab()
502 if (ocr->nsyms > 0) in simple_object_xcoff_find_sections()
515 ocr->nsyms * SYMESZ, in simple_object_xcoff_find_sections()
736 unsigned int nsyms, const char **errmsg, in simple_object_xcoff_write_filehdr() argument
764 nsyms); in simple_object_xcoff_write_filehdr()
774 nsyms); in simple_object_xcoff_write_filehdr()
869 unsigned int nsyms; in simple_object_xcoff_write_to_file() local
946 nsyms = 2 * (nscns + 1); in simple_object_xcoff_write_to_file()
950 offset += nsyms * SYMESZ; in simple_object_xcoff_write_to_file()
[all …]
/netbsd/external/gpl3/binutils.old/dist/libiberty/
H A Dsimple-object-xcoff.c278 unsigned int nsyms; member
375 + ocr->nsyms * SYMESZ; in simple_object_xcoff_read_strtab()
502 if (ocr->nsyms > 0) in simple_object_xcoff_find_sections()
515 ocr->nsyms * SYMESZ, in simple_object_xcoff_find_sections()
736 unsigned int nsyms, const char **errmsg, in simple_object_xcoff_write_filehdr() argument
764 nsyms); in simple_object_xcoff_write_filehdr()
774 nsyms); in simple_object_xcoff_write_filehdr()
869 unsigned int nsyms; in simple_object_xcoff_write_to_file() local
946 nsyms = 2 * (nscns + 1); in simple_object_xcoff_write_to_file()
950 offset += nsyms * SYMESZ; in simple_object_xcoff_write_to_file()
[all …]
/netbsd/external/gpl3/binutils/dist/libiberty/
H A Dsimple-object-xcoff.c278 unsigned int nsyms; member
375 + ocr->nsyms * SYMESZ; in simple_object_xcoff_read_strtab()
502 if (ocr->nsyms > 0) in simple_object_xcoff_find_sections()
515 ocr->nsyms * SYMESZ, in simple_object_xcoff_find_sections()
736 unsigned int nsyms, const char **errmsg, in simple_object_xcoff_write_filehdr() argument
764 nsyms); in simple_object_xcoff_write_filehdr()
774 nsyms); in simple_object_xcoff_write_filehdr()
869 unsigned int nsyms; in simple_object_xcoff_write_to_file() local
946 nsyms = 2 * (nscns + 1); in simple_object_xcoff_write_to_file()
950 offset += nsyms * SYMESZ; in simple_object_xcoff_write_to_file()
[all …]
/netbsd/external/gpl3/gcc.old/dist/libiberty/
H A Dsimple-object-xcoff.c278 unsigned int nsyms; member
375 + ocr->nsyms * SYMESZ; in simple_object_xcoff_read_strtab()
502 if (ocr->nsyms > 0) in simple_object_xcoff_find_sections()
515 ocr->nsyms * SYMESZ, in simple_object_xcoff_find_sections()
736 unsigned int nsyms, const char **errmsg, in simple_object_xcoff_write_filehdr() argument
764 nsyms); in simple_object_xcoff_write_filehdr()
774 nsyms); in simple_object_xcoff_write_filehdr()
869 unsigned int nsyms; in simple_object_xcoff_write_to_file() local
946 nsyms = 2 * (nscns + 1); in simple_object_xcoff_write_to_file()
950 offset += nsyms * SYMESZ; in simple_object_xcoff_write_to_file()
[all …]
/netbsd/external/gpl3/gdb.old/dist/libiberty/
H A Dsimple-object-xcoff.c278 unsigned int nsyms; member
375 + ocr->nsyms * SYMESZ; in simple_object_xcoff_read_strtab()
502 if (ocr->nsyms > 0) in simple_object_xcoff_find_sections()
515 ocr->nsyms * SYMESZ, in simple_object_xcoff_find_sections()
736 unsigned int nsyms, const char **errmsg, in simple_object_xcoff_write_filehdr() argument
764 nsyms); in simple_object_xcoff_write_filehdr()
774 nsyms); in simple_object_xcoff_write_filehdr()
869 unsigned int nsyms; in simple_object_xcoff_write_to_file() local
946 nsyms = 2 * (nscns + 1); in simple_object_xcoff_write_to_file()
950 offset += nsyms * SYMESZ; in simple_object_xcoff_write_to_file()
[all …]
/netbsd/external/gpl3/gcc/dist/libiberty/
H A Dsimple-object-xcoff.c278 unsigned int nsyms; member
375 + ocr->nsyms * SYMESZ; in simple_object_xcoff_read_strtab()
502 if (ocr->nsyms > 0) in simple_object_xcoff_find_sections()
515 ocr->nsyms * SYMESZ, in simple_object_xcoff_find_sections()
736 unsigned int nsyms, const char **errmsg, in simple_object_xcoff_write_filehdr() argument
764 nsyms); in simple_object_xcoff_write_filehdr()
774 nsyms); in simple_object_xcoff_write_filehdr()
869 unsigned int nsyms; in simple_object_xcoff_write_to_file() local
946 nsyms = 2 * (nscns + 1); in simple_object_xcoff_write_to_file()
950 offset += nsyms * SYMESZ; in simple_object_xcoff_write_to_file()
[all …]
/netbsd/external/gpl3/gdb/dist/gold/
H A Dincremental-dump.cc65 unsigned int nsyms = input_file.get_global_symbol_count(); in find_input_containing_global() local
67 && offset < input_file.get_symbol_offset(nsyms)) in find_input_containing_global()
266 unsigned int nsyms = symtab_location.data_size / sym_size; in dump_incremental_inputs() local
268 unsigned int first_global = nsyms - nglobals; in dump_incremental_inputs()
291 unsigned int nsyms = input_file.get_global_symbol_count(); in dump_incremental_inputs() local
292 if (nsyms > 0) in dump_incremental_inputs()
297 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
317 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
447 unsigned int nsyms = input_file.get_unused_symbol_count(); in dump_incremental_inputs() local
448 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
/netbsd/external/gpl3/binutils/dist/gold/
H A Dincremental-dump.cc65 unsigned int nsyms = input_file.get_global_symbol_count(); in find_input_containing_global() local
67 && offset < input_file.get_symbol_offset(nsyms)) in find_input_containing_global()
266 unsigned int nsyms = symtab_location.data_size / sym_size; in dump_incremental_inputs() local
268 unsigned int first_global = nsyms - nglobals; in dump_incremental_inputs()
291 unsigned int nsyms = input_file.get_global_symbol_count(); in dump_incremental_inputs() local
292 if (nsyms > 0) in dump_incremental_inputs()
297 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
317 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
447 unsigned int nsyms = input_file.get_unused_symbol_count(); in dump_incremental_inputs() local
448 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
/netbsd/external/gpl3/binutils.old/dist/gold/
H A Dincremental-dump.cc65 unsigned int nsyms = input_file.get_global_symbol_count(); in find_input_containing_global() local
67 && offset < input_file.get_symbol_offset(nsyms)) in find_input_containing_global()
266 unsigned int nsyms = symtab_location.data_size / sym_size; in dump_incremental_inputs() local
268 unsigned int first_global = nsyms - nglobals; in dump_incremental_inputs()
291 unsigned int nsyms = input_file.get_global_symbol_count(); in dump_incremental_inputs() local
292 if (nsyms > 0) in dump_incremental_inputs()
297 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
317 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
447 unsigned int nsyms = input_file.get_unused_symbol_count(); in dump_incremental_inputs() local
448 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
/netbsd/external/gpl3/gdb.old/dist/gold/
H A Dincremental-dump.cc65 unsigned int nsyms = input_file.get_global_symbol_count(); in find_input_containing_global() local
67 && offset < input_file.get_symbol_offset(nsyms)) in find_input_containing_global()
266 unsigned int nsyms = symtab_location.data_size / sym_size; in dump_incremental_inputs() local
268 unsigned int first_global = nsyms - nglobals; in dump_incremental_inputs()
291 unsigned int nsyms = input_file.get_global_symbol_count(); in dump_incremental_inputs() local
292 if (nsyms > 0) in dump_incremental_inputs()
297 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
317 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
447 unsigned int nsyms = input_file.get_unused_symbol_count(); in dump_incremental_inputs() local
448 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs()
/netbsd/usr.bin/elf2ecoff/
H A Delf2ecoff.c628 int nsyms; in elf_read_syms() local
630 nsyms = symsize / sizeof(Elf32_Sym); in elf_read_syms()
636 elfsymsp->nsymbols = nsyms; in elf_read_syms()
638 for (i = 0; i < nsyms; i++) { in elf_read_syms()
663 int nsyms, i; in elf_symbol_table_to_ecoff() local
672 nsyms = ecoffsymtab.nsymbols; in elf_symbol_table_to_ecoff()
703 for (i = 0; i < nsyms; i++) { in elf_symbol_table_to_ecoff()
711 nsyms * sizeof(struct ecoff_extsym), in elf_symbol_table_to_ecoff()
730 int nsyms, idx; in translate_syms() local
732 nsyms = elfp->nsymbols; in translate_syms()
[all …]

123456789