Home
last modified time | relevance | path

Searched refs:stroff (Results 1 – 25 of 51) sorted by relevance

123

/netbsd-src/lib/libc/gen/
H A Dnlist_aout.c98 off_t stroff, symoff; in __fdnlist_aout() local
115 stroff = symoff + symsize; in __fdnlist_aout()
118 if ((uintmax_t)(st.st_size - stroff) > (uintmax_t)SIZE_T_MAX) { in __fdnlist_aout()
128 strsize = (size_t)(st.st_size - stroff); in __fdnlist_aout()
130 fd, stroff); in __fdnlist_aout()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Drddbg.c131 bfd_size_type stroff, next_stroff; in read_section_stabs_debugging_info() local
166 stroff = 0; in read_section_stabs_debugging_info()
190 stroff = next_stroff; in read_section_stabs_debugging_info()
198 if (stroff + strx >= strsize) in read_section_stabs_debugging_info()
206 s = (char *) strings + stroff + strx; in read_section_stabs_debugging_info()
221 strx = stroff + bfd_get_32 (abfd, stab); in read_section_stabs_debugging_info()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Drddbg.c125 bfd_size_type stroff, next_stroff; in read_section_stabs_debugging_info() local
166 stroff = 0; in read_section_stabs_debugging_info()
189 stroff = next_stroff; in read_section_stabs_debugging_info()
197 if (stroff + strx >= strsize) in read_section_stabs_debugging_info()
205 s = (char *) strings + stroff + strx; in read_section_stabs_debugging_info()
220 strx = stroff + bfd_get_32 (abfd, stab); in read_section_stabs_debugging_info()
H A Dresbin.c284 rc_uint_type stroff; in bin_to_res_menuitems() local
298 stroff = 4; in bin_to_res_menuitems()
300 stroff = 2; in bin_to_res_menuitems()
302 if (length < stroff + 2) in bin_to_res_menuitems()
305 if (windres_get_16 (wrbfd, data + stroff, 2) == 0) in bin_to_res_menuitems()
311 mi->text = get_unicode (wrbfd, data + stroff, length - stroff, &slen); in bin_to_res_menuitems()
313 itemlen = stroff + slen * 2 + 2; in bin_to_res_menuitems()
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dobj-som.c215 unsigned int stroff; in obj_som_init_stab_section() local
250 stroff = get_stab_string_offset (file, "$GDB_STRINGS$", false); in obj_som_init_stab_section()
251 know (stroff == 1); in obj_som_init_stab_section()
252 md_number_to_chars (p, stroff, 4); in obj_som_init_stab_section()
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dobj-som.c215 unsigned int stroff; in obj_som_init_stab_section() local
250 stroff = get_stab_string_offset (file, stabstr); in obj_som_init_stab_section()
251 know (stroff == 1); in obj_som_init_stab_section()
252 md_number_to_chars (p, stroff, 4); in obj_som_init_stab_section()
/netbsd-src/usr.bin/crunch/crunchide/
H A Dexec_elf32.c184 Elf_Off stroff, maxoff; in ELFNAMEEND() local
201 maxoff = stroff = 0; in ELFNAMEEND()
216 stroff = shdrp[strtabsnum].sh_offset; in ELFNAMEEND()
230 if (!weird && stroff != maxoff) { in ELFNAMEEND()
/netbsd-src/sys/compat/linux/common/
H A Dlinux_exec_elf32.c121 const off_t stroff = sh[shstrndx].sh_offset; in ELFNAME2() local
128 error = exec_read(l, epp->ep_vp, stroff + s->sh_name, tbuf, in ELFNAME2()
246 const off_t stroff = sh[shstrndx].sh_offset; in ELFNAME2() local
253 error = exec_read(l, epp->ep_vp, stroff + s->sh_name, tbuf, in ELFNAME2()
307 const off_t stroff = sh[shstrndx].sh_offset; in ELFNAME2() local
314 error = exec_read(l, epp->ep_vp, stroff + s->sh_name, tbuf, in ELFNAME2()
/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_as.c96 ssize_t stroff; in dt_copyvar() local
103 stroff = dt_strtab_insert(pcb->pcb_strtab, idp->di_name); in dt_copyvar()
105 if (stroff == -1L) in dt_copyvar()
107 if (stroff > DIF_STROFF_MAX) in dt_copyvar()
110 dvp->dtdv_name = (uint_t)stroff; in dt_copyvar()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dstabs.c188 bfd_size_type stroff, next_stroff, skip; in _bfd_link_section_stabs() local
262 stroff = 0; in _bfd_link_section_stabs()
289 stroff = next_stroff; in _bfd_link_section_stabs()
303 symstroff = stroff + bfd_get_32 (abfd, sym + STRDXOFF); in _bfd_link_section_stabs()
362 + stroff in _bfd_link_section_stabs()
H A Dsyms.c959 bfd_size_type stroff; in _bfd_stab_section_find_nearest_line() local
1187 stroff = 0; in _bfd_stab_section_find_nearest_line()
1197 if ((bfd_size_type) ((info->strs + strsize) - str) < stroff) in _bfd_stab_section_find_nearest_line()
1199 str += stroff; in _bfd_stab_section_find_nearest_line()
1200 stroff = bfd_get_32 (abfd, stab + VALOFF); in _bfd_stab_section_find_nearest_line()
H A Dmach-o.h153 unsigned int stroff; member
487 unsigned long stroff; member
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dstabs.c161 bfd_size_type stroff, next_stroff, skip; in _bfd_link_section_stabs() local
233 stroff = 0; in _bfd_link_section_stabs()
260 stroff = next_stroff; in _bfd_link_section_stabs()
274 symstroff = stroff + bfd_get_32 (abfd, sym + STRDXOFF); in _bfd_link_section_stabs()
333 + stroff in _bfd_link_section_stabs()
H A Dsyms.c945 bfd_size_type stroff; in _bfd_stab_section_find_nearest_line() local
1161 stroff = 0; in _bfd_stab_section_find_nearest_line()
1171 if ((bfd_size_type) ((info->strs + strsize) - str) < stroff) in _bfd_stab_section_find_nearest_line()
1173 str += stroff; in _bfd_stab_section_find_nearest_line()
1174 stroff = bfd_get_32 (abfd, stab + VALOFF); in _bfd_stab_section_find_nearest_line()
H A Dmach-o.h153 unsigned int stroff; member
487 unsigned long stroff; member
/netbsd-src/sbin/restore/
H A Dsymtab.c455 long mynum = 1, stroff = 0; in dumpsymtable() local
483 stroff = 0; in dumpsymtable()
487 tep->e_name = (char *)stroff; in dumpsymtable()
488 stroff += allocsize(ep->e_namlen); in dumpsymtable()
519 hdr.stringsize = stroff; in dumpsymtable()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A DMachOWriter.cpp46 if (SymTabCommand.stroff) in totalSize()
47 Ends.push_back(SymTabCommand.stroff + SymTabCommand.strsize); in totalSize()
304 uint8_t *StrTable = (uint8_t *)Buf->getBufferStart() + SymTabCommand.stroff; in writeStringTable()
440 if (SymTabCommand.stroff) in writeTail()
441 Queue.push_back({SymTabCommand.stroff, &MachOWriter::writeStringTable}); in writeTail()
/netbsd-src/external/gpl3/binutils/dist/gas/
H A Dstabs.c344 unsigned int stroff; in s_stab_generic() local
347 stroff = get_stab_string_offset (string, stabstr); in s_stab_generic()
361 md_number_to_chars (p, (valueT) stroff, 4); in s_stab_generic()
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A Dstabs.c314 unsigned int stroff; in s_stab_generic() local
346 stroff = get_stab_string_offset (string, stabstr_secname, in s_stab_generic()
363 md_number_to_chars (p, (valueT) stroff, 4); in s_stab_generic()
/netbsd-src/sys/arch/hpc/stand/hpcboot/
H A Dload_elf.h48 off_t stroff; member
H A Dload_elf.cpp230 _sym_blk.stroff = sh->sh_offset; in symbol_block_size()
289 _load_segment(kv, sz, _sym_blk.stroff, sz); in load_symbol_block()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dctfout.cc474 uint32_t stroff = 0; in output_ctf_header() local
498 stroff = typeoff + typeslen; in output_ctf_header()
517 dw2_asm_output_data (4, stroff, "cth_stroff"); in output_ctf_header()
/netbsd-src/sys/dev/
H A Dkloader.c316 off_t symoff, stroff; in kloader_load() local
320 stroff = sh[strndx].sh_offset; in kloader_load()
358 kloader_from_file(kv, stroff, ROUND4(sh[strndx].sh_size)); in kloader_load()
/netbsd-src/usr.bin/elf2ecoff/
H A Delf2ecoff.c626 off_t stroff, off_t strsize) in elf_read_syms() argument
649 saveRead(in, stroff, strsize, "ELF string table"); in elf_read_syms()
656 off_t symoff, off_t symsize, off_t stroff, off_t strsize) in elf_symbol_table_to_ecoff() argument
668 elf_read_syms(&elfsymtab, in, symoff, symsize, stroff, strsize); in elf_symbol_table_to_ecoff()
/netbsd-src/external/gpl3/gcc/dist/libbacktrace/
H A Dmacho.c198 uint32_t stroff; /* File offset of string table */ member
513 off_t symoff, unsigned int nsyms, off_t stroff, in macho_add_symtab() argument
545 if (!backtrace_get_view (state, descriptor, stroff, strsize, in macho_add_symtab()
1144 offset + symcmd.stroff, symcmd.strsize, in macho_add()

123