Home
last modified time | relevance | path

Searched refs:is_safe (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/boost/safe_numerics/
Dsafe_base_operations.hpp131 is_safe<T>::value, in safe_base()
167 ! boost::safe_numerics::is_safe<R>::value,
203 static_assert(is_safe<T>::value || is_safe<U>::value,
242 static_assert(is_safe<T>::value || is_safe<U>::value,
418 is_safe<T>::value || is_safe<U>::value,
427 is_safe<T>::value || is_safe<U>::value,
538 is_safe<T>::value || is_safe<U>::value,
547 is_safe<T>::value || is_safe<U>::value,
660 is_safe<T>::value || is_safe<U>::value,
670 is_safe<T>::value || is_safe<U>::value,
[all …]
Dsafe_base.hpp44 struct is_safe<safe_base<T, Min, Max, P, E> > : public std::true_type struct
195 is_safe<T>::value,
235 ! boost::safe_numerics::is_safe<R>::value,
Dsafe_common.hpp17 struct is_safe : public std::false_type struct
Dsafe_integer_literal.hpp26 struct is_safe<safe_literal_impl<T, N, P, E> > : public std::true_type struct
102 ! boost::safe_numerics::is_safe<R>::value,
/third_party/boost/libs/safe_numerics/test/
Dtest_or.hpp29 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_or()
33 boost::safe_numerics::is_safe<result_type>::value, in test_or()
70 boost::safe_numerics::is_safe<safe_t<T2> >::value, in test_or()
74 boost::safe_numerics::is_safe<result_type>::value, in test_or()
112 boost::safe_numerics::is_safe<result_type>::value, in test_or()
Dtest_divide.hpp31 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_divide()
35 boost::safe_numerics::is_safe<result_type>::value, in test_divide()
69 boost::safe_numerics::is_safe<safe_t<T2> >::value, in test_divide()
73 boost::safe_numerics::is_safe<result_type>::value, in test_divide()
108 boost::safe_numerics::is_safe<result_type>::value, in test_divide()
Dtest_add.hpp28 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_add()
35 boost::safe_numerics::is_safe<decltype(result)>::value, in test_add()
69 boost::safe_numerics::is_safe<safe_t<T2> >::value, in test_add()
73 boost::safe_numerics::is_safe<result_type>::value, in test_add()
111 boost::safe_numerics::is_safe<result_type>::value, in test_add()
Dtest_subtract.hpp29 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_subtract()
33 boost::safe_numerics::is_safe<result_type>::value, in test_subtract()
70 boost::safe_numerics::is_safe<safe_t<T2> >::value, in test_subtract()
74 boost::safe_numerics::is_safe<result_type>::value, in test_subtract()
112 boost::safe_numerics::is_safe<result_type>::value, in test_subtract()
Dtest_modulus.hpp29 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_modulus()
33 boost::safe_numerics::is_safe<result_type>::value, in test_modulus()
70 boost::safe_numerics::is_safe<safe_t<T2> >::value, in test_modulus()
74 boost::safe_numerics::is_safe<result_type>::value, in test_modulus()
115 boost::safe_numerics::is_safe<result_type>::value, in test_modulus()
Dtest_and.hpp29 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_and()
33 boost::safe_numerics::is_safe<result_type>::value, in test_and()
69 boost::safe_numerics::is_safe<safe_t<T2> >::value, in test_and()
73 boost::safe_numerics::is_safe<result_type>::value, in test_and()
111 boost::safe_numerics::is_safe<result_type>::value, in test_and()
Dtest_multiply.hpp31 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_multiply()
35 boost::safe_numerics::is_safe<result_type>::value, in test_multiply()
72 boost::safe_numerics::is_safe<safe_t<T2> >::value, in test_multiply()
76 boost::safe_numerics::is_safe<result_type>::value, in test_multiply()
115 boost::safe_numerics::is_safe<result_type>::value, in test_multiply()
Dtest_xor.hpp30 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_xor()
34 boost::safe_numerics::is_safe<result_type>::value, in test_xor()
81 boost::safe_numerics::is_safe<safe_t<T2> >::value, in test_xor()
85 boost::safe_numerics::is_safe<result_type>::value, in test_xor()
132 boost::safe_numerics::is_safe<result_type>::value, in test_xor()
Dtest_performance.cpp19 typename enable_if_c<boost::safe_numerics::is_safe<Integer>::value, Integer&>::type
25 typename enable_if_c<boost::safe_numerics::is_safe<Integer>::value, bool>::type
36 typename enable_if_c<boost::safe_numerics::is_safe<I1>::value, I2>::type
51 typename enable_if_c<boost::safe_numerics::is_safe<I1>::value, I1>::type
Dtest_left_shift.hpp32 boost::safe_numerics::is_safe<result_type>::value, in test_left_shift()
70 boost::safe_numerics::is_safe<result_type>::value, in test_left_shift()
111 boost::safe_numerics::is_safe<result_type>::value, in test_left_shift()
Dtest_right_shift.hpp32 boost::safe_numerics::is_safe<result_type>::value, in test_right_shift()
71 boost::safe_numerics::is_safe<result_type>::value, in test_right_shift()
112 boost::safe_numerics::is_safe<result_type>::value, in test_right_shift()
Dtest_equal.hpp33 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_equal()
77 boost::safe_numerics::is_safe<safe_t<T2> >::value, in test_equal()
Dtest_less_than.hpp33 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_less_than()
77 boost::safe_numerics::is_safe<safe_t<T2> >::value, in test_less_than()
Dtest_assignment.hpp31 boost::safe_numerics::is_safe<safe_t<T1> >::value, in test_assignment()
Dtest_rational.cpp57 ! boost::safe_numerics::is_safe<rational<int_type>>::value, in main()
Dtest_z.cpp747 static_assert(is_safe<decltype(j)>::value, "result is a safe type");
/third_party/python/Lib/test/
Dtest_uuid.py326 self.assertEqual(actual.is_safe, expected.is_safe)
329 for is_safe in self.uuid.SafeUUID:
331 is_safe=is_safe)
341 self.assertEqual(actual.is_safe, expected.is_safe)
442 is_safe=self.uuid.SafeUUID.safe)
444 is_safe=self.uuid.SafeUUID.unsafe)
489 self.assertIn(u.is_safe, {self.uuid.SafeUUID.safe,
532 self.assertNotEqual(u.is_safe, self.uuid.SafeUUID.unknown)
555 self.assertEqual(u.is_safe, self.uuid.SafeUUID.unknown)
561 self.assertEqual(u.is_safe, self.uuid.SafeUUID.safe)
[all …]
/third_party/python/Lib/
Duuid.py140 *, is_safe=SafeUUID.unknown): argument
222 object.__setattr__(self, 'is_safe', is_safe)
226 if self.is_safe != SafeUUID.unknown:
229 d['is_safe'] = self.is_safe.value
677 is_safe = SafeUUID(safely_generated)
679 is_safe = SafeUUID.unknown
680 return UUID(bytes=uuid_time, is_safe=is_safe)
/third_party/boost/boost/safe_numerics/concept/
Dsafe_numeric.hpp21 is_safe<T>::value,
/third_party/boost/libs/safe_numerics/example/
Dexample19.cpp25 is_safe<decltype(k)>::value in f()
/third_party/python/Doc/library/
Duuid.rst25 UUID. All instances of :class:`UUID` have an :attr:`is_safe` attribute
45 …=None, bytes=None, bytes_le=None, fields=None, int=None, version=None, *, is_safe=SafeUUID.unknown)
146 .. attribute:: UUID.is_safe

12