| /freebsd-14.2/contrib/ntp/scripts/monitoring/ |
| H A 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;
|
| /freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | int128_builtins.cpp | 24 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-14.2/sys/net80211/ |
| H A D | ieee80211_vht.c | 372 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 388 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 399 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 409 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 419 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 445 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 459 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 489 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 500 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 511 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | int_mulv_impl.inc | 21 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 D | int_mulo_impl.inc | 21 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 D | negvdi2.c | 20 const di_int MIN = in __negvdi2() local 22 if (a == MIN) in __negvdi2()
|
| H A D | negvsi2.c | 20 const si_int MIN = in __negvsi2() local 22 if (a == MIN) in __negvsi2()
|
| H A D | negvti2.c | 22 const ti_int MIN = (tu_int)1 << ((int)(sizeof(ti_int) * CHAR_BIT) - 1); in __negvti2() local 23 if (a == MIN) in __negvti2()
|
| /freebsd-14.2/lib/libthread_db/arch/powerpc/ |
| H A D | libpthread_md.c | 41 memcpy(mc->mc_frame, r, MIN(sizeof(mc->mc_frame), sizeof(*r))); in pt_reg_to_ucontext() 49 memcpy(r, mc->mc_frame, MIN(sizeof(mc->mc_frame), sizeof(*r))); in pt_ucontext_to_reg() 57 memcpy(mc->mc_fpreg, r, MIN(sizeof(mc->mc_fpreg), sizeof(*r))); in pt_fpreg_to_ucontext() 67 memcpy(r, mc->mc_fpreg, MIN(sizeof(mc->mc_fpreg), sizeof(*r))); in pt_ucontext_to_fpreg()
|
| /freebsd-14.2/sys/contrib/zstd/programs/ |
| H A D | dibio.c | 88 #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 D | datagen.c | 28 #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-14.2/sys/x86/x86/ |
| H A D | busdma_bounce.c | 321 maxpages = MIN(MAX_BPAGES, Maxmem - in bounce_bus_dmamap_create() 326 pages = MIN(dmat->common.nsegments, pages); in bounce_bus_dmamap_create() 512 sgsize = MIN(buflen, dmat->common.maxsegsz); in _bus_dmamap_pagesneeded() 514 sgsize = MIN(sgsize, in _bus_dmamap_pagesneeded() 606 sg_len = MIN(sg_len, max_sgsize); in _bus_dmamap_count_ma() 610 sg_len = MIN(sg_len, max_sgsize); in _bus_dmamap_count_ma() 705 sgsize = MIN(buflen, dmat->common.maxsegsz); in bounce_bus_dmamap_load_phys() 778 sgsize = MIN(sgsize, max_sgsize); in bounce_bus_dmamap_load_buffer() 782 sgsize = MIN(sgsize, max_sgsize); in bounce_bus_dmamap_load_buffer() 845 sgsize = MIN(sgsize, max_sgsize); in bounce_bus_dmamap_load_ma() [all …]
|
| /freebsd-14.2/usr.bin/calendar/ |
| H A D | sunpos.c | 191 #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-14.2/contrib/bmake/ |
| H A D | dirname.c | 55 #ifndef MIN 56 # define MIN(a, b) ((a < b) ? a : b) macro 98 buflen = MIN(len, buflen - 1); in xdirname_r()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | arc_os.c | 151 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() 328 wmark = MIN(wmark, 64 * 1024 * 1024); in arc_set_sys_free() 421 zfs_dirty_data_max_max = MIN(4ULL * 1024 * 1024 * 1024, in arc_hotplug_callback() 425 zfs_dirty_data_max_max = MIN(1ULL * 1024 * 1024 * 1024, in arc_hotplug_callback()
|
| /freebsd-14.2/sys/powerpc/powerpc/ |
| H A D | busdma_machdep.c | 61 #define MAX_BPAGES MIN(8192, physmem/40) 209 newtag->lowaddr = MIN(parent->lowaddr, newtag->lowaddr); in bus_dma_tag_create() 214 newtag->boundary = MIN(parent->boundary, in bus_dma_tag_create() 387 pages = MIN(maxpages - bz->total_bpages, pages); in bus_dmamap_create() 539 sgsize = MIN(buflen, dmat->maxsegsz); in _bus_dmamap_count_phys() 541 sgsize = MIN(sgsize, in _bus_dmamap_count_phys() 576 sg_len = MIN(sg_len, dmat->maxsegsz); in _bus_dmamap_count_pages() 662 sgsize = MIN(buflen, dmat->maxsegsz); in _bus_dmamap_load_phys() 741 max_sgsize = MIN(buflen, dmat->maxsegsz); in _bus_dmamap_load_buffer() 745 sgsize = MIN(sgsize, max_sgsize); in _bus_dmamap_load_buffer() [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | tty_outq.c | 163 cend = MIN(MIN(to->to_end, to->to_begin + len), in ttyoutq_read() 224 cend = MIN(MIN(to->to_end, to->to_begin + uio->uio_resid), in ttyoutq_read_uio() 310 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff); in ttyoutq_write()
|
| /freebsd-14.2/sbin/ipf/libipf/ |
| H A D | icmpcode.c | 14 #ifndef MIN 15 # define MIN(a,b) ((a) > (b) ? (b) : (a)) macro
|
| /freebsd-14.2/contrib/diff/lib/ |
| H A D | cmpbuf.c | 74 #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-14.2/lib/libc/gen/ |
| H A D | utxdb.c | 41 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-14.2/tests/sys/sys/ |
| H A D | splay_test.c | 55 #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 D | arb_test.c | 57 #define MIN 5 macro 76 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY() 77 tmp->key += MIN; in ATF_TC_BODY()
|
| /freebsd-14.2/bin/pax/ |
| H A D | buf_subs.c | 405 res = MIN((bufend - bufpt), skcnt); in rd_skip() 444 cnt = MIN(cnt, res); in rd_skip() 496 cnt = MIN(cnt, outcnt); in wr_rdbuf() 544 cnt = MIN(cnt, incnt); in rd_wrbuf() 576 cnt = MIN(cnt, skcnt); in wr_skip() 619 cnt = MIN(cnt, size); in wr_rdfile() 702 cnt = MIN(cnt, size); in rd_wrfile()
|
| /freebsd-14.2/sys/dev/sound/midi/ |
| H A D | midiq.h | 64 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-14.2/usr.bin/dpv/ |
| H A D | dpv_util.h | 53 #undef MIN 54 #define MIN(x,y) ((x) < (y) ? (x) : (y)) macro
|