| /src/external/bsd/libfido2/dist/fuzz/ |
| uniform_random.c | 24 * Calculate a uniformly distributed random number less than upper_bound 28 * returned is outside the range [0, 2**32 % upper_bound). This 30 * [2**32 % upper_bound, 2**32) which maps back to [0, upper_bound) 31 * after reduction modulo upper_bound. 34 uniform_random(uint32_t upper_bound) 38 if (upper_bound < 2) 42 min = -upper_bound % upper_bound; 56 return r % upper_bound; [all...] |
| /src/external/bsd/unbound/dist/compat/ |
| arc4random_uniform.c | 24 * Calculate a uniformly distributed random number less than upper_bound 28 * returned is outside the range [0, 2**32 % upper_bound). This 30 * [2**32 % upper_bound, 2**32) which maps back to [0, upper_bound) 31 * after reduction modulo upper_bound. 34 arc4random_uniform(uint32_t upper_bound) 38 if (upper_bound < 2) 42 min = -upper_bound % upper_bound; 56 return r % upper_bound; [all...] |
| /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/ |
| randombytes.c | 125 randombytes_uniform(const uint32_t upper_bound) 133 return implementation->uniform(upper_bound); 136 if (upper_bound < 2) { 139 min = (1U + ~upper_bound) % upper_bound; /* = 2**32 mod upper_bound */ 143 /* r is now clamped to a set whose size mod upper_bound == 0 146 return r % upper_bound;
|
| /src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/ |
| randombytes.h | 23 uint32_t (*uniform)(const uint32_t upper_bound); /* optional, a default implementation will be used if NULL */ 45 uint32_t randombytes_uniform(const uint32_t upper_bound);
|
| /src/lib/libc/stdio/ |
| gettemp.c | 62 arc4random_uniform(uint32_t upper_bound) 64 if (upper_bound == 0) 68 uint32_t limit = RAND_MAX - (RAND_MAX % upper_bound); 74 return r % upper_bound;
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/ |
| debug_fn_imps.hpp | 70 const_iterator upper_bound_it = upper_bound(PB_DS_V2F(*it));
|
| split_join_fn_imps.hpp | 78 iterator it = upper_bound(r_key);
|
| /src/external/bsd/libevent/dist/ |
| arc4random.c | 504 * Calculate a uniformly distributed random number less than upper_bound 508 * returned is outside the range [0, 2**32 % upper_bound). This 510 * [2**32 % upper_bound, 2**32) which maps back to [0, upper_bound) 511 * after reduction modulo upper_bound. 514 arc4random_uniform(unsigned int upper_bound) 518 if (upper_bound < 2) 522 min = 0x100000000UL % upper_bound; 524 /* Calculate (2**32 % upper_bound) avoiding 64-bit math */ 525 if (upper_bound > 0x80000000 [all...] |
| /src/external/bsd/ntp/dist/sntp/libevent/ |
| arc4random.c | 505 * Calculate a uniformly distributed random number less than upper_bound 509 * returned is outside the range [0, 2**32 % upper_bound). This 511 * [2**32 % upper_bound, 2**32) which maps back to [0, upper_bound) 512 * after reduction modulo upper_bound. 515 arc4random_uniform(unsigned int upper_bound) 519 if (upper_bound < 2) 523 min = 0x100000000UL % upper_bound; 525 /* Calculate (2**32 % upper_bound) avoiding 64-bit math */ 526 if (upper_bound > 0x80000000 [all...] |
| /src/external/bsd/ntp/dist/scripts/ |
| plot_summary.in | 109 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);
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/ |
| find_fn_imps.hpp | 84 upper_bound(key_const_reference r_key) const function in class:PB_DS_CLASS_C_DEC 103 upper_bound(key_const_reference r_key) function in class:PB_DS_CLASS_C_DEC
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/splay_tree_/ |
| split_join_fn_imps.hpp | 94 node_pointer p_upper_bound = this->upper_bound(r_key).m_p_nd;
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| range-op.cc | 214 wi_fold_in_parts (r, type, lh.lower_bound (), lh.upper_bound (), 215 rh.lower_bound (), rh.upper_bound ()); 226 wide_int lh_ub = lh.upper_bound (x); 228 wide_int rh_ub = rh.upper_bound (y); 571 if (wi::eq_p (op1.lower_bound (), op1.upper_bound ()) 572 && wi::eq_p (op2.lower_bound (), op2.upper_bound ())) 574 if (wi::eq_p (op1.lower_bound (), op2.upper_bound())) 604 if (wi::eq_p (op2.lower_bound(), op2.upper_bound())) 680 if (wi::eq_p (op1.lower_bound (), op1.upper_bound ()) 681 && wi::eq_p (op2.lower_bound (), op2.upper_bound ())) 2678 wide_int lower_bound, upper_bound, mask; local [all...] |
| /src/sys/external/isc/libsodium/dist/test/default/ |
| randombytes.c | 124 randombytes_uniform_impl(const uint32_t upper_bound) 126 return upper_bound;
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/profile/ |
| multiset.h | 473 upper_bound(const key_type& __x) function in class:__profile::multiset 477 return iterator(_Base::upper_bound(__x), this); 483 upper_bound(const key_type& __x) const function in class:__profile::multiset 487 return const_iterator(_Base::upper_bound(__x), this); 495 upper_bound(const _Kt& __x) function in class:__profile::multiset 499 return { _Base::upper_bound(__x), this }; 506 upper_bound(const _Kt& __x) const function in class:__profile::multiset 510 return { _Base::upper_bound(__x), this };
|
| set.h | 460 upper_bound(const key_type& __x) function in class:__profile::set 464 return iterator(_Base::upper_bound(__x), this); 468 upper_bound(const key_type& __x) const function in class:__profile::set 472 return const_iterator(_Base::upper_bound(__x), this); 480 upper_bound(const _Kt& __x) function in class:__profile::set 484 return { _Base::upper_bound(__x), this }; 491 upper_bound(const _Kt& __x) const function in class:__profile::set 495 return { _Base::upper_bound(__x), this };
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/ |
| debug_fn_imps.hpp | 78 PB_DS_DEBUG_VERIFY(--upper_bound(PB_DS_V2F(*it)) == it);
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
| stl_multiset.h | 842 upper_bound(const key_type& __x) function in class:multiset 843 { return _M_t.upper_bound(__x); } 846 upper_bound(const key_type& __x) const function in class:multiset 847 { return _M_t.upper_bound(__x); } 852 upper_bound(const _Kt& __x) 858 upper_bound(const _Kt& __x) const 874 * c.upper_bound(val))
|
| /src/external/apache2/llvm/dist/clang/lib/Index/ |
| FileIndexRecord.cpp | 35 auto It = llvm::upper_bound(Decls, Info);
|
| /src/external/apache2/llvm/dist/clang/lib/Lex/ |
| PPConditionalDirectiveRecord.cpp | 37 upp = std::upper_bound(low, CondDirectiveLocs.end(),
|
| /src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| ASTTableGen.cpp | 101 auto i = map.lower_bound(node), e = map.upper_bound(node);
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/ |
| hash_prime_size_policy_imp.hpp | 154 const std::size_t* const p_upper = std::upper_bound(detail::g_a_sizes,
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/debug/ |
| map.h | 636 upper_bound(const key_type& __x) function in class:__debug::map 637 { return iterator(_Base::upper_bound(__x), this); } 644 upper_bound(const _Kt& __x) function in class:__debug::map 645 { return { _Base::upper_bound(__x), this }; } 649 upper_bound(const key_type& __x) const function in class:__debug::map 650 { return const_iterator(_Base::upper_bound(__x), this); } 657 upper_bound(const _Kt& __x) const function in class:__debug::map 658 { return { _Base::upper_bound(__x), this }; }
|
| multimap.h | 518 upper_bound(const key_type& __x) function in class:__debug::multimap 519 { return iterator(_Base::upper_bound(__x), this); } 526 upper_bound(const _Kt& __x) function in class:__debug::multimap 527 { return { _Base::upper_bound(__x), this }; } 531 upper_bound(const key_type& __x) const function in class:__debug::multimap 532 { return const_iterator(_Base::upper_bound(__x), this); } 539 upper_bound(const _Kt& __x) const function in class:__debug::multimap 540 { return { _Base::upper_bound(__x), this }; }
|
| multiset.h | 486 upper_bound(const key_type& __x) function in class:__debug::multiset 487 { return iterator(_Base::upper_bound(__x), this); } 492 upper_bound(const key_type& __x) const function in class:__debug::multiset 493 { return const_iterator(_Base::upper_bound(__x), this); } 500 upper_bound(const _Kt& __x) function in class:__debug::multiset 501 { return { _Base::upper_bound(__x), this }; } 507 upper_bound(const _Kt& __x) const function in class:__debug::multiset 508 { return { _Base::upper_bound(__x), this }; }
|