Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 899) sorted by relevance

12345678910>>...36

/dragonfly/contrib/gcc-4.7/gcc/
HDtree-vrp.c70 tree max; member
234 tree min = vrp_val_min (type), max = vrp_val_max (type); in supports_overflow_infinity() local
240 && max != NULL_TREE in supports_overflow_infinity()
241 && CONSTANT_CLASS_P (max)); in supports_overflow_infinity()
393 vr->min = vr->max = NULL_TREE; in set_value_range_to_varying()
403 tree max, bitmap equiv) in set_value_range() argument
411 gcc_assert (min && max); in set_value_range()
414 gcc_assert (!vrp_val_is_min (min) || !vrp_val_is_max (max)); in set_value_range()
416 cmp = compare_values (min, max); in set_value_range()
421 || !is_overflow_infinity (max)); in set_value_range()
[all …]
HDparams.def59 "max-inline-insns" parameter) is exceeded, the acceptable size
62 "max-inline-insns-single",
70 class declaration in C++) given by the "max-inline-insns-single"
74 "max-inline-insns-auto",
79 "max-inline-insns-recursive",
84 "max-inline-insns-recursive-auto",
89 "max-inline-recursive-depth",
94 "max-inline-recursive-depth-auto",
107 "max-early-inliner-iterations",
126 "max-variable-expansions-in-unroller",
[all …]
HDdata-streamer.h240 HOST_WIDE_INT max, in streamer_write_hwi_in_range() argument
243 HOST_WIDE_INT range = max - min; in streamer_write_hwi_in_range()
245 gcc_checking_assert (val >= min && val <= max && range > 0 in streamer_write_hwi_in_range()
265 HOST_WIDE_INT max) in streamer_read_hwi_in_range() argument
267 HOST_WIDE_INT range = max - min; in streamer_read_hwi_in_range()
279 if (val < min || val > max) in streamer_read_hwi_in_range()
280 lto_value_range_error (purpose, val, min, max); in streamer_read_hwi_in_range()
291 HOST_WIDE_INT max, in bp_pack_int_in_range() argument
294 HOST_WIDE_INT range = max - min; in bp_pack_int_in_range()
297 gcc_checking_assert (val >= min && val <= max && range > 0 in bp_pack_int_in_range()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
HDgimple-ssa-sprintf.c184 unsigned HOST_WIDE_INT max; member
256 if (range.max < HOST_WIDE_INT_MAX)
257 range.max += n;
656 range.max = min; in argmin()
663 fmtresult (unsigned HOST_WIDE_INT min, unsigned HOST_WIDE_INT max,
666 knownrange (min < HOST_WIDE_INT_MAX && max < HOST_WIDE_INT_MAX), in argmin()
670 range.max = max; in argmin()
671 range.likely = max < likely ? min : likely; in argmin()
672 range.unlikely = max; in argmin()
736 if (range.max < (unsigned HOST_WIDE_INT)adjust[1]) in adjust_for_width_or_precision()
[all …]
HDvr-values.c129 wide_int min, max; in get_value_range() local
130 value_range_type rtype = get_range_info (var, &min, &max); in get_value_range()
134 wide_int_to_tree (TREE_TYPE (var), max), in get_value_range()
186 wide_int min, max; in update_value_range() local
187 value_range_type rtype = get_range_info (var, &min, &max); in update_value_range()
192 nr_max = wide_int_to_tree (TREE_TYPE (var), max); in update_value_range()
203 || !vrp_operand_equal_p (old_vr->max, new_vr->max) in update_value_range()
222 set_value_range (old_vr, new_vr->type, new_vr->min, new_vr->max, in update_value_range()
263 if (is_gimple_min_invariant (vr->max)) in symbolic_range_based_on_p()
265 else if (get_single_symbol (vr->max, &neg, &inv) == sym) in symbolic_range_based_on_p()
[all …]
HDtree-vrp.c183 wide_int *min, wide_int *max, in intersect_range_with_nonzero_bits() argument
194 wide_int b_min = wi::round_up_for_mask (*max + 1, nonzero_bits); in intersect_range_with_nonzero_bits()
201 bool b_empty = wi::le_p (b_min, *max, sgn); in intersect_range_with_nonzero_bits()
212 *max = a_max; in intersect_range_with_nonzero_bits()
213 gcc_checking_assert (wi::le_p (*min, *max, sgn)); in intersect_range_with_nonzero_bits()
219 *max = b_min - 1; in intersect_range_with_nonzero_bits()
220 gcc_checking_assert (wi::le_p (*min, *max, sgn)); in intersect_range_with_nonzero_bits()
228 *max = wi::max_value (precision, sgn); in intersect_range_with_nonzero_bits()
234 *max = wi::round_down_for_mask (*max, nonzero_bits); in intersect_range_with_nonzero_bits()
237 if (wi::gt_p (*min, *max, sgn)) in intersect_range_with_nonzero_bits()
[all …]
HDparams.def67 "max-inline-insns" parameter) is exceeded, the acceptable size
70 "max-inline-insns-single",
78 class declaration in C++) given by the "max-inline-insns-single"
82 "max-inline-insns-auto",
87 "max-inline-insns-recursive",
92 "max-inline-insns-recursive-auto",
97 "max-inline-recursive-depth",
102 "max-inline-recursive-depth-auto",
115 "max-early-inliner-iterations",
134 "max-variable-expansions-in-unroller",
[all …]
HDdata-streamer.h235 HOST_WIDE_INT max, in streamer_write_hwi_in_range() argument
238 HOST_WIDE_INT range = max - min; in streamer_write_hwi_in_range()
240 gcc_checking_assert (val >= min && val <= max && range > 0 in streamer_write_hwi_in_range()
254 HOST_WIDE_INT max) in streamer_read_hwi_in_range() argument
256 HOST_WIDE_INT range = max - min; in streamer_read_hwi_in_range()
262 if (val < min || val > max) in streamer_read_hwi_in_range()
263 lto_value_range_error (purpose, val, min, max); in streamer_read_hwi_in_range()
274 HOST_WIDE_INT max, in bp_pack_int_in_range() argument
277 HOST_WIDE_INT range = max - min; in bp_pack_int_in_range()
280 gcc_checking_assert (val >= min && val <= max && range > 0 in bp_pack_int_in_range()
[all …]
/dragonfly/contrib/grep/lib/
HDintprops.h162 #define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ argument
165 : (max) - (b) < (a))
169 #define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ argument
171 ? (max) + (b) < (a) \
176 #define INT_NEGATE_RANGE_OVERFLOW(a, min, max) \ argument
178 ? (a) < - (max) \
185 #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ argument
188 ? (a) < (max) / (b) \
196 : (max) / (b) < (a)))
200 #define INT_DIVIDE_RANGE_OVERFLOW(a, b, min, max) \ argument
[all …]
/dragonfly/contrib/ldns/
HDwire2host.c56 ldns_wire2dname(ldns_rdf **dname, const uint8_t *wire, size_t max, size_t *pos) in ldns_wire2dname() argument
70 if (*pos >= max) { in ldns_wire2dname()
84 if (*pos + 2 > max) { in ldns_wire2dname()
93 } else if (pointer_target >= max) { in ldns_wire2dname()
106 if (*pos + 1 + label_size > max) { in ldns_wire2dname()
127 if (*pos < max) { in ldns_wire2dname()
158 ldns_wire2rdf(ldns_rr *rr, const uint8_t *wire, size_t max, size_t *pos) in ldns_wire2rdf() argument
174 if (*pos + 2 > max) { in ldns_wire2rdf()
181 if (*pos + rd_length > max) { in ldns_wire2rdf()
200 status = ldns_wire2dname(&cur_rdf, wire, max, pos); in ldns_wire2rdf()
[all …]
/dragonfly/contrib/zstd/lib/compress/
HDzstd_compress_sequences.c70 static size_t ZSTD_NCountCost(unsigned const* count, unsigned const max, in ZSTD_NCountCost() argument
75 const U32 tableLog = FSE_optimalTableLog(FSELog, nbSeq, max); in ZSTD_NCountCost()
76 …FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max, ZSTD_useLowProbCount(nbSeq)… in ZSTD_NCountCost()
77 return FSE_writeNCount(wksp, sizeof(wksp), norm, max, tableLog); in ZSTD_NCountCost()
84 static size_t ZSTD_entropyCost(unsigned const* count, unsigned const max, size_t const total) in ZSTD_entropyCost() argument
88 for (s = 0; s <= max; ++s) { in ZSTD_entropyCost()
105 unsigned const max) in ZSTD_fseBitCost() argument
112 if (ZSTD_getFSEMaxSymbolValue(ctable) < max) { in ZSTD_fseBitCost()
114 ZSTD_getFSEMaxSymbolValue(ctable), max); in ZSTD_fseBitCost()
117 for (s = 0; s <= max; ++s) { in ZSTD_fseBitCost()
[all …]
/dragonfly/sys/dev/netif/ix/
HDixgbe_dcb.c52 s32 ixgbe_dcb_calculate_tc_credits(u8 *bw, u16 *refill, u16 *max, in ixgbe_dcb_calculate_tc_credits() argument
77 max[i] = bw[i] ? (bw[i]*IXGBE_DCB_MAX_CREDIT)/100 : min_credit; in ixgbe_dcb_calculate_tc_credits()
234 void ixgbe_dcb_unpack_max_cee(struct ixgbe_dcb_config *cfg, u16 *max) in ixgbe_dcb_unpack_max_cee() argument
240 max[tc] = tc_config[tc].desc_credits_max; in ixgbe_dcb_unpack_max_cee()
465 u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS] = { 0 }; in ixgbe_dcb_config_rx_arbiter_cee() local
468 ixgbe_dcb_unpack_max_cee(dcb_config, max); in ixgbe_dcb_config_rx_arbiter_cee()
475 ret = ixgbe_dcb_config_rx_arbiter_82598(hw, refill, max, tsa); in ixgbe_dcb_config_rx_arbiter_cee()
483 ret = ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwgid, in ixgbe_dcb_config_rx_arbiter_cee()
507 u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS]; in ixgbe_dcb_config_tx_desc_arbiter_cee() local
510 ixgbe_dcb_unpack_max_cee(dcb_config, max); in ixgbe_dcb_config_tx_desc_arbiter_cee()
[all …]
/dragonfly/contrib/zlib-1.2/
HDinftrees.c42 unsigned min, max; /* minimum and maximum code lengths */ local
114 for (max = MAXBITS; max >= 1; max--)
115 if (count[max] != 0) break;
116 if (root > max) root = max;
117 if (max == 0) { /* no symbols to code at all */
126 for (min = 1; min < max; min++)
137 if (left > 0 && (type == CODES || max != 1))
253 if (len == max) break;
269 while (curr + drop < max) {
/dragonfly/usr.sbin/makefs/hammer2/zlib/
HDhammer2_zlib_inftrees.c40 unsigned min, max; /* minimum and maximum code lengths */ in inflate_table() local
112 for (max = MAXBITS; max >= 1; max--) in inflate_table()
113 if (count[max] != 0) break; in inflate_table()
114 if (root > max) root = max; in inflate_table()
115 if (max == 0) { /* no symbols to code at all */ in inflate_table()
124 for (min = 1; min < max; min++) in inflate_table()
135 if (left > 0 && (type == CODES || max != 1)) in inflate_table()
253 if (len == max) break; in inflate_table()
269 while (curr + drop < max) { in inflate_table()
/dragonfly/sys/vfs/hammer2/zlib/
HDhammer2_zlib_inftrees.c40 unsigned min, max; /* minimum and maximum code lengths */ in inflate_table() local
112 for (max = MAXBITS; max >= 1; max--) in inflate_table()
113 if (count[max] != 0) break; in inflate_table()
114 if (root > max) root = max; in inflate_table()
115 if (max == 0) { /* no symbols to code at all */ in inflate_table()
124 for (min = 1; min < max; min++) in inflate_table()
135 if (left > 0 && (type == CODES || max != 1)) in inflate_table()
253 if (len == max) break; in inflate_table()
269 while (curr + drop < max) { in inflate_table()
/dragonfly/sbin/hammer2/zlib/
HDhammer2_zlib_inftrees.c40 unsigned min, max; /* minimum and maximum code lengths */ in inflate_table() local
112 for (max = MAXBITS; max >= 1; max--) in inflate_table()
113 if (count[max] != 0) break; in inflate_table()
114 if (root > max) root = max; in inflate_table()
115 if (max == 0) { /* no symbols to code at all */ in inflate_table()
124 for (min = 1; min < max; min++) in inflate_table()
135 if (left > 0 && (type == CODES || max != 1)) in inflate_table()
253 if (len == max) break; in inflate_table()
269 while (curr + drop < max) { in inflate_table()
/dragonfly/crypto/libressl/crypto/bn/
HDbn_add.c100 int max, min, dif; in BN_uadd() local
114 max = a->top; in BN_uadd()
116 dif = max - min; in BN_uadd()
118 if (bn_wexpand(r, max + 1) == NULL) in BN_uadd()
121 r->top = max; in BN_uadd()
149 int max, min, dif; in BN_usub() local
156 max = a->top; in BN_usub()
158 dif = max - min; in BN_usub()
165 if (bn_wexpand(r, max) == NULL) in BN_usub()
184 while (max > 0 && *--rp == 0) in BN_usub()
[all …]
HDbn_sqr.c69 int max, al; in BN_sqr() local
91 max = 2 * al; /* Non-zero (from above) */ in BN_sqr()
92 if (bn_wexpand(rr, max) == NULL) in BN_sqr()
125 if (bn_wexpand(tmp, max) == NULL) in BN_sqr()
131 if (bn_wexpand(tmp, max) == NULL) in BN_sqr()
141 rr->top = max - 1; in BN_sqr()
143 rr->top = max; in BN_sqr()
159 int i, j, max; in bn_sqr_normal() local
163 max = n * 2; in bn_sqr_normal()
166 rp[0] = rp[max - 1] = 0; in bn_sqr_normal()
[all …]
/dragonfly/lib/libc/gen/
HDgetbsize.c43 long n, max, mul, blocksize; in getbsize() local
62 max = MAXB / GB; in getbsize()
67 max = MAXB / KB; in getbsize()
72 max = MAXB / MB; in getbsize()
76 max = MAXB; in getbsize()
82 max = MAXB; in getbsize()
86 if (n > max) { in getbsize()
88 n = max; in getbsize()
/dragonfly/usr.bin/systat/
HDmbufs.c91 u_long max; in showmbufs() local
98 max = 0, idx = -1; in showmbufs()
104 if (m_mbtypes[i] > max) { in showmbufs()
105 max = m_mbtypes[i]; in showmbufs()
109 if (max == 0) in showmbufs()
121 if (max > 60) { in showmbufs()
122 snprintf(buf, sizeof(buf), " %lu", max); in showmbufs()
123 max = 60; in showmbufs()
124 while (max--) in showmbufs()
128 while (max--) in showmbufs()
/dragonfly/contrib/binutils-2.27/gas/
HDsb.c63 ptr->max = size; in sb_build()
131 if (want > ptr->max) in sb_check()
133 size_t max; in sb_check() local
139 max = (size_t) 1 << (CHAR_BIT * sizeof (want) in sb_check()
144 max = 128; in sb_check()
145 while (want > max) in sb_check()
146 max <<= 1; in sb_check()
148 max -= MALLOC_OVERHEAD + 1; in sb_check()
149 ptr->max = max; in sb_check()
150 ptr->ptr = XRESIZEVEC (char, ptr->ptr, max + 1); in sb_check()
HDmessages.c348 offsetT max, in as_internal_value_out_of_range() argument
358 if (val >= min && val <= max) in as_internal_value_out_of_range()
360 addressT right = max & -max; in as_internal_value_out_of_range()
362 if (max <= 1) in as_internal_value_out_of_range()
378 && max < HEX_MAX_THRESHOLD in as_internal_value_out_of_range()
381 && max > HEX_MIN_THRESHOLD) in as_internal_value_out_of_range()
388 prefix, (int) val, (int) min, (int) max); in as_internal_value_out_of_range()
391 prefix, (int) val, (int) min, (int) max); in as_internal_value_out_of_range()
404 sprintf_vma (max_buf, (bfd_vma) max); in as_internal_value_out_of_range()
420 offsetT max, in as_warn_value_out_of_range() argument
[all …]
/dragonfly/contrib/binutils-2.34/gas/
HDsb.c63 ptr->max = size; in sb_build()
131 if (want > ptr->max) in sb_check()
133 size_t max; in sb_check() local
139 max = (size_t) 1 << (CHAR_BIT * sizeof (want) in sb_check()
144 max = 128; in sb_check()
145 while (want > max) in sb_check()
146 max <<= 1; in sb_check()
148 max -= MALLOC_OVERHEAD + 1; in sb_check()
149 ptr->max = max; in sb_check()
150 ptr->ptr = XRESIZEVEC (char, ptr->ptr, max + 1); in sb_check()
HDmessages.c382 offsetT max, in as_internal_value_out_of_range() argument
392 if (val >= min && val <= max) in as_internal_value_out_of_range()
394 addressT right = max & -max; in as_internal_value_out_of_range()
396 if (max <= 1) in as_internal_value_out_of_range()
411 && max < HEX_MAX_THRESHOLD in as_internal_value_out_of_range()
414 && max > HEX_MIN_THRESHOLD) in as_internal_value_out_of_range()
421 as_bad_where (file, line, err, prefix, val, min, max); in as_internal_value_out_of_range()
423 as_warn_where (file, line, err, prefix, val, min, max); in as_internal_value_out_of_range()
436 sprintf_vma (max_buf, (bfd_vma) max); in as_internal_value_out_of_range()
452 offsetT max, in as_warn_value_out_of_range() argument
[all …]
/dragonfly/crypto/openssh/
HDkexgexs.c75 u_int min = 0, max = 0, nbits = 0; in input_kex_dh_gex_request() local
83 (r = sshpkt_get_u32(ssh, &max)) != 0 || in input_kex_dh_gex_request()
88 kex->max = max; in input_kex_dh_gex_request()
90 max = MINIMUM(DH_GRP_MAX, max); in input_kex_dh_gex_request()
94 if (kex->max < kex->min || kex->nbits < kex->min || in input_kex_dh_gex_request()
95 kex->max < kex->nbits || kex->max < DH_GRP_MIN) { in input_kex_dh_gex_request()
101 kex->dh = mm_choose_dh(min, nbits, max); in input_kex_dh_gex_request()
175 kex->min, kex->nbits, kex->max, in input_kex_dh_gex_init()

12345678910>>...36