| /freebsd-13.1/contrib/unbound/compat/ |
| H A D | arc4random_uniform.c | 34 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() argument 38 if (upper_bound < 2) in arc4random_uniform() 42 min = -upper_bound % upper_bound; in arc4random_uniform() 56 return r % upper_bound; in arc4random_uniform()
|
| /freebsd-13.1/sys/libkern/ |
| H A D | arc4random_uniform.c | 35 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() argument 39 if (upper_bound < 2) in arc4random_uniform() 43 min = -upper_bound % upper_bound; in arc4random_uniform() 57 return r % upper_bound; in arc4random_uniform()
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | arc4random_uniform.c | 35 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() argument 39 if (upper_bound < 2) in arc4random_uniform() 43 min = -upper_bound % upper_bound; in arc4random_uniform() 57 return r % upper_bound; in arc4random_uniform()
|
| /freebsd-13.1/contrib/libfido2/fuzz/ |
| H A D | uniform_random.c | 34 uniform_random(uint32_t upper_bound) in uniform_random() argument 38 if (upper_bound < 2) in uniform_random() 42 min = -upper_bound % upper_bound; in uniform_random() 56 return r % upper_bound; in uniform_random()
|
| /freebsd-13.1/sys/contrib/libsodium/src/libsodium/randombytes/ |
| H A D | randombytes.c | 125 randombytes_uniform(const uint32_t upper_bound) in randombytes_uniform() argument 133 return implementation->uniform(upper_bound); in randombytes_uniform() 136 if (upper_bound < 2) { in randombytes_uniform() 139 min = (1U + ~upper_bound) % upper_bound; /* = 2**32 mod upper_bound */ in randombytes_uniform() 146 return r % upper_bound; in randombytes_uniform()
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/ |
| H A D | arc4random.c | 523 arc4random_uniform(unsigned int upper_bound) in arc4random_uniform() argument 527 if (upper_bound < 2) in arc4random_uniform() 531 min = 0x100000000UL % upper_bound; in arc4random_uniform() 534 if (upper_bound > 0x80000000) in arc4random_uniform() 535 min = 1 + ~upper_bound; /* 2**32 - upper_bound */ in arc4random_uniform() 538 min = ((0xffffffff - (upper_bound * 2)) + 1) % upper_bound; in arc4random_uniform() 554 return r % upper_bound; in arc4random_uniform()
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | arc4random.c | 523 arc4random_uniform(unsigned int upper_bound) in arc4random_uniform() argument 527 if (upper_bound < 2) in arc4random_uniform() 531 min = 0x100000000UL % upper_bound; in arc4random_uniform() 534 if (upper_bound > 0x80000000) in arc4random_uniform() 535 min = 1 + ~upper_bound; /* 2**32 - upper_bound */ in arc4random_uniform() 538 min = ((0xffffffff - (upper_bound * 2)) + 1) % upper_bound; in arc4random_uniform() 554 return r % upper_bound; in arc4random_uniform()
|
| /freebsd-13.1/crypto/openssh/openbsd-compat/ |
| H A D | arc4random.c | 298 arc4random_uniform(u_int32_t upper_bound) in arc4random_uniform() argument 302 if (upper_bound < 2) in arc4random_uniform() 306 min = -upper_bound % upper_bound; in arc4random_uniform() 320 return r % upper_bound; in arc4random_uniform()
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | upper_bound.h | 52 upper_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value_, _Compare __comp) in upper_bound() function 62 upper_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value_) in upper_bound() function 64 return _VSTD::upper_bound(__first, __last, __value_, in upper_bound()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Breakpoint/ |
| H A D | BreakpointSiteList.cpp | 172 lldb::addr_t upper_bound, in FindInRange() argument 174 if (lower_bound > upper_bound) in FindInRange() 180 if (lower == m_bp_site_list.end() || (*lower).first >= upper_bound) in FindInRange() 194 upper = m_bp_site_list.upper_bound(upper_bound); in FindInRange()
|
| /freebsd-13.1/sys/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | randombytes.h | 23 …uint32_t (*uniform)(const uint32_t upper_bound); /* optional, a default implementation will be … 45 uint32_t randombytes_uniform(const uint32_t upper_bound);
|
| /freebsd-13.1/contrib/ntp/scripts/ |
| H A D | plot_summary.in | 108 my ($lower_bound, $upper_bound, $rms); 134 $upper_bound = $1 + $2; 135 $line .= "$1 $lower_bound $upper_bound"; 137 $max_offs = max($max_offs, $upper_bound);
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | RangeMap.h | 390 B upper_bound; member 393 : RangeData<B, S, T>(rd), upper_bound() {} in AugmentedRangeData() 603 entry.upper_bound = entry.base + entry.size; in ComputeUpperBounds() 606 entry.upper_bound = in ComputeUpperBounds() 607 std::max(entry.upper_bound, ComputeUpperBounds(lo, mid)); in ComputeUpperBounds() 610 entry.upper_bound = in ComputeUpperBounds() 611 std::max(entry.upper_bound, ComputeUpperBounds(mid + 1, hi)); in ComputeUpperBounds() 613 return entry.upper_bound; in ComputeUpperBounds() 625 if (addr > entry.upper_bound) in FindEntryIndexesThatContain()
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/ |
| H A D | set | 172 iterator upper_bound(const key_type& k); 837 iterator upper_bound(const key_type& __k) 838 {return __tree_.upper_bound(__k);} 841 {return __tree_.upper_bound(__k);} 846 upper_bound(const _K2& __k) {return __tree_.upper_bound(__k);} 850 upper_bound(const _K2& __k) const {return __tree_.upper_bound(__k);} 1368 iterator upper_bound(const key_type& __k) 1369 {return __tree_.upper_bound(__k);} 1372 {return __tree_.upper_bound(__k);} 1377 upper_bound(const _K2& __k) {return __tree_.upper_bound(__k);} [all …]
|
| H A D | map | 211 iterator upper_bound(const key_type& k); 1457 iterator upper_bound(const key_type& __k) 1458 {return __tree_.upper_bound(__k);} 1461 {return __tree_.upper_bound(__k);} 1466 upper_bound(const _K2& __k) {return __tree_.upper_bound(__k);} 1470 upper_bound(const _K2& __k) const {return __tree_.upper_bound(__k);} 2136 iterator upper_bound(const key_type& __k) 2137 {return __tree_.upper_bound(__k);} 2140 {return __tree_.upper_bound(__k);} 2145 upper_bound(const _K2& __k) {return __tree_.upper_bound(__k);} [all …]
|
| /freebsd-13.1/sys/contrib/libsodium/test/default/ |
| H A D | randombytes.c | 124 randombytes_uniform_impl(const uint32_t upper_bound) in randombytes_uniform_impl() argument 126 return upper_bound; in randombytes_uniform_impl()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/ |
| H A D | CrashReason.cpp | 25 lldb::addr_t upper_bound, lldb::addr_t addr) { in AppendBounds() argument 36 stream.write_hex(upper_bound); in AppendBounds()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | ThreadCollection.cpp | 37 std::upper_bound(m_threads.begin(), m_threads.end(), thread_sp, in AddThreadSortedByIndexID()
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Breakpoint/ |
| H A D | BreakpointSiteList.h | 127 bool FindInRange(lldb::addr_t lower_bound, lldb::addr_t upper_bound,
|
| /freebsd-13.1/contrib/libucl/klib/ |
| H A D | khash.h | 196 khint_t n_buckets, size, n_occupied, upper_bound; \ 303 h->upper_bound = (khint_t)(h->n_buckets * __ac_HASH_UPPER + 0.5); \ 310 if (h->n_occupied >= h->upper_bound) { /* update the hash table */ \
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Edit/ |
| H A D | EditedSource.cpp | 151 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange() 205 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitRemove() 469 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); in getActionForOffset()
|
| /freebsd-13.1/contrib/googletest/googlemock/src/ |
| H A D | gmock-spec-builders.cc | 224 const int upper_bound = cardinality().ConservativeUpperBound(); in CheckActionCountIfNotDone() local 228 if (action_count > upper_bound || in CheckActionCountIfNotDone() 229 (action_count == upper_bound && repeated_action_specified_)) { in CheckActionCountIfNotDone()
|
| /freebsd-13.1/usr.sbin/unbound/ |
| H A D | config.h | 1319 uint32_t arc4random_uniform(uint32_t upper_bound); 1331 uint32_t arc4random_uniform(uint32_t upper_bound);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFUnit.cpp | 123 auto I = std::upper_bound(begin(), end(), Unit, in addUnit() 134 std::upper_bound(begin(), end, Offset, in getUnitForOffset() 153 std::upper_bound(begin(), end, CUOff->Offset, in getUnitForIndexEntry() 683 auto B = AddrDieMap.upper_bound(R.LowPC); in updateAddressDieMap() 710 auto R = AddrDieMap.upper_bound(Address); in getSubroutineForAddress()
|
| /freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ASTTableGen.cpp | 101 auto i = map.lower_bound(node), e = map.upper_bound(node); in visitASTNodeRecursive()
|