Searched refs:min (Results 1 - 25 of 672) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/util-tests/tests/sleep/
H A Dsleep.awk18 if ($2 >= min && $2 <= min * factor) {
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.min_neg.d31 * Positive min() test using negative values
35 * NOTES: This is verifiable simple positive test of the min() function.
43 @ = min(0);
44 @ = min(-900);
H A Derr.D_PROTO_LEN.minnoarg.d31 * min() should not accept a call with no arguments
39 @a[1] = min();
H A Derr.D_PROTO_LEN.mintoomany.d32 * min() should not more than one argument
40 @a[1] = min(1, 2);
H A Derr.D_AGG_SCALAR.mintoofew.d32 * min() should not accept a non-scalar value
40 @a[pid] = min(probefunc);
H A Dtst.min.d31 * Positive min() test
35 * NOTES: This is verifiable simple positive test of the min() function.
49 @a = min(i);
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_select_assign.c5 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
13 val = min(5, i);
19 val = min(100, i);
25 val = min(100, i);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dratoi.c12 int ratoi(ps, pi, min, max)
14 int *pi, min, max;
20 if (*pe != '\0' || i < min || i > max)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Darc4random_uniform.c35 uint32_t r, min; local
41 min = -upper_bound % upper_bound;
51 if (r >= min)
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dfill_db_type_size.pl52 my $min = shift;
59 $range{min} = $min;
68 if ($range{max} < $tmp->{min}) {
72 } elsif ($range{min} <= $tmp->{min}) {
78 } elsif ($range{min} <= $tmp->{max}) {
83 $range{min} = $tmp->{min};
112 if ($range->{min}
[all...]
H A Dfill_db_type_value.pl51 my $min = shift;
58 $range{min} = $min;
67 if ($range{max} < $tmp->{min}) {
71 } elsif ($range{min} <= $tmp->{min}) {
77 } elsif ($range{min} <= $tmp->{max}) {
82 $range{min} = $tmp->{min};
111 if ($range->{min}
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcpumem-retire.conf34 setprop cpu_ret_maxdelay 5min
37 setprop page_ret_maxdelay 5min
/illumos-gate/usr/src/cmd/dtrace/demo/sched/
H A Dticktime.d32 @[cpu] = min(timestamp - last[cpu]);
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dtime.c41 int hour, min; local
57 if ((min = sec / 60) != 0)
59 if ((hour = min / 60) != 0)
60 min = min % 60;
64 MSG_ORIG(MSG_TIME_HMSF), hour, min, sec, usec);
65 else if (min)
67 MSG_ORIG(MSG_TIME_MSF), min, sec, usec);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Daddr_order.c32 #ifndef min
33 #define min(a,b) ((a) < (b) ? (a) : (b)) macro
46 const int minlen = min(addr1->length, addr2->length);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinit_color.c128 double max, min; local
133 min = MIN(r, g, b);
137 l = (max + min) / 2;
141 if (max == min) {
146 s = (max - min) / (max + min);
148 s = (max - min) / (2 - max - min);
152 rc = (max - r) / (max - min);
153 gc = (max - g) / (max - min);
[all...]
/illumos-gate/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/cpumem-retire/
H A Dcpumem-retire.conf34 setprop page_ret_maxdelay 5min
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcpumem-retire.conf35 setprop page_ret_maxdelay 5min
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_ranges.c53 if (!is_err_ptr(drange->min))
56 if (drange->min.value == drange->max.value)
57 snprintf(buf, sizeof(buf), "(%lld)", drange->min.value);
59 snprintf(buf, sizeof(buf), "(%lld)-(%lld)", drange->min.value, drange->max.value);
80 sval_to_str(prev_drange->min),
81 sval_to_str(sval_type_max(prev_drange->min.type)));
90 } else if (sval_cmp(tmp->min, tmp->max) == 0) {
92 sval_to_str(tmp->min));
95 sval_to_str(tmp->min),
132 static int truncates_nicely(struct symbol *type, sval_t min, sval_ argument
147 add_range_t(struct symbol *type, struct range_list **rl, sval_t min, sval_t max) argument
353 sval_t min, max; local
536 sval_t prev_min, min, max; local
773 sval_t min, max; local
793 alloc_range_helper_sval(sval_t min, sval_t max, int perm) argument
806 alloc_range(sval_t min, sval_t max) argument
811 alloc_range_perm(sval_t min, sval_t max) argument
816 alloc_rl(sval_t min, sval_t max) argument
837 collapse_pointer_rl(struct range_list **rl, sval_t min, sval_t max) argument
887 add_range(struct range_list **list, sval_t min, sval_t max) argument
1048 remove_range(struct range_list *list, sval_t min, sval_t max) argument
1413 sval_t min, max; local
1469 sval_t min = { .type = &bool_ctype }; local
1684 sval_t min, max; local
1757 sval_t min, max; local
1777 sval_t min, max; local
1845 sval_t min, max; local
1901 sval_t min, max, zero; local
1927 sval_t shift, min, max; local
1971 sval_t shift, min, max; local
2069 sval_t min, max; local
[all...]
H A Dsmatch_statement_count.c28 int left, right, min; local
33 min = left;
34 if (right < min)
35 min = right;
36 return alloc_state_num(min);
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DDistribution.java166 long min; // current bucket
168 long[] range; // two element array: { min, max }
172 min = range[0];
174 bucket = new Distribution.Bucket(min, max, frequencies[i]);
209 long min = range[0];
212 if (bucket.getMin() != min) {
213 throw new IllegalArgumentException("bucket min " +
214 bucket.getMin() + " at index " + i + ", expected " + min);
351 * always one less than the min of the next bucket (or {@link
361 private final long min; field in class:Distribution.Bucket
[all...]
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_strtoint.c165 int64_t min, int64_t max)
170 if (min > max)
175 if (max > INT8_MAX || min < INT8_MIN)
179 if (max > INT16_MAX || min < INT16_MIN)
183 if (max > INT32_MAX || min < INT32_MIN)
187 if (max > INT64_MAX || min < INT64_MIN)
194 if (min == 0 && max == 0) {
195 min = -(1ULL << (8 * sz - 1));
204 if (val < min) {
236 uint64_t min, uint64_
164 uu_strtoint(const char *s, void *v, size_t sz, int base, int64_t min, int64_t max) argument
235 uu_strtouint(const char *s, void *v, size_t sz, int base, uint64_t min, uint64_t max) argument
[all...]
/illumos-gate/usr/src/cmd/cpio/
H A Dcpiostat.c44 major_t maj, min; local
47 min = minor(dev); /* get minor number */
50 return ((maj << 8) | min);
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c162 char *min; local
211 min = strchr(maj, ':');
213 if (min != NULL) {
214 *min++ = '\0';
215 if (strchr(min, ':') != NULL) {
221 min = "*";
228 if (*min == '(') {
232 if (parse_minor_range(min, &dp->dps_lomin,
234 err_print(INVALID_MINOR, min);
239 if (strlen(min) >
[all...]
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_parse.c47 int value, int min, int max)
49 if (value < min || value > max) {
52 facility, cachename, value, min, max);
46 cachemgr_set_integer(int *addr, char *facility, char *cachename, int value, int min, int max) argument

Completed in 447 milliseconds

1234567891011>>