Home
last modified time | relevance | path

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

/freebsd-11-stable/lib/libc/gen/
HDnlist.c113 u_long symsize; in __aout_fdnlist() local
150 symsize = exec->a_syms; in __aout_fdnlist()
151 stroff = symoff + symsize; in __aout_fdnlist()
176 while (symsize > 0) { in __aout_fdnlist()
179 symsize-= sizeof(struct nlist); in __aout_fdnlist()
238 Elf_Size symsize = 0, symstrsize = 0; in __elf_fdnlist() local
283 symsize = shdr[i].sh_size; in __elf_fdnlist()
335 while (symsize > 0 && nent > 0) { in __elf_fdnlist()
336 cc = MIN(symsize, sizeof(sbuf)); in __elf_fdnlist()
339 symsize -= cc; in __elf_fdnlist()
/freebsd-11-stable/contrib/binutils/ld/
HDldcref.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()
HDldmisc.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()
HDpe-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()
HDldmain.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-11-stable/contrib/gdb/gdb/
HDsomread.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-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_symbolizer_libbacktrace.cpp135 uintptr_t symval, uintptr_t symsize) { in SymbolizeDataCallback() argument
140 info->size = symsize; in SymbolizeDataCallback()
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/lockstat/
HDlockstat.c575 size_t symsize; in coalesce_symbol() local
577 if (addr_to_sym(*addrp, &symoff, &symsize) != NULL && symoff < symsize) in coalesce_symbol()
1722 size_t symsize; in format_symbol() local
1724 symname = addr_to_sym(addr, &symoff, &symsize); in format_symbol()
1727 (void) sprintf(buf, "%s[%ld]", symname, (long)symsize); in format_symbol()
1736 else if (symoff <= symsize || (symoff < 256 && addr != symoff)) in format_symbol()
/freebsd-11-stable/contrib/binutils/ld/emultempl/
HDpe.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 …]
HDpep.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-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_link.c1212 size_t symsize, osym, nsym, isym, istr, len; in process_obj() local
1255 symsize = sizeof (Elf64_Sym); in process_obj()
1270 symsize = sizeof (Elf32_Sym); in process_obj()
1365 isym = data_sym->d_size / symsize; in process_obj()
1464 nsym * symsize)) == NULL) { in process_obj()
1483 data_sym->d_size += nsym * symsize; in process_obj()
1486 shdr_sym.sh_size += nsym * symsize; in process_obj()
/freebsd-11-stable/contrib/binutils/binutils/
HDobjcopy.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()
HDnm.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-11-stable/sys/sys/
HDlinker.h331 size_t symsize; member
/freebsd-11-stable/contrib/binutils/bfd/
HDlinker.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()
HDecofflink.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-11-stable/contrib/libarchive/libarchive/
HDarchive_read_support_format_7zip.c734 size_t symsize = 0; in archive_read_format_7zip_read_header() local
752 mem = realloc(symname, symsize + size + 1); in archive_read_format_7zip_read_header()
760 memcpy(symname+symsize, buff, size); in archive_read_format_7zip_read_header()
761 symsize += size; in archive_read_format_7zip_read_header()
763 if (symsize == 0) { in archive_read_format_7zip_read_header()
770 symname[symsize] = '\0'; in archive_read_format_7zip_read_header()
/freebsd-11-stable/sys/kern/
HDkern_linker.c1370 lookup.symsize = symval.size; in sys_kldsym()
1379 lookup.symsize = symval.size; in sys_kldsym()
/freebsd-11-stable/lib/libkvm/
HDkvm.c716 lookup.symsize = 0; in _kvm_nlist()