| /freebsd-10-stable/lib/libc/gen/ |
| D | nlist.c | 114 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/ |
| D | ldcref.c | 491 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()
|
| D | ldmisc.c | 296 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()
|
| D | pe-dll.c | 604 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()
|
| D | ldmain.c | 1227 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/ |
| D | somread.c | 94 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/ |
| D | lockstat.c | 549 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/ |
| D | pe.em | 917 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 …]
|
| D | pep.em | 882 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/ |
| D | dt_link.c | 1204 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/ |
| D | objcopy.c | 1323 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()
|
| D | nm.c | 809 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/ |
| D | linker.h | 320 size_t symsize; member
|
| /freebsd-10-stable/contrib/binutils/bfd/ |
| D | linker.c | 745 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()
|
| D | ecofflink.c | 1137 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/ |
| D | archive_read_support_format_7zip.c | 733 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/ |
| D | kvm.c | 444 lookup.symsize = 0; in _kvm_nlist()
|
| /freebsd-10-stable/sys/kern/ |
| D | kern_linker.c | 1348 lookup.symsize = symval.size; in sys_kldsym() 1357 lookup.symsize = symval.size; in sys_kldsym()
|