/third_party/elfutils/libelf/ |
D | elf_getdata.c | 259 size_t entsize; in __libelf_set_rawdata_wrlock() local 267 entsize = 1; in __libelf_set_rawdata_wrlock() 276 entsize = SH_ENTSIZE_HASH (ehdr); in __libelf_set_rawdata_wrlock() 285 entsize = 1; in __libelf_set_rawdata_wrlock() 287 entsize = __libelf_type_sizes[elf->class - 1][t]; in __libelf_set_rawdata_wrlock() 292 if (entsize == 0) in __libelf_set_rawdata_wrlock() 293 entsize = 1; in __libelf_set_rawdata_wrlock() 295 if (unlikely (size % entsize != 0)) in __libelf_set_rawdata_wrlock()
|
/third_party/elfutils/libdw/ |
D | dwarf_getpubnames.c | 49 const size_t entsize = sizeof (struct pubnames_s); in get_offsets() local 60 struct pubnames_s *newmem = realloc (mem, allocated * entsize); in get_offsets() 134 dbg->pubnames_sets = realloc (mem, cnt * entsize); in get_offsets()
|
/third_party/elfutils/libdwfl/ |
D | link_map.c | 629 const size_t entsize = gelf_fsize (mod->main.elf, in consider_executable() local 631 const size_t n = data->d_size / entsize; in consider_executable() 638 d_val_vaddr = phdr->p_vaddr + entsize * j + entsize / 2; in consider_executable() 1021 size_t entsize = (elfclass == ELFCLASS32 in dwfl_link_map_report() local 1023 if (unlikely (dyn_filesz > SIZE_MAX / entsize)) in dwfl_link_map_report() 1032 if (dyn_filesz / entsize == 0) in dwfl_link_map_report()
|
D | ChangeLog | 193 * link_map.c (dwfl_link_map_report): Make sure dyn_filesz / entsize is
|
/third_party/libfuse/example/ |
D | passthrough_ll.c | 665 size_t entsize; in lo_do_readdir() local 698 entsize = fuse_add_direntry_plus(req, p, rem, name, in lo_do_readdir() 705 entsize = fuse_add_direntry(req, p, rem, name, in lo_do_readdir() 708 if (entsize > rem) { in lo_do_readdir() 714 p += entsize; in lo_do_readdir() 715 rem -= entsize; in lo_do_readdir()
|
D | passthrough_hp.cc | 739 size_t entsize; in do_readdir() local 744 entsize = fuse_add_direntry_plus(req, p, rem, entry->d_name, &e, entry->d_off); in do_readdir() 748 entsize = fuse_add_direntry(req, p, rem, entry->d_name, &e.attr, entry->d_off); in do_readdir() 751 if (entsize > rem) { in do_readdir() 759 p += entsize; in do_readdir() 760 rem -= entsize; in do_readdir()
|
/third_party/elfutils/src/ |
D | nm.c | 1239 size_t entsize = shdr->sh_entsize; in show_symbols() local 1242 if (entsize == 0 in show_symbols() 1243 || entsize != gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT)) in show_symbols() 1248 else if (size % entsize != 0) in show_symbols() 1255 size_t nentries = size / (entsize ?: 1); in show_symbols()
|
D | elfcmp.c | 118 static bool hash_content_equivalent (size_t entsize, Elf_Data *, Elf_Data *); 836 hash_content_equivalent (size_t entsize, Elf_Data *data1, Elf_Data *data2) in hash_content_equivalent() argument 896 switch (entsize) in hash_content_equivalent()
|
D | elflint.c | 2616 TEST (entsize, 1); in check_null()
|
D | ChangeLog | 471 section has inconsistent size or entsize.
|
/third_party/ntfs-3g/libfuse-lite/ |
D | fuse_lowlevel.c | 242 unsigned entsize = fuse_dirent_size(namelen); in fuse_add_dirent() local 243 unsigned padlen = entsize - entlen; in fuse_add_dirent() 254 return buf + entsize; in fuse_add_dirent() 260 size_t entsize; in fuse_add_direntry() local 263 entsize = fuse_dirent_size(strlen(name)); in fuse_add_direntry() 264 if (entsize <= bufsize && buf) in fuse_add_direntry() 266 return entsize; in fuse_add_direntry()
|
/third_party/libabigail/src/ |
D | abg-elf-helpers.cc | 1522 size_t entsize = (shdr != NULL && shdr->sh_entsize != 0 in get_soname_of_elf_file() local 1526 ? shdr->sh_size / entsize : INT_MAX); in get_soname_of_elf_file()
|
/third_party/libabigail/ |
D | ChangeLog | 1675 Make sure entsize is non-zero before use.
|