Home
last modified time | relevance | path

Searched refs:strtab (Results 1 – 25 of 69) sorted by relevance

123

/dragonfly/contrib/binutils-2.34/libctf/
H A Dctf-string.c31 ctsp = strtab; in ctf_strraw_explicit()
338 ctf_strs_writable_t *strtab; member
415 ctf_strs_writable_t strtab; in ctf_str_write_strtab() local
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()
455 if ((strtab.cts_strs = malloc (strtab.cts_len)) == NULL) in ctf_str_write_strtab()
511 return strtab; in ctf_str_write_strtab()
514 free (strtab.cts_strs); in ctf_str_write_strtab()
515 strtab.cts_strs = NULL; in ctf_str_write_strtab()
[all …]
H A Dctf-open-bfd.c141 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()
/dragonfly/contrib/binutils-2.34/gold/
H A Dbinary.cc169 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()
252 strtab.write_to_buffer(pout, strtab.get_strtab_size()); in sized_convert()
253 pout += strtab.get_strtab_size(); in sized_convert()
[all …]
H A Dincremental.cc90 Stringpool* strtab);
95 Stringpool* strtab, unsigned int* global_syms,
584 elfcpp::Elf_strtab strtab(NULL, 0); in do_reserve_layout() local
836 elfcpp::Elf_strtab* strtab) in get_symtab_view() argument
1056 : entry_(entry), strtab_(strtab) in Unused_symbol_visitor()
1400 Stringpool* strtab = inputs->get_stringpool(); in do_write() local
1481 Stringpool* strtab) in write_input_files() argument
1518 Stringpool* strtab, in write_info_blocks() argument
2142 elfcpp::Elf_strtab strtab(NULL, 0); in do_add_symbols() local
2484 elfcpp::Elf_strtab strtab(NULL, 0); in do_count_local_symbols() local
[all …]
/dragonfly/contrib/binutils-2.27/gold/
H A Dbinary.cc169 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()
252 strtab.write_to_buffer(pout, strtab.get_strtab_size()); in sized_convert()
253 pout += strtab.get_strtab_size(); in sized_convert()
[all …]
H A Dincremental.cc90 Stringpool* strtab);
95 Stringpool* strtab, unsigned int* global_syms,
579 elfcpp::Elf_strtab strtab(NULL, 0); in do_reserve_layout() local
831 elfcpp::Elf_strtab* strtab) in get_symtab_view() argument
1051 : entry_(entry), strtab_(strtab) in Unused_symbol_visitor()
1395 Stringpool* strtab = inputs->get_stringpool(); in do_write() local
1476 Stringpool* strtab) in write_input_files() argument
1513 Stringpool* strtab, in write_info_blocks() argument
2137 elfcpp::Elf_strtab strtab(NULL, 0); in do_add_symbols() local
2479 elfcpp::Elf_strtab strtab(NULL, 0); in do_count_local_symbols() local
[all …]
/dragonfly/lib/libevtr/
H A Dktrfmt.l18 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()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_read_support_format_ar.c61 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()
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()
584 free(ar->strtab); in ar_parse_gnu_filename_table()
[all …]
H A Darchive_write_set_format_ar.c53 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()
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dsimple-object-xcoff.c372 char *strtab; in simple_object_xcoff_read_strtab() local
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()
463 if (strtab == NULL) in simple_object_xcoff_find_sections()
472 XDELETEVEC (strtab); in simple_object_xcoff_find_sections()
564 if (strtab == NULL) in simple_object_xcoff_find_sections()
655 if (strtab != NULL) in simple_object_xcoff_find_sections()
[all …]
H A Dsimple-object-coff.c309 char *strtab; in simple_object_coff_read_strtab() local
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()
398 if (strtab == NULL) in simple_object_coff_find_sections()
407 XDELETEVEC (strtab); in simple_object_coff_find_sections()
413 name = strtab + strindex; in simple_object_coff_find_sections()
424 if (strtab != NULL) in simple_object_coff_find_sections()
[all …]
H A Dsimple-object-mach-o.c427 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 …]
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dsimple-object-xcoff.c372 char *strtab; in simple_object_xcoff_read_strtab() local
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()
463 if (strtab == NULL) in simple_object_xcoff_find_sections()
472 XDELETEVEC (strtab); in simple_object_xcoff_find_sections()
564 if (strtab == NULL) in simple_object_xcoff_find_sections()
655 if (strtab != NULL) in simple_object_xcoff_find_sections()
[all …]
H A Dsimple-object-coff.c309 char *strtab; in simple_object_coff_read_strtab() local
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()
398 if (strtab == NULL) in simple_object_coff_find_sections()
407 XDELETEVEC (strtab); in simple_object_coff_find_sections()
413 name = strtab + strindex; in simple_object_coff_find_sections()
424 if (strtab != NULL) in simple_object_coff_find_sections()
[all …]
H A Dsimple-object-mach-o.c427 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 …]
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dsimple-object-xcoff.c366 char *strtab; in simple_object_xcoff_read_strtab() local
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()
454 if (strtab == NULL) in simple_object_xcoff_find_sections()
463 XDELETEVEC (strtab); in simple_object_xcoff_find_sections()
469 name = strtab + strindex; in simple_object_xcoff_find_sections()
492 if (strtab != NULL) in simple_object_xcoff_find_sections()
[all …]
H A Dsimple-object-coff.c309 char *strtab; in simple_object_coff_read_strtab() local
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()
398 if (strtab == NULL) in simple_object_coff_find_sections()
407 XDELETEVEC (strtab); in simple_object_coff_find_sections()
413 name = strtab + strindex; in simple_object_coff_find_sections()
424 if (strtab != NULL) in simple_object_coff_find_sections()
[all …]
H A Dsimple-object-mach-o.c427 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 …]
/dragonfly/contrib/gdb-7/libiberty/
H A Dsimple-object-coff.c309 char *strtab; in simple_object_coff_read_strtab() local
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()
398 if (strtab == NULL) in simple_object_coff_find_sections()
407 XDELETEVEC (strtab); in simple_object_coff_find_sections()
413 name = strtab + strindex; in simple_object_coff_find_sections()
424 if (strtab != NULL) in simple_object_coff_find_sections()
[all …]
H A Dsimple-object-xcoff.c366 char *strtab; in simple_object_xcoff_read_strtab() local
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()
454 if (strtab == NULL) in simple_object_xcoff_find_sections()
463 XDELETEVEC (strtab); in simple_object_xcoff_find_sections()
469 name = strtab + strindex; in simple_object_xcoff_find_sections()
492 if (strtab != NULL) in simple_object_xcoff_find_sections()
[all …]
H A Dsimple-object-mach-o.c427 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 …]
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dsimple-object-coff.c309 char *strtab; in simple_object_coff_read_strtab() local
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()
398 if (strtab == NULL) in simple_object_coff_find_sections()
407 XDELETEVEC (strtab); in simple_object_coff_find_sections()
413 name = strtab + strindex; in simple_object_coff_find_sections()
424 if (strtab != NULL) in simple_object_coff_find_sections()
[all …]
H A Dsimple-object-mach-o.c427 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 …]
/dragonfly/lib/libc/gen/
H A Dnlist.c104 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()
/dragonfly/sbin/ldconfig/
H A Delfhints.c194 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()

123