| /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/sys/arm64/vmm/ |
| H A D | arm64.h | 52 #define PMEVCNTR_EL0(n) (PMEVCNTR0_EL0 + MIN(n, 30)) 53 #define PMEVTYPER_EL0(n) (PMEVTYPER0_EL0 + MIN(n, 30)) 54 #define DBGBCR_EL1(n) (DBGBCR0_EL1 + MIN(n, 15)) 55 #define DBGBVR_EL1(n) (DBGBVR0_EL1 + MIN(n, 15)) 56 #define DBGWCR_EL1(n) (DBGWCR0_EL1 + MIN(n, 15)) 57 #define DBGWVR_EL1(n) (DBGWVR0_EL1 + MIN(n, 15)) 59 #define HOST_ICH_LR_EL2(n) (HOST_ICH_LR0_EL2 + MIN(n, VGIC_ICH_LR_NUM_MAX-1)) 60 #define HOST_ICH_AP0R_EL2(n) (HOST_ICH_AP0R0_EL2 + MIN(n, VGIC_ICH_APR_NUM_MAX-1)) 61 #define HOST_ICH_AP1R_EL2(n) (HOST_ICH_AP1R0_EL2 + MIN(n, VGIC_ICH_APR_NUM_MAX-1)) 62 #define GPR_X(n) (GPR_X0 + MIN(n, 30))
|
| /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()
|
| H A D | negvsi2.c | 20 const si_int MIN = in __negvsi2() local 22 if (a == MIN) in __negvsi2()
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211_vht.c | 354 val = MIN(val1, val2); in ieee80211_setup_vht_rates() 438 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 454 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 465 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 475 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 485 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 511 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 524 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 553 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 564 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 | 89 #undef MIN 90 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro 144 (size_t)MIN(fileSize, (S64)targetChunkSize) : in DiB_loadFiles() 145 (size_t)MIN(fileSize, SAMPLESIZE_MAX ); in DiB_loadFiles() 156 size_t const chunkSize = MIN((size_t)(fileSize-fileDataLoaded), targetChunkSize); in DiB_loadFiles() 305 fs.totalSizeToLoad += MIN(fileSize, SAMPLESIZE_MAX); in DiB_fileStats() 346 loadedSize = (size_t)MIN( MIN((S64)maxMem, fs.totalSizeToLoad), MAX_SAMPLES_SIZE ); in DiB_trainFromFiles() 350 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/contrib/llvm-project/libc/src/__support/fixed_point/ |
| H A D | fx_rep.h | 49 LIBC_INLINE static constexpr Type MIN() { return SFRACT_MIN; } 69 LIBC_INLINE static constexpr Type MIN() { return USFRACT_MIN; } 89 LIBC_INLINE static constexpr Type MIN() { return FRACT_MIN; } 109 LIBC_INLINE static constexpr Type MIN() { return UFRACT_MIN; } 129 LIBC_INLINE static constexpr Type MIN() { return LFRACT_MIN; } 149 LIBC_INLINE static constexpr Type MIN() { return ULFRACT_MIN; } 169 LIBC_INLINE static constexpr Type MIN() { return SACCUM_MIN; } 189 LIBC_INLINE static constexpr Type MIN() { return USACCUM_MIN; } 209 LIBC_INLINE static constexpr Type MIN() { return ACCUM_MIN; } 229 LIBC_INLINE static constexpr Type MIN() { return UACCUM_MIN; } [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | arc_os.c | 154 min = MAX(arc_c_min, MIN(arc_c_max, min)); in arc_evictable_memory() 191 can_free = MIN(can_free, zfs_arc_shrinker_limit); in arc_shrinker_count() 321 wmark = MIN(wmark, 256 * 1024 * 1024); in arc_set_sys_free() 323 wmark = MIN(wmark, 64 * 1024 * 1024); in arc_set_sys_free() 451 zfs_dirty_data_max_max = MIN(4ULL * 1024 * 1024 * 1024, in arc_hotplug_callback() 455 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/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/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/sbin/ipf/libipf/ |
| H A D | icmpcode.c | 14 #ifndef MIN 15 # define MIN(a,b) ((a) > (b) ? (b) : (a)) macro
|
| /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/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()
|