Searched refs:maxcnt (Results 1 – 3 of 3) sorted by relevance
83 size_t maxcnt; in elf_i386_relocate_section() local108 maxcnt = shdr->sh_size / shdr->sh_entsize; in elf_i386_relocate_section()118 for (cnt = 0; cnt < maxcnt; ++cnt) in elf_i386_relocate_section()539 size_t maxcnt = shdr->sh_size / shdr->sh_entsize; in elf_i386_count_relocations() local546 for (cnt = 0; cnt < maxcnt; ++cnt) in elf_i386_count_relocations()
3505 optimal_bucket_size (Elf32_Word *hashcodes, size_t maxcnt, int optlevel) in optimal_bucket_size() argument3515 if (maxcnt == 0) in optimal_bucket_size()3521 minsize = maxcnt; in optimal_bucket_size()3522 maxsize = maxcnt + 10000 / maxcnt; in optimal_bucket_size()3528 minsize = MAX (1, maxcnt / 4); in optimal_bucket_size()3531 maxsize = 2 * maxcnt + (6 * MIN (optlevel, 100) * maxcnt) / 100; in optimal_bucket_size()3533 bestsize = maxcnt; in optimal_bucket_size()3537 counts = (uint32_t *) xmalloc ((maxcnt + 1 + maxsize) * sizeof (uint32_t)); in optimal_bucket_size()3538 lengths = &counts[maxcnt + 1]; in optimal_bucket_size()3550 memset (counts, '\0', (maxcnt + 1) * sizeof (uint32_t)); in optimal_bucket_size()[all …]
5717 int const maxcnt = 256; in AddReport() local5718 uintptr_t cur_stack [maxcnt]; in AddReport()5719 int cnt = unwind_cb_(cur_stack, maxcnt, pc); in AddReport()5720 if (cnt > 0 && cnt <= maxcnt) { in AddReport()