| /src/external/bsd/libarchive/dist/libarchive/test/ |
| test_write_format_ar.c | 32 static char strtab[] = "abcdefghijklmn.o/\nggghhhjjjrrrttt.o/\niiijjjdddsssppp.o/\n"; variable 50 archive_entry_set_size(ae, strlen(strtab)); 52 assertA(strlen(strtab) == (size_t)archive_write_data(a, strtab, strlen(strtab)));
|
| /src/lib/libc/gen/ |
| nlist_aout.c | 98 char *strtab; local 130 strtab = mmap(NULL, strsize, PROT_READ, MAP_PRIVATE|MAP_FILE, 132 if (strtab == (char *)-1) 176 !strcmp(&strtab[(size_t)soff], 188 munmap(strtab, strsize);
|
| nlist_elf32.c | 95 char *mappedfile, *strtab; local 268 strtab = &mappedfile[(size_t)symstrshdrp->sh_offset]; 297 symtabname = &strtab[symp[i].st_name];
|
| /src/external/gpl3/binutils/dist/ld/ |
| elf-hints-local.h | 35 uint32_t strtab; /* Offset of string table in file. */ member in struct:elfhints_hdr
|
| /src/external/gpl3/binutils.old/dist/ld/ |
| elf-hints-local.h | 35 uint32_t strtab; /* Offset of string table in file. */ member in struct:elfhints_hdr
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| jit-elf-util.h | 65 char *const strtab local 71 const char *s = strtab + p->st_name;
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| jit-elf-util.h | 65 char *const strtab local 71 const char *s = strtab + p->st_name;
|
| /src/libexec/ld.elf_so/ |
| symver.c | 113 &obj->strtab[needed->name])); 114 if (strcmp(name, &obj->strtab[needed->name]) == 0 || 136 const char *vername = &refobj->strtab[vna->vna_name]; 137 const char *depstrtab = depobj->strtab; 177 const char *strtab = obj->strtab; local 191 if (strtab == NULL || obj->vertab != NULL) 213 vn->vn_file, &strtab[vn->vn_file])); 214 depobj = locate_dependency(obj, &strtab[vn->vn_file]); 285 obj->vertab[vernum].name = &strtab[vna->vna_name] [all...] |
| /src/sys/sys/ |
| kern_ctf.h | 46 const char *strtab; /* Ptr to the string table. */ member in struct:mod_ctf
|
| /src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| strtab.h | 46 typedef struct strtab { struct 53 ulong_t str_nstrs; /* total number of strings in strtab */
|
| /src/usr.sbin/kvm_mkdb/ |
| nlist_aout.c | 116 char *strtab, buf[1024]; local 157 if (!(strtab = malloc(strsize))) { 161 if ((nr = read(fd, strtab, strsize)) != strsize) 191 key.data = (u_char *)strtab + nbuf._strx - sizeof(long);
|
| nlist_elf32.c | 100 char *mappedfile, *symname, *nsymname, *fsymname, *tmpcp, *strtab; local 233 strtab = &mappedfile[symstrshdrp->sh_offset]; 269 fsymname = &strtab[symp[i].st_name];
|
| /src/sys/ddb/ |
| db_elf.c | 244 char *strtab; local 251 strtab = db_elf_find_strtab(stab); 252 if (strtab == NULL) 257 db_eqname(strtab + symp->st_name, symstr, 0)) 339 char *strtab; local 344 strtab = db_elf_find_strtab(symtab); 345 if (strtab == NULL) 348 *namep = strtab + symp->st_name; 387 char *strtab; local 396 strtab = db_elf_find_strtab(stab) [all...] |
| /src/external/gpl3/binutils/dist/libctf/ |
| ctf-open-bfd.c | 111 const char *strtab = NULL; local 132 strtab_name = ".strtab"; 138 /* Get the symtab, and the strtab associated with it. */ 165 if ((strtab = bfd_elf_get_str_section (abfd, symhdr->sh_link)) == NULL) 172 strtab = (const char *) strhdr->contents; 175 else /* No symtab: just try getting .strtab or .dynstr by name. */ 184 strtab = (const char *) str_bcontents; 191 if (strtab) 197 strsect.cts_data = strtab;
|
| /src/external/gpl3/binutils.old/dist/libctf/ |
| ctf-open-bfd.c | 111 const char *strtab = NULL; local 132 strtab_name = ".strtab"; 138 /* Get the symtab, and the strtab associated with it. */ 165 if ((strtab = bfd_elf_get_str_section (abfd, symhdr->sh_link)) == NULL) 172 strtab = (const char *) strhdr->contents; 175 else /* No symtab: just try getting .strtab or .dynstr by name. */ 184 strtab = (const char *) str_bcontents; 191 if (strtab) 197 strsect.cts_data = strtab;
|
| /src/external/gpl3/gcc/dist/gcc/ |
| ctfc.cc | 75 ctf_strtable_t * strtab = ctfc_get_strtab (ctfc, aux); local 76 return strtab->ctstab_len; 924 init_ctf_strtable (ctf_strtable_t * strtab) 926 strtab->ctstab_head = NULL; 927 strtab->ctstab_tail = NULL; 928 strtab->ctstab_num = 0; 929 strtab->ctstab_len = 0; 935 strtab->ctstab_estr = ctfc_strtable_add_str (strtab, "", &estr_offset); 982 ctfc_delete_strtab (ctf_strtable_t * strtab) [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| ctfc.cc | 75 ctf_strtable_t * strtab = ctfc_get_strtab (ctfc, aux); local 76 return strtab->ctstab_len; 920 init_ctf_strtable (ctf_strtable_t * strtab) 922 strtab->ctstab_head = NULL; 923 strtab->ctstab_tail = NULL; 924 strtab->ctstab_num = 0; 925 strtab->ctstab_len = 0; 931 strtab->ctstab_estr = ctfc_strtable_add_str (strtab, "", &estr_offset); 978 ctfc_delete_strtab (ctf_strtable_t * strtab) [all...] |
| /src/external/gpl3/gdb.old/dist/libctf/ |
| ctf-open-bfd.c | 111 const char *strtab = NULL; local 132 strtab_name = ".strtab"; 138 /* Get the symtab, and the strtab associated with it. */ 165 if ((strtab = bfd_elf_get_str_section (abfd, symhdr->sh_link)) == NULL) 172 strtab = (const char *) strhdr->contents; 175 else /* No symtab: just try getting .strtab or .dynstr by name. */ 184 strtab = (const char *) str_bcontents; 191 if (strtab) 197 strsect.cts_data = strtab;
|
| /src/external/gpl3/gdb/dist/libctf/ |
| ctf-open-bfd.c | 111 const char *strtab = NULL; local 132 strtab_name = ".strtab"; 138 /* Get the symtab, and the strtab associated with it. */ 165 if ((strtab = bfd_elf_get_str_section (abfd, symhdr->sh_link)) == NULL) 172 strtab = (const char *) strhdr->contents; 175 else /* No symtab: just try getting .strtab or .dynstr by name. */ 184 strtab = (const char *) str_bcontents; 191 if (strtab) 197 strsect.cts_data = strtab;
|
| /src/lib/librumpuser/ |
| rumpuser_dl.c | 70 static char *strtab = NULL; variable 195 * Find symtab and strtab and their sizes. 285 fprintf(stderr, "could not find strtab, symtab or their sizes " 298 strtab = reservespace(strtab, &strtabsize, strtaboff, curstrsize); 299 if (symtab == NULL || strtab == NULL) { 335 * set name to point at new strtab, offset symbol value 344 strcpy(strtab + strtaboff, cursymname); 472 memcpy(trimmedstr, strtab, strtaboff); 474 trimmedstr = strtab; [all...] |
| /src/sbin/ldconfig/ |
| ldconfig.c | 378 char *strtab; local 414 strtab = (char *)xmalloc(strtab_sz); 440 strcpy(strtab + str_index, shp->name); 444 strcpy(strtab + str_index, shp->path); 453 strcpy(strtab + str_index, dir_list); 477 if (write(fd, strtab, strtab_sz) != strtab_sz) { 502 free(strtab); 508 free(strtab); 520 char *strtab; local 563 strtab = ((char *)addr + hdr->hh_strtab) [all...] |
| /src/sys/arch/amd64/stand/prekern/ |
| elf.c | 43 char *strtab; member in struct:elfinfo 113 buf = eif.strtab + sym->st_name; 157 buf = eif.strtab + sym->st_name; 409 fatal("elf_build_info: wrong strtab index"); 412 fatal("elf_build_info: wrong strtab type"); 415 fatal("elf_build_info: strtab not loaded"); 417 eif.strtab = (char *)((uint8_t *)eif.ehdr + eif.shdr[j].sh_offset);
|
| /src/sys/arch/amiga/stand/bootblock/elf2bb/ |
| elf2bb.c | 100 char *strtab; local 164 strtab = NULL; /* XXX */ 199 } else if (strcmp(".strtab", shstrtab + 201 strtab = image + be32toh(sh[i].sh_offset); 338 strtab + be32toh(s->st_name));
|
| /src/sys/external/bsd/libfdt/dist/ |
| fdt_rw.c | 119 char *strtab = (char *)fdt + fdt_off_dt_strings(fdt); local 127 p = fdt_find_string_(strtab, fdt_size_dt_strings(fdt), s); 130 return (p - strtab); 132 new = strtab + fdt_size_dt_strings(fdt); 140 return (new - strtab);
|
| fdt_sw.c | 246 char *strtab = (char *)fdt + fdt_totalsize(fdt); local 256 memcpy(strtab + offset, s, len); 272 char *strtab = (char *)fdt + fdt_totalsize(fdt); local 278 p = fdt_find_string_(strtab - strtabsize, strtabsize, s); 280 return p - strtab;
|