Home
last modified time | relevance | path

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

12345

/freebsd-12.1/lib/libc/gen/
H A Darc4random_uniform.c35 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-12.1/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-12.1/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-12.1/contrib/libevent/
H A Darc4random.c523 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-12.1/contrib/ntp/sntp/libevent/
H A Darc4random.c523 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-12.1/contrib/gdb/gdb/
H A Df-typeprint.c159 int upper_bound, lower_bound; in f_type_print_varspec_suffix() local
206 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f_type_print_varspec_suffix()
211 fprintf_filtered (stream, "%d", upper_bound); in f_type_print_varspec_suffix()
290 int upper_bound; in f_type_print_base() local
385 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f_type_print_base()
390 fprintf_filtered (stream, "character*%d", upper_bound); in f_type_print_base()
H A Df-valprint.c129 f77_get_dynamic_upperbound (struct type *type, int *upper_bound) in f77_get_dynamic_upperbound() argument
140 *upper_bound = in f77_get_dynamic_upperbound()
147 *upper_bound = DEFAULT_UPPER_BOUND; in f77_get_dynamic_upperbound()
153 *upper_bound = TYPE_ARRAY_UPPER_BOUND_VALUE (type); in f77_get_dynamic_upperbound()
162 f77_get_dynamic_lowerbound (type, upper_bound); in f77_get_dynamic_upperbound()
173 *upper_bound = read_memory_integer (ptr_to_upper_bound, 4); in f77_get_dynamic_upperbound()
177 *upper_bound = DEFAULT_UPPER_BOUND; in f77_get_dynamic_upperbound()
196 int upper_bound = -1; in f77_get_dynamic_length_of_aggregate() local
218 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f77_get_dynamic_length_of_aggregate()
225 (upper_bound - lower_bound + 1) * TYPE_LENGTH (check_typedef (TYPE_TARGET_TYPE (type))); in f77_get_dynamic_length_of_aggregate()
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Darc4random.c292 arc4random_uniform(u_int32_t upper_bound) in arc4random_uniform() argument
296 if (upper_bound < 2) in arc4random_uniform()
300 min = -upper_bound % upper_bound; in arc4random_uniform()
314 return r % upper_bound; in arc4random_uniform()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Breakpoint/
H A DBreakpointSiteList.cpp173 lldb::addr_t upper_bound, in FindInRange() argument
175 if (lower_bound > upper_bound) in FindInRange()
181 if (lower == m_bp_site_list.end() || (*lower).first >= upper_bound) in FindInRange()
195 upper = m_bp_site_list.upper_bound(upper_bound); in FindInRange()
/freebsd-12.1/contrib/ntp/scripts/
H A Dplot_summary.in108 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-12.1/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-12.1/contrib/libc++/include/
H A Dset169 iterator upper_bound(const key_type& k);
806 iterator upper_bound(const key_type& __k)
807 {return __tree_.upper_bound(__k);}
810 {return __tree_.upper_bound(__k);}
815 upper_bound(const _K2& __k) {return __tree_.upper_bound(__k);}
819 upper_bound(const _K2& __k) const {return __tree_.upper_bound(__k);}
1294 iterator upper_bound(const key_type& __k)
1295 {return __tree_.upper_bound(__k);}
1298 {return __tree_.upper_bound(__k);}
1303 upper_bound(const _K2& __k) {return __tree_.upper_bound(__k);}
[all …]
H A Dmap206 iterator upper_bound(const key_type& k);
1417 iterator upper_bound(const key_type& __k)
1418 {return __tree_.upper_bound(__k);}
1421 {return __tree_.upper_bound(__k);}
1426 upper_bound(const _K2& __k) {return __tree_.upper_bound(__k);}
1430 upper_bound(const _K2& __k) const {return __tree_.upper_bound(__k);}
2048 iterator upper_bound(const key_type& __k)
2049 {return __tree_.upper_bound(__k);}
2052 {return __tree_.upper_bound(__k);}
2057 upper_bound(const _K2& __k) {return __tree_.upper_bound(__k);}
[all …]
/freebsd-12.1/contrib/libstdc++/include/bits/
H A Dstl_multiset.h451 upper_bound(const key_type& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
452 { return _M_t.upper_bound(__x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
455 upper_bound(const key_type& __x) const in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
456 { return _M_t.upper_bound(__x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
H A Dstl_set.h466 upper_bound(const key_type& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
467 { return _M_t.upper_bound(__x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
470 upper_bound(const key_type& __x) const in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
471 { return _M_t.upper_bound(__x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
H A Dstl_multimap.h542 upper_bound(const key_type& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
543 { return _M_t.upper_bound(__x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
552 upper_bound(const key_type& __x) const in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
553 { return _M_t.upper_bound(__x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
H A Dstl_map.h608 upper_bound(const key_type& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
609 { return _M_t.upper_bound(__x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
618 upper_bound(const key_type& __x) const in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
619 { return _M_t.upper_bound(__x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DUniqueCStringMap.h67 m_map.insert(std::upper_bound(m_map.begin(), m_map.end(), e), e); in Insert()
71 m_map.insert(std::upper_bound(m_map.begin(), m_map.end(), e), e); in Insert()
244 iterator upper_pos = std::upper_bound(lower_pos, end, search_entry); in Erase()
/freebsd-12.1/contrib/libstdc++/include/debug/
H A Dmultiset.h236 upper_bound(const key_type& __x) in upper_bound() function
237 { return iterator(_Base::upper_bound(__x), this); } in upper_bound()
242 upper_bound(const key_type& __x) const in upper_bound() function
243 { return const_iterator(_Base::upper_bound(__x), this); } in upper_bound()
H A Dset.h241 upper_bound(const key_type& __x) in upper_bound() function
242 { return iterator(_Base::upper_bound(__x), this); } in upper_bound()
247 upper_bound(const key_type& __x) const in upper_bound() function
248 { return const_iterator(_Base::upper_bound(__x), this); } in upper_bound()
H A Dmultimap.h232 upper_bound(const key_type& __x) in upper_bound() function
233 { return iterator(_Base::upper_bound(__x), this); } in upper_bound()
236 upper_bound(const key_type& __x) const in upper_bound() function
237 { return const_iterator(_Base::upper_bound(__x), this); } in upper_bound()
H A Dmap.h245 upper_bound(const key_type& __x) in upper_bound() function
246 { return iterator(_Base::upper_bound(__x), this); } in upper_bound()
249 upper_bound(const key_type& __x) const in upper_bound() function
250 { return const_iterator(_Base::upper_bound(__x), this); } in upper_bound()
/freebsd-12.1/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-12.1/contrib/libstdc++/include/ext/pb_ds/detail/bin_search_tree_/
H A Dfind_fn_imps.hpp96 upper_bound(const_key_reference r_key) const in upper_bound() function in PB_DS_CLASS_C_DEC
118 upper_bound(const_key_reference r_key) in upper_bound() function in PB_DS_CLASS_C_DEC
/freebsd-12.1/contrib/gcc/
H A Dtree-ssa-loop-prefetch.c905 unsigned upper_bound, size_factor, constraint_factor; in determine_unroll_factor() local
910 upper_bound = PARAM_VALUE (PARAM_MAX_UNROLL_TIMES); in determine_unroll_factor()
917 if (size_factor < upper_bound) in determine_unroll_factor()
918 upper_bound = size_factor; in determine_unroll_factor()
942 if (factor > upper_bound) in determine_unroll_factor()
943 factor = upper_bound; in determine_unroll_factor()

12345