Home
last modified time | relevance | path

Searched refs:max_count (Results 1 – 25 of 61) sorted by relevance

123

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h56 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
80 u32 max_count; member
88 if (LIKELY(c->max_count)) in InitCache()
93 c->max_count = 2 * SizeClassMap::MaxCachedHint(size); in InitCache()
96 DCHECK_NE(c->max_count, 0UL); in InitCache()
102 const uptr num_requested_chunks = c->max_count / 2; in Refill()
113 Drain(&memory_mapper, c, allocator, class_id, c->max_count / 2); in DrainHalfMax()
181 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
208 uptr max_count; member
217 if (LIKELY(c->max_count)) in InitCache()
[all …]
H A Dsanitizer_allocator_primary32.h317 TransferBatch **current_batch, uptr max_count, in PopulateBatches() argument
332 if (b->Count() == max_count) { in PopulateBatches()
352 const uptr max_count = TransferBatch::MaxCached(size); in PopulateFreeList() local
353 DCHECK_GT(max_count, 0); in PopulateFreeList()
361 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
368 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h61 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
62 Drain(c, allocator, class_id, c->max_count / 2); in Deallocate()
85 u32 max_count; member
93 if (LIKELY(c->max_count)) in InitCache()
98 c->max_count = 2 * SizeClassMap::MaxCachedHint(size); in InitCache()
101 DCHECK_NE(c->max_count, 0UL); in InitCache()
107 const uptr num_requested_chunks = c->max_count / 2; in Refill()
180 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
207 uptr max_count; member
216 if (LIKELY(c->max_count)) in InitCache()
[all …]
H A Dsanitizer_allocator_primary32.h307 TransferBatch **current_batch, uptr max_count, in PopulateBatches() argument
322 if (b->Count() == max_count) { in PopulateBatches()
342 const uptr max_count = TransferBatch::MaxCached(size); in PopulateFreeList() local
343 DCHECK_GT(max_count, 0); in PopulateFreeList()
351 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
358 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h63 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
64 Drain(c, allocator, class_id, c->max_count / 2); in Deallocate()
87 u32 max_count; member
95 if (LIKELY(c->max_count)) in InitCache()
100 c->max_count = 2 * SizeClassMap::MaxCachedHint(size); in InitCache()
103 DCHECK_NE(c->max_count, 0UL); in InitCache()
109 const uptr num_requested_chunks = c->max_count / 2; in Refill()
182 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
209 uptr max_count; member
218 if (LIKELY(c->max_count)) in InitCache()
[all …]
H A Dsanitizer_allocator_primary32.h305 TransferBatch **current_batch, uptr max_count, in PopulateBatches() argument
320 if (b->Count() == max_count) { in PopulateBatches()
340 const uptr max_count = TransferBatch::MaxCached(size); in PopulateFreeList() local
341 DCHECK_GT(max_count, 0); in PopulateFreeList()
349 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
356 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
/netbsd-src/external/bsd/elftoolchain/dist/libdwarf/
H A Ddwarf_macinfo.c53 Dwarf_Unsigned max_count, Dwarf_Signed *entry_cnt, in dwarf_get_macro_details() argument
78 if (max_count != 0 && cnt > max_count) in dwarf_get_macro_details()
79 cnt = max_count; in dwarf_get_macro_details()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/
H A Dlist_update_policy.hpp102 max_count = Max_Count enumerator
119 { return base_type::operator()(max_count); } in operator ()()
125 { return base_type::operator()(r_data, max_count); } in operator ()()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/
H A Dlist_update_policy.hpp102 max_count = Max_Count enumerator
119 { return base_type::operator()(max_count); } in operator ()()
125 { return base_type::operator()(r_data, max_count); } in operator ()()
/netbsd-src/external/mit/expat/dist/tests/
H A Dstructdata.c70 storage->max_count = 0; in StructData_Init()
81 if (storage->count == storage->max_count) { in StructData_AddItem()
84 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem()
86 storage->max_count * sizeof(StructDataEntry)); in StructData_AddItem()
H A Dstructdata.h51 int max_count; /* Number of StructDataEntry items in `entries` */ member
/netbsd-src/sys/external/bsd/libfdt/dist/
H A Dlibfdt_env.h93 static inline size_t fdt_strnlen(const char *string, size_t max_count) in fdt_strnlen() argument
95 const char *p = memchr(string, 0, max_count); in fdt_strnlen()
96 return p ? p - string : max_count; in fdt_strnlen()
/netbsd-src/external/gpl3/gdb/dist/zlib/
H A Dtrees.c713 int max_count = 7; /* max repeat count */ local
716 if (nextlen == 0) max_count = 138, min_count = 3;
721 if (++count < max_count && curlen == nextlen) {
735 max_count = 138, min_count = 3;
737 max_count = 6, min_count = 3;
739 max_count = 7, min_count = 4;
758 int max_count = 7; /* max repeat count */ local
762 if (nextlen == 0) max_count = 138, min_count = 3;
766 if (++count < max_count && curlen == nextlen) {
786 max_count = 138, min_count = 3;
[all …]
/netbsd-src/external/cddl/osnet/dist/uts/common/zmod/
H A Dtrees.c717 int max_count = 7; /* max repeat count */ local
720 if (nextlen == 0) max_count = 138, min_count = 3;
725 if (++count < max_count && curlen == nextlen) {
739 max_count = 138, min_count = 3;
741 max_count = 6, min_count = 3;
743 max_count = 7, min_count = 4;
762 int max_count = 7; /* max repeat count */ local
766 if (nextlen == 0) max_count = 138, min_count = 3;
770 if (++count < max_count && curlen == nextlen) {
790 max_count = 138, min_count = 3;
[all …]
/netbsd-src/external/gpl3/binutils/dist/zlib/
H A Dtrees.c713 int max_count = 7; /* max repeat count */ local
716 if (nextlen == 0) max_count = 138, min_count = 3;
721 if (++count < max_count && curlen == nextlen) {
735 max_count = 138, min_count = 3;
737 max_count = 6, min_count = 3;
739 max_count = 7, min_count = 4;
758 int max_count = 7; /* max repeat count */ local
762 if (nextlen == 0) max_count = 138, min_count = 3;
766 if (++count < max_count && curlen == nextlen) {
786 max_count = 138, min_count = 3;
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/zlib/
H A Dtrees.c713 int max_count = 7; /* max repeat count */ local
716 if (nextlen == 0) max_count = 138, min_count = 3;
721 if (++count < max_count && curlen == nextlen) {
735 max_count = 138, min_count = 3;
737 max_count = 6, min_count = 3;
739 max_count = 7, min_count = 4;
758 int max_count = 7; /* max repeat count */ local
762 if (nextlen == 0) max_count = 138, min_count = 3;
766 if (++count < max_count && curlen == nextlen) {
786 max_count = 138, min_count = 3;
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dprofile-count.cc438 if (dump_file && v >= (gcov_type)max_count) in from_gcov_type()
441 (int64_t) v, (int64_t) max_count); in from_gcov_type()
442 ret.m_val = MIN (v, (gcov_type)max_count); in from_gcov_type()
H A Dauto-profile.cc1111 gcov_type max_count = 0; in afdo_set_bb_count() local
1122 if (info.count > max_count) in afdo_set_bb_count()
1123 max_count = info.count; in afdo_set_bb_count()
1148 bb->count = profile_count::from_gcov_type (max_count).afdo (); in afdo_set_bb_count()
1545 profile_count max_count = ENTRY_BLOCK_PTR_FOR_FN (cfun)->count; in afdo_annotate_cfg() local
1554 if (bb->count > max_count) in afdo_annotate_cfg()
1555 max_count = bb->count; in afdo_annotate_cfg()
1575 if (max_count > profile_count::zero ()) in afdo_annotate_cfg()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dprofile-count.c416 if (dump_file && v >= (gcov_type)max_count) in from_gcov_type()
419 (int64_t) v, (int64_t) max_count); in from_gcov_type()
420 ret.m_val = MIN (v, (gcov_type)max_count); in from_gcov_type()
H A Dauto-profile.c1098 gcov_type max_count = 0; in afdo_set_bb_count() local
1109 if (info.count > max_count) in afdo_set_bb_count()
1110 max_count = info.count; in afdo_set_bb_count()
1135 bb->count = profile_count::from_gcov_type (max_count).afdo (); in afdo_set_bb_count()
1521 profile_count max_count = ENTRY_BLOCK_PTR_FOR_FN (cfun)->count; in afdo_annotate_cfg() local
1530 if (bb->count > max_count) in afdo_annotate_cfg()
1531 max_count = bb->count; in afdo_annotate_cfg()
1551 if (max_count > profile_count::zero ()) in afdo_annotate_cfg()
/netbsd-src/external/gpl2/grep/dist/src/
H A Dgrep.c461 static off_t max_count; /* Stop after outputting this many variable
796 outleft = max_count; in grep()
1358 max_count = MAX_OFF_T; in main()
1528 max_count = value; in main()
1529 if (0 <= max_count && max_count == value) in main()
1533 max_count = MAX_OFF_T; in main()
1741 if (max_count == 0) in main()
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dsparc-dis.c459 int min_count = num_opcodes, max_count = 0; in build_hash_table()
466 if (hash_count[i] > max_count) in build_hash_table()
467 max_count = hash_count[i]; in build_hash_table()
472 min_count, max_count, (double) total / HASH_SIZE); in build_hash_table()
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dsparc-dis.c459 int min_count = num_opcodes, max_count = 0; in build_hash_table()
466 if (hash_count[i] > max_count) in build_hash_table()
467 max_count = hash_count[i]; in build_hash_table()
472 min_count, max_count, (double) total / HASH_SIZE); in build_hash_table()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dobjdump.c1364 long max_count = sorted_symcount; in find_symbol_for_address() local
1383 while (min + 1 < max_count) in find_symbol_for_address()
1387 thisplace = (max_count + min) / 2; in find_symbol_for_address()
1391 max_count = thisplace; in find_symbol_for_address()
1414 while (min < max_count in find_symbol_for_address()
2306 size_t max_count; member
2327 result->start.max_count = 2; in jump_info_new()
2511 if (needed_size > a->start.max_count) in jump_info_merge()
2513 a->start.max_count += b->start.max_count; in jump_info_merge()
2516 a->start.max_count * sizeof (bfd_vma *)); in jump_info_merge()
[all …]
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dobjdump.c1394 long max_count = sorted_symcount; in find_symbol_for_address() local
1413 while (min + 1 < max_count) in find_symbol_for_address()
1417 thisplace = (max_count + min) / 2; in find_symbol_for_address()
1421 max_count = thisplace; in find_symbol_for_address()
1444 while (min < max_count in find_symbol_for_address()
2556 size_t max_count; member
2577 result->start.max_count = 2; in jump_info_new()
2761 if (needed_size > a->start.max_count) in jump_info_merge()
2763 a->start.max_count += b->start.max_count; in jump_info_merge()
2766 a->start.max_count * sizeof (bfd_vma *)); in jump_info_merge()
[all …]

123