Home
last modified time | relevance | path

Searched refs:identity_element (Results 1 – 25 of 40) sorted by relevance

12

/third_party/boost/libs/icl/test/
Dtest_laws.hpp80 (typename equality<Type>::type* equal, const Type& a, const Type& identity_element) \
82 Type left = a op_sign identity_element; \
83 Type right = identity_element; \
90 (typename equality<Type>::type* equal, const Type& a, const Type& identity_element) \
92 Type left = a op_sign identity_element; \
93 Type right = identity_element; \
100 (typename equality<Type>::type* equal, const Type& a, const Type& identity_element) \
102 Type left = a op_sign identity_element; \
103 Type right = identity_element op_sign a; \
110 (const Type& a, const Type& identity_element) \
[all …]
Dtest_icl_dynamic_interval.hpp16 BOOST_CHECK_EQUAL(IntervalT().lower(), icl::identity_element<T>::value()); in dynamic_interval_ctor_4_ordered_types()
17 BOOST_CHECK_EQUAL(IntervalT().upper(), icl::identity_element<T>::value()); in dynamic_interval_ctor_4_ordered_types()
18 BOOST_CHECK_EQUAL(icl::lower(IntervalT()), icl::identity_element<T>::value()); in dynamic_interval_ctor_4_ordered_types()
19 BOOST_CHECK_EQUAL(icl::upper(IntervalT()), icl::identity_element<T>::value()); in dynamic_interval_ctor_4_ordered_types()
21 …IntervalT empty_itv = IntervalT(icl::identity_element<T>::value(), icl::identity_element<T>::value… in dynamic_interval_ctor_4_ordered_types()
23 …BOOST_CHECK_EQUAL(IntervalT(), IntervalT(icl::identity_element<T>::value(), icl::identity_element<… in dynamic_interval_ctor_4_ordered_types()
24 …BOOST_CHECK_EQUAL(IntervalT(), IntervalT(icl::identity_element<T>::value(), icl::identity_element<… in dynamic_interval_ctor_4_ordered_types()
33 …BOOST_CHECK_EQUAL( icl::identity_element<T>::value(), icl::pred(icl::succ(icl::identity_element<T>… in dynamic_interval_bounds_4_bicremental_types()
34 …BOOST_CHECK_EQUAL( icl::unit_element<T>::value(), icl::succ(icl::identity_element<T>::value())… in dynamic_interval_bounds_4_bicremental_types()
35 …BOOST_CHECK_EQUAL( length(IntervalT()), icl::identity_element<typename difference_type_of<T>::type… in dynamic_interval_bounds_4_bicremental_types()
Dtest_icl_static_interval.hpp15 …BOOST_CHECK_EQUAL(icl::cardinality(IntervalT()), icl::identity_element<typename icl::size_type_of<… in static_interval_ctor_4_ordered_types()
16 …BOOST_CHECK_EQUAL(icl::size(IntervalT()), icl::identity_element<typename icl::size_type_of<T>::typ… in static_interval_ctor_4_ordered_types()
Dtest_icl_interval.hpp22 T t_0 = icl::identity_element<T>::value(); in interval_ctor_4_ordered_types()
24 SizeT s_0 = icl::identity_element<SizeT>::value(); in interval_ctor_4_ordered_types()
56 T t_0 = icl::identity_element<T>::value(); in singelizable_interval_4_ordered_types()
Dtest_value_maker.hpp40 BicrementableT value = identity_element<BicrementableT>::value(); in make()
60 std::string value = identity_element<std::string>::value(); in make()
112 Type value = identity_element<Type>::value(); in make()
Dtest_icl_continuous_interval.hpp15 …BOOST_CHECK_EQUAL(icl::cardinality(IntervalT()), icl::identity_element<typename icl::size_type_of<… in interval_ctor_4_ordered_types()
16 …BOOST_CHECK_EQUAL(icl::size(IntervalT()), icl::identity_element<typename icl::size_type_of<T>::typ… in interval_ctor_4_ordered_types()
/third_party/boost/boost/icl/type_traits/
Didentity_element.hpp15 template <class Type> struct identity_element struct
22 inline Type identity_element<Type>::value() in value()
29 inline std::string unary_template_to_string<identity_element>::apply() { return "0"; } in apply()
Dinfinity.hpp135 return identity_element<difference_type>::value(); in value()
146 return identity_element<Type>::value(); in value()
Dunit_element.hpp32 { return icl::succ(identity_element<Type>::value()); } in value()
/third_party/boost/boost/icl/concept/
Dinterval.hpp971 return icl::identity_element<SizeT>::value(); in cardinality()
985 return icl::is_empty(object) ? identity_element<SizeT>::value() in cardinality()
996 return icl::identity_element<SizeT>::value(); in cardinality()
1007 return icl::is_empty(object) ? identity_element<SizeT>::value() in cardinality()
1017 return icl::is_empty(object) ? identity_element<SizeT>::value() in cardinality()
1039 return icl::is_empty(object) ? identity_element<DiffT>::value() in length()
1049 return icl::is_empty(object) ? identity_element<DiffT>::value() in length()
1059 return icl::is_empty(object) ? identity_element<DiffT>::value() in length()
1069 return icl::is_empty(object) ? identity_element<DiffT>::value() in length()
1153 return identity_element<Type>::value(); in left_subtract()
[all …]
Dinterval_associator.hpp127 size_type size = identity_element<size_type>::value(); in cardinality()
145 size_type size = identity_element<size_type>::value(); in cardinality()
171 difference_type length = identity_element<difference_type>::value(); in length()
195 DiffT dist = identity_element<DiffT>::value(); in distance()
216 ? identity_element<typename Type::interval_type>::value() in hull()
241 ? identity_element<DomainT>::value() in upper()
270 ? identity_element<DomainT>::value() in last()
Dmap_value.hpp51 == identity_element<typename Type::second_type>::value(); in operator ()()
Delement_map.hpp110 return identity_element<size_type>::value(); in erase()
119 return identity_element<size_type>::value(); in erase()
398 (*it2_).second = identity_element<typename Type::codomain_type>::value(); in operator ^=()
/third_party/boost/boost/icl/
Dfunctors.hpp26 … inline static Type identity_element() { return boost::icl::identity_element<Type>::value(); } in identity_element() function
35 inline static Type identity_element() { return boost::icl::unit_element<Type>::value(); } in identity_element() function
61 object = base_type::identity_element(); //<-- but this. in operator ()()
432 argument_type inverse = Combiner::identity_element(); in inversion()
Dright_open_interval.hpp36 : _lwb(identity_element<DomainT>::value()), _upb(identity_element<DomainT>::value()) in right_open_interval()
Dgregorian.hpp47 inline boost::gregorian::date identity_element<boost::gregorian::date>::value() in value()
53 struct identity_element<boost::gregorian::date_duration> struct
Dopen_interval.hpp36 : _lwb(identity_element<DomainT>::value()), _upb(identity_element<DomainT>::value()) in open_interval()
Dleft_open_interval.hpp35 : _lwb(identity_element<DomainT>::value()), _upb(identity_element<DomainT>::value()) in left_open_interval()
Ddiscrete_interval.hpp42 : _lwb(identity_element<DomainT>::value()), _upb(identity_element<DomainT>::value()) in discrete_interval()
Dcontinuous_interval.hpp42 : _lwb(identity_element<DomainT>::value()), _upb(identity_element<DomainT>::value()) in continuous_interval()
Dmap.hpp279 return it==end() ? identity_element<codomain_type>::value() in operator ()()
470 { (*it_).second = identity_element<typename Type::codomain_type>::value(); } in subtract()
500 if((*it_).second == identity_element<codomain_type>::value()) in subtract()
528 (*it_).second = identity_element<codomain_type>::value(); in flip()
621 value_type(addend.first, Combiner::identity_element())); in _add()
Dptime.hpp54 inline boost::posix_time::ptime identity_element<boost::posix_time::ptime>::value() in value()
/third_party/boost/boost/icl/detail/
Delement_iterator.hpp272 : _saltator(identity_element<segment_iterator>::value()) in element_iterator()
273 , _reptator(identity_element<domain_difference_type>::value()){} in element_iterator()
276 : _saltator(jumper), _reptator(identity_element<domain_difference_type>::value()) {} in element_iterator()
302 _reptator = identity_element<domain_difference_type>::value(); in increment()
308 if(identity_element<domain_difference_type>::value() < _reptator) in decrement()
Don_absorbtion.hpp35 return co_value == Combiner::identity_element(); in is_absorbable()
Dmap_algo.hpp48 && (*iter_).second == identity_element<typename MapT::codomain_type>::value()) in next_proton()

12