Home
last modified time | relevance | path

Searched refs:strtab_size (Results 1 – 25 of 29) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dsimple-object-xcoff.c364 simple_object_xcoff_read_strtab (simple_object_read *sobj, size_t *strtab_size, in simple_object_xcoff_read_strtab() argument
388 *strtab_size = strsize; in simple_object_xcoff_read_strtab()
412 size_t strtab_size; in simple_object_xcoff_find_sections() local
433 strtab_size = 0; in simple_object_xcoff_find_sections()
461 &strtab_size, in simple_object_xcoff_find_sections()
470 if (strindex < 4 || strindex >= strtab_size) in simple_object_xcoff_find_sections()
567 &strtab_size, in simple_object_xcoff_find_sections()
577 if (n_offset >= strtab_size) in simple_object_xcoff_find_sections()
H A Dsimple-object-coff.c301 simple_object_coff_read_strtab (simple_object_read *sobj, size_t *strtab_size, in simple_object_coff_read_strtab() argument
327 *strtab_size = strsize; in simple_object_coff_read_strtab()
348 size_t strtab_size; in simple_object_coff_find_sections() local
368 strtab_size = 0; in simple_object_coff_find_sections()
396 &strtab_size, in simple_object_coff_find_sections()
405 if (strindex < 4 || strindex >= strtab_size) in simple_object_coff_find_sections()
H A Dsimple-object-mach-o.c430 size_t strtab_size; in simple_object_mach_o_segment() local
590 &strtab_offset, &strtab_size); in simple_object_mach_o_segment()
591 strtab = XNEWVEC (char, strtab_size); in simple_object_mach_o_segment()
594 (unsigned char *) strtab, strtab_size, in simple_object_mach_o_segment()
607 strtab_size = 0; in simple_object_mach_o_segment()
684 if (stringoffset >= strtab_size) in simple_object_mach_o_segment()
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dsimple-object-xcoff.c364 simple_object_xcoff_read_strtab (simple_object_read *sobj, size_t *strtab_size, in simple_object_xcoff_read_strtab() argument
388 *strtab_size = strsize; in simple_object_xcoff_read_strtab()
412 size_t strtab_size; in simple_object_xcoff_find_sections() local
433 strtab_size = 0; in simple_object_xcoff_find_sections()
461 &strtab_size, in simple_object_xcoff_find_sections()
470 if (strindex < 4 || strindex >= strtab_size) in simple_object_xcoff_find_sections()
567 &strtab_size, in simple_object_xcoff_find_sections()
577 if (n_offset >= strtab_size) in simple_object_xcoff_find_sections()
H A Dsimple-object-coff.c301 simple_object_coff_read_strtab (simple_object_read *sobj, size_t *strtab_size, in simple_object_coff_read_strtab() argument
327 *strtab_size = strsize; in simple_object_coff_read_strtab()
348 size_t strtab_size; in simple_object_coff_find_sections() local
368 strtab_size = 0; in simple_object_coff_find_sections()
396 &strtab_size, in simple_object_coff_find_sections()
405 if (strindex < 4 || strindex >= strtab_size) in simple_object_coff_find_sections()
H A Dsimple-object-mach-o.c430 size_t strtab_size; in simple_object_mach_o_segment() local
590 &strtab_offset, &strtab_size); in simple_object_mach_o_segment()
591 strtab = XNEWVEC (char, strtab_size); in simple_object_mach_o_segment()
594 (unsigned char *) strtab, strtab_size, in simple_object_mach_o_segment()
607 strtab_size = 0; in simple_object_mach_o_segment()
684 if (stringoffset >= strtab_size) in simple_object_mach_o_segment()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dsimple-object-xcoff.c364 simple_object_xcoff_read_strtab (simple_object_read *sobj, size_t *strtab_size, in simple_object_xcoff_read_strtab() argument
388 *strtab_size = strsize; in simple_object_xcoff_read_strtab()
412 size_t strtab_size; in simple_object_xcoff_find_sections() local
433 strtab_size = 0; in simple_object_xcoff_find_sections()
461 &strtab_size, in simple_object_xcoff_find_sections()
470 if (strindex < 4 || strindex >= strtab_size) in simple_object_xcoff_find_sections()
567 &strtab_size, in simple_object_xcoff_find_sections()
577 if (n_offset >= strtab_size) in simple_object_xcoff_find_sections()
H A Dsimple-object-coff.c301 simple_object_coff_read_strtab (simple_object_read *sobj, size_t *strtab_size, in simple_object_coff_read_strtab() argument
327 *strtab_size = strsize; in simple_object_coff_read_strtab()
348 size_t strtab_size; in simple_object_coff_find_sections() local
368 strtab_size = 0; in simple_object_coff_find_sections()
396 &strtab_size, in simple_object_coff_find_sections()
405 if (strindex < 4 || strindex >= strtab_size) in simple_object_coff_find_sections()
H A Dsimple-object-mach-o.c430 size_t strtab_size; in simple_object_mach_o_segment() local
590 &strtab_offset, &strtab_size); in simple_object_mach_o_segment()
591 strtab = XNEWVEC (char, strtab_size); in simple_object_mach_o_segment()
594 (unsigned char *) strtab, strtab_size, in simple_object_mach_o_segment()
607 strtab_size = 0; in simple_object_mach_o_segment()
684 if (stringoffset >= strtab_size) in simple_object_mach_o_segment()
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dsimple-object-xcoff.c364 simple_object_xcoff_read_strtab (simple_object_read *sobj, size_t *strtab_size, in simple_object_xcoff_read_strtab() argument
388 *strtab_size = strsize; in simple_object_xcoff_read_strtab()
412 size_t strtab_size; in simple_object_xcoff_find_sections() local
433 strtab_size = 0; in simple_object_xcoff_find_sections()
461 &strtab_size, in simple_object_xcoff_find_sections()
470 if (strindex < 4 || strindex >= strtab_size) in simple_object_xcoff_find_sections()
567 &strtab_size, in simple_object_xcoff_find_sections()
577 if (n_offset >= strtab_size) in simple_object_xcoff_find_sections()
H A Dsimple-object-coff.c301 simple_object_coff_read_strtab (simple_object_read *sobj, size_t *strtab_size, in simple_object_coff_read_strtab() argument
327 *strtab_size = strsize; in simple_object_coff_read_strtab()
348 size_t strtab_size; in simple_object_coff_find_sections() local
368 strtab_size = 0; in simple_object_coff_find_sections()
396 &strtab_size, in simple_object_coff_find_sections()
405 if (strindex < 4 || strindex >= strtab_size) in simple_object_coff_find_sections()
H A Dsimple-object-mach-o.c430 size_t strtab_size; in simple_object_mach_o_segment() local
590 &strtab_offset, &strtab_size); in simple_object_mach_o_segment()
591 strtab = XNEWVEC (char, strtab_size); in simple_object_mach_o_segment()
594 (unsigned char *) strtab, strtab_size, in simple_object_mach_o_segment()
607 strtab_size = 0; in simple_object_mach_o_segment()
684 if (stringoffset >= strtab_size) in simple_object_mach_o_segment()
/netbsd-src/external/gpl3/gcc.old/dist/libbacktrace/
H A Dxcoff.c565 const unsigned char *strtab, size_t strtab_size) in xcoff_symname() argument
579 if (asym->n_offset_ >= strtab_size) in xcoff_symname()
591 const unsigned char *strtab, size_t strtab_size, in xcoff_initialize_syminfo() argument
630 xcoff_symbols[j].name = xcoff_symname (asym, strtab, strtab_size); in xcoff_initialize_syminfo()
867 const unsigned char *strtab, size_t strtab_size, in xcoff_initialize_fileline() argument
920 incl->filename = xcoff_symname (asym, strtab, strtab_size); in xcoff_initialize_fileline()
929 filename = xcoff_symname (asym, strtab, strtab_size); in xcoff_initialize_fileline()
950 else if (aux->x_file._x.x_offset < strtab_size) in xcoff_initialize_fileline()
983 name = xcoff_symname (asym, strtab, strtab_size); in xcoff_initialize_fileline()
1002 fn->name = xcoff_symname (fsym, strtab, strtab_size); in xcoff_initialize_fileline()
H A Dpecoff.c297 const unsigned char *strtab, size_t strtab_size) in coff_expand_symbol() argument
311 if (off >= strtab_size) in coff_expand_symbol()
336 const unsigned char *strtab, size_t strtab_size, in coff_initialize_syminfo() argument
361 if (coff_expand_symbol (&isym, asym, sects_num, strtab, strtab_size) < 0) in coff_initialize_syminfo()
407 if (coff_expand_symbol (&isym, asym, sects_num, strtab, strtab_size)) in coff_initialize_syminfo()
/netbsd-src/external/gpl3/gcc/dist/libbacktrace/
H A Dxcoff.c566 const unsigned char *strtab, size_t strtab_size) in xcoff_symname() argument
580 if (asym->n_offset_ >= strtab_size) in xcoff_symname()
591 const unsigned char *strtab, size_t strtab_size, in xcoff_initialize_syminfo() argument
630 xcoff_symbols[j].name = xcoff_symname (asym, strtab, strtab_size); in xcoff_initialize_syminfo()
866 const unsigned char *strtab, size_t strtab_size, in xcoff_initialize_fileline() argument
919 incl->filename = xcoff_symname (asym, strtab, strtab_size); in xcoff_initialize_fileline()
928 filename = xcoff_symname (asym, strtab, strtab_size); in xcoff_initialize_fileline()
949 else if (aux->x_file._x.x_offset < strtab_size) in xcoff_initialize_fileline()
982 name = xcoff_symname (asym, strtab, strtab_size); in xcoff_initialize_fileline()
1001 fn->name = xcoff_symname (fsym, strtab, strtab_size); in xcoff_initialize_fileline()
H A Dpecoff.c297 const unsigned char *strtab, size_t strtab_size) in coff_expand_symbol() argument
311 if (off >= strtab_size) in coff_expand_symbol()
336 const unsigned char *strtab, size_t strtab_size, in coff_initialize_syminfo() argument
361 if (coff_expand_symbol (&isym, asym, sects_num, strtab, strtab_size) < 0) in coff_initialize_syminfo()
407 if (coff_expand_symbol (&isym, asym, sects_num, strtab, strtab_size)) in coff_initialize_syminfo()
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dstrtab.h60 extern size_t strtab_size(const strtab_t *);
H A Dstrtab.c205 strtab_size(const strtab_t *sp) in strtab_size() function
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Ddynobj.cc253 off_t strtab_size) in read_dynamic() argument
280 strtab_size = strtabshdr.get_sh_size(); in read_dynamic()
281 strtabu = this->get_view(strtabshdr.get_sh_offset(), strtab_size, false, in read_dynamic()
303 if (val >= strtab_size) in read_dynamic()
306 static_cast<long long>(strtab_size)); in read_dynamic()
315 if (val >= strtab_size) in read_dynamic()
318 static_cast<long long>(strtab_size)); in read_dynamic()
H A Dobject.cc2310 section_size_type strtab_size; in do_count_local_symbols() local
2312 &strtab_size, in do_count_local_symbols()
2373 if (sym.get_st_name() >= strtab_size) in do_count_local_symbols()
2377 static_cast<unsigned int>(strtab_size)); in do_count_local_symbols()
2783 section_size_type strtab_size; in write_local_symbols() local
2785 &strtab_size, in write_local_symbols()
2840 gold_assert(isym.get_st_name() < strtab_size); in write_local_symbols()
2858 gold_assert(isym.get_st_name() < strtab_size); in write_local_symbols()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Ddynobj.cc253 off_t strtab_size) in read_dynamic() argument
280 strtab_size = strtabshdr.get_sh_size(); in read_dynamic()
281 strtabu = this->get_view(strtabshdr.get_sh_offset(), strtab_size, false, in read_dynamic()
303 if (val >= strtab_size) in read_dynamic()
306 static_cast<long long>(strtab_size)); in read_dynamic()
315 if (val >= strtab_size) in read_dynamic()
318 static_cast<long long>(strtab_size)); in read_dynamic()
H A Dobject.cc2310 section_size_type strtab_size; in do_count_local_symbols() local
2312 &strtab_size, in do_count_local_symbols()
2373 if (sym.get_st_name() >= strtab_size) in do_count_local_symbols()
2377 static_cast<unsigned int>(strtab_size)); in do_count_local_symbols()
2783 section_size_type strtab_size; in write_local_symbols() local
2785 &strtab_size, in write_local_symbols()
2840 gold_assert(isym.get_st_name() < strtab_size); in write_local_symbols()
2858 gold_assert(isym.get_st_name() < strtab_size); in write_local_symbols()
H A Ddynobj.h327 off_t strtab_size);
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dreadelf.c402 valid_symbol_name (const char *strtab, size_t strtab_size, uint64_t offset) in valid_symbol_name() argument
404 return strtab != NULL && offset < strtab_size; in valid_symbol_name()
7861 size_t strtab_size; in process_section_groups() local
7935 strtab_size = 0; in process_section_groups()
7999 strtab_size = 0; in process_section_groups()
8009 strtab_size = 0; in process_section_groups()
8020 strtab_size = strtab != NULL ? strtab_sec->sh_size : 0; in process_section_groups()
8022 group_name = sym->st_name < strtab_size in process_section_groups()
8542 unsigned long strtab_size, in find_symbol_for_address() argument
8585 *symname = (best->st_name >= strtab_size in find_symbol_for_address()
[all …]
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dreadelf.c439 valid_symbol_name (const char *strtab, size_t strtab_size, uint64_t offset) in valid_symbol_name() argument
441 return strtab != NULL && offset < strtab_size; in valid_symbol_name()
8408 size_t strtab_size; in process_section_groups() local
8481 strtab_size = 0; in process_section_groups()
8545 strtab_size = 0; in process_section_groups()
8555 strtab_size = 0; in process_section_groups()
8566 strtab_size = strtab != NULL ? strtab_sec->sh_size : 0; in process_section_groups()
8568 group_name = sym->st_name < strtab_size in process_section_groups()
9092 uint64_t strtab_size, in find_symbol_for_address() argument
9135 *symname = (best->st_name >= strtab_size in find_symbol_for_address()
[all …]

12