Home
last modified time | relevance | path

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

12345678910>>...37

/freebsd-13.1/contrib/ntp/scripts/monitoring/
H A 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;
/freebsd-13.1/contrib/llvm-project/libcxx/src/filesystem/
H A Dint128_builtins.cpp24 const __int128_t MIN = (__int128_t)1 << (N - 1); in __muloti4() local
25 const __int128_t MAX = ~MIN; in __muloti4()
28 if (a == MIN) { in __muloti4()
33 if (b == MIN) { in __muloti4()
48 if (abs_a > MIN / -abs_b) in __muloti4()
/freebsd-13.1/sys/net80211/
H A Dieee80211_vht.c376 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
392 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
403 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
413 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
423 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
449 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
463 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
493 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
504 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
515 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dint_mulv_impl.inc21 const fixint_t MIN = (fixint_t)1 << (N - 1);
22 const fixint_t MAX = ~MIN;
23 if (a == MIN) {
28 if (b == MIN) {
43 if (abs_a > MIN / -abs_b)
H A Dint_mulo_impl.inc21 const fixint_t MIN = (fixint_t)1 << (N - 1);
22 const fixint_t MAX = ~MIN;
25 if (a == MIN) {
30 if (b == MIN) {
45 if (abs_a > MIN / -abs_b)
H A Dnegvsi2.c20 const si_int MIN = (si_int)1 << ((int)(sizeof(si_int) * CHAR_BIT) - 1); in __negvsi2() local
21 if (a == MIN) in __negvsi2()
H A Dnegvdi2.c20 const di_int MIN = (di_int)1 << ((int)(sizeof(di_int) * CHAR_BIT) - 1); in __negvdi2() local
21 if (a == MIN) in __negvdi2()
H A Dnegvti2.c22 const ti_int MIN = (ti_int)1 << ((int)(sizeof(ti_int) * CHAR_BIT) - 1); in __negvti2() local
23 if (a == MIN) in __negvti2()
/freebsd-13.1/lib/libthread_db/arch/powerpc/
H A Dlibpthread_md.c43 memcpy(mc->mc_frame, r, MIN(sizeof(mc->mc_frame), sizeof(*r))); in pt_reg_to_ucontext()
51 memcpy(r, mc->mc_frame, MIN(sizeof(mc->mc_frame), sizeof(*r))); in pt_ucontext_to_reg()
59 memcpy(mc->mc_fpreg, r, MIN(sizeof(mc->mc_fpreg), sizeof(*r))); in pt_fpreg_to_ucontext()
69 memcpy(r, mc->mc_fpreg, MIN(sizeof(mc->mc_fpreg), sizeof(*r))); in pt_ucontext_to_fpreg()
/freebsd-13.1/sys/contrib/zstd/programs/
H A Ddatagen.c28 #define MIN(a,b) ( (a) < (b) ? (a) : (b) ) macro
70 U32 const end = MIN ( u + weight , LTSIZE); in RDG_fillLiteralDistrib()
128 U32 const d = (U32) MIN(pos + length , buffSize); in RDG_genBlock()
131 U32 const offset = repeatOffset ? prevOffset : (U32) MIN(randOffset , pos); in RDG_genBlock()
138 U32 const d = (U32) MIN(pos + length, buffSize); in RDG_genBlock()
176 size_t const genBlockSize = (size_t) (MIN (stdBlockSize, size-total)); in RDG_genStdout()
H A Ddibio.c88 #undef MIN
89 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
118 U64 const chunkSize = targetChunkSize ? MIN(targetChunkSize, fs64) : fs64; in DiB_loadFiles()
119 size_t const maxChunkSize = (size_t)MIN(chunkSize, SAMPLESIZE_MAX); in DiB_loadFiles()
125 size_t const toLoad = (size_t)MIN(maxChunkSize, remainingToLoad); in DiB_loadFiles()
247 U64 const chunkToLoad = chunkSize ? MIN(chunkSize, srcSize) : srcSize; in DiB_fileStats()
248 size_t const cappedChunkSize = (size_t)MIN(chunkToLoad, SAMPLESIZE_MAX); in DiB_fileStats()
286 size_t loadedSize = (size_t) MIN ((unsigned long long)maxMem, fs.totalSizeToLoad); in DiB_trainFromFiles()
/freebsd-13.1/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), in fequinoxsolstice()
320 DEBUG2(year, 6, d, HOUR(h), MIN(h), in fequinoxsolstice()
345 sunpos(year, 12, d, UTCoffset, HOUR(h), MIN(h), SEC(h), in fequinoxsolstice()
350 DEBUG2(year, 12, d, HOUR(h), MIN(h), in fequinoxsolstice()
384 HOUR(h), MIN(h), SEC(h), 0.0, 0.0, &prevL, &dec); in calculatesunlongitude30()
391 HOUR(h), MIN(h), SEC(h), in calculatesunlongitude30()
397 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL); in calculatesunlongitude30()
407 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL); in calculatesunlongitude30()
/freebsd-13.1/contrib/bmake/
H A Ddirname.c55 #ifndef MIN
56 # define MIN(a, b) ((a < b) ? a : b) macro
98 buflen = MIN(len, buflen - 1); in xdirname_r()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dabd.c948 size_t len = MIN(dlen, slen); in abd_iterate_func2()
1068 len = MIN(caiters[2].iter_mapsize, len); in abd_raidz_gen_iterate()
1071 len = MIN(caiters[1].iter_mapsize, len); in abd_raidz_gen_iterate()
1074 len = MIN(caiters[0].iter_mapsize, len); in abd_raidz_gen_iterate()
1082 len = MIN(daiter.iter_mapsize, len); in abd_raidz_gen_iterate()
1180 len = MIN(xiters[2].iter_mapsize, len); in abd_raidz_rec_iterate()
1181 len = MIN(citers[2].iter_mapsize, len); in abd_raidz_rec_iterate()
1184 len = MIN(xiters[1].iter_mapsize, len); in abd_raidz_rec_iterate()
1185 len = MIN(citers[1].iter_mapsize, len); in abd_raidz_rec_iterate()
1188 len = MIN(xiters[0].iter_mapsize, len); in abd_raidz_rec_iterate()
[all …]
/freebsd-13.1/sys/kern/
H A Dtty_outq.c165 cend = MIN(MIN(to->to_end, to->to_begin + len), in ttyoutq_read()
226 cend = MIN(MIN(to->to_end, to->to_begin + uio->uio_resid), in ttyoutq_read_uio()
312 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff); in ttyoutq_write()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Darc_os.c151 min = MAX(arc_c_min, MIN(arc_c_max, min)); in arc_evictable_memory()
203 return (MIN(limit, btop((int64_t)arc_evictable_memory()))); in arc_shrinker_count()
325 wmark = MIN(wmark, 64 * 1024 * 1024); in arc_set_sys_free()
414 zfs_dirty_data_max_max = MIN(4ULL * 1024 * 1024 * 1024, in arc_hotplug_callback()
418 zfs_dirty_data_max_max = MIN(1ULL * 1024 * 1024 * 1024, in arc_hotplug_callback()
/freebsd-13.1/sbin/ipf/libipf/
H A Dicmpcode.c15 #ifndef MIN
16 # define MIN(a,b) ((a) > (b) ? (b) : (a)) macro
/freebsd-13.1/contrib/diff/lib/
H A Dcmpbuf.c74 #undef MIN
75 #define MIN(a, b) ((a) <= (b) ? (a) : (b)) macro
92 size_t bytes_to_read = MIN (buflim - bp, readlim); in block_read()
/freebsd-13.1/lib/libc/gen/
H A Dutxdb.c44 MIN(sizeof (fu)->fu_ ## field, sizeof (ut)->ut_ ## field)); \
48 MIN(sizeof (fu)->fu_id, sizeof (ut)->ut_id)); \
109 MIN(sizeof (ut)->ut_ ## field - 1, sizeof (fu)->fu_ ## field)); \
113 MIN(sizeof (ut)->ut_id, sizeof (fu)->fu_id)); \
/freebsd-13.1/tests/sys/sys/
H A Drb_test.c57 #define MIN 5 macro
74 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY()
75 tmp->key += MIN; in ATF_TC_BODY()
H A Dsplay_test.c57 #define MIN 5 macro
74 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY()
75 tmp->key += MIN; in ATF_TC_BODY()
H A Darb_test.c59 #define MIN 5 macro
78 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY()
79 tmp->key += MIN; in ATF_TC_BODY()
/freebsd-13.1/bin/pax/
H A Dbuf_subs.c407 res = MIN((bufend - bufpt), skcnt); in rd_skip()
446 cnt = MIN(cnt, res); in rd_skip()
498 cnt = MIN(cnt, outcnt); in wr_rdbuf()
546 cnt = MIN(cnt, incnt); in rd_wrbuf()
578 cnt = MIN(cnt, skcnt); in wr_skip()
621 cnt = MIN(cnt, size); in wr_rdfile()
704 cnt = MIN(cnt, size); in rd_wrfile()
/freebsd-13.1/sys/mips/ingenic/
H A Djz4780_clk_pll.c177 m = MIN((uint32_t)(*fout / MHZ), (1u << CGU_PLL_M_WIDTH)); in jz4780_clk_pll_set_freq()
178 m = MIN(m, 1); in jz4780_clk_pll_set_freq()
180 n = MIN((uint32_t)(fin / MHZ), (1u << CGU_PLL_N_WIDTH)); in jz4780_clk_pll_set_freq()
181 n = MIN(n, 1); in jz4780_clk_pll_set_freq()
/freebsd-13.1/sys/dev/sound/midi/
H A Dmidiq.h66 MIN( (size), (head).s - (head).h) ), \
68 …MIDIQ_MOVE(&(head).b[(head).h], (buf), sizeof(*(head).b) * MIN((size), (head).s - (head).h)); …
84 …%d h %d t %d\n", &(head).b[(head).t], (buf), (intmax_t)sizeof(*(head).b) * MIN((size), (head).s - …
85 …if (move) MIDIQ_MOVE((buf), &(head).b[(head).t], sizeof(*(head).b) * MIN((size), (head).s - (head)…

12345678910>>...37