/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 363 char *strtab = (char *)0; in _coff_nlist() local 426 (strtab = (char *)malloc( in _coff_nlist() 429 read(fd, strtab + sizeof (long), in _coff_nlist() 432 strtab[strtablen - 1] != '\0' || in _coff_nlist() 436 if (strtab != (char *)0) in _coff_nlist() 437 free(strtab); in _coff_nlist() 444 if (strtab != (char *)0) in _coff_nlist() 445 free(strtab); in _coff_nlist() 448 if (strcmp(&strtab[q->n_offset], in _coff_nlist() 472 if (strtab != (char *)0) in _coff_nlist() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 113 char *strtab; in prepare_elf32() local 141 assert(strtab[0] == '\0'); in prepare_elf32() 293 char *strtab; in prepare_elf64() local 317 assert(strtab[0] == '\0'); in prepare_elf64() 1032 dt_strtab_t *strtab; in process_obj() local 1190 dt_strtab_destroy(strtab); in process_obj() 1201 dt_strtab_destroy(strtab); in process_obj() 1209 dt_strtab_destroy(strtab); in process_obj() 1220 dt_strtab_destroy(strtab); in process_obj() 1260 dt_strtab_destroy(strtab); in process_obj() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dof.c | 804 char *strtab; in dof_sect_strtab() local 808 strtab = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_strtab() 817 if (strtab[i] == '\0') in dof_sect_strtab() 820 mdb_printf("%c", strtab[i]); in dof_sect_strtab() 834 char *strtab, *p; in dof_sect_provider() local 849 if (mdb_vread(strtab, sz, addr + in dof_sect_provider() 856 strtab + pv.dofpv_name); in dof_sect_provider() 904 strtab + pb->dofpr_func, in dof_sect_provider() 905 strtab + pb->dofpr_name); in dof_sect_provider() 934 narg += strlen(strtab + narg) + 1; in dof_sect_provider() [all …]
|
/illumos-gate/usr/src/cmd/sgs/libelf/misc/ |
H A D | nlist.c | 66 unsigned strtab; /* index of symbol name in string table */ in _elf_nlist() local 88 strtab = s_buf.sh_link; in _elf_nlist() 95 name = elf_strptr(elfdes, strtab, (size_t)sym.st_name); in _elf_nlist()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | setupterm.c | 237 char *strtab; in setupterm() local 372 strtab = NULL; in setupterm() 412 strtab = _frst_tblstr; in setupterm() 415 if (strtab == NULL) { in setupterm() 416 if ((strtab = (char *)malloc((unsigned)sstrtab)) == NULL) { in setupterm() 433 cur_term->_strtab = strtab; in setupterm() 640 *pp++ = strtab + n; in setupterm() 651 (void) memcpy(strtab, ip, sstrtab); in setupterm()
|
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/ |
H A D | elfwrap.c | 221 char *strtab, *strtabent, *shstrtab, *shstrtabent; in output() local 422 strtab = (char *)outsec->os_data->d_buf; in output() 435 strtabent = strtab; in output() 448 secsymtabent->st_name = (strtabent - strtab); in output() 504 glbsymtabent->st_name = (strtabent - strtab); in output() 524 glbsymtabent->st_name = (strtabent - strtab); in output()
|
H A D | elfwrap.msg | 87 @ MSG_SCN_STRTAB ".strtab"
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | _setup.c | 63 ulong_t strtab, soname, interp_base = 0; in _setup() local 186 strtab = ld_dyn->d_un.d_ptr + ld_base; in _setup() 193 _rt_name = (char *)strtab + soname; in _setup()
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | _setup.c | 63 ulong_t strtab, soname, interp_base = 0; in _setup() local 188 strtab = ld_dyn->d_un.d_ptr + ld_base; in _setup() 195 _rt_name = (char *)strtab + soname; in _setup()
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_ddi.c | 494 struct streamtab strtab; member 533 helper->strtab.st_rdinit = &helper->rqinit; in audio_init_ops() 534 helper->strtab.st_wrinit = &helper->wqinit; in audio_init_ops() 535 helper->strtab.st_muxrinit = NULL; in audio_init_ops() 536 helper->strtab.st_muxwinit = NULL; in audio_init_ops() 551 helper->cbops.cb_str = &helper->strtab; in audio_init_ops()
|
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | _setup.c | 64 ulong_t strtab, soname, interp_base = 0; in _setup() local 191 strtab = ld_dyn->d_un.d_ptr + ld_base; in _setup() 198 _rt_name = (char *)strtab + soname; in _setup()
|
/illumos-gate/usr/src/cmd/file/ |
H A D | elf_read.c | 421 char *strtab; in process_shdr() local 436 if ((strtab = malloc(shdr->sh_size)) == NULL) in process_shdr() 439 if (pread64(EI->elffd, strtab, shdr->sh_size, shdr->sh_offset) in process_shdr() 583 shnam = &strtab[shdr->sh_name]; in process_shdr() 592 free(strtab); in process_shdr()
|
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | sym.c | 142 char *strtab; in symtab_init() local 166 strtab = (char *)elf_getdata(scn, NULL)->d_buf; in symtab_init() 174 add_symbol(symp->st_name + strtab, in symtab_init()
|
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | _setup.c | 121 ulong_t strtab, soname, interp_base = 0; in _setup() local 258 strtab = ld_dyn->d_un.d_ptr + ld_base; in _setup() 265 _rt_name = (char *)strtab + soname; in _setup()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_elf_access.c | 127 struct Dwarf_Section_s *strtab; member 946 obj->strtab = &dbg->de_elf_strtab; in dwarf_elf_object_relocate_a_section() 953 if (obj->strtab->dss_index != obj->symtab->dss_link) { in dwarf_elf_object_relocate_a_section() 967 if (!obj->strtab->dss_data) { in dwarf_elf_object_relocate_a_section() 970 obj->strtab->dss_index, in dwarf_elf_object_relocate_a_section() 971 &obj->strtab->dss_data,error); in dwarf_elf_object_relocate_a_section()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | roff.c | 761 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 …]
|
/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | dump.c | 215 unsigned char *strtab; in print_static() local 224 if ((strtab = (unsigned char *) in print_static() 231 temp = (unsigned long *)strtab; in print_static() 234 path = strtab + (topath*sizeof (long)); in print_static() 238 strtab += total*sizeof (long); in print_static() 910 unsigned char *strtab; in dump_string_table() local 931 if ((strtab = (unsigned char *) in dump_string_table() 940 unsigned char c = *strtab++; in dump_string_table()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.c | 1707 ctf_sect_t ctdata, symtab, strtab; in mdb_ctf_bufopen() local 1725 strtab.cts_name = ".strtab"; in mdb_ctf_bufopen() 1726 strtab.cts_type = strhdr->sh_type; in mdb_ctf_bufopen() 1727 strtab.cts_flags = strhdr->sh_flags; in mdb_ctf_bufopen() 1728 strtab.cts_data = str_va; in mdb_ctf_bufopen() 1729 strtab.cts_size = strhdr->sh_size; in mdb_ctf_bufopen() 1730 strtab.cts_entsize = strhdr->sh_entsize; in mdb_ctf_bufopen() 1731 strtab.cts_offset = strhdr->sh_offset; in mdb_ctf_bufopen() 1733 return (ctf_bufopen(&ctdata, &symtab, &strtab, errp)); in mdb_ctf_bufopen()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppexpr.c | 167 index = (int)hashref(pp.strtab, pp.token); in predicate() 229 return *(args + 9) ? (int)hashref(pp.strtab, args + 9) : 1; in predicate() 623 switch ((int)hashget(pp.strtab, s)) in ppoption()
|
H A D | ppop.c | 808 if (!pp.strtab) in ppop() 810 pp.strtab = hashalloc(REFALL, HASH_name, "strings", 0); in ppop() 811 inithash(pp.strtab, options); in ppop() 812 inithash(pp.strtab, predicates); in ppop() 813 inithash(pp.strtab, variables); in ppop() 836 hashset(pp.strtab, HASH_ALLOCATE); in ppop() 1375 if ((c = (int)hashref(pp.strtab, p)) > 0 && c <= X_last_option) in ppop()
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | xlator.c | 875 char *strtab; in writemapfile() local 879 strtab = get_stringtable( in writemapfile() 882 if (strtab == NULL) { in writemapfile()
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 211 int i, shstrtab, strtab, symtab; in objfs_data_init() local 228 strtab = i; in objfs_data_init() 247 sect->sect_link = strtab; in objfs_data_init()
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | syms.c | 584 const char *strtab, Dyn *dyn) in Dbg_syminfo_entry() argument 594 needed = strtab + dyn[sip->si_boundto].d_un.d_val; in Dbg_syminfo_entry() 599 Dbg_demangle_name(strtab + sym->st_name), needed); in Dbg_syminfo_entry()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 1456 GElf_Shdr *symtab, GElf_Shdr *strtab) in fake_up_symtab() argument 1486 size = base + symtab->sh_size + strtab->sh_size; in fake_up_symtab() 1521 b->shdr[2].sh_size = strtab->sh_size; in fake_up_symtab() 1524 b->shdr[2].sh_info = strtab->sh_info; in fake_up_symtab() 1528 strtab->sh_offset) != b->shdr[2].sh_size) { in fake_up_symtab() 1552 size = base + symtab->sh_size + strtab->sh_size; in fake_up_symtab() 1586 b->shdr[2].sh_size = strtab->sh_size; in fake_up_symtab() 1589 b->shdr[2].sh_info = strtab->sh_info; in fake_up_symtab() 1593 strtab->sh_offset) != b->shdr[2].sh_size) { in fake_up_symtab() 1623 fp->file_symtab.sym_strhdr = *strtab; in fake_up_symtab()
|
/illumos-gate/usr/src/boot/common/ |
H A D | load_elf.c | 65 char *strtab; member 722 ef->strtab = (char *)(uintptr_t) in __elfN() 751 ef->strtab == NULL || ef->strsz == 0) in __elfN() 1080 strp = strdupout((vm_offset_t)(ef->strtab + sym.st_name)); in __elfN()
|