/freebsd/crypto/krb5/src/lib/krb5/krb/ |
H A D | t_deltat.c | 40 #ifdef MIN in main() 41 #undef MIN in main() 43 #define MIN 60 in main() macro 48 GOOD ("3m", 3*MIN), in main() 51 GOOD ("3d4m 42s", 3 * DAY + 4 * MIN + 42), in main() 54 GOOD ("3d4h5m6s", 3 * DAY + 4 * HOUR + 5 * MIN + 6), in main() 57 GOOD ("1m 12345s", MIN + 12345), in main() 58 GOOD ("1m12345s", MIN + 12345), in main() 63 GOOD ("42-13:42:47", 42 * DAY + 13 * HOUR + 42 * MIN + 47), in main() 66 GOOD ("12:34", 12 * HOUR + 34 * MIN), in main() [all …]
|
/freebsd/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/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/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()
|
/freebsd/sys/net80211/ |
H A D | ieee80211_vht.c | 342 val = MIN(val1, val2); in ieee80211_setup_vht_rates() 424 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 440 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 451 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 461 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 471 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 497 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 510 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 539 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 550 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() [all …]
|
/freebsd/lib/libthread_db/arch/powerpc/ |
H A D | libpthread_md.c | 40 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 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/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | arc_os.c | 164 min = MAX(arc_c_min, MIN(arc_c_max, min)); in arc_evictable_memory() 201 can_free = MIN(can_free, zfs_arc_shrinker_limit); in arc_shrinker_count() 331 wmark = MIN(wmark, 256 * 1024 * 1024); in arc_set_sys_free() 333 wmark = MIN(wmark, 64 * 1024 * 1024); in arc_set_sys_free() 427 zfs_dirty_data_max_max = MIN(4ULL * 1024 * 1024 * 1024, in arc_hotplug_callback() 431 zfs_dirty_data_max_max = MIN(1ULL * 1024 * 1024 * 1024, in arc_hotplug_callback()
|
/freebsd/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/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/sys/kern/ |
H A D | tty_outq.c | 162 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/sys/powerpc/powerpc/ |
H A D | busdma_machdep.c | 60 #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() 651 sgsize = MIN(sgsize, buflen); in _bus_dmamap_load_buffer() [all …]
|
/freebsd/bin/pax/ |
H A D | buf_subs.c | 399 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/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/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/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/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/sys/x86/x86/ |
H A D | busdma_bounce.c | 323 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 bounce_bus_dmamap_load_phys() 724 sgsize = MIN(buflen, PAGE_SIZE - (curaddr & PAGE_MASK)); in bounce_bus_dmamap_load_buffer() 729 sgsize = MIN(sgsize, buflen); in bounce_bus_dmamap_load_buffer() [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | icmpcode.c | 14 #ifndef MIN 15 # define MIN(a,b) ((a) > (b) ? (b) : (a)) macro
|
/freebsd/contrib/libdiff/lib/ |
H A D | diff_internal.h | 21 #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 D | ossl_aes.c | 144 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()
|