Searched defs:upper_bound (Results 1 - 20 of 20) sorted by relevance

/external/dhcpcd-6.8.2/compat/
H A Darc4random_uniform.c25 * Calculate a uniformly distributed random number less than upper_bound
29 * returned is outside the range [0, 2**32 % upper_bound). This
31 * [2**32 % upper_bound, 2**32) which maps back to [0, upper_bound)
32 * after reduction modulo upper_bound.
35 arc4random_uniform(uint32_t upper_bound) argument
39 if (upper_bound < 2)
43 min = -upper_bound % upper_bound;
55 return r % upper_bound;
[all...]
/external/google-breakpad/src/processor/
H A Dstatic_map-inl.h59 // find(), lower_bound() and upper_bound() implement binary search algorithm.
104 StaticMap<Key, Value, Compare>::upper_bound(const Key &key) const { function in class:google_breakpad::StaticMap
/external/jemalloc/src/
H A Dquarantine.c18 size_t upper_bound);
109 quarantine_drain(tsdn_t *tsdn, quarantine_t *quarantine, size_t upper_bound) argument
112 while (quarantine->curbytes > upper_bound && quarantine->curobjs > 0)
134 size_t upper_bound = (opt_quarantine >= usize) ? opt_quarantine local
136 quarantine_drain(tsd_tsdn(tsd), quarantine, upper_bound); local
/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dtest_utils.cc179 const int32 upper_bound = ShapeUtil::GetDimension(input_shape, i) - local
181 std::uniform_int_distribution<int32> generator(0, upper_bound);
/external/tensorflow/tensorflow/core/util/
H A Dcuda_kernel_helper.h95 __device__ IntType upper_bound(IntType* first, IntType count, IntType val) { function in namespace:tensorflow::cuda_helper
/external/webrtc/webrtc/voice_engine/test/auto_test/
H A Dvoe_output_test.cc36 OutputTest(int16_t lower_bound, int16_t upper_bound);
43 void SetOutputBound(int16_t lower_bound, int16_t upper_bound);
53 VoEOutputCheckMediaProcess(int16_t lower_bound, int16_t upper_bound);
75 OutputTest::OutputTest(int16_t lower_bound, int16_t upper_bound) argument
76 : output_checker_(lower_bound, upper_bound) {
143 int16_t lower_bound, int16_t upper_bound)
146 upper_bound_(upper_bound) {}
142 VoEOutputCheckMediaProcess( int16_t lower_bound, int16_t upper_bound) argument
/external/brotli/python/
H A D_brotli.cc17 static int as_bounded_int(PyObject *o, int* result, int lower_bound, int upper_bound) { argument
19 if ((value < (long) lower_bound) || (value > (long) upper_bound)) {
/external/google-breakpad/src/testing/src/
H A Dgmock-spec-builders.cc193 const int upper_bound = cardinality().ConservativeUpperBound(); local
197 if (action_count > upper_bound ||
198 (action_count == upper_bound && repeated_action_specified_)) {
/external/googletest/googlemock/src/
H A Dgmock-spec-builders.cc192 const int upper_bound = cardinality().ConservativeUpperBound(); local
196 if (action_count > upper_bound ||
197 (action_count == upper_bound && repeated_action_specified_)) {
/external/libevent/
H A Darc4random.c513 * Calculate a uniformly distributed random number less than upper_bound
517 * returned is outside the range [0, 2**32 % upper_bound). This
519 * [2**32 % upper_bound, 2**32) which maps back to [0, upper_bound)
520 * after reduction modulo upper_bound.
523 arc4random_uniform(unsigned int upper_bound) argument
527 if (upper_bound < 2)
531 min = 0x100000000UL % upper_bound;
533 /* Calculate (2**32 % upper_bound) avoiding 64-bit math */
534 if (upper_bound >
[all...]
/external/tensorflow/tensorflow/compiler/jit/graphcycles/
H A Dgraphcycles.cc157 static bool ForwardDFS(GraphCycles::Rep* r, int32 n, int32 upper_bound);
197 static bool ForwardDFS(GraphCycles::Rep* r, int32 n, int32 upper_bound) { argument
214 if (nw->rank == upper_bound) {
217 if (!nw->visited && nw->rank < upper_bound) {
/external/v8/testing/gmock/src/
H A Dgmock-spec-builders.cc193 const int upper_bound = cardinality().ConservativeUpperBound(); local
197 if (action_count > upper_bound ||
198 (action_count == upper_bound && repeated_action_specified_)) {
/external/sfntly/cpp/src/sample/chromium/
H A Dsubsetter_impl.cc400 int32_t upper_bound = b->last_glyph_index(); local
412 if (gid > upper_bound) {
453 int32_t upper_bound = b->last_glyph_index(); local
466 if (gid > upper_bound) {
/external/v8/src/wasm/
H A Dwasm-js.cc381 int64_t lower_bound, uint64_t upper_bound) {
393 if (number > static_cast<int64_t>(upper_bound)) {
396 number, upper_bound);
378 GetIntegerProperty(v8::Isolate* isolate, ErrorThrower* thrower, Local<Context> context, Local<v8::Object> object, Local<String> property, int* result, int64_t lower_bound, uint64_t upper_bound) argument
H A Dwasm-interpreter.cc454 float upper_bound = 2147483648.0f; local
459 if (a < upper_bound && a >= lower_bound) {
469 double upper_bound = 2147483648.0; local
473 if (a < upper_bound && a > lower_bound) {
484 double upper_bound = 4294967296.0f; local
486 if (a < upper_bound && a > lower_bound) {
497 double upper_bound = 4294967296.0; local
499 if (a < upper_bound && a > lower_bound) {
/external/brotli/c/dec/
H A Ddecode.c876 uint32_t upper_bound = state->mtf_upper_bound; local
890 } while (i <= upper_bound);
893 upper_bound = 0;
897 upper_bound |= v[i];
906 state->mtf_upper_bound = upper_bound >> 2;
/external/flac/libFLAC/
H A Dstream_decoder.c2995 FLAC__uint64 first_frame_offset = decoder->private_->first_frame_offset, lower_bound, upper_bound, lower_bound_sample, upper_bound_sample, this_frame_sample; local
3040 upper_bound = stream_length;
3053 FLAC__uint64 new_upper_bound = upper_bound;
3089 upper_bound = new_upper_bound;
3111 if (lower_bound_sample >= upper_bound_sample || lower_bound > upper_bound) {
3116 pos = (FLAC__int64)lower_bound + (FLAC__int64)((double)(target_sample - lower_bound_sample) / (double)(upper_bound_sample - lower_bound_sample) * (double)(upper_bound - lower_bound)) - approx_bytes_per_frame;
3119 if(upper_bound - lower_bound < 0xffffffff)
3120 pos = (FLAC__int64)lower_bound + (FLAC__int64)(((target_sample - lower_bound_sample) * (upper_bound - lower_bound)) / (upper_bound_sample - lower_bound_sample)) - approx_bytes_per_frame;
3122 pos = (FLAC__int64)lower_bound + (FLAC__int64)((((target_sample - lower_bound_sample)>>8) * ((upper_bound - lower_bound)>>8)) / ((upper_bound_sample - lower_bound_sample)>>16)) - approx_bytes_per_frame;
3124 if(pos >= (FLAC__int64)upper_bound)
[all...]
/external/webrtc/webrtc/modules/audio_processing/aec/
H A Daec_core.c882 // |upper_bound|. The adaptive echo cancellation filter is currently
886 const int upper_bound = self->num_partitions * 3 / 4; local
887 const int do_correction = delay <= lower_bound || delay > upper_bound;
/external/v8/src/compiler/
H A Djs-typed-lowering.cc258 Type* upper_bound) {
299 Type::Intersect(node_type, upper_bound, zone()));
257 ChangeToSpeculativeOperator(const Operator* op, bool invert, Type* upper_bound) argument
/external/valgrind/drd/tests/
H A Dtsan_unittest.cpp7469 upper_bound = ARRAY_SIZE * ( myId ) / N_THREADS; local
7471 for (int i = lower_bound; i < upper_bound;
7514 upper_bound = ARRAY_SIZE * ( myId ) / N_THREADS; local
7520 i < upper_bound;

Completed in 770 milliseconds