Searched refs:MIN (Results 26 - 50 of 739) sorted by relevance

1234567891011>>

/freebsd-11-stable/bin/pax/
H A Dpax.h232 #ifndef MIN
233 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzle.c49 while (src < MIN(last, s_end) && src[0] == 0)
56 while (src < MIN(last, s_end) - 1 && (src[0] | src[1]))
/freebsd-11-stable/stand/libsa/geli/
H A Dgeliboot.h44 #ifndef MIN
45 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
/freebsd-11-stable/usr.sbin/fstyp/
H A Dmsdosfs.c87 MIN(size, sizeof(pfat_bsbpb->BS_VolLab) + 1));
105 MIN(size, sizeof(pfat32_bsbpb->BS_VolLab) + 1));
150 MIN(size,
H A Dfstyp.h35 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
/freebsd-11-stable/lib/libc/gen/
H A Dgetloadavg.c63 nelem = MIN(nelem, sizeof(loadinfo.ldavg) / sizeof(fixpt_t));
H A Dutxdb.c42 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-11-stable/sys/dev/sound/midi/
H A Dmidiq.h64 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-11-stable/usr.bin/calendar/
H A Dsunpos.c193 #define MIN(h) (15 * ((h) % 4)) macro
315 sunpos(year, 6, d, UTCoffset, HOUR(h), MIN(h), SEC(h),
320 DEBUG2(year, 6, d, HOUR(h), MIN(h),
345 sunpos(year, 12, d, UTCoffset, HOUR(h), MIN(h), SEC(h),
350 DEBUG2(year, 12, d, HOUR(h), MIN(h),
384 HOUR(h), MIN(h), SEC(h), 0.0, 0.0, &prevL, &dec);
391 HOUR(h), MIN(h), SEC(h),
397 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL);
407 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL);
/freebsd-11-stable/sys/kern/
H A Dtty_outq.c163 cend = MIN(MIN(to->to_end, to->to_begin + len),
224 cend = MIN(MIN(to->to_end, to->to_begin + uio->uio_resid),
310 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff);
/freebsd-11-stable/sys/dev/ath/ath_rate/sample/
H A Dsample.h118 #ifndef MIN
119 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
233 cw = MIN(WIFI_CW_MAX, (cw + 1) * 2);
/freebsd-11-stable/lib/libc/stdio/
H A Dfvwrite.c67 #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-11-stable/sys/geom/label/
H A Dg_label_msdosfs.c114 MIN(size, sizeof(pfat_bsbpb->BS_VolLab) + 1));
136 MIN(size, sizeof(pfat32_bsbpb->BS_VolLab) + 1));
187 MIN(size,
H A Dg_label_iso9660.c68 strlcpy(label, volume, MIN(size, VOLUME_LEN));
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dgeometry.cpp30 #undef MIN macro
31 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/freebsd-11-stable/contrib/nvi/common/
H A Dutil.h59 #undef MIN macro
61 #define MIN(_a,_b) ((_a)<(_b)?(_a):(_b)) macro
/freebsd-11-stable/contrib/gcc/config/
H A Dhost-hpux.c125 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
/freebsd-11-stable/sys/arm/qemu/
H A Dvirt_mp.c70 mp_ncpus = MIN(mp_ncpus, MAXCPU);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dcache_config.c87 apr_uint64_t cache_size = MIN(cache_settings.cache_size,
/freebsd-11-stable/lib/libkvm/
H A Dkvm_getloadavg.c101 nelem = MIN(nelem, (int)(sizeof(loadinfo.ldavg) / sizeof(fixpt_t)));
/freebsd-11-stable/lib/libulog/
H A Dulog_login.c60 memcpy(utx->ut_id, id, MIN(sizeof utx->ut_id, sizeof id));
/freebsd-11-stable/usr.bin/grep/regex/
H A Dglue.h38 #define MIN(a,b) ((a > b) ? (b) : (a)) macro
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx_iomuxreg.h37 ((IMX_IOMUXREG_BIT(MAX((__m), (__n)) + 1) - 1) ^ (IMX_IOMUXREG_BIT(MIN((__m), (__n))) - 1))
/freebsd-11-stable/sys/contrib/xz-embedded/freebsd/
H A Dxz_config.h65 # define min(x, y) MIN((x), (y))
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Docteon-pci-console.c53 #define MIN(a,b) min((a),(b)) macro
60 #ifndef MIN
61 # define MIN(a,b) (((a)<(b))?(a):(b)) macro
163 bytes_to_write = MIN(bytes_to_write, write_reqest_size);
208 bytes_to_read = MIN(bytes_to_read, buf_size);
330 int write_size = MIN(bytes_available, bytes_to_write);
400 read_size = MIN(bytes_available, buffer_size);

Completed in 310 milliseconds

1234567891011>>