/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | copywin.c | 47 #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/lib/libxcurses2/src/libc/xcurses/ |
H A D | copywin.c | 51 #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/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | timer.c | 90 mintime = min(mintime, CHECK_INTERVAL - iftime); 99 mintime = min(mintime, supplyinterval - mtime); 125 mintime = min(mintime, 128 mintime = min(mintime,
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vtops.c | 100 minor_t min; local 135 if (devvt_str2minor(nm, &min) != 0) { 139 if (vt_minor_valid(min) == B_FALSE) 154 minor_t min; local 170 if (devvt_str2minor(nm, &min) != 0) 173 if (vt_minor_valid(min) == B_FALSE) 177 vap->va_rdev = makedevice(maj, min); 237 minor_t min; local 246 devvt_str2minor(nm, &min) != 0) 260 vap->va_rdev = makedevice(maj, min); 358 int min, cnt; local [all...] |
/illumos-gate/usr/src/lib/libeti/menu/common/ |
H A D | menuformat.c | 64 Cols(m) = min(cols, Nitems(m)); 66 Height(m) = min(rows, Rows(m));
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.multiaggs1.d | 49 @b[pid] = min(new_time);
|
H A D | tst.multiaggs3.d | 52 @d = min(i);
|
/illumos-gate/usr/src/cmd/tic/ |
H A D | tic_read.c | 102 #define min(a, b) ((a) > (b) ? (b) : (a)) macro 166 read(fd, TermNames, min(127, header.name_size)); 174 read(fd, UB, min(BoolCount, header.bool_count)); 185 read(fd, (char *)UN, min(NumCount, header.num_count) * 2); 187 for (i = 0; i < min(header.num_count, NumCount); i++) { 220 num_strings = min(StrCount, header.str_count); 226 numread = read(fd, byte, 2*min(num_strings, 245 numread = read(fd, number, 2*min(num_strings,
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_osdep.h | 16 #ifndef min 17 #define min(a, b) (((a) < (b)) ? (a) : (b)) macro
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | hash.c | 257 int min = list_count(hash->h_buckets[0]); local 259 int max = min; 261 int tot = min; 265 if (min && verbose) 266 printf("%3d: %d\n", 0, min); 269 if (min > count) { 270 min = count; 285 printf(" Min/Max: %d in #%d, %d in #%d\n", min, minidx, max, maxidx);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mkdev.h | 97 #define makedev(maj, min) (__makedev(NEWDEV, maj, min))
|
H A D | mac_flow_impl.h | 133 #define FLOW_MIN_PRIORITY(min, max, pri) \ 134 ((min) + ((((max) - (min)) / MRP_PRIORITY_LEVELS) * (pri))) 140 #define FLOW_MAX_PRIORITY(min, max, base) \ 141 ((base) + (((max) - (min)) / MRP_PRIORITY_LEVELS)) 146 * medium so we can just return max, min or min + (max - min) / 2. 149 #define FLOW_PRIORITY(min, max, pri) \ 151 (pri) == MPL_LOW ? (min) [all...] |
/illumos-gate/usr/src/uts/common/ipp/meters/ |
H A D | tswtcl.c | 70 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/ |
H A D | l_strplumb.c | 59 kstr_open(major_t maj, minor_t min, vnode_t **vpp, int *fd) argument 64 vp = makespecvp(makedevice(maj, min), VCHR); 212 * "maj", "min", and "lastmin" are value-result parameters. 219 kstr_autopush(int op, major_t *maj, minor_t *min, minor_t *lastmin, argument 252 push.sap_minor = *min; 265 *min = push.sap_minor; 271 *min = push.sap_minor; 277 *min = (minor_t)-1; 297 push.sap_minor = *min; 312 if (*min [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | tsort.c | 308 _dep_visit(Lm_list *lml, int min, Rt_map *clmp, Rt_map *dlmp, uint_t bflags, argument 318 return (min); 331 return (min); 338 return (min); 347 return (min); 355 return (min); 362 return (min); 379 if (_min < min) { 383 return (min); 393 int min; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | display_funcs.c | 95 int sec, min, hour, day, month, year; local 101 min = BCD_TO_BYTE(mostek[1] & 0x7f); 109 utc = (utc << 6) - (utc << 2) + min; /* 60 * hour + min */ 110 utc = (utc << 6) - (utc << 2) + sec; /* 60 * min + sec */
|
/illumos-gate/usr/src/cmd/tip/aculib/ |
H A D | ventel.c | 164 #define min(a, b) (((a) > (b)) ? (b) : (a)) macro 212 (void) read(fd, buf, min(nread, 60)); 215 nread -= min(nread, 60);
|
/illumos-gate/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/ |
H A D | Joyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh | 39 <range name='bay' min='0' max='15'> 89 <range name='disk' min='0' max='0'>
|
/illumos-gate/usr/src/lib/libsmbfs/ |
H A D | cflib.h | 66 int min; /* min for ival */ member in struct:opt_args
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | LinearDistribution.java | 131 long min; 135 min = Long.MIN_VALUE; 137 min = (base + ((i - 1) * step)); 148 long[] range = new long[] {min, max};
|
H A D | LogDistribution.java | 114 long min = LocalConsumer._quantizeBucket(i); 117 long[] range = new long[] {min, max};
|
/illumos-gate/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 133 minor_t min; local 142 min = minor(statbuf.st_rdev); 147 device, maj, min, 155 device, maj, min,
|
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_utils.c | 213 vmxnet3_getprop(vmxnet3_softc_t *dp, char *name, int min, int max, int def) argument 230 if (ret < min || ret > max) { 231 ASSERT(def >= min && def <= max); 233 name, min, ret, max);
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi.c | 136 topo_instance_t min, topo_instance_t max, void *pi_private, void *data) 260 int min, max; local 382 min = 0; 450 max = min + ncmp - 1; 462 f, min, max); 464 CHIP, min, max); 476 CHIP, CHIP, min, max, 478 min = max + 1; 135 x86pi_enum(topo_mod_t *mod, tnode_t *t_parent, const char *name, topo_instance_t min, topo_instance_t max, void *pi_private, void *data) argument
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_date.c | 113 datepart(const char *buf, int size, int min, int max, int *errp) { argument 122 if (result < min)
|