/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/ |
H A D | tst.Bean.ksh.out | 45 …max = 10, frequency = 0], org.opensolaris.os.dtrace.Distribution$Bucket[min = 11, max = 20, freque… 56 …max = 10, frequency = 0], org.opensolaris.os.dtrace.Distribution$Bucket[min = 11, max = 20, freque… 68 …max = 10, frequency = 0], org.opensolaris.os.dtrace.Distribution$Bucket[min = 11, max = 20, freque… 79 …max = 10, frequency = 0], org.opensolaris.os.dtrace.Distribution$Bucket[min = 11, max = 20, freque… 150 …max = -2305843009213693953, frequency = 0], org.opensolaris.os.dtrace.Distribution$Bucket[min = -2… 151 …max = -2305843009213693953, frequency = 0], org.opensolaris.os.dtrace.Distribution$Bucket[min = -2… 153 …max = -2305843009213693953, frequency = 0], org.opensolaris.os.dtrace.Distribution$Bucket[min = -2… 154 …max = -2305843009213693953, frequency = 0], org.opensolaris.os.dtrace.Distribution$Bucket[min = -2… 156 …max = 10, frequency = 0], org.opensolaris.os.dtrace.Distribution$Bucket[min = 11, max = 20, freque… 157 …max = 10, frequency = 0], org.opensolaris.os.dtrace.Distribution$Bucket[min = 11, max = 20, freque… [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_ranges.c | 56 if (drange->min.value == drange->max.value) in get_err_pointer_str() 59 snprintf(buf, sizeof(buf), "(%lld)-(%lld)", drange->min.value, drange->max.value); in get_err_pointer_str() 90 } else if (sval_cmp(tmp->min, tmp->max) == 0) { in show_rl() 96 sval_to_str(tmp->max)); in show_rl() 132 static int truncates_nicely(struct symbol *type, sval_t min, sval_t max) in truncates_nicely() argument 144 return (min.uvalue & mask) == (max.uvalue & mask); in truncates_nicely() 147 static void add_range_t(struct symbol *type, struct range_list **rl, sval_t min, sval_t max) in add_range_t() argument 150 if (sval_cmp(min, max) == 0) { in add_range_t() 151 add_range(rl, sval_cast(type, min), sval_cast(type, max)); in add_range_t() 156 if (sval_fits(type, min) && sval_fits(type, max)) { in add_range_t() [all …]
|
H A D | smatch_common_functions.c | 25 unsigned long max; in match_strlen() local 33 max = get_array_size_bytes_max(str); in match_strlen() 34 if (max == 0) { in match_strlen() 38 max--; in match_strlen() 40 sval_type_val(&ulong_ctype, max)); in match_strlen() 72 int min, max; in match_sprintf() local 75 max = get_formatted_string_size(call, str_arg); in match_sprintf() 76 if (min < 0 || max < 0) { in match_sprintf() 79 *rl = alloc_rl(ll_to_sval(min), ll_to_sval(max)); in match_sprintf()
|
H A D | check_index_overflow.c | 105 static int common_false_positives(struct expression *array, sval_t max) in common_false_positives() argument 130 max.value == array->string->length) { in common_false_positives() 136 if (macro && max.uvalue < 4 && in common_false_positives() 213 sval_t max; in should_warn() local 231 if (!get_the_max(offset, &max)) in should_warn() 233 if (array_size > max.value) in should_warn() 245 if (common_false_positives(array_expr, max)) in should_warn() 272 sval_t max; in array_check() local 310 max = rl_max(user_rl); in array_check() 312 max = rl_max(abs_rl); in array_check() [all …]
|
H A D | check_spectre.c | 97 sval_t max; in get_max_by_type() local 99 max.type = &ullong_ctype; in get_max_by_type() 100 max.uvalue = -1ULL; in get_max_by_type() 105 if (type && sval_type_max(type).uvalue < max.uvalue) in get_max_by_type() 106 max = sval_type_max(type); in get_max_by_type() 113 return max.uvalue; in get_max_by_type() 117 return max.uvalue; in get_max_by_type() 120 return max.uvalue; in get_max_by_type() 123 return max.uvalue; in get_max_by_type()
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | fill_db_type_size.pl | 53 my $max = shift; 60 $range{max} = $max; 68 if ($range{max} < $tmp->{min}) { 73 if ($range{max} <= $tmp->{max}) { 74 $range{max} = $tmp->{max}; 78 } elsif ($range{min} <= $tmp->{max}) { 79 if ($range{max} <= $tmp->{max}) { 112 if ($range->{min} == $range->{max}) { 115 return print_num($range->{min}) . "-" . print_num($range->{max}); 144 my ($sth, @row, $cur_type, $type, @ranges, $range_txt, %range, $min, $max, $union_array, $skip); [all …]
|
H A D | fill_db_type_value.pl | 52 my $max = shift; 59 $range{max} = $max; 67 if ($range{max} < $tmp->{min}) { 72 if ($range{max} <= $tmp->{max}) { 73 $range{max} = $tmp->{max}; 77 } elsif ($range{min} <= $tmp->{max}) { 78 if ($range{max} <= $tmp->{max}) { 111 if ($range->{min} == $range->{max}) { 114 return print_num($range->{min}) . "-" . print_num($range->{max}); 148 my ($sth, @row, $cur_type, $type, @ranges, $range_txt, %range, $min, $max, $union_array, $skip); [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/t/ |
H A D | Project.t | 444 …[ 0, 0, { "allowunits" => 1 }, "value9:150::::task.max-lwps=(priv,1000M,deny,signal=SIGHUP),(priv,… 457 …[ 0, 0, { "allowunits" => 1 }, "rctl1:163::::task.max-lwps=(priv,1000,deny,signal=HUP),(priv,1000k… 458 [ 0, 0, {}, "rctl1:163::::task.max-lwps=(priv,1000,deny,signal=HUP),(priv,10001,deny,signal=15)" ], 459 [ 0, 0, {}, "rctl2:164::::process.max-port-events=(basic,1000,deny)" ], 460 [ 0, 0, { "allowunits" => 1 }, "rctl3:165::::project.max-crypto-memory=(priv,2.2gb,deny)" ], 461 [ 0, 0, {}, "rctl3:165::::project.max-crypto-memory=(priv,10,deny)" ], 462 [ 0, 0, { "allowunits" => 1 }, "rctl4:166::::project.max-crypto-memory=(privileged,100m,deny)" ], 463 [ 0, 0, {}, "rctl4:166::::project.max-crypto-memory=(privileged,100,deny)" ], 464 [ 0, 0, { "allowunits" => 1 }, "rctl5:167::::project.max-crypto-memory=(priv,1000m,deny)" ], 465 [ 0, 0, {}, "rctl5:167::::project.max-crypto-memory=(priv,1000,deny)" ], [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | init_color.c | 126 double max, min; in _rgb_to_hls() local 130 max = MAX(r, g, b); in _rgb_to_hls() 135 l = (max + min) / 2; in _rgb_to_hls() 139 if (max == min) { in _rgb_to_hls() 144 s = (max - min) / (max + min); in _rgb_to_hls() 146 s = (max - min) / (2 - max - min); in _rgb_to_hls() 150 rc = (max - r) / (max - min); in _rgb_to_hls() 151 gc = (max - g) / (max - min); in _rgb_to_hls() 152 bc = (max - b) / (max - min); in _rgb_to_hls() 154 if (r == max) in _rgb_to_hls() [all …]
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_strtoint.c | 163 int64_t min, int64_t max) in uu_strtoint() argument 168 if (min > max) in uu_strtoint() 173 if (max > INT8_MAX || min < INT8_MIN) in uu_strtoint() 177 if (max > INT16_MAX || min < INT16_MIN) in uu_strtoint() 181 if (max > INT32_MAX || min < INT32_MIN) in uu_strtoint() 194 if (min == 0 && max == 0) { in uu_strtoint() 196 max = (1ULL << (8 * sz - 1)) - 1; in uu_strtoint() 207 } else if (val > max) { in uu_strtoint() 236 uint64_t min, uint64_t max) in uu_strtouint() 240 if (min > max) in uu_strtouint() 234 uu_strtouint(const char * s,void * v,size_t sz,int base,uint64_t min,uint64_t max) uu_strtouint() argument [all...] |
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | minmax.test | 14 # aggregate min() and max() functions and which are handled as 60 execsql {SELECT max(x) FROM t1} 75 execsql {SELECT max(x) FROM t1} 82 execsql {SELECT max(y) FROM t1} 101 execsql {SELECT max(a) FROM t2} 108 execsql {INSERT INTO t2 VALUES((SELECT max(a) FROM t2)+1,999)} 110 execsql {SELECT max(a) FROM t2} 116 execsql {INSERT INTO t2 VALUES((SELECT max(a) FROM t2)+1,999)} 119 SELECT b FROM t2 WHERE a=(SELECT max(a) FROM t2) 128 SELECT coalesce(min(x+0),-1), coalesce(max(x+0),-1) FROM [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.aggpackbanner.ksh.out | 3 key min .------------------------------------------. max | count 12 key min .------------------------------------------. max | count 21 key min .------------------------------------------. max | count 30 key min .------------------------------------------. max | count 39 key min .------------------------------------------. max | count 49 key min .------------------------------------------. max | count 58 key min .------------------------------------------. max | count 67 key min .------------------------------------------. max | count 76 key min .------------------------------------------. max | count 86 key min .------------------------------------------. max | count [all …]
|
H A D | tst.aggpack.d.out | 3 min .--------------------------------. max | count 7 min .--------------------------------. max | count 11 min .---. max | count 14 key min .---. max | count 17 key min .---. max | count 20 key min .---. max | count 23 key min .---. max | count
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Distribution.java | 167 long max; // next bucket minus one in createBuckets() local 173 max = range[1]; in createBuckets() 174 bucket = new Distribution.Bucket(min, max, frequencies[i]); in createBuckets() 210 long max = range[1]; in checkBucketRange() local 216 if (bucket.getMax() != max) { in checkBucketRange() 218 bucket.getMax() + " at index " + i + ", expected " + max); in checkBucketRange() 363 private final long max; field in Distribution.Bucket 422 max = rangeMaximumInclusive; in Bucket() 441 return max; in getMax() 469 (max == b.max) && in equals() [all …]
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | inftrees.c | 38 unsigned min, max; /* minimum and maximum code lengths */ in inflate_table() local 110 for (max = MAXBITS; max >= 1; max--) in inflate_table() 111 if (count[max] != 0) break; in inflate_table() 112 if (root > max) root = max; in inflate_table() 113 if (max == 0) { /* no symbols to code at all */ in inflate_table() 122 for (min = 1; min < max; min++) in inflate_table() 133 if (left > 0 && (type == CODES || max != 1)) in inflate_table() 249 if (len == max) break; in inflate_table() 265 while (curr + drop < max) { in inflate_table()
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPGetRefreshInterval.c | 49 unsigned short max = 0; /* max interval result cookie */ in SLPGetRefreshInterval() local 77 &max, &collator, &mr); in SLPGetRefreshInterval() 81 &max, &collator, &mr); in SLPGetRefreshInterval() 89 return (max); in SLPGetRefreshInterval() 96 unsigned short *max = (unsigned short *)cookie; in refresh_interval_cb() local 104 *max = 0; in refresh_interval_cb() 117 if (anint > *max) { in refresh_interval_cb() 118 *max = anint; in refresh_interval_cb()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_dcb.c | 53 s32 ixgbe_dcb_calculate_tc_credits(u8 *bw, u16 *refill, u16 *max, in ixgbe_dcb_calculate_tc_credits() argument 78 max[i] = bw[i] ? (bw[i]*IXGBE_DCB_MAX_CREDIT)/100 : min_credit; in ixgbe_dcb_calculate_tc_credits() 235 void ixgbe_dcb_unpack_max_cee(struct ixgbe_dcb_config *cfg, u16 *max) in ixgbe_dcb_unpack_max_cee() argument 241 max[tc] = tc_config[tc].desc_credits_max; in ixgbe_dcb_unpack_max_cee() 468 u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS] = { 0 }; in ixgbe_dcb_config_rx_arbiter_cee() local 471 ixgbe_dcb_unpack_max_cee(dcb_config, max); in ixgbe_dcb_config_rx_arbiter_cee() 478 ret = ixgbe_dcb_config_rx_arbiter_82598(hw, refill, max, tsa); in ixgbe_dcb_config_rx_arbiter_cee() 486 ret = ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwgid, in ixgbe_dcb_config_rx_arbiter_cee() 510 u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS]; in ixgbe_dcb_config_tx_desc_arbiter_cee() local 513 ixgbe_dcb_unpack_max_cee(dcb_config, max); in ixgbe_dcb_config_tx_desc_arbiter_cee() [all …]
|
/illumos-gate/usr/src/ucbcmd/tr/ |
H A D | tr.c | 50 struct string { int last, max; char *p; } string1, string2; member 62 string1.max = string2.max = 0; in main() 136 if(s->max) { in next() 137 if(s->last++ < s->max) in next() 139 s->max = s->last = 0; in next() 143 s->max = nextc(s); in next() 144 if(s->max==0) { in next() 148 if(s->max < s->last) { in next() 149 s->last = s->max-1; in next()
|
/illumos-gate/usr/src/lib/libm/i386/src/ |
H A D | expm1f.S | 77 fstp %st(0) / 2**(z-[z])-1,max([z],-100) 78 fld1 / 1,2**(z-[z])-1,max([z],-100) 79 faddp %st,%st(1) / 2**(z-[z]) ,max([z],-100) 80 fscale / exp(x) ,max([z],-100) 81 fld1 / 1,exp(x) ,max([z],-100) 82 fsubrp %st,%st(1) / exp(x)-1 ,max([z],-100) 109 fstp %st(0) / max([z],-100) 110 fld1 / 1,max([z],-100) 111 fscale / exp(x) ,max([z],-100) 112 fld1 / 1,exp(x) ,max([z],-100) [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_001_neg.ksh | 93 typeset -i max=1024 99 (( max = max - cnt + 1 )) 100 while (( max > 0 )); do 101 if (( max == 1 )); then 106 ((cnt = 1024 - max)) 111 (( max -= 1 ))
|
/illumos-gate/usr/src/lib/libfruutils/ |
H A D | fru_tag.c | 79 static fru_tag_t max = { 0xFFFFFFFFFFFFFFFFULL }; in mk_tag() local 86 if ((dense > max.a.dense) || (pl_len > max.a.pl_len)) { in mk_tag() 95 if ((dense > max.b.dense) || (pl_len > max.b.pl_len)) { in mk_tag() 104 if ((dense > max.c.dense) || (pl_len > max.c.pl_len)) { in mk_tag() 113 if ((dense > max.d.dense) || (pl_len > max.d.pl_len)) { in mk_tag() 122 if ((dense > max.e.dense) || (pl_len > max.e.pl_len)) { in mk_tag() 131 if ((dense > max.f.dense) || (pl_len > max.f.pl_len)) { in mk_tag() 140 if ((dense > max.g.dense) || (pl_len > max.g.pl_len)) { in mk_tag()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | cache.c | 64 int i, max, rc; in nsldapi_add_result_to_cache() local 89 max = GRABSIZE; in nsldapi_add_result_to_cache() 92 if ( i == (max - 1) ) { in nsldapi_add_result_to_cache() 93 max += GRABSIZE; in nsldapi_add_result_to_cache() 95 sizeof(LDAPMod *) * max ); in nsldapi_add_result_to_cache() 128 if ( i == (max - 1) ) { in nsldapi_add_result_to_cache() 129 max++; in nsldapi_add_result_to_cache() 131 sizeof(LDAPMod *) * max ); in nsldapi_add_result_to_cache()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | daisyforms.c | 380 int max = 0; in max_requests_needing_form_mounted() local 399 (++pps->nrequests >= max)) in max_requests_needing_form_mounted() 400 max = pps->nrequests; in max_requests_needing_form_mounted() 405 if (++pps->nrequests >= max) in max_requests_needing_form_mounted() 406 max = pps->nrequests; in max_requests_needing_form_mounted() 407 return (max); in max_requests_needing_form_mounted() 415 int max = 0; in max_requests_needing_pwheel_mounted() local 437 if (++pps->nrequests >= max) in max_requests_needing_pwheel_mounted() 438 max = pps->nrequests; in max_requests_needing_pwheel_mounted() 446 if (++pps->nrequests >= max) in max_requests_needing_pwheel_mounted() [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | UARequester.java | 121 int max = config.getMaximumResults(); in findServiceTypes() local 132 addUnique(serviceTypes, ret, max); in findServiceTypes() 177 int max = config.getMaximumResults(); in findServices() local 203 addUnique(serviceURLs, ret, max); in findServices() 254 int max = config.getMaximumResults(); in findAttributes() local 299 if (ret.size() > max) { in findAttributes() 300 ret.setSize(max); in findAttributes() 358 int max = config.getMaximumResults(); in findAttributes() local 361 for (i = 0; i < n && ret.size() < max; i++) { in findAttributes() 396 if (ret.size() >= max) { in findAttributes() [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_queue.c | 42 av1394_initq(av1394_queue_t *q, ddi_iblock_cookie_t ibc, int max) in av1394_initq() argument 51 q->q_max = max; in av1394_initq() 64 av1394_setmaxq(av1394_queue_t *q, int max) in av1394_setmaxq() argument 67 q->q_max = max; in av1394_setmaxq() 74 int max; in av1394_getmaxq() local 77 max = q->q_max; in av1394_getmaxq() 79 return (max); in av1394_getmaxq()
|