/freebsd-10.0-release/sys/dev/isci/scil/ |
H A D | sci_util.h | 63 #ifndef MIN 64 #define MIN(x,y) ((x) < (y) ? (x) : (y)) macro
|
/freebsd-10.0-release/lib/libc/gen/ |
H A D | getloadavg.c | 65 nelem = MIN(nelem, sizeof(loadinfo.ldavg) / sizeof(fixpt_t));
|
H A D | utxdb.c | 42 MIN(sizeof (fu)->fu_ ## field, sizeof (ut)->ut_ ## field)); \ 46 MIN(sizeof (fu)->fu_id, sizeof (ut)->ut_id)); \ 107 MIN(sizeof (ut)->ut_ ## field - 1, sizeof (fu)->fu_ ## field)); \ 111 MIN(sizeof (ut)->ut_id, sizeof (fu)->fu_id)); \
|
/freebsd-10.0-release/sys/dev/sound/midi/ |
H A D | midiq.h | 64 MIN( (size), (head).s - (head).h) ), \ 66 MIDIQ_MOVE(&(head).b[(head).h], (buf), sizeof(*(head).b) * MIN((size), (head).s - (head).h)); \ 82 printf("#1 %p %p bytes copied %jd tran req s %d h %d t %d\n", &(head).b[(head).t], (buf), (intmax_t)sizeof(*(head).b) * MIN((size), (head).s - (head).t), (size), (head).h, (head).t); \ 83 if (move) MIDIQ_MOVE((buf), &(head).b[(head).t], sizeof(*(head).b) * MIN((size), (head).s - (head).t)); \
|
/freebsd-10.0-release/usr.bin/calendar/ |
H A D | sunpos.c | 191 #define MIN(h) (15 * ((h) % 4)) macro 313 sunpos(year, 6, d, UTCoffset, HOUR(h), MIN(h), SEC(h), 318 DEBUG2(year, 6, d, HOUR(h), MIN(h), 343 sunpos(year, 12, d, UTCoffset, HOUR(h), MIN(h), SEC(h), 348 DEBUG2(year, 12, d, HOUR(h), MIN(h), 382 HOUR(h), MIN(h), SEC(h), 0.0, 0.0, &prevL, &dec); 389 HOUR(h), MIN(h), SEC(h), 395 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL); 405 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL);
|
/freebsd-10.0-release/sys/kern/ |
H A D | tty_outq.c | 157 cend = MIN(MIN(to->to_end, to->to_begin + len), 218 cend = MIN(MIN(to->to_end, to->to_begin + uio->uio_resid), 304 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff);
|
/freebsd-10.0-release/contrib/texinfo/lib/ |
H A D | system.h | 282 #ifdef MIN 283 #undef MIN macro 285 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
|
/freebsd-10.0-release/lib/libc/stdio/ |
H A D | fvwrite.c | 67 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro 87 w = _swrite(fp, p, MIN(len, BUFSIZ)); 128 COPY(w); /* copy MIN(fp->_w,len), */ 161 * that the amount to write is MIN(len,nldist). 172 s = MIN(len, nldist);
|
/freebsd-10.0-release/sys/amd64/include/ |
H A D | pcpu.h | 118 u_char __b[MIN(sizeof(__pcpu_type(name)), 8)]; \ 140 u_char __b[MIN(sizeof(__pcpu_type(name)), 8)]; \ 188 u_char __b[MIN(sizeof(__pcpu_type(name)), 8)]; \
|
/freebsd-10.0-release/sys/boot/powerpc/ps3/ |
H A D | ps3stor.c | 121 #define MIN(a, b) ((a) <= (b) ? (a) : (b)) macro 135 nsectors = MIN(nleft, BOUNCE_SECTORS); 169 #undef MIN macro
|
/freebsd-10.0-release/sys/dev/ath/ath_rate/sample/ |
H A D | sample.h | 118 #ifndef MIN 119 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro 234 cw = MIN(WIFI_CW_MAX, (cw + 1) * 2);
|
/freebsd-10.0-release/sys/geom/label/ |
H A D | g_label_msdosfs.c | 115 MIN(size, sizeof(pfat_bsbpb->BS_VolLab) + 1)); 137 MIN(size, sizeof(pfat32_bsbpb->BS_VolLab) + 1)); 188 MIN(size,
|
H A D | g_label_iso9660.c | 69 strlcpy(label, volume, MIN(size, VOLUME_LEN));
|
/freebsd-10.0-release/sys/i386/include/ |
H A D | pcpu.h | 137 u_char __b[MIN(sizeof(__res), 4)]; \ 159 u_char __b[MIN(sizeof(__val), 4)]; \ 202 u_char __b[MIN(sizeof(__val), 4)]; \
|
/freebsd-10.0-release/contrib/groff/src/libs/libgroff/ |
H A D | geometry.cpp | 30 #undef MIN macro 31 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
|
/freebsd-10.0-release/contrib/nvi/common/ |
H A D | util.h | 59 #undef MIN macro 61 #define MIN(_a,_b) ((_a)<(_b)?(_a):(_b)) macro
|
/freebsd-10.0-release/lib/libc/locale/ |
H A D | gb2312.c | 119 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
|
/freebsd-10.0-release/contrib/gcc/config/ |
H A D | host-hpux.c | 125 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
|
/freebsd-10.0-release/lib/libkvm/ |
H A D | kvm_getloadavg.c | 95 nelem = MIN(nelem, (int)(sizeof(loadinfo.ldavg) / sizeof(fixpt_t)));
|
/freebsd-10.0-release/lib/libulog/ |
H A D | ulog_login.c | 60 memcpy(utx->ut_id, id, MIN(sizeof utx->ut_id, sizeof id));
|
/freebsd-10.0-release/sys/contrib/xz-embedded/freebsd/ |
H A D | xz_config.h | 66 # define min(x, y) MIN((x), (y))
|
/freebsd-10.0-release/sys/dev/lindev/ |
H A D | full.c | 61 error = uiomove(zbuf, MIN(uio->uio_resid, PAGE_SIZE), uio);
|
/freebsd-10.0-release/usr.bin/grep/regex/ |
H A D | glue.h | 38 #define MIN(a,b) ((a > b) ? (b) : (a)) macro
|
/freebsd-10.0-release/bin/pax/ |
H A D | buf_subs.c | 406 res = MIN((bufend - bufpt), skcnt); 445 cnt = MIN(cnt, res); 497 cnt = MIN(cnt, outcnt); 545 cnt = MIN(cnt, incnt); 577 cnt = MIN(cnt, skcnt); 620 cnt = MIN(cnt, size); 703 cnt = MIN(cnt, size);
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | spa_history.c | 112 shpp->sh_phys_max_off = MIN(shpp->sh_phys_max_off, 1<<30); 130 firstread = MIN(sizeof (reclen), shpp->sh_phys_max_off - phys_bof); 167 firstwrite = MIN(len, shpp->sh_phys_max_off - phys_eof); 381 read_len = MIN(*len, shpp->sh_pool_create_len - 397 read_len = MIN(*len, phys_eof - phys_read_off); 399 read_len = MIN(*len, 402 leftover = MIN(*len - read_len,
|