| /dflybsd-src/contrib/binutils-2.34/libctf/ |
| H A D | ctf-string.c | 26 ctf_strraw_explicit (ctf_file_t *fp, uint32_t name, ctf_strs_t *strtab) in ctf_strraw_explicit() argument 30 if ((CTF_NAME_STID (name) == CTF_STRTAB_0) && (strtab != NULL)) in ctf_strraw_explicit() 31 ctsp = strtab; in ctf_strraw_explicit() 338 ctf_strs_writable_t *strtab; member 375 s->strtab->cts_len += strlen (atom->csa_str) + 1; in ctf_str_count_strtab() 415 ctf_strs_writable_t strtab; in ctf_str_write_strtab() local 423 memset (&strtab, 0, sizeof (struct ctf_strs_writable)); in ctf_str_write_strtab() 425 s.strtab = &strtab; in ctf_str_write_strtab() 431 strtab.cts_strs = NULL; in ctf_str_write_strtab() 432 return strtab; in ctf_str_write_strtab() [all …]
|
| H A D | ctf-open-bfd.c | 141 const char *strtab = NULL; in ctf_bfdopen_ctfsect() local 165 if ((strtab = bfd_elf_get_str_section (abfd, symhdr->sh_link)) == NULL) in ctf_bfdopen_ctfsect() 172 strtab = (const char *) strhdr->contents; in ctf_bfdopen_ctfsect() 175 if (strtab) in ctf_bfdopen_ctfsect() 181 strsect.cts_data = strtab; in ctf_bfdopen_ctfsect()
|
| /dflybsd-src/contrib/binutils-2.34/gold/ |
| H A D | binary.cc | 169 Stringpool strtab; in sized_convert() local 170 strtab.add(start_symbol_name.c_str(), false, NULL); in sized_convert() 171 strtab.add(end_symbol_name.c_str(), false, NULL); in sized_convert() 172 strtab.add(size_symbol_name.c_str(), false, NULL); in sized_convert() 173 strtab.set_string_offsets(); in sized_convert() 196 output_size += strtab.get_strtab_size(); in sized_convert() 228 strtab.get_strtab_size(), in sized_convert() 244 this->write_symbol<size, big_endian>("", &strtab, 0, 0, 0, &pout); in sized_convert() 245 this->write_symbol<size, big_endian>(start_symbol_name, &strtab, 0, filesize, in sized_convert() 247 this->write_symbol<size, big_endian>(end_symbol_name, &strtab, filesize, 0, in sized_convert() [all …]
|
| H A D | incremental.cc | 90 Stringpool* strtab); 95 Stringpool* strtab, unsigned int* global_syms, 276 elfcpp::Elf_strtab strtab(strtab_view.data(), strtab_location.data_size); in setup_readers() local 279 Incremental_inputs_reader<size, big_endian>(inputs_view.data(), strtab); in setup_readers() 584 elfcpp::Elf_strtab strtab(NULL, 0); in do_reserve_layout() local 585 this->get_symtab_view(&symtab_view, &symtab_count, &strtab); in do_reserve_layout() 836 elfcpp::Elf_strtab* strtab) in get_symtab_view() argument 842 *strtab = elfcpp::Elf_strtab(strtab_view.data(), in get_symtab_view() 1055 Unused_symbol_visitor(Incremental_archive_entry* entry, Stringpool* strtab) in Unused_symbol_visitor() argument 1056 : entry_(entry), strtab_(strtab) in Unused_symbol_visitor() [all …]
|
| /dflybsd-src/contrib/binutils-2.27/gold/ |
| H A D | binary.cc | 169 Stringpool strtab; in sized_convert() local 170 strtab.add(start_symbol_name.c_str(), false, NULL); in sized_convert() 171 strtab.add(end_symbol_name.c_str(), false, NULL); in sized_convert() 172 strtab.add(size_symbol_name.c_str(), false, NULL); in sized_convert() 173 strtab.set_string_offsets(); in sized_convert() 196 output_size += strtab.get_strtab_size(); in sized_convert() 228 strtab.get_strtab_size(), in sized_convert() 244 this->write_symbol<size, big_endian>("", &strtab, 0, 0, 0, &pout); in sized_convert() 245 this->write_symbol<size, big_endian>(start_symbol_name, &strtab, 0, filesize, in sized_convert() 247 this->write_symbol<size, big_endian>(end_symbol_name, &strtab, filesize, 0, in sized_convert() [all …]
|
| H A D | incremental.cc | 90 Stringpool* strtab); 95 Stringpool* strtab, unsigned int* global_syms, 275 elfcpp::Elf_strtab strtab(strtab_view.data(), strtab_location.data_size); in setup_readers() local 278 Incremental_inputs_reader<size, big_endian>(inputs_view.data(), strtab); in setup_readers() 579 elfcpp::Elf_strtab strtab(NULL, 0); in do_reserve_layout() local 580 this->get_symtab_view(&symtab_view, &symtab_count, &strtab); in do_reserve_layout() 831 elfcpp::Elf_strtab* strtab) in get_symtab_view() argument 837 *strtab = elfcpp::Elf_strtab(strtab_view.data(), in get_symtab_view() 1050 Unused_symbol_visitor(Incremental_archive_entry* entry, Stringpool* strtab) in Unused_symbol_visitor() argument 1051 : entry_(entry), strtab_(strtab) in Unused_symbol_visitor() [all …]
|
| /dflybsd-src/lib/libevtr/ |
| H A D | ktrfmt.l | 18 static struct symtab *strtab; variable 49 if (!strtab) in newstr() 50 strtab = symtab_new(); in newstr() 51 if ((r = symtab_find(strtab, s))) in newstr() 55 symtab_insert(strtab, r, r); in newstr()
|
| /dflybsd-src/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_ar.c | 61 char *strtab; member 113 ar->strtab = NULL; in archive_read_support_format_ar() 141 free(ar->strtab); in archive_read_format_ar_cleanup() 272 if (ar->strtab != NULL) { in _ar_read_header() 285 ar->strtab = st; in _ar_read_header() 317 if (ar->strtab == NULL || number >= ar->strtab_size) { in _ar_read_header() 326 archive_entry_copy_pathname(entry, &ar->strtab[(size_t)number]); in _ar_read_header() 561 for (p = ar->strtab; p < ar->strtab + size - 1; ++p) { in ar_parse_gnu_filename_table() 573 if (p != ar->strtab + size && *p != '\n' && *p != '`') in ar_parse_gnu_filename_table() 577 ar->strtab[size - 1] = '\0'; in ar_parse_gnu_filename_table() [all …]
|
| H A D | archive_write_set_format_ar.c | 53 char *strtab; member 260 ss = strstr(ar->strtab, se); in archive_write_ar_header() 275 if (format_decimal(ss - ar->strtab, in archive_write_ar_header() 383 ar->strtab = (char *)malloc(s + 1); in archive_write_ar_data() 384 if (ar->strtab == NULL) { in archive_write_ar_data() 389 memcpy(ar->strtab, buff, s); in archive_write_ar_data() 390 ar->strtab[s] = '\0'; in archive_write_ar_data() 413 free(ar->strtab); in archive_write_ar_free() 414 ar->strtab = NULL; in archive_write_ar_free()
|
| /dflybsd-src/contrib/gcc-8.0/libiberty/ |
| H A D | simple-object-xcoff.c | 372 char *strtab; in simple_object_xcoff_read_strtab() local 380 strtab = XNEWVEC (char, strsize); in simple_object_xcoff_read_strtab() 382 (unsigned char *) strtab, strsize, errmsg, in simple_object_xcoff_read_strtab() 385 XDELETEVEC (strtab); in simple_object_xcoff_read_strtab() 389 return strtab; in simple_object_xcoff_read_strtab() 411 char *strtab; in simple_object_xcoff_find_sections() local 432 strtab = NULL; in simple_object_xcoff_find_sections() 458 if (strtab == NULL) in simple_object_xcoff_find_sections() 460 strtab = simple_object_xcoff_read_strtab (sobj, in simple_object_xcoff_find_sections() 463 if (strtab == NULL) in simple_object_xcoff_find_sections() [all …]
|
| H A D | simple-object-coff.c | 309 char *strtab; in simple_object_coff_read_strtab() local 319 strtab = XNEWVEC (char, strsize); in simple_object_coff_read_strtab() 321 (unsigned char *) strtab, strsize, errmsg, in simple_object_coff_read_strtab() 324 XDELETEVEC (strtab); in simple_object_coff_read_strtab() 328 return strtab; in simple_object_coff_read_strtab() 347 char *strtab; in simple_object_coff_find_sections() local 367 strtab = NULL; in simple_object_coff_find_sections() 393 if (strtab == NULL) in simple_object_coff_find_sections() 395 strtab = simple_object_coff_read_strtab (sobj, in simple_object_coff_find_sections() 398 if (strtab == NULL) in simple_object_coff_find_sections() [all …]
|
| H A D | simple-object-mach-o.c | 427 char *strtab; in simple_object_mach_o_segment() local 591 strtab = XNEWVEC (char, strtab_size); in simple_object_mach_o_segment() 594 (unsigned char *) strtab, strtab_size, in simple_object_mach_o_segment() 597 XDELETEVEC (strtab); in simple_object_mach_o_segment() 606 strtab = NULL; in simple_object_mach_o_segment() 663 XDELETEVEC (strtab); in simple_object_mach_o_segment() 678 if (strtab != NULL && name[0] == '_' && name[1] == '_') in simple_object_mach_o_segment() 690 XDELETEVEC (strtab); in simple_object_mach_o_segment() 695 name = strtab + stringoffset; in simple_object_mach_o_segment() 722 XDELETEVEC (strtab); in simple_object_mach_o_segment() [all …]
|
| /dflybsd-src/contrib/binutils-2.34/libiberty/ |
| H A D | simple-object-xcoff.c | 372 char *strtab; in simple_object_xcoff_read_strtab() local 380 strtab = XNEWVEC (char, strsize); in simple_object_xcoff_read_strtab() 382 (unsigned char *) strtab, strsize, errmsg, in simple_object_xcoff_read_strtab() 385 XDELETEVEC (strtab); in simple_object_xcoff_read_strtab() 389 return strtab; in simple_object_xcoff_read_strtab() 411 char *strtab; in simple_object_xcoff_find_sections() local 432 strtab = NULL; in simple_object_xcoff_find_sections() 458 if (strtab == NULL) in simple_object_xcoff_find_sections() 460 strtab = simple_object_xcoff_read_strtab (sobj, in simple_object_xcoff_find_sections() 463 if (strtab == NULL) in simple_object_xcoff_find_sections() [all …]
|
| H A D | simple-object-coff.c | 309 char *strtab; in simple_object_coff_read_strtab() local 319 strtab = XNEWVEC (char, strsize); in simple_object_coff_read_strtab() 321 (unsigned char *) strtab, strsize, errmsg, in simple_object_coff_read_strtab() 324 XDELETEVEC (strtab); in simple_object_coff_read_strtab() 328 return strtab; in simple_object_coff_read_strtab() 347 char *strtab; in simple_object_coff_find_sections() local 367 strtab = NULL; in simple_object_coff_find_sections() 393 if (strtab == NULL) in simple_object_coff_find_sections() 395 strtab = simple_object_coff_read_strtab (sobj, in simple_object_coff_find_sections() 398 if (strtab == NULL) in simple_object_coff_find_sections() [all …]
|
| H A D | simple-object-mach-o.c | 427 char *strtab; in simple_object_mach_o_segment() local 591 strtab = XNEWVEC (char, strtab_size); in simple_object_mach_o_segment() 594 (unsigned char *) strtab, strtab_size, in simple_object_mach_o_segment() 597 XDELETEVEC (strtab); in simple_object_mach_o_segment() 606 strtab = NULL; in simple_object_mach_o_segment() 663 XDELETEVEC (strtab); in simple_object_mach_o_segment() 678 if (strtab != NULL && name[0] == '_' && name[1] == '_') in simple_object_mach_o_segment() 690 XDELETEVEC (strtab); in simple_object_mach_o_segment() 695 name = strtab + stringoffset; in simple_object_mach_o_segment() 722 XDELETEVEC (strtab); in simple_object_mach_o_segment() [all …]
|
| /dflybsd-src/contrib/gcc-4.7/libiberty/ |
| H A D | simple-object-coff.c | 309 char *strtab; in simple_object_coff_read_strtab() local 319 strtab = XNEWVEC (char, strsize); in simple_object_coff_read_strtab() 321 (unsigned char *) strtab, strsize, errmsg, in simple_object_coff_read_strtab() 324 XDELETEVEC (strtab); in simple_object_coff_read_strtab() 328 return strtab; in simple_object_coff_read_strtab() 347 char *strtab; in simple_object_coff_find_sections() local 367 strtab = NULL; in simple_object_coff_find_sections() 393 if (strtab == NULL) in simple_object_coff_find_sections() 395 strtab = simple_object_coff_read_strtab (sobj, in simple_object_coff_find_sections() 398 if (strtab == NULL) in simple_object_coff_find_sections() [all …]
|
| H A D | simple-object-mach-o.c | 427 char *strtab; in simple_object_mach_o_segment() local 591 strtab = XNEWVEC (char, strtab_size); in simple_object_mach_o_segment() 594 (unsigned char *) strtab, strtab_size, in simple_object_mach_o_segment() 597 XDELETEVEC (strtab); in simple_object_mach_o_segment() 606 strtab = NULL; in simple_object_mach_o_segment() 663 XDELETEVEC (strtab); in simple_object_mach_o_segment() 678 if (strtab != NULL && name[0] == '_' && name[1] == '_') in simple_object_mach_o_segment() 690 XDELETEVEC (strtab); in simple_object_mach_o_segment() 695 name = strtab + stringoffset; in simple_object_mach_o_segment() 721 XDELETEVEC (strtab); in simple_object_mach_o_segment() [all …]
|
| /dflybsd-src/contrib/gdb-7/libiberty/ |
| H A D | simple-object-xcoff.c | 366 char *strtab; in simple_object_xcoff_read_strtab() local 374 strtab = XNEWVEC (char, strsize); in simple_object_xcoff_read_strtab() 376 (unsigned char *) strtab, strsize, errmsg, in simple_object_xcoff_read_strtab() 379 XDELETEVEC (strtab); in simple_object_xcoff_read_strtab() 383 return strtab; in simple_object_xcoff_read_strtab() 404 char *strtab; in simple_object_xcoff_find_sections() local 423 strtab = NULL; in simple_object_xcoff_find_sections() 449 if (strtab == NULL) in simple_object_xcoff_find_sections() 451 strtab = simple_object_xcoff_read_strtab (sobj, in simple_object_xcoff_find_sections() 454 if (strtab == NULL) in simple_object_xcoff_find_sections() [all …]
|
| H A D | simple-object-coff.c | 309 char *strtab; in simple_object_coff_read_strtab() local 319 strtab = XNEWVEC (char, strsize); in simple_object_coff_read_strtab() 321 (unsigned char *) strtab, strsize, errmsg, in simple_object_coff_read_strtab() 324 XDELETEVEC (strtab); in simple_object_coff_read_strtab() 328 return strtab; in simple_object_coff_read_strtab() 347 char *strtab; in simple_object_coff_find_sections() local 367 strtab = NULL; in simple_object_coff_find_sections() 393 if (strtab == NULL) in simple_object_coff_find_sections() 395 strtab = simple_object_coff_read_strtab (sobj, in simple_object_coff_find_sections() 398 if (strtab == NULL) in simple_object_coff_find_sections() [all …]
|
| H A D | simple-object-mach-o.c | 427 char *strtab; in simple_object_mach_o_segment() local 591 strtab = XNEWVEC (char, strtab_size); in simple_object_mach_o_segment() 594 (unsigned char *) strtab, strtab_size, in simple_object_mach_o_segment() 597 XDELETEVEC (strtab); in simple_object_mach_o_segment() 606 strtab = NULL; in simple_object_mach_o_segment() 663 XDELETEVEC (strtab); in simple_object_mach_o_segment() 678 if (strtab != NULL && name[0] == '_' && name[1] == '_') in simple_object_mach_o_segment() 690 XDELETEVEC (strtab); in simple_object_mach_o_segment() 695 name = strtab + stringoffset; in simple_object_mach_o_segment() 722 XDELETEVEC (strtab); in simple_object_mach_o_segment() [all …]
|
| /dflybsd-src/contrib/binutils-2.27/libiberty/ |
| H A D | simple-object-coff.c | 309 char *strtab; in simple_object_coff_read_strtab() local 319 strtab = XNEWVEC (char, strsize); in simple_object_coff_read_strtab() 321 (unsigned char *) strtab, strsize, errmsg, in simple_object_coff_read_strtab() 324 XDELETEVEC (strtab); in simple_object_coff_read_strtab() 328 return strtab; in simple_object_coff_read_strtab() 347 char *strtab; in simple_object_coff_find_sections() local 367 strtab = NULL; in simple_object_coff_find_sections() 393 if (strtab == NULL) in simple_object_coff_find_sections() 395 strtab = simple_object_coff_read_strtab (sobj, in simple_object_coff_find_sections() 398 if (strtab == NULL) in simple_object_coff_find_sections() [all …]
|
| H A D | simple-object-xcoff.c | 366 char *strtab; in simple_object_xcoff_read_strtab() local 374 strtab = XNEWVEC (char, strsize); in simple_object_xcoff_read_strtab() 376 (unsigned char *) strtab, strsize, errmsg, in simple_object_xcoff_read_strtab() 379 XDELETEVEC (strtab); in simple_object_xcoff_read_strtab() 383 return strtab; in simple_object_xcoff_read_strtab() 404 char *strtab; in simple_object_xcoff_find_sections() local 423 strtab = NULL; in simple_object_xcoff_find_sections() 449 if (strtab == NULL) in simple_object_xcoff_find_sections() 451 strtab = simple_object_xcoff_read_strtab (sobj, in simple_object_xcoff_find_sections() 454 if (strtab == NULL) in simple_object_xcoff_find_sections() [all …]
|
| H A D | simple-object-mach-o.c | 427 char *strtab; in simple_object_mach_o_segment() local 591 strtab = XNEWVEC (char, strtab_size); in simple_object_mach_o_segment() 594 (unsigned char *) strtab, strtab_size, in simple_object_mach_o_segment() 597 XDELETEVEC (strtab); in simple_object_mach_o_segment() 606 strtab = NULL; in simple_object_mach_o_segment() 663 XDELETEVEC (strtab); in simple_object_mach_o_segment() 678 if (strtab != NULL && name[0] == '_' && name[1] == '_') in simple_object_mach_o_segment() 690 XDELETEVEC (strtab); in simple_object_mach_o_segment() 695 name = strtab + stringoffset; in simple_object_mach_o_segment() 722 XDELETEVEC (strtab); in simple_object_mach_o_segment() [all …]
|
| /dflybsd-src/lib/libc/gen/ |
| H A D | nlist.c | 104 caddr_t strtab, a_out_mmap; in __aout_fdnlist() local 147 strtab = a_out_mmap + stroff; in __aout_fdnlist() 178 if (!strcmp(&strtab[soff], p->n_un.n_name)) { in __aout_fdnlist() 238 char *strtab = NULL; in __elf_fdnlist() local 303 strtab = (char *)base; in __elf_fdnlist() 342 name = strtab + s->st_name; in __elf_fdnlist() 359 if (strtab != NULL) in __elf_fdnlist() 360 munmap(strtab, symstrsize); in __elf_fdnlist()
|
| /dflybsd-src/sbin/ldconfig/ |
| H A D | elfhints.c | 194 char *strtab; in read_elf_hints() local 224 strtab = (char *)mapbase + hdr->strtab; in read_elf_hints() 225 dirlist = strtab + hdr->dirlist; in read_elf_hints() 272 hdr.strtab = sizeof hdr; in write_elf_hints()
|