Lines Matching refs:nentries
1228 size_t nentries = size / (entsize ?: 1); in show_symbols() local
1300 if (nentries > SIZE_MAX / sizeof (GElf_SymX)) in show_symbols()
1303 fullname, nentries, elf_ndxscn (scn), in show_symbols()
1306 if (nentries * sizeof (GElf_SymX) < MAX_STACK_ALLOC) in show_symbols()
1307 sym_mem = (GElf_SymX *) alloca (nentries * sizeof (GElf_SymX)); in show_symbols()
1309 sym_mem = (GElf_SymX *) xmalloc (nentries * sizeof (GElf_SymX)); in show_symbols()
1319 for (size_t cnt = 0; cnt < nentries; ++cnt) in show_symbols()
1443 nentries = nentries_used; in show_symbols()
1450 qsort (sym_mem, nentries, sizeof (GElf_SymX), sort_by_name); in show_symbols()
1453 qsort (sym_mem, nentries, sizeof (GElf_SymX), sort_by_address); in show_symbols()
1459 show_symbols_sysv (ebl, shdr->sh_link, fullname, sym_mem, nentries, in show_symbols()
1465 sym_mem, nentries); in show_symbols()
1472 sym_mem, nentries); in show_symbols()
1477 if (nentries * sizeof (sym_mem[0]) >= MAX_STACK_ALLOC) in show_symbols()