Searched refs:max (Results 101 - 125 of 717) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dpwent.t76 my $max = 25;
104 if ($n == $max) {
136 print "# max = $max, n = $n, perfect = ", scalar keys %perfect, "\n";
139 $max++;
148 # What the pwent test is doing is that it compares the $max first
168 for (1..$max) {
178 for (1..$max) {
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Dspecial.c140 * int i = 0, j, max;
142 * if (get_special_contents(NULL, &ppcSC, &max) != 0) exit(1);
156 search_special_contents(char **ppcSC, const char *pcpath, int *piX, int max) argument
159 if (ppcSC == NULL || *piX == max)
162 while (*piX < max) {
314 * max The number of entries allocated.
321 free_special_contents(char ***pppcSC, int max) argument
329 for (i = 0; ppc != NULL && i < max; i++)
372 * max The number of special contents rules.
383 char **ppcSC, int max, in
382 generate_special_contents_rules(int ient, struct cfent **ppcfent, char **ppcSC, int max, int **ppiIndex) argument
511 int max; /* Max number of special contents entries. */ local
[all...]
H A Dwsreg_pkgrm.c92 int max; member in struct:dstrp
303 if (pd->max == 0) {
307 pd->max = APPEND_INCR;
312 } else if ((pd->len + 2) == pd->max) {
317 * why we grow when +2 equals the max, not +1.
319 size_t s = (pd->max + APPEND_INCR) * sizeof (char *);
324 memset(pd->ppc + pd->max, '\0',
328 pd->max += APPEND_INCR;
/opensolaris-onvv-gate/usr/src/lib/libc/port/stdio/
H A Dtempnam.c45 #define max(A, B) (((A) < (B))?(B):(A)) macro
69 if ((p = malloc(max(max(x, y), z)+16)) == NULL)
/opensolaris-onvv-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DUARequester.java121 int max = config.getMaximumResults();
132 addUnique(serviceTypes, ret, max);
177 int max = config.getMaximumResults();
203 addUnique(serviceURLs, ret, max);
254 int max = config.getMaximumResults();
299 if (ret.size() > max) {
300 ret.setSize(max);
358 int max = config.getMaximumResults();
361 for (i = 0; i < n && ret.size() < max; i++) {
396 if (ret.size() >= max) {
575 addUnique(Vector incoming, Vector returns, int max) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/eqn/
H A Ddiacrit.c32 printf(".nr 10 %du\n", max(eht[p1]-ebase[p1]-VERT(2), 0));
38 printf(".nr 10 %du\n", VERT(max(eht[p1]-ebase[p1]-EM(1, ps), 0)));
51 c, max(effps-3, 6));
60 c, max(effps-3, 6));
H A Dshift.c50 ebase[yyval] = b1 + max(0, h2-b1-d1);
51 eht[yyval] = h1 + max(0, h2-b1-d1);
75 eht[yyval] = h1 + max(0, h2-VERT((6*(h1-b1))/10));
81 eht[yyval] = h1 + max(0, h2 - VERT(1));
151 eht[yyval] = h1 + max(0, h3-VERT((6*(h1-b1))/10)) + max(0, h2-b1-d1);
153 eht[yyval] = h1 + max(0, h3-VERT(1)) + max(0, h2-b1-d1);
155 ebase[yyval] = b1+max(0, h2-b1-d1);
/opensolaris-onvv-gate/usr/src/cmd/tbl/
H A Dts.c65 max(int a, int b) function
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dutf8_heavy.pl187 my $max = defined $2 ? hex $2 : $min;
189 $val += $max - $min if defined $3;
269 my $max = defined $b ? hex $b : $min;
271 next if $max < $start;
272 print "$min $max $val\n" if DEBUG;
278 for ($key = $min; $key <= $max; $key++) {
290 for ($key = $min; $key <= $max; $key++, $val++) {
303 my $max = defined $2 ? hex $2 : $min;
304 next if $max < $start;
308 for ($key = $min; $key <= $max;
[all...]
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.multiaggs3.d53 @e = max(i);
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/nsgmls.src/include/
H A DISet.h22 T max; member in struct:SP_NAMESPACE::ISetRange
42 return r_.size() == 1 && r_[0].min == r_[0].max;
/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/misc/
H A DString.c63 int sz = s->sg.max * 2;
68 (void) memcpy(ns, s, s->sg.max + sizeof (StringGuts) + 1);
74 ns->sg.max = sz;
89 while (s->sg.end + n > s->sg.max)
166 while (catlen > s->sg.max)
191 s->sg.max = STRING_START;
215 while (len > s->sg.max)
217 s->sg.start = s->sg.end = s->sg.max / 2;
/opensolaris-onvv-gate/usr/src/lib/libparted/common/include/parted/
H A Dconstraint.h58 const PedGeometry* max);
64 ped_constraint_new_from_max (const PedGeometry* max);
/opensolaris-onvv-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs.conf91 # max-xfer-size: Sets the maximum SCSI transfer size in bytes per IO
99 # Memory_model max-xfer-size
107 max-xfer-size=339968;
242 # pci-max-read: Sets the PCI-X max memory read byte count on the adapter.
244 # This value controls the adapter's max PCI-X memory read count.
255 #pci-max-read=1024;
349 # By default, the max number of simultaneous IOs a target port can handle
/opensolaris-onvv-gate/usr/src/uts/common/sys/pcmcia/
H A Dpcser_io.h77 #define FUNKY(v, min, max) ((v < min) || (v > max))
95 * parameters for the serial lines. min and max values are listed.
100 #define MAX_DRAIN_SIZE 1024 /* max buf size in pcser_drainsilo() */
102 #define MAX_HIWATER (PCSER_SILOSIZE - 2) /* max hiwater for Rx silo */
104 #define MAX_LOWWATER ((pcser_defaults->pcser_hiwater)-2) /* max lowwater */
106 #define MAX_RTPR 255 /* max Rx timeout regtister value */
108 #define MAX_RX_FIFO 8 /* max value for Rx FIFO threshold */
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/asn1/
H A Da_set.c184 c.max=(length == 0)?0:(c.p+length);
186 c.inf=ASN1_get_object(&c.p,&c.slen,&c.tag,&c.xclass,c.max-c.p);
198 if ((c.slen+c.p) > c.max)
207 c.max=c.p+c.slen;
209 while (c.p < c.max)
215 if ((s=func(NULL,&c.p,c.slen,c.max-c.p)) == NULL) */
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/ioat/
H A Dioat_rs.c89 * Test to see if the max value is 64-bit aligned. If so, we don't need
156 uint_t max; local
166 max = rstruct->rs_max;
170 * a free resource. There are a total of 'max'-'min'+1 resources.
173 for (index = min; index <= max; index++) {
190 * at 'max'+1.
193 if (rstruct->rs_last > max) {
205 * rollover at 'max'.
208 if (rstruct->rs_last > max) {
/opensolaris-onvv-gate/usr/src/lib/libeti/form/common/
H A Dfield.c338 set_max_field(FIELD *f, int max) argument
342 if (!f || max && ((onerow && f->dcols > max) ||
343 (!onerow && f->drows > max)))
346 f->maxgrow = max;
349 if (!Opt(f, O_STATIC) && ((!max || onerow && f->dcols < max) ||
350 (!onerow && f->drows < max))) {
362 dynamic_field_info(FIELD *f, int *drows, int *dcols, int *max) argument
367 /* int *max; maximu
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_delete.c50 useconds_t max; local
55 max = DEFAULT_TIMEOUT;
60 max = (*cp) * 1000000; /* convert to usecs */
65 for (usecs = INIT_WAIT_USECS; max > 0; max -= usecs) {
68 usecs = (usecs > max) ? max : usecs;
/opensolaris-onvv-gate/usr/src/cmd/valtools/
H A Dckitem.c56 static int max = 1; variable
67 "\t-m max #maximum choices user may select\n" \
174 max = atoi(optarg);
175 if (max > SHRT_MAX || max < SHRT_MIN) {
177 gettext("%s: ERROR: too large or too small max value specified\n"),
338 if (max < 1) {
341 mmax = max;
347 * even though 'max' is set to 1. So to take care of that problem, we
356 n = ckitem(mp, item, max, defl
[all...]
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/
H A D_times_power.c99 unsigned short productsize, trailing_zeros_to_delete, needed_precision, *pp, *table[3], max[3], *start[3], *lz[3], tablepower[3]; local
114 max[0] = _max_tiny_powers_two;
115 max[1] = _max_small_powers_two;
116 max[2] = _max_big_powers_two;
133 max[0] = _max_tiny_powers_ten;
134 max[1] = _max_small_powers_ten;
135 max[2] = _max_big_powers_ten;
151 tablepower[i] = n % max[i];
152 n = n / max[i];
/opensolaris-onvv-gate/usr/src/uts/common/syscall/
H A Dlseek.c66 * 'max' represents the maximum possible representation of offset
77 lseek32_common(file_t *fp, int stype, offset_t off, offset_t max, argument
95 if (reg && noff > max) {
102 if (reg && off > (max - curoff)) {
107 if (reg && noff > max) {
118 if (reg && (off > (max - (offset_t)vattr.va_size))) {
123 if (reg && noff > max) {
151 if (reg && (noff > max))
182 if (reg && (noff > max))
194 ASSERT((reg && noff <= max) || !re
[all...]
/opensolaris-onvv-gate/usr/src/lib/libadm/common/
H A Dckitem.c125 ckitem(CKMENU *menup, char *item[], short max, char *defstr, char *error, argument
150 if (max < 1)
151 max = menup->nchoices;
174 list = match(menup, strval, (int)max);
179 for (i = 0; (i < max); i++)
189 getnum(char *strval, int max, int *begin, int *end) argument
198 n = max;
202 if ((n <= 0) || (n > max))
230 match(CKMENU *menup, char *strval, int max) argument
239 choice = calloc((size_t)max, sizeo
[all...]
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/cs/
H A Dconstraint.c116 * \p max, and to entirely contain \p min.
123 const PedGeometry* max)
129 PED_ASSERT (max != NULL, return NULL);
130 PED_ASSERT (ped_geometry_test_inside (max, min), return NULL);
132 ped_geometry_init (&start_range, min->dev, max->start,
133 min->start - max->start + 1);
135 max->end - min->end + 1);
140 min->length, max->length);
161 * \p max.
166 ped_constraint_new_from_max (const PedGeometry* max) argument
121 ped_constraint_new_from_min_max( const PedGeometry* min, const PedGeometry* max) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dddi.h56 * define min() and max() as macros so that drivers will not pick up the
57 * min() and max() kernel functions since they do signed comparison only.
64 #ifdef max
65 #undef max macro
66 #endif /* max */
67 #define max(a, b) ((a) < (b) ? (b) : (a)) macro

Completed in 263 milliseconds

1234567891011>>