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

123456

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Daddr_order.c33 #ifndef min
34 #define min(a,b) ((a) < (b) ? (a) : (b)) macro
46 const int minlen = min(addr1->length, addr2->length);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/lib/List/
H A DUtil.pm12 @EXPORT_OK = qw(first min max minstr maxstr reduce sum shuffle);
53 sub min (@) { reduce { $a < $b ? $a : $b } @_ } subroutine
93 use List::Util qw(first max maxstr min minstr reduce shuffle sum);
152 =item min LIST
157 $foo = min 1..10 # 1
158 $foo = min 3,9,12 # 3
159 $foo = min @bar, @baz # whatever
167 Similar to C<min>, but treats all the entries in the list as strings
191 $foo = reduce { $a < $b ? $a : $b } 1..10 # min
/osnet-11/usr/src/grub/grub2/grub-core/kern/i386/qemu/
H A Dmmap.c34 #define min(a,b) ((a) > (b) ? (b) : (a)) macro
91 min (mem_size, (grub_uint32_t) -GRUB_BOOT_MACHINE_SIZE) - 0x100000,
/osnet-11/usr/src/cmd/hal/utils/
H A Dcdutils.h36 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
/osnet-11/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)
/osnet-11/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;
/osnet-11/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)
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Dsupport.h54 * The classic min and max macros.
56 #ifndef min
57 #define min(a,b) ((a) <= (b) ? (a) : (b)) macro
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dstring2key.c69 #ifndef min
70 #define min(A, B) ((A) < (B) ? (A): (B)) macro
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dstore_cred.c130 OM_uint32 maj, maj2, min; local
170 min = krb5_gss_init_context(&ctx);
171 if (min) {
172 *minor_status = min;
219 maj2 = krb5_gss_acquire_cred(&min,
264 (void) gss_release_oid_set(&min, elements_stored);
272 (void) gss_release_oid_set(&min, &desired_mechs);
274 (void) krb5_gss_release_cred(&min,
277 (void) krb5_gss_release_name(&min, &in_name);
/osnet-11/usr/src/lib/libc/port/print/
H A Dprint.h101 #define min(a, b) ((a) < (b)? (a): (b)) macro
/osnet-11/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;
/osnet-11/usr/src/lib/libmp/common/
H A Dold_mp.c39 int min(MINT *a) { return (mp_min(a)); } function
/osnet-11/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...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dfmd.c94 fmd_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, argument
H A Dlegacy_hc.c97 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2)
96 legacy_hc_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
H A Dpkg.c93 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2)
92 pkg_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
/osnet-11/usr/src/lib/fm/topo/modules/common/disk/common/
H A Ddisk.c44 const char *name, topo_instance_t min, topo_instance_t max,
43 disk_enum(topo_mod_t *mod, tnode_t *baynode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/zambezi/common/
H A Dzambezi.c173 topo_instance_t min, topo_instance_t max, void *notused, void *data)
172 zambezi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused, void *data) argument
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/
H A Dxz_config.h65 #define min(x, y) ((x) < (y) ? (x) : (y)) macro
66 #define min_t(type, x, y) min(x, y)
/osnet-11/usr/src/grub/grub2/grub-core/mmap/i386/pc/
H A Dmmap.c26 #define min(a,b) (((a) < (b)) ? (a) : (b)) macro
85 = min (grub_mmap_get_upper (),0x3f00000ULL) >> 10;
87 = min (grub_mmap_get_post64 (), 0xfc000000ULL) >> 16;
/osnet-11/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...]
/osnet-11/usr/src/lib/libproc/common/
H A DP32ton.c59 minor_t min = minor(d); local
61 if (maj == (major_t)PRNODEV || min == (minor_t)PRNODEV)
64 return ((dev32_t)((maj << NBITSMINOR32) | min));
/osnet-11/usr/src/lib/libprtdiag/common/
H A Ddisplay_funcs.c92 int sec, min, hour, day, month, year; local
98 min = BCD_TO_BYTE(mostek[1] & 0x7f);
106 utc = (utc << 6) - (utc << 2) + min; /* 60 * hour + min */
107 utc = (utc << 6) - (utc << 2) + sec; /* 60 * min + sec */
/osnet-11/usr/src/lib/fm/topo/modules/common/xfp/common/
H A Dxfp.c207 topo_instance_t min, topo_instance_t max, void *notused, void *data)
215 if (xfp_declare(rnode, name, min, data, mod) == NULL)
206 xfp_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused, void *data) argument

Completed in 161 milliseconds

123456