Searched defs:min (Results 1 - 25 of 274) sorted by relevance

1234567891011

/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/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/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/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/libxcurses/src/libc/xcurses/
H A Dcopywin.c47 #undef min macro
48 #define min(a,b) ((a) < (b) ? (a) : (b)) macro
66 tmaxc = min(s->_begx + s->_maxx, t->_begx + t->_maxx) - 1 - t->_begx;
67 tmaxr = min(s->_begy + s->_maxy, t->_begy + t->_maxy) - 1 - t->_begy;
/illumos-gate/usr/src/head/
H A Dmacros.h41 * max() and min() depend on the types of the operands
46 #define min(a, b) ((a) > (b) ? (b) : (a)) macro
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.h38 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.h199 #ifndef min
200 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
/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
/illumos-gate/usr/src/ucblib/libcurses/
H A Doverlay.c27 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
46 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy);
47 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx);
H A Doverwrite.c28 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
45 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy);
46 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx);
H A Dtoucholap.c26 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
43 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy);
44 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx);
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dprint.h78 #define min(a, b) ((a) < (b)? (a): (b)) macro
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmtre.c38 short min; member in struct:Stack_s
118 if (p->min = *s == '-')
151 p->min = 0;
158 if (p->min = *s == '-')
187 p->min = 0;
198 if (p->min)
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dipp_types.c47 int min; member in struct:__anon4303
232 #define min(a, b) ((a < b) ? a : b) macro
234 result = min(t->max, result);
235 #undef min macro
273 result = max(t->min, result);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dstring2key.c66 #ifndef min
67 #define min(A, B) ((A) < (B) ? (A): (B)) macro
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dstore_cred.c127 OM_uint32 maj, maj2, min; local
167 min = krb5_gss_init_context(&ctx);
168 if (min) {
169 *minor_status = min;
216 maj2 = krb5_gss_acquire_cred(&min,
259 (void) gss_release_oid_set(&min, elements_stored);
267 (void) gss_release_oid_set(&min, &desired_mechs);
269 (void) krb5_gss_release_cred(&min,
272 (void) krb5_gss_release_name(&min, &in_name);
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c113 datepart(const char *buf, int size, int min, int max, int *errp) { argument
122 if (result < min)
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dcopywin.c51 #undef min macro
52 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
63 tmaxc = min(s->_begx + s->_maxx, t->_begx + t->_maxx) - 1 - t->_begx;
64 tmaxr = min(s->_begy + s->_maxy, t->_begy + t->_maxy) - 1 - t->_begy;
/illumos-gate/usr/src/lib/libc/port/locale/
H A Drunefile.h37 int32_t min; member in struct:__anon3017
/illumos-gate/usr/src/lib/libc/port/print/
H A Dprint.h101 #define min(a, b) ((a) < (b)? (a): (b)) macro
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Ddefs.h89 #define MIN_SUPPLY_TIME 15 /* min. time to supply tables */
91 #define MIN_WAIT_TIME 1 /* min. interval to multicast changes */
107 #define min(a, b) ((a) > (b) ? (b) : (a)) macro
/illumos-gate/usr/src/cmd/tbl/
H A Dtt.c32 min(int a, int b) function
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtswtcl.c70 uint32_t min = 0, additive, rnd; local
143 rnd = min + (additive % (tswtcl_data->avg_rate - min + 1));
168 rnd = min + (additive % (tswtcl_data->avg_rate - min + 1));
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_ndd.c61 nge_nd_get_prop_val(dev_info_t *dip, char *nm, long min, long max, int *pval) argument
71 if (*pval >= min && *pval <= max)

Completed in 178 milliseconds

1234567891011