/freebsd-current/contrib/llvm-project/libcxx/include/__random/ |
H A D | independent_bits_engine.h | 63 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 D | uniform_int_distribution.h | 56 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 D | discard_block_engine.h | 53 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 D | condition_variable.h | 107 _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 D | socktohost.c | 97 octets = min(sizeof(addr), ai->ai_addrlen);
|
/freebsd-current/share/examples/scsi_target/ |
H A D | scsi_target.h | 115 static __inline u_int min(u_int a, u_int b) { return (a < b ? a : b); } function
|
/freebsd-current/contrib/ntp/ntpsnmpd/ |
H A D | ntpSnmpSubagentObject.c | 104 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 D | lib_color.c | 454 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 D | salt-des.c | 89 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 D | tst.lib_strings.lua | 140 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 D | l2ping.c | 52 #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 D | gsstest.c | 54 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 D | db_capture.c | 146 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 D | plpar_iommu.c | 160 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 D | rk8xx_rtc.c | 88 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 D | protocol_version.pm | 17 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 D | find.h | 14 #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 D | util.c | 93 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 D | options.c | 28 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 D | btree_test.c | 307 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 D | ext2_inode_cnv.c | 118 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 D | ds13rtc.c | 158 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 D | pf_print_state.c | 243 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 D | cc.c | 448 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 D | cc_chd.c | 151 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,
|