Home
last modified time | relevance | path

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

12345678910>>...39

/freebsd/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/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/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dint_mulv_impl.inc21 const fixint_t MIN = (fixint_t)((fixuint_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)((fixuint_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 Dnegvdi2.c20 const di_int MIN = in __negvdi2() local
22 if (a == MIN) in __negvdi2()
H A Dnegvsi2.c20 const si_int MIN = in __negvsi2() local
22 if (a == MIN) in __negvsi2()
/freebsd/sys/net80211/
H A Dieee80211_vht.c341 val = MIN(val1, val2); in ieee80211_setup_vht_rates()
423 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
439 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
450 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
460 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
470 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
496 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
509 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
538 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
549 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
[all …]
/freebsd/lib/libthread_db/arch/powerpc/
H A Dlibpthread_md.c40 memcpy(mc->mc_frame, r, MIN(sizeof(mc->mc_frame), sizeof(*r))); in pt_reg_to_ucontext()
48 memcpy(r, mc->mc_frame, MIN(sizeof(mc->mc_frame), sizeof(*r))); in pt_ucontext_to_reg()
56 memcpy(mc->mc_fpreg, r, MIN(sizeof(mc->mc_fpreg), sizeof(*r))); in pt_fpreg_to_ucontext()
66 memcpy(r, mc->mc_fpreg, MIN(sizeof(mc->mc_fpreg), sizeof(*r))); in pt_ucontext_to_fpreg()
/freebsd/sys/contrib/zstd/programs/
H A Ddibio.c88 #undef MIN
89 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
140 (size_t)MIN(fileSize, (S64)targetChunkSize) : in DiB_loadFiles()
141 (size_t)MIN(fileSize, SAMPLESIZE_MAX ); in DiB_loadFiles()
152 size_t const chunkSize = MIN((size_t)(fileSize-fileDataLoaded), targetChunkSize); in DiB_loadFiles()
301 fs.totalSizeToLoad += MIN(fileSize, SAMPLESIZE_MAX); in DiB_fileStats()
342 loadedSize = (size_t)MIN( MIN((S64)maxMem, fs.totalSizeToLoad), MAX_SAMPLES_SIZE ); in DiB_trainFromFiles()
346 loadedSize = (size_t)MIN(loadedSize, memLimit); in DiB_trainFromFiles()
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()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Darc_os.c163 min = MAX(arc_c_min, MIN(arc_c_max, min)); in arc_evictable_memory()
200 can_free = MIN(can_free, zfs_arc_shrinker_limit); in arc_shrinker_count()
330 wmark = MIN(wmark, 256 * 1024 * 1024); in arc_set_sys_free()
332 wmark = MIN(wmark, 64 * 1024 * 1024); in arc_set_sys_free()
426 zfs_dirty_data_max_max = MIN(4ULL * 1024 * 1024 * 1024, in arc_hotplug_callback()
430 zfs_dirty_data_max_max = MIN(1ULL * 1024 * 1024 * 1024, in arc_hotplug_callback()
/freebsd/sys/x86/x86/
H A Dbusdma_bounce.c323 maxpages = MIN(MAX_BPAGES, Maxmem - in bounce_bus_dmamap_create()
328 pages = MIN(dmat->common.nsegments, pages); in bounce_bus_dmamap_create()
329 pages = MIN(maxpages - bz->total_bpages, pages); in bounce_bus_dmamap_create()
448 howmany(dmat->common.maxsize, MIN(dmat->common.maxsegsz, in bounce_bus_dmamem_alloc()
516 sgsize = MIN(sgsize, in _bus_dmamap_pagesneeded()
566 sg_len = MIN(vendaddr - vaddr, in _bus_dmamap_count_pages()
607 sg_len = MIN(sg_len, buflen); in _bus_dmamap_count_ma()
661 sgsize = MIN(sgsize, PAGE_SIZE - (curaddr & PAGE_MASK)); in _bus_dmamap_addseg()
724 sgsize = MIN(buflen, PAGE_SIZE - (curaddr & PAGE_MASK));
736 buflen -= MIN(sgsiz in bounce_bus_dmamap_load_buffer()
[all...]
/freebsd/usr.bin/calendar/
H A Dsunpos.c191 #define MIN(h) (15 * ((h) % 4)) macro
313 sunpos(year, 6, d, UTCoffset, HOUR(h), MIN(h), SEC(h), in fequinoxsolstice()
318 DEBUG2(year, 6, d, HOUR(h), MIN(h), in fequinoxsolstice()
343 sunpos(year, 12, d, UTCoffset, HOUR(h), MIN(h), SEC(h), in fequinoxsolstice()
348 DEBUG2(year, 12, d, HOUR(h), MIN(h), in fequinoxsolstice()
382 HOUR(h), MIN(h), SEC(h), 0.0, 0.0, &prevL, &dec); in calculatesunlongitude30()
389 HOUR(h), MIN(h), SEC(h), in calculatesunlongitude30()
395 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL); in calculatesunlongitude30()
405 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL); in calculatesunlongitude30()
/freebsd/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/sys/kern/
H A Dtty_outq.c162 cend = MIN(MIN(to->to_end, to->to_begin + len), in ttyoutq_read()
223 cend = MIN(MIN(to->to_end, to->to_begin + uio->uio_resid), in ttyoutq_read_uio()
309 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff); in ttyoutq_write()
/freebsd/lib/libc/gen/
H A Dutxdb.c41 MIN(sizeof (fu)->fu_ ## field, sizeof (ut)->ut_ ## field)); \
45 MIN(sizeof (fu)->fu_id, sizeof (ut)->ut_id)); \
106 MIN(sizeof (ut)->ut_ ## field - 1, sizeof (fu)->fu_ ## field)); \
110 MIN(sizeof (ut)->ut_id, sizeof (fu)->fu_id)); \
/freebsd/bin/pax/
H A Dbuf_subs.c399 res = MIN((bufend - bufpt), skcnt); in rd_skip()
438 cnt = MIN(cnt, res); in rd_skip()
490 cnt = MIN(cnt, outcnt); in wr_rdbuf()
538 cnt = MIN(cnt, incnt); in rd_wrbuf()
570 cnt = MIN(cnt, skcnt); in wr_skip()
613 cnt = MIN(cnt, size); in wr_rdfile()
696 cnt = MIN(cnt, size); in rd_wrfile()
/freebsd/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/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 …%d h %d t %d\n", &(head).b[(head).t], (buf), (intmax_t)sizeof(*(head).b) * MIN((size), (head).s - …
83 …if (move) MIDIQ_MOVE((buf), &(head).b[(head).t], sizeof(*(head).b) * MIN((size), (head).s - (head)…
/freebsd/tests/sys/sys/
H A Dsplay_test.c55 #define MIN 5 macro
72 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY()
73 tmp->key += MIN; in ATF_TC_BODY()
H A Darb_test.c57 #define MIN 5 macro
76 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY()
77 tmp->key += MIN; in ATF_TC_BODY()
/freebsd/sbin/ipf/libipf/
H A Dicmpcode.c14 #ifndef MIN
15 # define MIN(a,b) ((a) > (b) ? (b) : (a)) macro
/freebsd/contrib/libdiff/lib/
H A Ddiff_internal.h21 #ifndef MIN
22 #define MIN(A,B) ((A)<(B)?(A):(B)) macro
41 .start = MIN(a->start, b->start), in diff_ranges_merge()
/freebsd/sys/crypto/openssl/
H A Dossl_aes.c144 seglen = rounddown(MIN(plen, MIN(inlen, outlen)), blocklen); in ossl_aes_cbc()
216 seglen = MIN(alen, inlen); in ossl_aes_gcm()
235 seglen = MIN(plen, MIN(inlen, outlen)); in ossl_aes_gcm()
/freebsd/sys/powerpc/powerpc/
H A Dbusdma_machdep.c60 #define MAX_BPAGES MIN(8192, physmem/40)
190 newtag->lowaddr = MIN(parent->lowaddr, newtag->lowaddr); in bus_dma_tag_create()
195 newtag->boundary = MIN(parent->boundary, in bus_dma_tag_create()
332 maxpages = MIN(MAX_BPAGES, Maxmem -atop(dmat->lowaddr)); in bus_dmamap_create()
338 pages = MIN(maxpages - bz->total_bpages, pages); in bus_dmamap_create()
492 sgsize = MIN(sgsize, in _bus_dmamap_count_phys()
526 sg_len = MIN(vendaddr - vaddr, in _bus_dmamap_count_pages()
574 sgsize = MIN(sgsize, PAGE_SIZE - (curaddr & PAGE_MASK)); in _bus_dmamap_load_phys()
648 sgsize = MIN(buflen, PAGE_SIZE - (curaddr & PAGE_MASK)); in _bus_dmamap_load_buffer()
659 buflen -= MIN(sgsize, buflen); /* avoid underflow */ in _bus_dmamap_load_buffer()

12345678910>>...39