Home
last modified time | relevance | path

Searched refs:min_value (Results 1 – 25 of 242) sorted by relevance

12345678910

/external/flatbuffers/lua/flatbuffers/
DnumTypes.lua19 if not self.min_value and not self.max_value then return true end
20 return self.min_value <= n and n <= self.max_value
26 if not self.min_value and not self.max_value then
30 if self.min_value <= n and n <= self.max_value then
40 if not self.min_value and not self.max_value then
44 …if self.min_value <= a and a <= self.max_value and self.min_value <= b and b <= self.max_value then
66 min_value = false,
82 min_value = 0,
92 min_value = 0,
102 min_value = 0,
[all …]
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Dplot_base.cc20 void Plot::SetXAxis(float min_value, in SetXAxis() argument
25 RTC_DCHECK_LE(min_value, max_value); in SetXAxis()
26 xaxis_min_ = min_value - left_margin * (max_value - min_value); in SetXAxis()
27 xaxis_max_ = max_value + right_margin * (max_value - min_value); in SetXAxis()
31 void Plot::SetSuggestedXAxis(float min_value, in SetSuggestedXAxis() argument
38 min_value = std::min(min_value, point.x); in SetSuggestedXAxis()
42 SetXAxis(min_value, max_value, label, left_margin, right_margin); in SetSuggestedXAxis()
45 void Plot::SetYAxis(float min_value, in SetYAxis() argument
50 RTC_DCHECK_LE(min_value, max_value); in SetYAxis()
51 yaxis_min_ = min_value - bottom_margin * (max_value - min_value); in SetYAxis()
[all …]
/external/rust/crates/num-traits/src/
Dbounds.rs12 fn min_value() -> Self; in min_value() method
21 fn min_value() -> $t {
50 fn min_value() -> Self { in min_value() method
51 Wrapping(T::min_value()) in min_value()
79 fn min_value() -> Self {
80 ($($name::min_value(),)*)
98 assert_eq!(<Wrapping<$t> as Bounded>::min_value().0, <$t>::min_value()); in wrapping_bounded()
113 assert_eq!(<Wrapping<$t> as Bounded>::min_value().0, <$t>::min_value()); in wrapping_bounded_i128()
/external/skia/tools/skpbench/
D_hardware.py61 def __init__(self, value_type, min_value=None, max_value=None, argument
64 self.min_value = min_value
72 if self.min_value is not None and typedvalue < self.min_value:
74 (self.name, stringvalue, str(self.min_value)),
D_hardware_nexus_6p.py81 [Expectation(int, min_value=30, name='battery', sleeptime=30*60),
85 Expectation(long, min_value=(GPU_CLOCK_RATE - 5000),
87 Expectation(long, min_value=647995000, max_value=648007500,
/external/skqp/tools/skpbench/
D_hardware.py61 def __init__(self, value_type, min_value=None, max_value=None, argument
64 self.min_value = min_value
72 if self.min_value is not None and typedvalue < self.min_value:
74 (self.name, stringvalue, str(self.min_value)),
D_hardware_nexus_6p.py81 [Expectation(int, min_value=30, name='battery', sleeptime=30*60),
85 Expectation(long, min_value=(GPU_CLOCK_RATE - 5000),
87 Expectation(long, min_value=647995000, max_value=648007500,
/external/tensorflow/tensorflow/lite/testing/op_tests/
Delementwise.py26 def _make_elementwise_tests(op, allow_fully_quantize=False, min_value=-100, argument
37 "input_range": [[min_value, max_value]],
43 "input_range": [[min_value, max_value]],
65 min_value=min_value,
97 min_value=.1, max_value=1)(options)
Dreduce.py28 min_value=-10, argument
214 min_value=min_value,
231 min_value=-1,
243 min_value=-1,
261 tf.reduce_max, allow_fully_quantize=True, min_value=-1, max_value=1)(
269 tf.reduce_min, allow_fully_quantize=True, min_value=-1, max_value=1)(
Done_hot.py69 min_value=-1,
71 create_tensor_data(tf.int32, shape=None, min_value=1, max_value=10),
77 parameters["dtype"], shape=None, min_value=1, max_value=10))
80 parameters["dtype"], shape=None, min_value=-1, max_value=0))
/external/rust/crates/num-integer/tests/
Droots.rs57 let bits = if T::min_value().is_zero() { in mantissa_max()
130 extend_shl(&mut v, T::max_value(), T::zero(), !T::min_value()); in pos()
143 extend(&mut v, T::min_value(), T::zero()); in neg()
145 extend(&mut v, i8::min_value().as_(), T::zero()); in neg()
148 T::min_value(), in neg()
149 T::min_value() - i8::min_value().as_(), in neg()
155 extend_shl(&mut v, -T::one(), T::min_value(), !T::zero()); in neg()
156 extend_shr(&mut v, T::min_value(), -T::one()); in neg()
220 assert_eq!($I::min_value().nth_root(bits), -2);
221 assert_eq!(($I::min_value() + 1).nth_root(bits), -1);
/external/webrtc/rtc_base/
Dstring_to_number_unittest.cc44 constexpr T min_value = std::numeric_limits<T>::lowest(); in TYPED_TEST_P() local
47 const std::string min_string = std::to_string(min_value); in TYPED_TEST_P()
49 EXPECT_EQ(min_value, StringToNumber<T>(min_string)); in TYPED_TEST_P()
50 EXPECT_EQ(min_value, StringToNumber<T>(min_string.c_str())); in TYPED_TEST_P()
64 constexpr T min_value = std::numeric_limits<T>::lowest(); in TYPED_TEST_P() local
69 (min_value == 0) ? "-2" : (std::to_string(min_value) + "1"); in TYPED_TEST_P()
/external/rust/crates/rusqlite/src/vtab/
Dseries.rs172 min_value: i64, field
187 min_value: 0, in new()
199 self.min_value = args.get(i)?; in filter()
202 self.min_value = 0; in filter()
221 self.min_value = 1; in filter()
230 self.value -= (self.max_value - self.min_value) % self.step; in filter()
233 self.value = self.min_value; in filter()
251 self.value < self.min_value in eof()
259 SERIES_COLUMN_START => self.min_value, in column()
/external/tensorflow/tensorflow/lite/testing/
Dzip_test_utils.py106 def create_tensor_data(dtype, shape, min_value=-100, max_value=100): argument
113 value = (max_value - min_value) * np.random.random_sample(shape) + min_value
115 real = (max_value - min_value) * np.random.random_sample(shape) + min_value
116 imag = (max_value - min_value) * np.random.random_sample(shape) + min_value
119 value = np.random.randint(min_value, max_value + 1, shape)
130 def create_scalar_data(dtype, min_value=-100, max_value=100): argument
137 value = (max_value - min_value) * np.random.random() + min_value
139 value = np.random.randint(min_value, max_value + 1)
376 min_value=0, argument
397 min_value=min_value,
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Drandom_uniform.cc39 size_t buffer_size, T min_value, T max_value) { in RandomUniformSample() argument
40 dist_type dist(min_value, max_value); in RandomUniformSample()
134 int64_t min_value = IntValueFromTensor(tflite::GetInput(context, node, 1)); in EvalInt() local
136 TF_LITE_ENSURE(context, min_value < max_value); in EvalInt()
141 params->rng, GetTensorData<int8_t>(output), output_size, min_value, in EvalInt()
146 params->rng, GetTensorData<int32_t>(output), output_size, min_value, in EvalInt()
151 params->rng, GetTensorData<int64_t>(output), output_size, min_value, in EvalInt()
/external/libgav1/libgav1/src/
Dfilm_grain.cc531 std::atomic<int>* job_counter, int min_value, int max_chroma, in BlendNoiseChromaWorker() argument
578 plane, params_, noise_image_, min_value, max_chroma, width_, job_height, in BlendNoiseChromaWorker()
587 const dsp::Dsp& dsp, std::atomic<int>* job_counter, int min_value, in BlendNoiseLumaWorker() argument
606 noise_image_, min_value, max_luma, params_.chroma_scaling, width_, in BlendNoiseLumaWorker()
688 int min_value; in AddNoise() local
692 min_value = 16 << (bitdepth - 8); in AddNoise()
700 min_value = 0; in AddNoise()
741 num_planes, &job_counter, min_value, max_chroma, in AddNoise()
746 min_value, max_chroma, source_plane_y, in AddNoise()
754 dsp, planes_to_blend, num_planes, &job_counter, min_value, max_chroma, in AddNoise()
[all …]
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/
Dcast_builder.cc45 float min_value = 0; in PopulateSubGraph() local
51 ComputeMinAndMaxQuantValues(tensor, &min_value, &max_value)); in PopulateSubGraph()
54 kScalarShape, reinterpret_cast<char*>(&min_value), sizeof(min_value)); in PopulateSubGraph()
/external/libxaac/decoder/
Dixheaacd_basic_ops_arr.h230 WORD32 min_value; in min32_arr() local
232 min_value = word32_arr[0]; in min32_arr()
235 min_value = ixheaacd_min32(min_value, word32_arr[i]); in min32_arr()
238 return min_value; in min32_arr()
258 WORD16 min_value; in min16_arr() local
260 min_value = word16_arr[0]; in min16_arr()
263 min_value = ixheaacd_min16(min_value, word16_arr[i]); in min16_arr()
266 return min_value; in min16_arr()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dmaterialize_broadcasts.cc57 Value min_value = op.min(); in matchAndRewrite() local
60 min_value = rewriter.createOrFold<BroadcastOp>( in matchAndRewrite()
61 op.getLoc(), operand_type, min_value, in matchAndRewrite()
65 rewriter.replaceOpWithNewOp<ClampOp>(op, op.getType(), min_value, in matchAndRewrite()
/external/perfetto/src/trace_processor/metrics/android/
Dspan_view_stats.sql20 min_value REAL,
28 MIN(span.{{table_name}}_val) AS min_value,
41 'min', min_value,
Dmem_stats_priority_breakdown.sql21 min_value REAL,
46 MIN(span.{{table_name}}_val) AS min_value,
60 'min', min_value,
/external/mesa3d/src/gallium/frontends/vdpau/
Dquery.c525 void *min_value, void *max_value) in vlVdpVideoMixerQueryParameterValueRange() argument
532 if (!(min_value && max_value)) in vlVdpVideoMixerQueryParameterValueRange()
539 *(uint32_t*)min_value = 48; in vlVdpVideoMixerQueryParameterValueRange()
545 *(uint32_t*)min_value = 48; in vlVdpVideoMixerQueryParameterValueRange()
552 *(uint32_t*)min_value = 0; in vlVdpVideoMixerQueryParameterValueRange()
596 void *min_value, void *max_value) in vlVdpVideoMixerQueryAttributeValueRange() argument
598 if (!(min_value && max_value)) in vlVdpVideoMixerQueryAttributeValueRange()
605 *(float*)min_value = 0.0f; in vlVdpVideoMixerQueryAttributeValueRange()
609 *(float*)min_value = -1.0f; in vlVdpVideoMixerQueryAttributeValueRange()
613 *(uint8_t*)min_value = 0; in vlVdpVideoMixerQueryAttributeValueRange()
/external/autotest/client/cros/multimedia/
Dimage_generator.py85 min_value = 255
91 if v < min_value:
92 min_value = v
95 return (min_value, max_value)
/external/rust/crates/itoa/tests/
Dtest.rs36 test_i64_min(<i64>::min_value(), "-9223372036854775808"),
39 test_i16_min(<i16>::min_value(), "-32768"),
46 test_i128_min(<i128>::min_value(), "-170141183460469231731687303715884105728")
/external/rust/crates/ring/src/io/
Dder.rs133 min_value: u8, in nonnegative_integer()
137 fn check_minimum(input: untrusted::Input, min_value: u8) -> Result<(), error::Unspecified> { in nonnegative_integer()
140 if input.at_end() && first_byte < min_value { in nonnegative_integer()
157 if min_value > 0 { in nonnegative_integer()
174 check_minimum(r, min_value)?; in nonnegative_integer()
184 check_minimum(value, min_value)?; in nonnegative_integer()

12345678910