Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 25 of 920) sorted by relevance

12345678910>>...37

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dprofile-count.h333 ret.m_val = MIN ((uint32_t)(m_val + other.m_val), max_probability); in class()
334 ret.m_quality = MIN (m_quality, other.m_quality); in class()
351 m_val = MIN ((uint32_t)(m_val + other.m_val), max_probability); in class()
352 m_quality = MIN (m_quality, other.m_quality); in class()
366 ret.m_quality = MIN (m_quality, other.m_quality); in class()
380 m_quality = MIN (m_quality, other.m_quality); in class()
394 ret.m_quality = MIN (MIN (m_quality, other.m_quality), ADJUSTED); in class()
408 m_quality = MIN (MIN (m_quality, other.m_quality), ADJUSTED); in class()
424 ret.m_quality = MIN (MIN (m_quality, other.m_quality), in class()
433 ret.m_val = MIN (RDIV ((uint64_t)m_val * max_probability, in class()
[all …]
Dregset.h102 #define EXECUTE_IF_SET_IN_REG_SET(REGSET, MIN, REGNUM, RSI) \ argument
103 EXECUTE_IF_SET_IN_BITMAP (REGSET, MIN, REGNUM, RSI)
108 #define EXECUTE_IF_AND_COMPL_IN_REG_SET(REGSET1, REGSET2, MIN, REGNUM, RSI) \ argument
109 EXECUTE_IF_AND_COMPL_IN_BITMAP (REGSET1, REGSET2, MIN, REGNUM, RSI)
114 #define EXECUTE_IF_AND_IN_REG_SET(REGSET1, REGSET2, MIN, REGNUM, RSI) \ argument
115 EXECUTE_IF_AND_IN_BITMAP (REGSET1, REGSET2, MIN, REGNUM, RSI) \
Dira-int.h660 #define SET_MINMAX_SET_BIT(R, I, MIN, MAX) __extension__ \ argument
661 (({ int _min = (MIN), _max = (MAX), _i = (I); \
673 #define CLEAR_MINMAX_SET_BIT(R, I, MIN, MAX) __extension__ \ argument
674 (({ int _min = (MIN), _max = (MAX), _i = (I); \
685 #define TEST_MINMAX_SET_BIT(R, I, MIN, MAX) __extension__ \ argument
686 (({ int _min = (MIN), _max = (MAX), _i = (I); \
699 #define SET_MINMAX_SET_BIT(R, I, MIN, MAX) \ argument
700 ((R)[(unsigned) ((I) - (MIN)) / IRA_INT_BITS] \
701 |= ((IRA_INT_TYPE) 1 << ((unsigned) ((I) - (MIN)) % IRA_INT_BITS)))
703 #define CLEAR_MINMAX_SET_BIT(R, I, MIN, MAX) \ argument
[all …]
/netbsd/src/external/bsd/ntp/dist/scripts/monitoring/
Dtimelocal.pl35 $MIN = 60 * $SEC;
36 $HR = 60 * $MIN;
46 $cheat + $_[0] * $SEC + $_[1] * $MIN + $_[2] * $HR + ($_[3]-1) * $DAYS;
54 $cheat + $_[0] * $SEC + $_[1] * $MIN + $_[2] * $HR + ($_[3]-1) * $DAYS
55 + $tzmin * $MIN - 60 * 60 * ($_[8] != 0);
75 $guess -= $g[0] * $SEC + $g[1] * $MIN + $g[2] * $HR + $g[3] * $DAYS;
/netbsd/src/sys/external/bsd/common/include/linux/
Dkernel.h86 #define min(X, Y) MIN(X, Y)
90 #define min_t(T, X, Y) MIN((T)(X), (T)(Y))
92 #define clamp_t(T, X, MIN, MAX) min_t(T, max_t(T, X, MIN), MAX) argument
93 #define clamp(X, MN, MX) MIN(MAX(X, MN), MX)
94 #define clamp_val(X, MIN, MAX) clamp_t(typeof(X), X, MIN, MAX) argument
96 #define min3(X, Y, Z) MIN(X, MIN(Y, Z))
Dcompletion.h208 &completion->c_lock, MIN(ticks, INT_MAX/2)); in wait_for_completion_interruptible_timeout()
212 ticks -= MIN(ticks, (now - start)); in wait_for_completion_interruptible_timeout()
227 return MAX(1, MIN(ticks, INT_MAX/2)); in wait_for_completion_interruptible_timeout()
247 MIN(ticks, INT_MAX/2)); in wait_for_completion_timeout()
251 ticks -= MIN(ticks, (now - start)); in wait_for_completion_timeout()
264 return MAX(1, MIN(ticks, INT_MAX/2)); in wait_for_completion_timeout()
/netbsd/src/sys/dev/acpi/
Dqcomspmi.c325 memcpy(cbuf, &reg, MIN(len, 4)); in qcspmi_cmd_read()
326 cbuf += MIN(len, 4); in qcspmi_cmd_read()
327 len -= MIN(len, 4); in qcspmi_cmd_read()
332 memcpy(cbuf, &reg, MIN(len, 4)); in qcspmi_cmd_read()
333 cbuf += MIN(len, 4); in qcspmi_cmd_read()
334 len -= MIN(len, 4); in qcspmi_cmd_read()
366 memcpy(&reg, cbuf, MIN(len, 4)); in qcspmi_cmd_write()
369 cbuf += MIN(len, 4); in qcspmi_cmd_write()
370 len -= MIN(len, 4); in qcspmi_cmd_write()
373 memcpy(&reg, cbuf, MIN(len, 4)); in qcspmi_cmd_write()
[all …]
/netbsd/src/sys/external/bsd/drm2/include/linux/
Dsched.h78 unsigned ms = hztoms(MIN((unsigned long)timeout, in schedule_timeout_uninterruptible()
80 us = MIN(ms, INT_MAX/1000)*1000; in schedule_timeout_uninterruptible()
82 us = MIN(timeout, (INT_MAX/1000000)/hz)*hz*1000000; in schedule_timeout_uninterruptible()
92 (void)kpause("loonix", /*intr*/false, MIN(timeout, INT_MAX/2), NULL); in schedule_timeout_uninterruptible()
95 return timeout - MIN(timeout, (end - start)); in schedule_timeout_uninterruptible()
/netbsd/src/usr.bin/vndcompress/
Dutils.c72 p += MIN(n, (size_t)nread); in read_block()
73 n -= MIN(n, (size_t)nread); in read_block()
100 fdpos += MIN(n, (size_t)nread); in pread_block()
101 p += MIN(n, (size_t)nread); in pread_block()
102 n -= MIN(n, (size_t)nread); in pread_block()
Dcommon.h108 rounddown(MIN(UINT32_MAX, (MIN(SIZE_MAX, ULONG_MAX) / 2)), \
120 (MIN(UINT32_MAX, (SIZE_MAX / sizeof(uint64_t))) - 1)
130 #define MAX_WINDOW_SIZE MIN(UINT32_MAX, MAX_N_OFFSETS)
Dmain.c103 0, MIN(UINT32_MAX, (OFF_MAX / MIN_BLOCKSIZE))); in main()
113 0, MIN(OFF_MAX, UINT64_MAX)); in main()
120 0, MIN(UINT32_MAX, (OFF_MAX / MIN_BLOCKSIZE))); in main()
/netbsd/src/lib/libcurses/
Dgenfileioh.awk52 MIN=$1;
53 sub("^minor=", "", MIN);
65 printf("#define CURSES_LIB_MINOR %s\n", MIN);
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
Dbn_mp_mul.c28 if (MIN (a->used, b->used) >= TOOM_MUL_CUTOFF) { in mp_mul()
34 if (MIN (a->used, b->used) >= KARATSUBA_MUL_CUTOFF) { in mp_mul()
49 MIN(a->used, b->used) <= in mp_mul()
Dbn_fast_s_mp_mul_digs.c50 pa = MIN(digs, a->used + b->used); in fast_s_mp_mul_digs()
60 ty = MIN(b->used-1, ix); in fast_s_mp_mul_digs()
70 iy = MIN(a->used-tx, ty+1); in fast_s_mp_mul_digs()
Dbn_fast_s_mp_sqr.c55 ty = MIN(a->used-1, ix); in fast_s_mp_sqr()
65 iy = MIN(a->used-tx, ty+1); in fast_s_mp_sqr()
71 iy = MIN(iy, (ty-tx+1)>>1); in fast_s_mp_sqr()
/netbsd/src/bin/pax/
Dbuf_subs.c415 res = MIN((bufend - bufpt), skcnt); in rd_skip()
454 cnt = MIN(cnt, res); in rd_skip()
506 cnt = MIN(cnt, outcnt); in wr_rdbuf()
554 cnt = MIN(cnt, incnt); in rd_wrbuf()
586 cnt = MIN(cnt, skcnt); in wr_skip()
638 cnt = MIN(cnt, size); in wr_rdfile()
724 cnt = MIN(cnt, size); in rd_wrfile()
/netbsd/src/external/lgpl3/gmp/dist/mpf/
Deq.c89 usize = MIN (usize, n_limbs); in mpf_eq()
90 vsize = MIN (vsize, n_limbs); in mpf_eq()
100 minsize = MIN (usize, vsize); in mpf_eq()
/netbsd/src/external/gpl2/xcvs/dist/m4/
Dminmax.m429 AC_CACHE_CHECK([whether <$1> defines MIN and MAX],
32 int x = MIN (42, 17);], [],
37 [Define to 1 if <$1> defines the MIN and MAX macros.])
/netbsd/src/external/lgpl3/gmp/dist/printf/
Dsnprntffuns.c80 step = MIN (ret, avail-1); in gmp_snprintf_format()
118 n = MIN (d->size-1, len); in gmp_snprintf_memory()
136 n = MIN (d->size-1, reps); in gmp_snprintf_reps()
/netbsd/src/sbin/fsck/
Dprogress.c118 percentage = MIN(percentage, 100); in progress_bar()
128 barlength = MIN(sizeof(buf) - 1, ttywidth) - BAROVERHEAD - lengthextras; in progress_bar()
147 len = MIN(sizeof(buf) - 2, ttywidth); in progress_done()
/netbsd/src/lib/libc/stdio/
Dfvwrite.c86 #define MIN(a, b) ((a) < (b) ? (a) : (b)) in __sfvwrite() macro
107 w = (*fp->_write)(fp->_cookie, p, MIN(len, INT_MAX)); in __sfvwrite()
172 w = MIN(w * (len / w), INT_MAX); in __sfvwrite()
203 s = (int)MIN(len, nldist); in __sfvwrite()
/netbsd/src/sbin/rndctl/
Drndctl.c192 systementropy = MIN(systementropy, in update_seed()
193 MIN(sizeof(buf), UINT32_MAX/NBBY)*NBBY); in update_seed()
194 extraentropy = MIN(extraentropy, MIN(nextra, UINT32_MAX/NBBY)*NBBY); in update_seed()
195 rs.entropy = MIN(MAX(systementropy, extraentropy), in update_seed()
196 MIN(sizeof(rs.data), UINT32_MAX/NBBY)*NBBY); in update_seed()
384 rd.len = MIN(sizeof(rd.data), sizeof(rs.data)); in do_load()
/netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/
Dspa_history.c113 shpp->sh_phys_max_off = MIN(shpp->sh_phys_max_off, 1<<30); in spa_history_create_obj()
131 firstread = MIN(sizeof (reclen), shpp->sh_phys_max_off - phys_bof); in spa_history_advance_bof()
168 firstwrite = MIN(len, shpp->sh_phys_max_off - phys_eof); in spa_history_write()
384 read_len = MIN(*len, shpp->sh_pool_create_len - in spa_history_get()
400 read_len = MIN(*len, phys_eof - phys_read_off); in spa_history_get()
402 read_len = MIN(*len, in spa_history_get()
405 leftover = MIN(*len - read_len, in spa_history_get()
/netbsd/src/external/bsd/ipf/dist/lib/
Dicmpcode.c15 #ifndef MIN
16 # define MIN(a,b) ((a) > (b) ? (b) : (a)) macro
/netbsd/src/sys/kern/
Dkern_entropy.c785 bitsdiff = MIN(ec->ec_bitspending, in entropy_account_cpu()
789 samplesdiff = MIN(ec->ec_samplespending, in entropy_account_cpu()
899 E->bitsneeded -= MIN(E->bitsneeded, nbits); in entropy_enter_early()
957 bitspending += MIN(MINENTROPYBITS - bitspending, nbits); in entropy_enter()
961 samplespending += MIN(MINSAMPLES - samplespending, 1); in entropy_enter()
1051 bitspending += MIN(MINENTROPYBITS - bitspending, nbits); in entropy_enter_intr()
1055 samplespending += MIN(MINSAMPLES - samplespending, 1); in entropy_enter_intr()
1180 C->bitspending += MIN(MINENTROPYBITS - C->bitspending, in entropy_pending_cpu()
1182 C->samplespending += MIN(MINSAMPLES - C->samplespending, in entropy_pending_cpu()
1225 bitsdiff = MIN(E->bitsneeded, E->bitspending); in entropy_do_consolidate()
[all …]

12345678910>>...37