Home
last modified time | relevance | path

Searched refs:upper_bound (Results 1 – 25 of 122) sorted by relevance

12345

/freebsd/contrib/unbound/compat/
H A Darc4random_uniform.c34 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/lib/libc/gen/
H A Darc4random_uniform.c33 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() argument
37 if (upper_bound < 2) in arc4random_uniform()
41 min = -upper_bound % upper_bound; in arc4random_uniform()
55 return r % upper_bound; in arc4random_uniform()
/freebsd/sys/libkern/
H A Darc4random_uniform.c33 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() argument
37 if (upper_bound < 2) in arc4random_uniform()
41 min = -upper_bound % upper_bound; in arc4random_uniform()
55 return r % upper_bound; in arc4random_uniform()
/freebsd/crypto/openssh/openbsd-compat/
H A Darc4random_uniform.c40 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() argument
44 if (upper_bound < 2) in arc4random_uniform()
48 min = -upper_bound % upper_bound; in arc4random_uniform()
62 return r % upper_bound; in arc4random_uniform()
/freebsd/contrib/libfido2/fuzz/
H A Duniform_random.c34 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/sys/contrib/libsodium/src/libsodium/randombytes/
H A Drandombytes.c125 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/contrib/ntp/sntp/libevent/
H A Darc4random.c513 arc4random_uniform(unsigned int upper_bound) in arc4random_uniform() argument
517 if (upper_bound < 2) in arc4random_uniform()
521 min = 0x100000000UL % upper_bound; in arc4random_uniform()
524 if (upper_bound > 0x80000000) in arc4random_uniform()
525 min = 1 + ~upper_bound; /* 2**32 - upper_bound */ in arc4random_uniform()
528 min = ((0xffffffff - (upper_bound * 2)) + 1) % upper_bound; in arc4random_uniform()
544 return r % upper_bound; in arc4random_uniform()
/freebsd/contrib/libevent/
H A Darc4random.c513 arc4random_uniform(unsigned int upper_bound) in arc4random_uniform() argument
517 if (upper_bound < 2) in arc4random_uniform()
521 min = 0x100000000UL % upper_bound; in arc4random_uniform()
524 if (upper_bound > 0x80000000) in arc4random_uniform()
525 min = 1 + ~upper_bound; /* 2**32 - upper_bound */ in arc4random_uniform()
528 min = ((0xffffffff - (upper_bound * 2)) + 1) % upper_bound; in arc4random_uniform()
544 return r % upper_bound; in arc4random_uniform()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParser.cpp42 uint64_t upper_bound = 0; in ParseChildArrayInfo()
85 upper_bound = form_value.Unsigned(); in ParseChildArrayInfo()
95 if (upper_bound_valid && upper_bound >= lower_bound) in ParseChildArrayInfo()
96 num_elements = upper_bound - lower_bound + 1; in ParseChildArrayInfo()
40 uint64_t upper_bound = 0; ParseChildArrayInfo() local
H A DAppleDWARFIndex.cpp166 dw_offset_t upper_bound = non_skeleton_cu.GetNextUnitOffset(); in GetGlobalVariables() local
167 auto is_in_range = [lower_bound, upper_bound](std::optional<uint32_t> val) { in GetGlobalVariables()
168 return val.has_value() && *val >= lower_bound && *val < upper_bound; in GetGlobalVariables()
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointSiteList.cpp
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dupper_bound.h52 upper_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value, _Compare __comp)… in upper_bound() function
60 upper_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { in upper_bound() function
61 return std::upper_bound(std::move(__first), std::move(__last), __value, __less<>()); in upper_bound()
/freebsd/contrib/ntp/scripts/
H A Dplot_summary.in109 my ($lower_bound, $upper_bound, $rms);
135 $upper_bound = $1 + $2;
136 $line .= "$1 $lower_bound $upper_bound";
138 $max_offs = max($max_offs, $upper_bound);
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Drandombytes.h23 …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/contrib/llvm-project/compiler-rt/lib/orc/
H A Dinterval_map.h69 auto I = Impl.upper_bound(K); in find()
94 auto J = Impl.upper_bound(KS); in erase()
134 auto J = this->Impl.upper_bound(KS); in insert()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRangeMap.h432 B upper_bound; member
435 : RangeData<B, S, T>(rd), upper_bound() {} in AugmentedRangeData()
666 entry.upper_bound = entry.base + entry.size; in ComputeUpperBounds()
669 entry.upper_bound = in ComputeUpperBounds()
670 std::max(entry.upper_bound, ComputeUpperBounds(lo, mid)); in ComputeUpperBounds()
673 entry.upper_bound = in ComputeUpperBounds()
674 std::max(entry.upper_bound, ComputeUpperBounds(mid + 1, hi)); in ComputeUpperBounds()
676 return entry.upper_bound; in ComputeUpperBounds()
688 if (addr > entry.upper_bound) in FindEntryIndexesThatContain()
/freebsd/sys/contrib/libsodium/test/default/
H A Drandombytes.c124 randombytes_uniform_impl(const uint32_t upper_bound) in randombytes_uniform_impl() argument
126 return upper_bound; in randombytes_uniform_impl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DDecodedThread.cpp156 auto it = m_cpus.upper_bound(item_index); in GetCPUByIndex()
162 auto next_it = m_tscs.upper_bound(item_index); in GetTSCRangeByIndex()
170 auto next_it = m_nanoseconds.upper_bound(item_index); in GetNanosecondsRangeByIndex()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dset179 iterator upper_bound(const key_type& k);
180 const_iterator upper_bound(const key_type& k) const;
182 iterator upper_bound(const K& x); // C++14
184 const_iterator upper_bound(const K& x) const; // C++14
424 iterator upper_bound(const key_type& k);
425 const_iterator upper_bound(const key_type& k) const;
427 iterator upper_bound(const K& x); // C++14
429 const_iterator upper_bound(const K& x) const; // C++14
863 …_LIBCPP_HIDE_FROM_ABI iterator upper_bound(const key_type& __k) { return __tree_.upper_bound(__k);…
864 …_LIBCPP_HIDE_FROM_ABI const_iterator upper_bound(const key_type& __k) const { return __tree_.upper…
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Descaped_output_table.h847 ptrdiff_t __i = std::ranges::upper_bound(__entries, (__code_point << 14) | 0x3fffu) - __entries; in __needs_escape()
H A Dwidth_estimation_table.h255 ptrdiff_t __i = std::ranges::upper_bound(__entries, (__code_point << 14) | 0x3fffu) - __entries; in __estimated_width()
H A Dindic_conjunct_break_table.h332 ptrdiff_t __i = std::ranges::upper_bound(__entries, (__code_point << 11) | 0x7ffu) - __entries; in __get_property()
H A Dextended_grapheme_cluster_table.h1645 ptrdiff_t __i = std::ranges::upper_bound(__entries, (__code_point << 11) | 0x7ffu) - __entries; in __get_property()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFLinkerImpl.cpp
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Deeprom.h38 int upper_bound; /* J */ member

12345