Searched refs:min (Results 251 - 275 of 1695) sorted by relevance

<<11121314151617181920>>

/freebsd-current/contrib/llvm-project/libcxx/include/__random/
H A Dindependent_bits_engine.h63 static _LIBCPP_CONSTEXPR const _Working_result_type _Rp = _Engine::max() - _Engine::min() + _Working_result_type(1);
85 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type min() { return _Min; }
159 __u = __e_() - _Engine::min();
166 __u = __e_() - _Engine::min();
H A Duniform_int_distribution.h56 static _LIBCPP_CONSTEXPR const _Working_result_type _Rp = _Engine::max() - _Engine::min() + _Working_result_type(1);
114 __u = __e_() - _Engine::min();
125 __u = __e_() - _Engine::min();
195 _LIBCPP_HIDE_FROM_ABI result_type min() const { return a(); } function in class:uniform_int_distribution
H A Ddiscard_block_engine.h53 static _LIBCPP_CONSTEXPR const result_type _Min = _Engine::min();
57 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type min() { return _Engine::min(); } function in class:discard_block_engine
/freebsd-current/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h107 _Rep __result_min = numeric_limits<__ns_rep>::min();
109 return nanoseconds::min();
129 __ns_rep __result_min = numeric_limits<__ns_rep>::min();
131 return nanoseconds::min();
/freebsd-current/contrib/ntp/libntp/
H A Dsocktohost.c97 octets = min(sizeof(addr), ai->ai_addrlen);
/freebsd-current/share/examples/scsi_target/
H A Dscsi_target.h115 static __inline u_int min(u_int a, u_int b) { return (a < b ? a : b); } function
/freebsd-current/contrib/ntp/ntpsnmpd/
H A DntpSnmpSubagentObject.c104 j = min(j, fieldsize - 1);
112 val_cnt = min(j + 1, valuesize - 1);
188 j = min(j, maxsize - 1);
/freebsd-current/contrib/ncurses/ncurses/base/
H A Dlib_color.c454 int min, max, t; local
456 if ((min = g < r ? g : r) > b)
457 min = b;
462 *l = ((min + max) / 20);
464 if (min == max) { /* black, white and all shades of gray */
472 *s = (((max - min) * 100) / (max + min));
474 *s = (((max - min) * 100) / (2000 - max - min));
478 t = (120 + ((g - b) * 60) / (max - min));
[all...]
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dsalt-des.c89 memcpy(password, pw.data, min(pw.length, sizeof(password)));
91 int len = min(cell.length, sizeof(password) - pw.length);
98 passlen = min(sizeof(password), pw.length + cell.length);
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_strings.lua140 local max, min = 0x7fffffff, -0x80000000 -- "large" for 32 bits
143 assert(string.sub(string.format("%x", min), -8) == "80000000")
145 assert(string.format("%d", min) == "-2147483648")
149 max, min = 0x7fffffffffffffff, -0x8000000000000000
153 assert(string.format("%x", min) == "8000000000000000")
155 assert(string.format("%d", min) == "-9223372036854775808")
/freebsd-current/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c52 #undef min macro
53 #define min(x, y) (((x) > (y))? (y) : (x)) macro
185 int32_t avail = min(echo_size - n, PATTERN_SIZE);
/freebsd-current/tools/regression/kgssapi/
H A Dgsstest.c54 report_error(gss_OID mech, OM_uint32 maj, OM_uint32 min) argument
60 printf("major_stat=%d, minor_stat=%d\n", maj, min);
71 maj_stat = gss_display_status(&min_stat, min,
/freebsd-current/sys/ddb/
H A Ddb_capture.c146 len = min(db_capture_bufoff, size);
211 len = min(buflen, db_capture_bufsize - db_capture_bufoff);
251 len = min(TEXTDUMP_BLOCKSIZE, (db_capture_bufsize -
/freebsd-current/sys/powerpc/pseries/
H A Dplpar_iommu.c160 bus_addr_t min, bus_addr_t max, bus_size_t alignment, bus_addr_t boundary,
173 if (min < maxaddr)
174 maxaddr = min;
159 phyp_iommu_map(device_t dev, bus_dma_segment_t *segs, int *nsegs, bus_addr_t min, bus_addr_t max, bus_size_t alignment, bus_addr_t boundary, void *cookie) argument
/freebsd-current/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx_rtc.c88 bct.min = data[sc->rtc_regs.minutes] & sc->rtc_regs.minutes_mask;
100 bct.year, bct.mon, bct.day, bct.hour, bct.min, bct.sec);
131 data[sc->rtc_regs.minutes] = bct.min;
/freebsd-current/crypto/openssl/test/ssl-tests/
H A Dprotocol_version.pm17 use List::Util qw/max min/;
358 $c_max = min $c_max, $max_enabled;
359 $s_max = min $s_max, $max_enabled;
/freebsd-current/contrib/llvm-project/libcxx/include/__algorithm/
H A Dfind.h14 #include <__algorithm/min.h>
93 if (__value < numeric_limits<_Tp>::min() || __value > numeric_limits<_Tp>::max())
109 __storage_type __dn = std::min(__clz_f, __n);
/freebsd-current/contrib/xz/src/xz/
H A Dutil.c93 str_to_uint64(const char *name, const char *value, uint64_t min, uint64_t max) argument
101 // Accept special value "max". Supporting "min" doesn't seem useful.
161 if (result < min || result > max)
169 name, min, max);
H A Doptions.c28 uint64_t min; member in struct:__anon123
41 /// (opts[i].map != NULL, opts[i].min and opts[i].max are ignored);
43 /// (opts[i].map == NULL && opts[i].min != UINT64_MAX);
45 /// (opts[i].map == NULL && opts[i].min == UINT64_MAX, opts[i].max ignored)
117 } else if (opts[i].min == UINT64_MAX) {
125 opts[i].min, opts[i].max);
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dbtree_test.c307 u_longlong_t max = 0, min = UINT64_MAX; local
328 min = randval < min ? randval : min;
358 fprintf(stderr, "insertions/removals: %u/%u\nmax/min: "
359 "%llu/%llu\n", insertions, removals, max, min);
/freebsd-current/sys/fs/ext2fs/
H A Dext2_inode_cnv.c118 unsigned min = minor(dev); local
120 return ((min & 0xff) | (maj << 8) | ((min & ~0xff) << 12));
127 unsigned min = (dev & 0xff) | ((dev >> 12) & 0xfff00); local
129 return (makedev(maj, min));
/freebsd-current/sys/dev/iicbus/rtc/
H A Dds13rtc.c158 uint8_t sec, min, hour, wday, day, month, year; member in struct:time_regs
384 bct.min = tregs.min & DS13xx_M_MINUTE;
443 tregs.min = bct.min;
/freebsd-current/sbin/pfctl/
H A Dpf_print_state.c243 int min, sec; local
355 min = creation % 60;
357 printf(" age %.2u:%.2u:%.2u", creation, min, sec);
360 min = expire % 60;
362 printf(", expires in %.2u:%.2u:%.2u", expire, min, sec);
411 printf(", min-ttl %d", s->min_ttl);
/freebsd-current/sys/netinet/cc/
H A Dcc.c448 CCV(ccv, snd_cwnd) = min(rw, CCV(ccv, snd_cwnd));
500 min(CCV(ccv, snd_wnd), pipe) / 2 / mss) * mss;
570 incr = min(ccv->bytes_this_ack,
574 incr = min(ccv->bytes_this_ack, CCV(ccv, t_maxseg));
579 CCV(ccv, snd_cwnd) = min(cw + incr,
H A Dcc_chd.c151 win = min(CCV(ccv, snd_wnd), CCV(ccv, snd_cwnd)) / CCV(ccv, t_maxseg);
203 incr = min(ccv->bytes_this_ack,
207 incr = min(ccv->bytes_this_ack,
225 chd_data->shadow_w = min(chd_data->shadow_w + incr,
229 CCV(ccv,snd_cwnd) = min(CCV(ccv, snd_cwnd) + incr,

Completed in 156 milliseconds

<<11121314151617181920>>