Home
last modified time | relevance | path

Searched refs:strtab (Results 1 – 25 of 69) sorted by last modified time

123

/dragonfly/sys/kern/
H A Dlink_elf.c97 caddr_t strtab; /* DT_STRTAB */ member
185 caddr_t strtab; in parse_module_symbols() local
215 strtab = base; in parse_module_symbols()
225 ef->ddbstrtab = strtab; in parse_module_symbols()
252 ef->strtab = (caddr_t) (ef->address + dp->d_un.d_ptr); in parse_dynamic()
310 ef->ddbstrtab = ef->strtab; in parse_dynamic()
698 return ef->strtab + ref->st_name; in symbol_name()
824 strp = ef->strtab + symp->st_name; in link_elf_lookup_symbol()
871 symval->name = ef->strtab + es->st_name; in link_elf_symbol_values()
1016 symbol = ef->strtab + sym->st_name; in elf_lookup()
/dragonfly/stand/boot/common/
H A Dload_elf.c65 char *strtab; member
503 ef->strtab = (char *)(uintptr_t)(dp[i].d_un.d_ptr + off); in __elfN()
528 ef->strtab == NULL || ef->strsz == 0) in __elfN()
712 strp = strdupout((vm_offset_t)(ef->strtab + sym.st_name)); in __elfN()
/dragonfly/contrib/file/src/
H A Dreadelf.c1350 size_t size, off_t fsize, int mach, int strtab, int *flags, in doshn() argument
1379 offs = CAST(off_t, (off + size * strtab)); in doshn()
/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()
/dragonfly/libexec/rtld-elf/x86_64/
H A Dreloc.c88 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
/dragonfly/libexec/rtld-elf/
H A Ddebug.c115 obj->strtab + sym->st_name, in dump_Elf_Rel()
137 obj->strtab + sym->st_name, in dump_Elf_Rela()
H A Drtld.c819 defobj->strtab + def->st_name, in _rtld_bind()
1626 name = refobj->strtab + ref->st_name; in find_symdef()
2637 if (obj->symtab == NULL || obj->strtab == NULL || in relocate_object()
3417 info->dli_sname = obj->strtab + def->st_name; in dladdr()
4061 strp = obj->strtab + symp->st_name; in matched_symbol()
4091 obj->path, obj->strtab + symnum, verndx); in matched_symbol()
4129 req->ventry->name, obj->strtab + symnum); in matched_symbol()
4136 obj->path, obj->strtab + symnum, verndx); in matched_symbol()
4277 name = (char *)obj->strtab + needed->name; in trace_loaded_objects()
4708 vername = refobj->strtab + vna->vna_name; in check_object_provided_version()
[all …]
H A Drtld.h181 const char *strtab; /* String table */ member
/dragonfly/lib/libevtr/
H A Devtr.c650 struct hashtab_str *strtab; in strhash_new() local
652 return strtab; in strhash_new()
653 strtab->tab.hashfunc = &hashfunc_string; in strhash_new()
654 strtab->tab.cmpfunc = &cmpfunc_string; in strhash_new()
655 return strtab; in strhash_new()
660 strhash_destroy(struct hashtab_str *strtab) in strhash_destroy() argument
662 free(strtab); in strhash_destroy()
683 val = ++strtab->id; in strhash_insert()
684 if (strtab->id == 0) { in strhash_insert()
691 --strtab->id; in strhash_insert()
[all …]
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()
H A Dktrfmt.yy.c510 static struct symtab *strtab; variable
541 if (!strtab) in newstr()
542 strtab = symtab_new(); in newstr()
543 if ((r = symtab_find(strtab, s))) in newstr()
547 symtab_insert(strtab, r, r); in newstr()
/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/include/
H A Delf-hints.h40 __uint32_t strtab; /* Offset of string table in file */ member
/dragonfly/gnu/usr.bin/gdb/libbfd/
H A DMakefile.x86_643 elf-strtab.c elf-eh-frame.c dwarf1.c elf32-i386.c elf-vxworks.c \
/dragonfly/gnu/usr.bin/binutils234/block1/libbfd/
H A DMakefile26 elf64.c elf.c elflink.c elf-attrs.c elf-strtab.c elf-eh-frame.c \
/dragonfly/gnu/usr.bin/binutils227/block1/libbfd/
H A DMakefile27 elf-attrs.c elf-strtab.c elf-eh-frame.c dwarf1.c elf32-i386.c \
/dragonfly/contrib/mdocml/
H A Droff.c761 roff_freestr(r->strtab); in roff_free1()
764 r->strtab = r->rentab = r->xmbtab = NULL; in roff_free1()
1533 roff_setstrn(&r->strtab, in roff_expand()
2038 roff_setstrn(&r->strtab, mac, maclen, "", 0, 0); in roff_parse()
2206 roff_setstrn(&r->strtab, name, namesz, "", 0, 0); in roff_block()
2213 roff_setstrn(&r->strtab, name, namesz, in roff_block()
3844 roff_setstrn(&r->strtab, oldn, oldsz, NULL, 0, 0); in roff_rn()
3854 roff_setstrn(&r->strtab, newn, newsz, NULL, 0, 0); in roff_rn()
4071 roff_setstrn(&r->strtab, name, namesz, string, in roff_setstr()
4157 for (n = r->strtab; n != NULL; n = n->next) { in roff_getstrn()
[all …]
/dragonfly/contrib/libarchive/libarchive/
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()
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 …]
/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-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 …]
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 …]
/dragonfly/contrib/gdb-7/bfd/
H A Dlibcoff.h481 struct bfd_strtab_hash *strtab; member
H A Delf.c3441 struct bfd_strtab_hash *strtab = NULL; in _bfd_elf_compute_section_file_positions() local
3478 if (! swap_out_syms (abfd, &strtab, relocatable_p)) in _bfd_elf_compute_section_file_positions()
3527 || ! _bfd_stringtab_emit (abfd, strtab)) in _bfd_elf_compute_section_file_positions()
3529 _bfd_stringtab_free (strtab); in _bfd_elf_compute_section_file_positions()
/dragonfly/contrib/gcc-8.0/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 …]

123