Home
last modified time | relevance | path

Searched refs:entsize (Results 1 – 19 of 19) sorted by relevance

/freebsd/usr.bin/elfdump/
H A Delfdump.c823 u_int64_t entsize; in elf_print_shdr() local
848 entsize = elf_get_size(e, v, SH_ENTSIZE); in elf_print_shdr()
869 u_int64_t entsize; in elf_print_symtab() local
884 len = size / entsize; in elf_print_symtab()
887 st = (char *)e + offset + i * entsize; in elf_print_symtab()
909 u_int64_t entsize; in elf_print_dynamic() local
922 d = (char *)e + offset + i * entsize; in elf_print_dynamic()
969 u_int64_t entsize; in elf_print_rela() local
985 ra = (char *)v + i * entsize; in elf_print_rela()
1001 u_int64_t entsize; in elf_print_rel() local
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputSection.h77 uint32_t entsize; variable
98 uint32_t entsize, uint32_t addralign, uint32_t type, in SectionBase() argument
101 name(name), flags(flags), addralign(addralign), entsize(entsize), in SectionBase()
131 uint64_t entsize, uint32_t link, uint32_t info,
297 MergeInputSection(uint64_t flags, uint32_t type, uint64_t entsize,
H A DOutputSections.cpp64 shdr->sh_entsize = entsize; in writeHeaderTo()
144 entsize = isec->entsize; in commitSection()
169 if (entsize != isec->entsize) in commitSection()
170 entsize = 0; in commitSection()
219 return sec->flags == ms->flags && sec->entsize == ms->entsize && in finalizeInputSections()
227 syn->entsize = ms->entsize; in finalizeInputSections()
H A DInputSection.cpp53 uint32_t type, uint64_t entsize, in InputSectionBase() argument
57 : SectionBase(sectionKind, name, flags, entsize, addralign, type, info, in InputSectionBase()
1356 uint64_t entsize, ArrayRef<uint8_t> data, in MergeInputSection() argument
1358 : InputSectionBase(nullptr, flags, type, entsize, /*Link*/ 0, /*Info*/ 0, in MergeInputSection()
1359 /*Alignment*/ entsize, data, name, SectionBase::Merge) {} in MergeInputSection()
1371 splitStrings(toStringRef(contentMaybeDecompress()), entsize); in splitIntoPieces()
1373 splitNonStrings(contentMaybeDecompress(), entsize); in splitIntoPieces()
H A DSyntheticSections.cpp98 this->entsize = sizeof(Elf_Mips_ABIFlags); in MipsAbiFlagsSection()
158 this->entsize = sizeof(Elf_Mips_Options) + sizeof(Elf_Mips_RegInfo); in MipsOptionsSection()
219 this->entsize = sizeof(Elf_Mips_RegInfo); in MipsReginfoSection()
1256 this->entsize = ELFT::Is64Bits ? 16 : 8; in DynamicSection()
1560 this->size = computeContents().size() * this->entsize; in finalizeContents()
1748 this->entsize = 1; in AndroidPackedRelocationSection()
1997 this->entsize = config->wordsize; in RelrSection()
2201 this->entsize = sizeof(Elf_Sym); in SymbolTableSection()
2301 this->entsize = 4; in SymtabShndxSection()
2478 this->entsize = 4; in HashTableSection()
[all …]
H A DSyntheticSections.h538 size_t getSize() const override { return relocs.size() * this->entsize; } in getSize()
623 size_t getSize() const override { return relrRelocs.size() * this->entsize; } in getSize()
641 size_t getSize() const override { return getNumSymbols() * entsize; } in getSize()
/freebsd/tests/sys/fs/fusefs/
H A Dutils.cc425 size_t entlen, entsize; in expect_readdir() local
433 entsize = FUSE_DIRENT_SIZE(fde); in expect_readdir()
441 memset(fde->name + fde->namelen, 0, entsize - entlen); in expect_readdir()
442 if (out.header.len + entsize > in.body.read.size) { in expect_readdir()
447 out.header.len += entsize; in expect_readdir()
449 ((intmax_t*)fde + entsize / sizeof(intmax_t)); in expect_readdir()
/freebsd/contrib/elftoolchain/elfdump/
H A Delfdump.c94 uint64_t entsize; /* section entsize */ member
1159 s->entsize = sh.sh_entsize; in load_sections()
1445 if (s->entsize == 0) { in get_ent_count()
1448 } else if (s->sz / s->entsize > INT_MAX) { in get_ent_count()
1452 *ent_count = (int)(s->sz / s->entsize); in get_ent_count()
1915 gs->entsize; in find_gotrel()
1929 if (s->entsize == 0) { in elf_print_got_section()
1932 s->entsize = s->align; in elf_print_got_section()
1989 (uintmax_t) (s->addr + i * s->entsize)); in elf_print_got_section()
1993 (uintmax_t) (s->addr + i * s->entsize)); in elf_print_got_section()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCClassDescriptorV2.cpp259 uint32_t entsize = extractor.GetU32_unchecked(&cursor); in Read() local
260 m_is_small = (entsize & 0x80000000) != 0; in Read()
261 m_has_direct_selector = (entsize & 0x40000000) != 0; in Read()
262 m_entsize = entsize & 0xfffc; in Read()
H A DAppleObjCRuntimeV2.h401 uint32_t entsize) in SharedCacheImageHeaders() argument
404 m_entsize(entsize), m_needs_update(true) {} in SharedCacheImageHeaders()
H A DAppleObjCRuntimeV2.cpp1686 uint32_t entsize = metadata_extractor.GetU32_unchecked(&cursor); in CreateSharedCacheImageHeaders() local
1687 if (count == 0 || entsize == 0) { in CreateSharedCacheImageHeaders()
1691 count, entsize); in CreateSharedCacheImageHeaders()
1697 entsize)); in CreateSharedCacheImageHeaders()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DX86.cpp213 unsigned relOff = in.relaPlt->entsize * sym.getPltIdx(); in writePlt()
633 unsigned relOff = in.relaPlt->entsize * sym.getPltIdx(); in writePlt()
692 unsigned relOff = in.relaPlt->entsize * sym.getPltIdx(); in writePlt()
H A DARM.cpp1256 entsize = ACLESESYM_SIZE; in ArmCmseSGSection()
1324 return (impLibMaxAddr ? impLibMaxAddr - getVA() : 0) + newEntries * entsize; in getSize()
1326 return entries.size() * entsize; in getSize()
H A DSystemZ.cpp232 write32be(buf + 28, in.relaPlt->entsize * sym.getPltIdx()); in writePlt()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_dof.c144 uint32_t align, uint32_t flags, uint32_t entsize, uint64_t size) in dof_add_lsect() argument
152 s.dofs_entsize = entsize; in dof_add_lsect()
171 uint32_t align, uint32_t flags, uint32_t entsize, uint64_t size) in dof_add_usect() argument
179 s.dofs_entsize = entsize; in dof_add_usect()
/freebsd/stand/efi/loader/arch/amd64/
H A Dmultiboot2.h319 multiboot_uint32_t entsize; member
/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c126 uint64_t entsize; /* section entsize */ member
2618 (uintmax_t)s->entsize, section_flags(re, s), \ in dump_shdr()
2622 (uintmax_t)s->entsize, s->link, s->info, \ in dump_shdr()
2717 if (s->entsize == 0) { in get_ent_count()
2720 } else if (s->sz / s->entsize > INT_MAX) { in get_ent_count()
2724 *ent_count = (int)(s->sz / s->entsize); in get_ent_count()
3691 s->entsize == 8) in dump_hash()
4305 if (s->entsize == 0) in dump_section_groups()
4306 s->entsize = 4; in dump_section_groups()
4309 n = s->sz / s->entsize; in dump_section_groups()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp3665 uint32_t entsize; member
3671 uint32_t entsize; member
3725 uint32_t entsize; member
3731 uint32_t entsize; member
3753 uint32_t entsize; member
3759 uint32_t entsize; member
3968 sys::swapByteOrder(ml.entsize); in swapStruct()
3973 sys::swapByteOrder(ml.entsize); in swapStruct()
4020 sys::swapByteOrder(il.entsize); in swapStruct()
4025 sys::swapByteOrder(il.entsize); in swapStruct()
[all …]
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c13644 int entsize; member
13727 if (difo[i].entsize != subsec->dofs_entsize) {
14299 uint32_t entsize; local
14316 if ((entsize = sec->dofs_entsize) == 0) {
14321 if (entsize < sizeof (dof_optdesc_t)) {
14326 for (offs = 0; offs < sec->dofs_size; offs += entsize) {