Home
last modified time | relevance | path

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

12345678910>>...36

/freebsd-12.1/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-12.1/contrib/compiler-rt/lib/builtins/
H A Dmulosi4.c25 const si_int MIN = (si_int)1 << (N-1); in __mulosi4() local
26 const si_int MAX = ~MIN; in __mulosi4()
29 if (a == MIN) in __mulosi4()
35 if (b == MIN) in __mulosi4()
54 if (abs_a > MIN / -abs_b) in __mulosi4()
H A Dmulodi4.c25 const di_int MIN = (di_int)1 << (N-1); in __mulodi4() local
26 const di_int MAX = ~MIN; in __mulodi4()
29 if (a == MIN) in __mulodi4()
35 if (b == MIN) in __mulodi4()
54 if (abs_a > MIN / -abs_b) in __mulodi4()
H A Dmulvti3.c27 const ti_int MIN = (ti_int)1 << (N-1); in __mulvti3() local
28 const ti_int MAX = ~MIN; in __mulvti3()
29 if (a == MIN) in __mulvti3()
35 if (b == MIN) in __mulvti3()
54 if (abs_a > MIN / -abs_b) in __mulvti3()
H A Dmulvdi3.c25 const di_int MIN = (di_int)1 << (N-1); in __mulvdi3() local
26 const di_int MAX = ~MIN; in __mulvdi3()
27 if (a == MIN) in __mulvdi3()
33 if (b == MIN) in __mulvdi3()
52 if (abs_a > MIN / -abs_b) in __mulvdi3()
H A Dmulvsi3.c25 const si_int MIN = (si_int)1 << (N-1); in __mulvsi3() local
26 const si_int MAX = ~MIN; in __mulvsi3()
27 if (a == MIN) in __mulvsi3()
33 if (b == MIN) in __mulvsi3()
52 if (abs_a > MIN / -abs_b) in __mulvsi3()
H A Dmuloti4.c27 const ti_int MIN = (ti_int)1 << (N-1); in __muloti4() local
28 const ti_int MAX = ~MIN; in __muloti4()
31 if (a == MIN) in __muloti4()
37 if (b == MIN) in __muloti4()
56 if (abs_a > MIN / -abs_b) in __muloti4()
/freebsd-12.1/contrib/libc++/src/filesystem/
H A Dint128_builtins.cpp25 const __int128_t MIN = (__int128_t)1 << (N - 1); in __muloti4() local
26 const __int128_t MAX = ~MIN; in __muloti4()
29 if (a == MIN) { in __muloti4()
34 if (b == MIN) { in __muloti4()
49 if (abs_a > MIN / -abs_b) in __muloti4()
/freebsd-12.1/sys/net80211/
H A Dieee80211_vht.c386 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
402 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
410 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
418 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
426 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
450 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
462 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
492 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
502 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
510 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
[all …]
/freebsd-12.1/sys/contrib/zstd/tests/
H A Dseqgen.c15 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
74 size_t const setLength = MIN(stream->bytesLeft, (size_t)(oend - op)); in SEQ_gen_matchLength()
129 stream->bytesLeft = MIN(kMatchBytes, value); in SEQ_gen_litLength()
140 stream->bytesLeft = value - MIN(kMatchBytes, value); in SEQ_gen_litLength()
151 stream->bytesLeft = MIN(kMatchBytes, value); in SEQ_gen_litLength()
194 stream->bytesLeft = MIN(value, kMatchBytes); in SEQ_gen_offset()
205 stream->bytesLeft = value - MIN(value, kMatchBytes); in SEQ_gen_offset()
210 size_t const setLength = MIN(stream->bytesLeft, (size_t)(oend - op)); in SEQ_gen_offset()
220 stream->bytesLeft = MIN(value, kMatchBytes); in SEQ_gen_offset()
/freebsd-12.1/lib/libthread_db/arch/powerpc/
H A Dlibpthread_md.c43 memcpy(mc->mc_frame, r, MIN(sizeof(mc->mc_frame), sizeof(*r))); in pt_reg_to_ucontext()
51 memcpy(r, mc->mc_frame, MIN(sizeof(mc->mc_frame), sizeof(*r))); in pt_ucontext_to_reg()
59 memcpy(mc->mc_fpreg, r, MIN(sizeof(mc->mc_fpreg), sizeof(*r))); in pt_fpreg_to_ucontext()
69 memcpy(r, mc->mc_fpreg, MIN(sizeof(mc->mc_fpreg), sizeof(*r))); in pt_ucontext_to_fpreg()
/freebsd-12.1/lib/libthread_db/arch/sparc64/
H A Dlibpthread_md.c45 memcpy(&uc->uc_mcontext, r, MIN(sizeof(uc->uc_mcontext), sizeof(*r))); in pt_reg_to_ucontext()
52 memcpy(r, &uc->uc_mcontext, MIN(sizeof(uc->uc_mcontext), sizeof(*r))); in pt_ucontext_to_reg()
60 memcpy(mc->mc_fp, r->fr_regs, MIN(sizeof(mc->mc_fp), in pt_fpreg_to_ucontext()
73 memcpy(r->fr_regs, mc->mc_fp, MIN(sizeof(mc->mc_fp), in pt_ucontext_to_fpreg()
/freebsd-12.1/sys/contrib/zstd/programs/
H A Ddatagen.c27 #define MIN(a,b) ( (a) < (b) ? (a) : (b) ) macro
68 U32 const end = MIN ( u + weight , LTSIZE); in RDG_fillLiteralDistrib()
125 U32 const d = (U32) MIN(pos + length , buffSize); in RDG_genBlock()
128 U32 const offset = repeatOffset ? prevOffset : (U32) MIN(randOffset , pos); in RDG_genBlock()
135 U32 const d = (U32) MIN(pos + length, buffSize); in RDG_genBlock()
171 size_t const genBlockSize = (size_t) (MIN (stdBlockSize, size-total)); in RDG_genStdout()
H A Ddibio.c89 #undef MIN
90 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
119 U64 const chunkSize = targetChunkSize ? MIN(targetChunkSize, fs64) : fs64; in DiB_loadFiles()
120 size_t const maxChunkSize = (size_t)MIN(chunkSize, SAMPLESIZE_MAX); in DiB_loadFiles()
126 size_t const toLoad = (size_t)MIN(maxChunkSize, remainingToLoad); in DiB_loadFiles()
247 U64 const chunkToLoad = chunkSize ? MIN(chunkSize, srcSize) : srcSize; in DiB_fileStats()
248 size_t const cappedChunkSize = (size_t)MIN(chunkToLoad, SAMPLESIZE_MAX); in DiB_fileStats()
283 size_t loadedSize = (size_t) MIN ((unsigned long long)maxMem, fs.totalSizeToLoad); in DiB_trainFromFiles()
/freebsd-12.1/usr.bin/calendar/
H A Dsunpos.c193 #define MIN(h) (15 * ((h) % 4)) macro
315 sunpos(year, 6, d, UTCoffset, HOUR(h), MIN(h), SEC(h), in fequinoxsolstice()
320 DEBUG2(year, 6, d, HOUR(h), MIN(h), in fequinoxsolstice()
345 sunpos(year, 12, d, UTCoffset, HOUR(h), MIN(h), SEC(h), in fequinoxsolstice()
350 DEBUG2(year, 12, d, HOUR(h), MIN(h), in fequinoxsolstice()
384 HOUR(h), MIN(h), SEC(h), 0.0, 0.0, &prevL, &dec); in calculatesunlongitude30()
391 HOUR(h), MIN(h), SEC(h), in calculatesunlongitude30()
397 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL); in calculatesunlongitude30()
407 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL); in calculatesunlongitude30()
/freebsd-12.1/contrib/gcc/
H A Drtlhooks.c79 offset -= (MIN (UNITS_PER_WORD, GET_MODE_SIZE (mode)) in gen_lowpart_general()
80 - MIN (UNITS_PER_WORD, GET_MODE_SIZE (GET_MODE (x)))); in gen_lowpart_general()
155 offset -= (MIN (UNITS_PER_WORD, GET_MODE_SIZE (mode)) in gen_lowpart_if_possible()
156 - MIN (UNITS_PER_WORD, GET_MODE_SIZE (GET_MODE (x)))); in gen_lowpart_if_possible()
/freebsd-12.1/contrib/bmake/
H A Ddirname.c51 #ifndef MIN
52 # define MIN(a, b) ((a < b) ? a : b) macro
94 buflen = MIN(len, buflen - 1); in xdirname_r()
/freebsd-12.1/sys/kern/
H A Dtty_outq.c165 cend = MIN(MIN(to->to_end, to->to_begin + len), in ttyoutq_read()
226 cend = MIN(MIN(to->to_end, to->to_begin + uio->uio_resid), in ttyoutq_read_uio()
312 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff); in ttyoutq_write()
/freebsd-12.1/bin/pax/
H A Dbuf_subs.c407 res = MIN((bufend - bufpt), skcnt); in rd_skip()
446 cnt = MIN(cnt, res); in rd_skip()
498 cnt = MIN(cnt, outcnt); in wr_rdbuf()
546 cnt = MIN(cnt, incnt); in rd_wrbuf()
578 cnt = MIN(cnt, skcnt); in wr_skip()
621 cnt = MIN(cnt, size); in wr_rdfile()
704 cnt = MIN(cnt, size); in rd_wrfile()
/freebsd-12.1/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-12.1/sys/x86/x86/
H A Dbusdma_bounce.c333 maxpages = MIN(MAX_BPAGES, Maxmem - in bounce_bus_dmamap_create()
338 pages = MIN(maxpages - bz->total_bpages, pages); in bounce_bus_dmamap_create()
518 sgsize = MIN(buflen, dmat->common.maxsegsz); in _bus_dmamap_count_phys()
520 sgsize = MIN(sgsize, in _bus_dmamap_count_phys()
596 sg_len = MIN(sg_len, max_sgsize); in _bus_dmamap_count_ma()
600 sg_len = MIN(sg_len, max_sgsize); in _bus_dmamap_count_ma()
723 sgsize = MIN(buflen, dmat->common.maxsegsz); in bounce_bus_dmamap_load_phys()
796 sgsize = MIN(sgsize, max_sgsize); in bounce_bus_dmamap_load_buffer()
800 sgsize = MIN(sgsize, max_sgsize); in bounce_bus_dmamap_load_buffer()
863 sgsize = MIN(sgsize, max_sgsize); in bounce_bus_dmamap_load_ma()
[all …]
/freebsd-12.1/sys/dev/sound/midi/
H A Dmidiq.h66 MIN( (size), (head).s - (head).h) ), \
68 …MIDIQ_MOVE(&(head).b[(head).h], (buf), sizeof(*(head).b) * MIN((size), (head).s - (head).h)); …
84 …%d h %d t %d\n", &(head).b[(head).t], (buf), (intmax_t)sizeof(*(head).b) * MIN((size), (head).s - …
85 …if (move) MIDIQ_MOVE((buf), &(head).b[(head).t], sizeof(*(head).b) * MIN((size), (head).s - (head)…
/freebsd-12.1/sys/mips/ingenic/
H A Djz4780_clk_pll.c177 m = MIN((uint32_t)(*fout / MHZ), (1u << CGU_PLL_M_WIDTH)); in jz4780_clk_pll_set_freq()
178 m = MIN(m, 1); in jz4780_clk_pll_set_freq()
180 n = MIN((uint32_t)(fin / MHZ), (1u << CGU_PLL_N_WIDTH)); in jz4780_clk_pll_set_freq()
181 n = MIN(n, 1); in jz4780_clk_pll_set_freq()
/freebsd-12.1/lib/libc/gen/
H A Dutxdb.c44 MIN(sizeof (fu)->fu_ ## field, sizeof (ut)->ut_ ## field)); \
48 MIN(sizeof (fu)->fu_id, sizeof (ut)->ut_id)); \
109 MIN(sizeof (ut)->ut_ ## field - 1, sizeof (fu)->fu_ ## field)); \
113 MIN(sizeof (ut)->ut_id, sizeof (fu)->fu_id)); \
/freebsd-12.1/usr.sbin/fstyp/
H A Dmsdosfs.c87 MIN(size, sizeof(pfat_bsbpb->BS_VolLab) + 1)); in fstyp_msdosfs()
105 MIN(size, sizeof(pfat32_bsbpb->BS_VolLab) + 1)); in fstyp_msdosfs()
150 MIN(size, in fstyp_msdosfs()

12345678910>>...36