/external/python/pyserial/test/ |
D | test_timeout_class.py | 32 self.assertFalse(t.is_infinite) 39 self.assertTrue(t.is_infinite)
|
/external/rust/crates/num-traits/src/ |
D | float.rs | 197 fn is_infinite(self) -> bool { in is_infinite() method 221 !(self.is_nan() || self.is_infinite()) in is_finite() 812 Self::is_infinite(self) -> bool; 915 Self::is_infinite(self) -> bool; 1099 fn is_infinite(self) -> bool; in is_infinite() method 1924 Self::is_infinite(self) -> bool; 2012 FloatCore::is_infinite(self) -> bool;
|
/external/rust/crates/half/src/ |
D | num_traits.rs | 176 fn is_infinite(self) -> bool { in is_infinite() method 177 self.is_infinite() in is_infinite() 341 fn is_infinite(self) -> bool { in is_infinite() method 342 self.is_infinite() in is_infinite() 914 fn is_infinite(self) -> bool { in is_infinite() method 915 self.is_infinite() in is_infinite() 1079 fn is_infinite(self) -> bool { in is_infinite() method 1080 self.is_infinite() in is_infinite()
|
/external/rust/crates/rand/src/distributions/ |
D | utils.rs | 240 fn is_infinite(self) -> bool; in is_infinite() method 299 fn is_infinite(self) -> bool { 305 !(self.is_nan() || self.is_infinite())
|
/external/rust/crates/der/src/asn1/ |
D | real.rs | 94 || self.is_infinite() in value_len() 128 || self.is_infinite() in encode_value() 138 } else if self.is_infinite() { in encode_value() 261 assert!(plus_infty.is_infinite() && plus_infty.is_sign_positive()); in decode_subnormal() 263 assert!(neg_infty.is_infinite() && neg_infty.is_sign_negative()); in decode_subnormal()
|
/external/rust/crates/protobuf-json-mapping/src/ |
D | print.rs | 96 f32::is_infinite(*self) && self > &0.0 in is_pos_infinity() 100 f32::is_infinite(*self) && self < &0.0 in is_neg_infinity() 116 f64::is_infinite(*self) && self > &0.0 in is_pos_infinity() 120 f64::is_infinite(*self) && self < &0.0 in is_neg_infinity()
|
/external/rust/crates/protobuf-support/src/lexer/ |
D | float.rs | 16 } else if f.is_infinite() { in format_protobuf_float()
|
/external/rust/crates/protobuf/2.27.1/src/text_format/lexer/ |
D | float.rs | 18 } else if f.is_infinite() { in format_protobuf_float()
|
/external/rust/crates/protobuf-codegen/2.27.1/src/ |
D | float.rs | 18 } else if f.is_infinite() { in format_protobuf_float()
|
/external/libabigail/src/ |
D | abg-reporter-priv.cc | 765 if (first_array->is_infinite()) in report_size_and_alignment_changes() 770 if (second_array->is_infinite()) in report_size_and_alignment_changes() 799 if ((*i)->is_infinite()) in report_size_and_alignment_changes() 806 if ((*j)->is_infinite()) in report_size_and_alignment_changes()
|
D | abg-ctf-reader.cc | 822 bool is_infinite = false; in process_ctf_array_type() local 865 is_infinite = true; in process_ctf_array_type() 877 subrange->is_infinite(is_infinite); in process_ctf_array_type()
|
D | abg-comp-filter.cc | 1674 if (f->is_infinite() != s->is_infinite()) in has_benign_infinite_array_change()
|
D | abg-reader.cc | 4256 bool is_infinite = false; in build_subrange_type() local 4260 is_infinite = true; in build_subrange_type() 4274 ABG_ASSERT(is_infinite in build_subrange_type() 4296 if (!is_infinite) in build_subrange_type() 4316 p->is_infinite(is_infinite); in build_subrange_type()
|
/external/rust/crates/textwrap/src/wrap_algorithms/ |
D | optimal_fit.rs | 371 if cost.is_infinite() { in wrap_optimal_fit()
|
/external/python/pyserial/serial/ |
D | serialutil.py | 129 self.is_infinite = (duration is None) 145 elif self.is_infinite:
|
D | serialposix.py | 626 elif not timeout.is_infinite: 823 … for fd, event in poll.poll(None if timeout.is_infinite else (timeout.time_left() * 1000)):
|
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 542 self.assertTrue(Decimal(float('inf')).is_infinite()) 543 self.assertTrue(Decimal(float('-inf')).is_infinite()) 1732 self.assertTrue(MyDecimal.from_float(float('inf')).is_infinite()) 1733 self.assertTrue(MyDecimal.from_float(float('-inf')).is_infinite()) 1923 d = c.is_infinite(Decimal(10)) 1924 self.assertEqual(c.is_infinite(10), d) 1925 self.assertRaises(TypeError, c.is_infinite, '10')
|
/external/rust/crates/bindgen/codegen/ |
D | helpers.rs | 273 if f.is_infinite() { in float_expr()
|
/external/python/pyserial/serial/urlhandler/ |
D | protocol_socket.py | 208 elif not timeout.is_infinite:
|
/external/rust/crates/num-derive/src/ |
D | lib.rs | 756 fn is_infinite(self) -> bool { in float() 757 <#inner_ty as #import::Float>::is_infinite(self.0) in float()
|
/external/rust/crates/half/ |
D | CHANGELOG.md | 156 - `f16::from_bits`, `f16::to_bits`, `f16::is_nan`, `f16::is_infinite`, `f16::is_finite`, 235 - Small optimization on `is_nan` and `is_infinite` from [@tspiteri].
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 702 self.assertTrue(Decimal(float('inf')).is_infinite()) 703 self.assertTrue(Decimal(float('-inf')).is_infinite()) 814 self.assertTrue(nc.create_decimal(float('inf')).is_infinite()) 815 self.assertTrue(nc.create_decimal(float('-inf')).is_infinite()) 2575 self.assertTrue(MyDecimal.from_float(float('inf')).is_infinite()) 2576 self.assertTrue(MyDecimal.from_float(float('-inf')).is_infinite()) 2728 self.assertRaises(TypeError, D(1).is_infinite, context=xc) 3138 d = c.is_infinite(Decimal(10)) 3139 self.assertEqual(c.is_infinite(10), d) 3140 self.assertRaises(TypeError, c.is_infinite, '10') [all …]
|
/external/rust/crates/serde_json/src/ |
D | de.rs | 551 if f.is_infinite() { in f64_from_parts() 571 if f.is_infinite() { in f64_from_parts() 812 if f.is_infinite() { in f64_long_from_parts()
|
/external/python/cpython3/Modules/_decimal/tests/ |
D | deccheck.py | 439 if exact.is_infinite(): 442 if rounded.is_infinite():
|
/external/rust/crates/serde_cbor/src/ |
D | ser.rs | 313 if value.is_infinite() { in serialize_f32()
|