Home
last modified time | relevance | path

Searched refs:symsize (Results 1 – 18 of 18) sorted by relevance

/freebsd-10-stable/lib/libc/gen/
Dnlist.c114 u_long symsize; local
151 symsize = exec->a_syms;
152 stroff = symoff + symsize;
177 while (symsize > 0) {
180 symsize-= sizeof(struct nlist);
241 Elf_Size symsize = 0, symstrsize = 0; local
286 symsize = shdr[i].sh_size;
338 while (symsize > 0 && nent > 0) {
339 cc = MIN(symsize, sizeof(sbuf));
342 symsize -= cc;
/freebsd-10-stable/contrib/binutils/ld/
Dldcref.c491 long symsize; in check_local_sym_xref() local
494 symsize = bfd_get_symtab_upper_bound (abfd); in check_local_sym_xref()
495 if (symsize < 0) in check_local_sym_xref()
497 asymbols = xmalloc (symsize); in check_local_sym_xref()
613 long symsize; in check_refs() local
616 symsize = bfd_get_symtab_upper_bound (abfd); in check_refs()
617 if (symsize < 0) in check_refs()
619 asymbols = xmalloc (symsize); in check_refs()
Dldmisc.c296 long symsize; in vfinfo() local
299 symsize = bfd_get_symtab_upper_bound (abfd); in vfinfo()
300 if (symsize < 0) in vfinfo()
302 asymbols = xmalloc (symsize); in vfinfo()
Dpe-dll.c604 int nsyms, symsize; in process_def_file() local
606 symsize = bfd_get_symtab_upper_bound (b); in process_def_file()
607 symbols = xmalloc (symsize); in process_def_file()
1129 int nsyms, symsize; in pe_walk_relocs_of_symbol() local
1131 symsize = bfd_get_symtab_upper_bound (b); in pe_walk_relocs_of_symbol()
1132 symbols = xmalloc (symsize); in pe_walk_relocs_of_symbol()
1203 int nsyms, symsize; in generate_reloc() local
1223 symsize = bfd_get_symtab_upper_bound (b); in generate_reloc()
1224 symbols = xmalloc (symsize); in generate_reloc()
Dldmain.c1227 long symsize; in warning_callback() local
1230 symsize = bfd_get_symtab_upper_bound (abfd); in warning_callback()
1231 if (symsize < 0) in warning_callback()
1233 asymbols = xmalloc (symsize); in warning_callback()
/freebsd-10-stable/contrib/gdb/gdb/
Dsomread.c94 CONST int symsize = sizeof (struct symbol_dictionary_record); in som_symtab_read() local
104 buf = alloca (symsize * number_of_symbols); in som_symtab_read()
106 val = bfd_bread (buf, symsize * number_of_symbols, abfd); in som_symtab_read()
107 if (val != symsize * number_of_symbols) in som_symtab_read()
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/lockstat/
Dlockstat.c549 size_t symsize; in coalesce_symbol() local
551 if (addr_to_sym(*addrp, &symoff, &symsize) != NULL && symoff < symsize) in coalesce_symbol()
1668 size_t symsize; in format_symbol() local
1670 symname = addr_to_sym(addr, &symoff, &symsize); in format_symbol()
1673 (void) sprintf(buf, "%s[%ld]", symname, (long)symsize); in format_symbol()
1682 else if (symoff <= symsize || (symoff < 256 && addr != symoff)) in format_symbol()
/freebsd-10-stable/contrib/binutils/ld/emultempl/
Dpe.em917 int nsyms, symsize, i;
923 symsize = bfd_get_symtab_upper_bound (b);
924 symbols = (asymbol **) xmalloc (symsize);
1075 long symsize;
1081 symsize = bfd_get_symtab_upper_bound (is->the_bfd);
1082 if (symsize < 1)
1088 symbols = (asymbol **) xmalloc (symsize);
1089 symsize = bfd_canonicalize_symtab (is->the_bfd, symbols);
1090 if (symsize < 0)
1290 long symsize;
[all …]
Dpep.em882 int nsyms, symsize, i;
888 symsize = bfd_get_symtab_upper_bound (b);
889 symbols = xmalloc (symsize);
1019 long symsize;
1025 symsize = bfd_get_symtab_upper_bound (is->the_bfd);
1026 if (symsize < 1)
1032 symbols = xmalloc (symsize);
1033 symsize = bfd_canonicalize_symtab (is->the_bfd, symbols);
1034 if (symsize < 0)
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
Ddt_link.c1204 size_t symsize, nsym, isym, istr, len; in process_obj() local
1249 symsize = sizeof (Elf64_Sym); in process_obj()
1264 symsize = sizeof (Elf32_Sym); in process_obj()
1358 isym = data_sym->d_size / symsize; in process_obj()
1459 nsym * symsize)) == NULL) { in process_obj()
1478 data_sym->d_size += nsym * symsize; in process_obj()
1481 shdr_sym.sh_size += nsym * symsize; in process_obj()
/freebsd-10-stable/contrib/binutils/binutils/
Dobjcopy.c1323 long symsize; in copy_object() local
1406 symsize = bfd_get_symtab_upper_bound (ibfd); in copy_object()
1407 if (symsize < 0) in copy_object()
1413 osympp = isympp = xmalloc (symsize); in copy_object()
2586 bfd_size_type symsize, stringsize; in write_debugging_info() local
2591 &symsize, &strings, in write_debugging_info()
2600 || ! bfd_set_section_size (obfd, stabsec, symsize) in write_debugging_info()
2615 if (! bfd_set_section_contents (obfd, stabsec, syms, 0, symsize) in write_debugging_info()
Dnm.c809 long symsize; in print_symbol() local
811 symsize = bfd_get_symtab_upper_bound (abfd); in print_symbol()
812 if (symsize < 0) in print_symbol()
814 syms = xmalloc (symsize); in print_symbol()
/freebsd-10-stable/sys/sys/
Dlinker.h320 size_t symsize; member
/freebsd-10-stable/contrib/binutils/bfd/
Dlinker.c745 long symsize; in generic_link_read_symbols() local
748 symsize = bfd_get_symtab_upper_bound (abfd); in generic_link_read_symbols()
749 if (symsize < 0) in generic_link_read_symbols()
751 bfd_get_outsymbols (abfd) = bfd_alloc (abfd, symsize); in generic_link_read_symbols()
752 if (bfd_get_outsymbols (abfd) == NULL && symsize != 0) in generic_link_read_symbols()
Decofflink.c1137 long symsize; local
1161 symsize = bfd_get_symtab_upper_bound (input_bfd);
1162 if (symsize < 0)
1164 symbols = (asymbol **) bfd_alloc (output_bfd, (bfd_size_type) symsize);
/freebsd-10-stable/contrib/libarchive/libarchive/
Darchive_read_support_format_7zip.c733 size_t symsize = 0; in archive_read_format_7zip_read_header() local
751 mem = realloc(symname, symsize + size + 1); in archive_read_format_7zip_read_header()
759 memcpy(symname+symsize, buff, size); in archive_read_format_7zip_read_header()
760 symsize += size; in archive_read_format_7zip_read_header()
762 if (symsize == 0) { in archive_read_format_7zip_read_header()
769 symname[symsize] = '\0'; in archive_read_format_7zip_read_header()
/freebsd-10-stable/lib/libkvm/
Dkvm.c444 lookup.symsize = 0; in _kvm_nlist()
/freebsd-10-stable/sys/kern/
Dkern_linker.c1348 lookup.symsize = symval.size; in sys_kldsym()
1357 lookup.symsize = symval.size; in sys_kldsym()