Home
last modified time | relevance | path

Searched refs:range_type (Results 1 – 25 of 58) sorted by relevance

123

/third_party/boost/boost/random/
Duniform_int_distribution.hpp55 typedef typename boost::random::traits::make_unsigned_or_unbounded<T>::type range_type; in generate_uniform_int() typedef
59 const range_type range = random::detail::subtract<result_type>()(max_value, min_value); in generate_uniform_int()
79 range_type limit; in generate_uniform_int()
80 if(range == (std::numeric_limits<range_type>::max)()) { in generate_uniform_int()
81 limit = range/(range_type(brange)+1); in generate_uniform_int()
82 if(range % (range_type(brange)+1) == range_type(brange)) in generate_uniform_int()
85 limit = (range+1)/(range_type(brange)+1); in generate_uniform_int()
90 range_type result = range_type(0); in generate_uniform_int()
91 range_type mult = range_type(1); in generate_uniform_int()
117 …result += static_cast<range_type>(static_cast<range_type>(random::detail::subtract<base_result>()(… in generate_uniform_int()
[all …]
Duniform_smallint.hpp246 … typedef typename boost::random::traits::make_unsigned_or_unbounded<result_type>::type range_type; in generate() typedef
249 …std::numeric_limits<range_type>::is_specialized && std::numeric_limits<base_unsigned>::is_speciali… in generate()
250 … && (std::numeric_limits<range_type>::digits >= std::numeric_limits<base_unsigned>::digits), in generate()
251 range_type, base_unsigned>::type mixed_range_type; in generate()
255 range_type range = random::detail::subtract<result_type>()(_max, _min); in generate()
261 return boost::random::detail::add<range_type, result_type>()( in generate()
262 static_cast<range_type>(val), _min); in generate()
271 return boost::random::detail::add<range_type, result_type>()( in generate()
280 typedef typename boost::random::traits::make_unsigned<result_type>::type range_type; in generate() typedef
281 range_type range = random::detail::subtract<result_type>()(_max, _min); in generate()
[all …]
/third_party/boost/boost/geometry/views/detail/
Drange_type.hpp38 struct range_type struct
49 struct range_type<Geometry, ring_tag> struct
56 struct range_type<Geometry, linestring_tag> struct
63 struct range_type<Geometry, polygon_tag> struct
70 struct range_type<Geometry, box_tag> struct
78 struct range_type<Geometry, multi_point_tag> struct
85 struct range_type<Geometry, multi_linestring_tag> struct
92 struct range_type<Geometry, multi_polygon_tag> struct
95 typedef typename dispatch::range_type
121 struct range_type struct
[all …]
Dnormalized_view.hpp47 typedef typename detail::range_type<Geometry>::type range_type; typedef
53 range_type const,
54 range_type
/third_party/boost/boost/range/adaptor/
Dtype_erased.hpp69 >::type range_type; in operator |() typedef
70 return range_type(boost::begin(rng), boost::end(rng)); in operator |()
108 >::type range_type; in operator |() typedef
109 return range_type(boost::begin(rng), boost::end(rng)); in operator |()
148 >::type range_type; in type_erase() typedef
150 return range_type(boost::begin(rng), boost::end(rng)); in type_erase()
189 >::type range_type; in type_erase() typedef
191 return range_type(boost::begin(rng), boost::end(rng)); in type_erase()
/third_party/boost/libs/geometry/test/views/
Dsegment_view.cpp31 typedef bg::segment_view<Segment> range_type; in test_geometry() typedef
32 range_type range(segment); in test_geometry()
36 for (typename boost::range_iterator<range_type>::type it = boost::begin(range); in test_geometry()
47 typename boost::range_iterator<range_type>::type it = boost::begin(range); in test_geometry()
51 typename boost::range_iterator<range_type>::type it2 = boost::end(range); in test_geometry()
64 BOOST_CONCEPT_ASSERT( (boost::RandomAccessRangeConcept<range_type>) ); in test_geometry()
/third_party/boost/boost/xpressive/detail/utility/chset/
Drange_run.hpp76 typedef range<Char> range_type; typedef
77 typedef std::vector<range_type> run_type;
86 void set(range_type const &r);
87 void clear(range_type const &r);
94 void merge(iterator iter, range_type const &r);
/third_party/boost/libs/fusion/test/sequence/
Diterator_range.cpp95 > range_type; in main() typedef
96 range_type r(begin(m), advance_c<2>(begin(m))); in main()
98 BOOST_MPL_ASSERT((boost::fusion::result_of::has_key<range_type, void>::type)); in main()
99 BOOST_MPL_ASSERT((boost::fusion::result_of::has_key<range_type, double>::type)); in main()
101 …_same<boost::fusion::result_of::key_of<boost::fusion::result_of::begin<range_type>::type>::type, v… in main()
102 …:key_of<boost::fusion::result_of::next<boost::fusion::result_of::begin<range_type>::type>::type>::… in main()
104 …oost::fusion::result_of::value_of_data<boost::fusion::result_of::begin<range_type>::type>::type, s… in main()
105 …of_data<boost::fusion::result_of::next<boost::fusion::result_of::begin<range_type>::type>::type>::… in main()
/third_party/boost/boost/spirit/home/support/char_set/
Drange_run.hpp40 typedef range<Char> range_type; typedef in boost::spirit::support::detail::range_run
41 typedef std::vector<range_type> storage_type;
45 void set(range_type const& range);
46 void clear(range_type const& range);
Drange_run_impl.hpp60 range_compare<range_type>() in test()
76 range_run<Char>::set(range_type const& range) in set()
90 range_compare<range_type>() in set()
118 range_run<Char>::clear(range_type const& range) in clear()
127 range_compare<range_type>() in clear()
144 run.insert(iter, range_type(range.last+1, save_last)); in clear()
/third_party/boost/boost/fusion/support/detail/
Dsegmented_fold_until_impl.hpp60 range_type; typedef
63 segmented_iterator<cons<range_type, Context> >
75 typedef typename impl_type::range_type range_type; in make_segmented_iterator() typedef
76 … return type(cons<range_type, Context>(range_type(cur, fusion::end(*context.car.first)), context)); in make_segmented_iterator()
121 typedef iterator_range<Cur, End> range_type; typedef
122 typedef cons<range_type, Context> type;
127 return cons<range_type, Context>(range_type(cur, end), context); in call()
/third_party/boost/libs/geometry/test/algorithms/detail/
Das_range.cpp46 typedef typename bg::detail::range_type<G>::type range_type; in test_geometry() typedef
50 double s = sum<0>(bg::detail::as_range<range_type>(geometry)); in test_geometry()
53 s = sum<1>(bg::detail::as_range<range_type>(geometry)); in test_geometry()
/third_party/boost/tools/quickbook/src/
Dvalue_tags.hpp37 typedef boost::integer_range<int> range_type; \
38 static range_type tags() \
73 typedef boost::integer_range<int> range_type; \
74 static range_type tags() \
/third_party/boost/boost/accumulators/statistics/
Dweighted_median.hpp70 typedef iterator_range<typename histogram_type::iterator> range_type; typedef
94 range_type histogram = weighted_density(args); in result()
95 typename range_type::iterator it = histogram.begin(); in result()
141 typedef iterator_range<typename histogram_type::iterator> range_type; typedef
162 range_type histogram = weighted_p_square_cumulative_distribution(args); in result()
163 typename range_type::iterator it = histogram.begin(); in result()
Dmedian.hpp72 typedef iterator_range<typename histogram_type::iterator> range_type; typedef
97 range_type histogram = density(args); in result()
98 typename range_type::iterator it = histogram.begin(); in result()
144 typedef iterator_range<typename histogram_type::iterator> range_type; typedef
165 range_type histogram = p_square_cumulative_distribution(args); in result()
166 typename range_type::iterator it = histogram.begin(); in result()
/third_party/boost/boost/numeric/ublas/
Dvector_proxy.hpp54 typedef basic_range<size_type, difference_type> range_type; typedef in boost::numeric::ublas::vector_range
62 vector_range (vector_type &data, const range_type &r): in vector_range()
69 vector_range (const vector_closure_type &data, const range_type &r, bool): in vector_range()
131 vector_range<vector_type> project (const range_type &r) const { in project()
501 range_type r_;
516 typedef basic_range<typename V::size_type, typename V::difference_type> range_type; in subrange() typedef
517 return vector_range<V> (data, range_type (start, stop)); in subrange()
528 typedef basic_range<typename V::size_type, typename V::difference_type> range_type; in subrange() typedef
529 return vector_range<const V> (data, range_type (start, stop)); in subrange()
543 vector_range<V> project (V &data, typename vector_range<V>::range_type const &r) { in project()
[all …]
Dmatrix_proxy.hpp992 typedef basic_range<size_type, difference_type> range_type; typedef in boost::numeric::ublas::matrix_vector_range
1000 matrix_vector_range (matrix_type &data, const range_type &r1, const range_type &r2): in matrix_vector_range()
1157 typedef typename range_type::const_iterator const_subiterator1_type;
1158 typedef typename range_type::const_iterator subiterator1_type;
1159 typedef typename range_type::const_iterator const_subiterator2_type;
1160 typedef typename range_type::const_iterator subiterator2_type;
1430 range_type r1_;
1431 range_type r2_;
1463 typedef basic_range<size_type, difference_type> range_type; typedef in boost::numeric::ublas::matrix_vector_slice
2425 typedef basic_range<size_type, difference_type> range_type; typedef in boost::numeric::ublas::matrix_range
[all …]
/third_party/boost/libs/iterator/test/
Drange_distance_compat_test.cpp16 typedef boost::iterator_range<const char*> range_type; in main() typedef
17 range_type range; in main()
/third_party/boost/boost/fusion/sequence/intrinsic/detail/
Dsegmented_begin_impl.hpp36 range_type; typedef
38 typedef cons<range_type, Context> type;
44 return type(range_type(fusion::begin(seq), fusion::end(seq)), context); in call()
/third_party/boost/boost/geometry/strategies/agnostic/
Dhull_graham_andrew.hpp239 typedef typename geometry::detail::range_type<InputGeometry>::type range_type; in apply() typedef
243 range_type const in apply()
248 range_type, in apply()
260 range_type, in apply()
/third_party/skia/third_party/externals/jinja2/
Ddefaults.py2 from ._compat import range_type
27 "range": range_type,
/third_party/jinja2/
Ddefaults.py2 from ._compat import range_type
27 "range": range_type,
/third_party/node/tools/inspector_protocol/jinja2/
Ddefaults.py11 from jinja2._compat import range_type
34 'range': range_type,
/third_party/boost/boost/spirit/home/support/utree/detail/
Dutree_detail2.hpp481 case type::range_type: in apply()
547 case type::range_type: in apply()
589 case utree_type::range_type: in apply()
607 case utree_type::range_type: in apply()
816 set_type(type::range_type); in utree()
824 set_type(type::range_type); in utree()
1162 else if (get_type() == type::range_type) in begin()
1174 else if (get_type() == type::range_type) in end()
1186 else if (get_type() == type::range_type) in ref_begin()
1198 else if (get_type() == type::range_type) in ref_end()
[all …]
/third_party/boost/boost/fusion/iterator/detail/
Dsegmented_next_impl.hpp112 typedef iterator_range<end_type, end_type> range_type; typedef
113 typedef cons<range_type> type;
118 return type(range_type(stack.car.last, stack.car.last)); in call()

123