Home
last modified time | relevance | path

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

12345678910>>...42

/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dt_deltat.c40 #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 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.c342 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 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.c89 #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 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/contrib/llvm-project/libc/src/__support/fixed_point/
H A Dfx_rep.h49 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 Darc_os.c164 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()
443 zfs_dirty_data_max_max = MIN(4ULL * 1024 * 1024 * 1024, in arc_hotplug_callback()
447 zfs_dirty_data_max_max = MIN(1ULL * 1024 * 1024 * 1024, in arc_hotplug_callback()
/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/sbin/ipf/libipf/
H A Dicmpcode.c14 #ifndef MIN
15 # define MIN(a,b) ((a) > (b) ? (b) : (a)) macro
/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/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/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/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 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/usr.sbin/fstyp/
H A Dmsdosfs.c104 copysize = MIN(size - 1, sizeof(pfat_bsbpb->BS_VolLab)); in fstyp_msdosfs()
123 copysize = MIN(size - 1, in fstyp_msdosfs()
170 copysize = MIN(size - 1, in fstyp_msdosfs()

12345678910>>...42