/titanic_44/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 363 char *strtab = (char *)0; in _coff_nlist() local 415 if (strtab == (char *)0) /* need it */ in _coff_nlist() 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() [all …]
|
/titanic_44/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 114 char *strtab; in prepare_elf32() local 141 strtab = (char *)dof + s->dofs_offset; in prepare_elf32() 142 assert(strtab[0] == '\0'); in prepare_elf32() 204 strtab = (char *)dof + s->dofs_offset; in prepare_elf32() 205 bcopy(strtab + 1, dep->de_strtab + strtabsz, s->dofs_size); in prepare_elf32() 294 char *strtab; in prepare_elf64() local 317 strtab = (char *)dof + s->dofs_offset; in prepare_elf64() 318 assert(strtab[0] == '\0'); in prepare_elf64() 380 strtab = (char *)dof + s->dofs_offset; in prepare_elf64() 381 bcopy(strtab + 1, dep->de_strtab + strtabsz, s->dofs_size); in prepare_elf64() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dof.c | 806 char *strtab; in dof_sect_strtab() local 810 strtab = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_strtab() 811 if (mdb_vread(strtab, sz, addr + sec->dofs_offset) != sz) { in dof_sect_strtab() 819 if (strtab[i] == '\0') in dof_sect_strtab() 822 mdb_printf("%c", strtab[i]); in dof_sect_strtab() 836 char *strtab, *p; in dof_sect_provider() local 850 strtab = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_provider() 851 if (mdb_vread(strtab, sz, addr + in dof_sect_provider() 858 strtab + pv.dofpv_name); in dof_sect_provider() 906 strtab + pb->dofpr_func, in dof_sect_provider() [all …]
|
/titanic_44/usr/src/cmd/sgs/libelf/misc/ |
H A D | nlist.c | 69 unsigned strtab; /* index of symbol name in string table */ in _elf_nlist() local 91 strtab = s_buf.sh_link; in _elf_nlist() 98 name = elf_strptr(elfdes, strtab, (size_t)sym.st_name); in _elf_nlist()
|
/titanic_44/usr/src/cmd/sgs/elfwrap/common/ |
H A D | elfwrap.c | 222 char *strtab, *strtabent, *shstrtab, *shstrtabent; in output() local 423 strtab = (char *)outsec->os_data->d_buf; in output() 436 strtabent = strtab; in output() 449 secsymtabent->st_name = (strtabent - strtab); in output() 505 glbsymtabent->st_name = (strtabent - strtab); in output() 525 glbsymtabent->st_name = (strtabent - strtab); in output()
|
/titanic_44/usr/src/lib/libcurses/screen/ |
H A D | setupterm.c | 239 char *strtab; in setupterm() local 374 strtab = NULL; in setupterm() 414 strtab = _frst_tblstr; in setupterm() 417 if (strtab == NULL) { in setupterm() 418 if ((strtab = (char *)malloc((unsigned)sstrtab)) == NULL) { in setupterm() 435 cur_term->_strtab = strtab; in setupterm() 633 *pp++ = strtab + n; in setupterm() 644 (void) memcpy(strtab, ip, sstrtab); in setupterm()
|
/titanic_44/usr/src/cmd/sgs/rtld/i386/ |
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()
|
/titanic_44/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()
|
/titanic_44/usr/src/cmd/file/ |
H A D | elf_read.c | 422 char *strtab; in process_shdr() local 439 if ((strtab = malloc(shdr->sh_size)) == NULL) in process_shdr() 442 if (pread64(EI->elffd, strtab, shdr->sh_size, shdr->sh_offset) in process_shdr() 547 shnam = &strtab[shdr->sh_name]; in process_shdr() 556 free(strtab); in process_shdr()
|
/titanic_44/usr/src/cmd/sgs/rtld/amd64/ |
H A D | _setup.c | 58 ulong_t strtab, soname, interp_base = 0; in _setup() local 184 strtab = ld_dyn->d_un.d_ptr + ld_base; in _setup() 191 _rt_name = (char *)strtab + soname; in _setup()
|
/titanic_44/usr/src/cmd/sgs/rtld/sparc/ |
H A D | _setup.c | 66 ulong_t strtab, soname, interp_base = 0; local 197 strtab = ld_dyn->d_un.d_ptr + ld_base; 204 _rt_name = (char *)strtab + soname;
|
/titanic_44/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()
|
/titanic_44/usr/src/cmd/lockstat/ |
H A D | sym.c | 144 char *strtab; in symtab_init() local 168 strtab = (char *)elf_getdata(scn, NULL)->d_buf; in symtab_init() 176 add_symbol(symp->st_name + strtab, in symtab_init()
|
/titanic_44/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_elf_access.c | 114 struct Dwarf_Section_s *strtab; member 789 obj->strtab = &dbg->de_elf_strtab; in dwarf_elf_object_relocate_a_section() 796 if( obj->strtab->dss_index != obj->symtab->dss_link) { in dwarf_elf_object_relocate_a_section() 810 if(! obj->strtab->dss_data) { in dwarf_elf_object_relocate_a_section() 813 obj->strtab->dss_index, in dwarf_elf_object_relocate_a_section() 814 &obj->strtab->dss_data,error); in dwarf_elf_object_relocate_a_section()
|
/titanic_44/usr/src/tools/ctf/cvt/ |
H A D | strtab.h | 46 typedef struct strtab { struct
|
H A D | Makefile.com | 46 strtab.c \
|
/titanic_44/usr/src/cmd/sgs/dump/common/ |
H A D | dump.c | 214 unsigned char *strtab; in print_static() local 223 if ((strtab = (unsigned char *) in print_static() 230 temp = (unsigned long *)strtab; in print_static() 233 path = strtab + (topath*sizeof (long)); in print_static() 237 strtab += total*sizeof (long); in print_static() 911 unsigned char *strtab; in dump_string_table() local 932 if ((strtab = (unsigned char *) in dump_string_table() 941 unsigned char c = *strtab++; in dump_string_table()
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.c | 1658 ctf_sect_t ctdata, symtab, strtab; in mdb_ctf_bufopen() local 1676 strtab.cts_name = ".strtab"; in mdb_ctf_bufopen() 1677 strtab.cts_type = strhdr->sh_type; in mdb_ctf_bufopen() 1678 strtab.cts_flags = strhdr->sh_flags; in mdb_ctf_bufopen() 1679 strtab.cts_data = str_va; in mdb_ctf_bufopen() 1680 strtab.cts_size = strhdr->sh_size; in mdb_ctf_bufopen() 1681 strtab.cts_entsize = strhdr->sh_entsize; in mdb_ctf_bufopen() 1682 strtab.cts_offset = strhdr->sh_offset; in mdb_ctf_bufopen() 1684 return (ctf_bufopen(&ctdata, &symtab, &strtab, errp)); in mdb_ctf_bufopen()
|
/titanic_44/usr/src/lib/libpp/common/ |
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 | 772 if (!pp.strtab) in ppop() 774 pp.strtab = hashalloc(REFALL, HASH_name, "strings", 0); in ppop() 775 inithash(pp.strtab, options); in ppop() 776 inithash(pp.strtab, predicates); in ppop() 777 inithash(pp.strtab, variables); in ppop() 800 hashset(pp.strtab, HASH_ALLOCATE); in ppop() 1329 if ((c = (int)hashref(pp.strtab, p)) > 0 && c <= X_last_option) in ppop()
|
/titanic_44/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | xlator.c | 878 char *strtab; in writemapfile() local 882 strtab = get_stringtable( in writemapfile() 885 if (strtab == NULL) { in writemapfile()
|
/titanic_44/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 213 int i, shstrtab, strtab, symtab; in objfs_data_init() local 230 strtab = i; in objfs_data_init() 249 sect->sect_link = strtab; in objfs_data_init()
|
/titanic_44/usr/src/cmd/sgs/liblddbg/common/ |
H A D | syms.c | 591 const char *strtab, Dyn *dyn) in Dbg_syminfo_entry() argument 601 needed = strtab + dyn[sip->si_boundto].d_un.d_val; in Dbg_syminfo_entry() 606 Dbg_demangle_name(strtab + sym->st_name), needed); in Dbg_syminfo_entry()
|
/titanic_44/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 1337 GElf_Shdr *symtab, GElf_Shdr *strtab) in fake_up_symtab() argument 1367 size = base + symtab->sh_size + strtab->sh_size; in fake_up_symtab() 1402 b->shdr[2].sh_size = strtab->sh_size; in fake_up_symtab() 1405 b->shdr[2].sh_info = strtab->sh_info; in fake_up_symtab() 1409 strtab->sh_offset) != b->shdr[2].sh_size) { in fake_up_symtab() 1433 size = base + symtab->sh_size + strtab->sh_size; in fake_up_symtab() 1467 b->shdr[2].sh_size = strtab->sh_size; in fake_up_symtab() 1470 b->shdr[2].sh_info = strtab->sh_info; in fake_up_symtab() 1474 strtab->sh_offset) != b->shdr[2].sh_size) { in fake_up_symtab() 1504 fp->file_symtab.sym_strhdr = *strtab; in fake_up_symtab()
|
/titanic_44/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1542 Shdr *symtab = NULL, *strtab; in process_scns() local 1624 strtab = (Shdr *)(shbase + in process_scns() 1627 if (strtab->sh_type != SHT_STRTAB) in process_scns() 1632 strtab->sh_size); in process_scns() 1683 strtab->sh_addralign; in process_scns() 1687 v[i + 1].sh_size = strtab->sh_size; in process_scns() 1689 copy_scn(strtab, mvp, &v[i + 1], vp, in process_scns()
|