| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | profile-count.h | 333 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 …]
|
| D | regset.h | 102 #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) \
|
| D | ira-int.h | 660 #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/ |
| D | timelocal.pl | 35 $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/ |
| D | kernel.h | 86 #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))
|
| D | completion.h | 208 &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/ |
| D | qcomspmi.c | 325 memcpy(cbuf, ®, 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, ®, 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(®, 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(®, cbuf, MIN(len, 4)); in qcspmi_cmd_write() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/include/linux/ |
| D | sched.h | 78 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/ |
| D | utils.c | 72 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()
|
| D | common.h | 108 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)
|
| D | main.c | 103 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/ |
| D | genfileioh.awk | 52 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/ |
| D | bn_mp_mul.c | 28 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()
|
| D | bn_fast_s_mp_mul_digs.c | 50 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()
|
| D | bn_fast_s_mp_sqr.c | 55 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/ |
| D | buf_subs.c | 415 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/ |
| D | eq.c | 89 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/ |
| D | minmax.m4 | 29 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/ |
| D | snprntffuns.c | 80 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/ |
| D | progress.c | 118 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/ |
| D | fvwrite.c | 86 #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/ |
| D | rndctl.c | 192 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/ |
| D | spa_history.c | 113 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/ |
| D | icmpcode.c | 15 #ifndef MIN 16 # define MIN(a,b) ((a) > (b) ? (b) : (a)) macro
|
| /netbsd/src/sys/kern/ |
| D | kern_entropy.c | 785 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 …]
|