Searched refs:strtab (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-current/include/
H A Delf-hints.h38 u_int32_t strtab; /* Offset of string table in file */ member in struct:elfhints_hdr
/freebsd-current/usr.bin/gprof/
H A Delf.c64 const char *strtab; local
96 strtab = (const char *)(base + sh_strtab->sh_offset);
101 if (wantsym(&symtab[i], strtab))
113 if (wantsym(sym, strtab)) {
115 npe->name = strtab + sym->st_name;
126 wantsym(const Elf_Sym *sym, const char *strtab) argument
136 (uflag && strchr(strtab + sym->st_name, '.') != NULL))
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstrtab.h46 typedef struct strtab { struct
53 ulong_t str_nstrs; /* total number of strings in strtab */
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DNameToDIE.h61 /// \param strtab
66 const StringTableReader &strtab);
75 /// \param strtab
79 void Encode(DataEncoder &encoder, ConstStringTable &strtab) const;
H A DManualDWARFIndex.cpp547 StringTableReader strtab; local
549 if (!strtab.Decode(data, offset_ptr))
567 if (!function_basenames.Decode(data, offset_ptr, strtab))
571 if (!function_fullnames.Decode(data, offset_ptr, strtab))
575 if (!function_methods.Decode(data, offset_ptr, strtab))
579 if (!function_selectors.Decode(data, offset_ptr, strtab))
583 if (!objc_class_selectors.Decode(data, offset_ptr, strtab))
587 if (!globals.Decode(data, offset_ptr, strtab))
591 if (!types.Decode(data, offset_ptr, strtab))
595 if (!namespaces.Decode(data, offset_ptr, strtab))
609 ConstStringTable strtab; local
[all...]
H A DNameToDIE.cpp98 const StringTableReader &strtab) {
106 llvm::StringRef str(strtab.Get(data.GetU32(offset_ptr)));
128 void NameToDIE::Encode(DataEncoder &encoder, ConstStringTable &strtab) const {
134 encoder.AppendU32(strtab.Add(entry.cstring));
97 Decode(const DataExtractor &data, lldb::offset_t *offset_ptr, const StringTableReader &strtab) argument
/freebsd-current/contrib/llvm-project/lldb/source/Core/
H A DMangled.cpp432 const StringTableReader &strtab) {
441 m_demangled.SetString(strtab.Get(data.GetU32(offset_ptr)));
445 m_mangled.SetString(strtab.Get(data.GetU32(offset_ptr)));
449 m_mangled.SetString(strtab.Get(data.GetU32(offset_ptr)));
450 m_demangled.SetString(strtab.Get(data.GetU32(offset_ptr)));
481 void Mangled::Encode(DataEncoder &file, ConstStringTable &strtab) const {
501 file.AppendU32(strtab.Add(m_demangled));
504 file.AppendU32(strtab.Add(m_mangled));
507 file.AppendU32(strtab.Add(m_mangled));
508 file.AppendU32(strtab
431 Decode(const DataExtractor &data, lldb::offset_t *offset_ptr, const StringTableReader &strtab) argument
[all...]
/freebsd-current/sys/arm64/iommu/
H A Dsmmu.c383 struct smmu_strtab *strtab; local
388 strtab = &sc->strtab;
392 l1 = (void *)((uint64_t)strtab->vaddr +
396 l1_desc = &strtab->l1[i];
401 ste = (void *)((uint64_t)strtab->vaddr +
782 struct smmu_strtab *strtab; local
786 strtab = &sc->strtab;
789 l1_desc = &strtab
894 struct smmu_strtab *strtab; local
937 struct smmu_strtab *strtab; local
1009 struct smmu_strtab *strtab; local
1056 struct smmu_strtab *strtab; local
1228 struct smmu_strtab *strtab; local
[all...]
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_support_format_ar.c60 char *strtab; member in struct:ar
112 ar->strtab = NULL;
140 free(ar->strtab);
271 if (ar->strtab != NULL) {
284 ar->strtab = st;
316 if (ar->strtab == NULL || number >= ar->strtab_size) {
325 archive_entry_copy_pathname(entry, &ar->strtab[(size_t)number]);
560 for (p = ar->strtab; p < ar->strtab + size - 1; ++p) {
572 if (p != ar->strtab
[all...]
H A Darchive_write_set_format_ar.c52 char *strtab; member in struct:ar_w
203 * collect strtab in next _data call.
259 ss = strstr(ar->strtab, se);
274 if (format_decimal(ss - ar->strtab,
382 ar->strtab = (char *)malloc(s + 1);
383 if (ar->strtab == NULL) {
385 "Can't allocate strtab buffer");
388 memcpy(ar->strtab, buff, s);
389 ar->strtab[s] = '\0';
412 free(ar->strtab);
[all...]
/freebsd-current/sys/contrib/libfdt/
H A Dlibfdt_internal.h67 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s);
H A Dfdt.c233 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s) argument
236 const char *last = strtab + tabsize - len;
239 for (p = strtab; p <= last; p++)
H A Dfdt_sw.c202 char *strtab = (char *)fdt + fdt_totalsize(fdt); local
208 p = fdt_find_string_(strtab - strtabsize, strtabsize, s);
210 return p - strtab;
218 memcpy(strtab + offset, s, len);
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Core/
H A DMangled.h258 /// \param strtab
263 const StringTableReader &strtab);
272 /// \param strtab
276 void Encode(DataEncoder &encoder, ConstStringTable &strtab) const;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi.cpp226 uptr strtab = 0, symtab = 0, strsz = 0;
231 strtab = p->d_un.d_ptr;
236 if (symtab > strtab) {
237 VReport(1, "Can not handle: symtab > strtab (%zx > %zx)\n", symtab, strtab);
241 // Verify that strtab and symtab are inside of the same LOAD segment.
242 // This excludes VDSO, which has (very high) bogus strtab and symtab pointers.
249 if (strtab >= beg && strtab + strsz < end && symtab >= beg &&
257 VReport(1, "Can not handle: symtab %zx, strtab
[all...]
/freebsd-current/lib/libc/gen/
H A Dnlist.c132 char *strtab = NULL; local
192 strtab = (char *)base;
231 name = strtab + s->st_name;
248 if (strtab != NULL)
249 munmap(strtab, symstrsize);
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_write_format_ar.c32 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)));
/freebsd-current/sbin/ldconfig/
H A Delfhints.c198 char *strtab; local
233 strtab = (char *)mapbase + COND_SWAP(hdr->strtab);
234 dirlist = strtab + COND_SWAP(hdr->dirlist);
286 hdr.strtab = COND_SWAP(sizeof hdr);
/freebsd-current/sys/compat/linux/
H A Dlinux_vdso.c107 char *strtab, *symname; local
128 strtab = base + shdr[shdr[i].sh_link].sh_offset;
143 symname = strtab + sym->st_name;
/freebsd-current/libexec/rtld-elf/
H A Ddebug.c116 obj->strtab + sym->st_name,
138 obj->strtab + sym->st_name,
/freebsd-current/libexec/rtld-elf/arm/
H A Dreloc.c51 name = dstobj->strtab + dstsym->st_name;
174 obj->strtab + obj->symtab[symnum].st_name,
181 obj->strtab + obj->symtab[symnum].st_name,
204 obj->strtab + obj->symtab[symnum].st_name,
250 obj->strtab + obj->symtab[symnum].st_name,
267 obj->strtab + obj->symtab[symnum].st_name,
290 obj->strtab + obj->symtab[symnum].st_name,
300 obj->strtab + obj->symtab[symnum].st_name);
/freebsd-current/sys/ddb/
H A Ddb_main.c49 char* strtab; member in struct:db_private
69 * the symtab and strtab in memory. This is used when loaded from
95 !strcmp(DB_PRIVATE(symtab)->strtab +
182 *namep = (const char *)DB_PRIVATE(symtab)->strtab +
224 ksymtab_private.strtab = (char *)kstrtab;
/freebsd-current/contrib/elftoolchain/elfcopy/
H A Dsymbols.c409 /* Create buffers for .symtab and .strtab. */
421 ecp->strtab->sz = 0;
423 ecp->strtab->buf = st_buf;
435 /* Locate .strtab of input object. */
447 if (strcmp(name, ".strtab") == 0) {
459 warnx("can't find .strtab section");
481 errx(EXIT_FAILURE, "can't find .strtab section");
606 * .symtab, .strtab, .shstrtab and reloc sec of relocatables.
612 strcmp(s->name, ".strtab") == 0 ||
677 st = ecp->strtab;
[all...]
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c69 ".strtab\0" /* 21 */
76 ".strtab\0" /* 21 */
105 char *strtab; local
128 strtab = (char *)dof + s->dofs_offset;
129 assert(strtab[0] == '\0');
191 strtab = (char *)dof + s->dofs_offset;
192 bcopy(strtab + 1, dep->de_strtab + strtabsz, s->dofs_size);
294 char *strtab; local
317 strtab = (char *)dof + s->dofs_offset;
318 assert(strtab[
1211 dt_strtab_t *strtab; local
[all...]
/freebsd-current/cddl/usr.bin/ctfconvert/
H A DMakefile22 strtab.c \

Completed in 168 milliseconds

123