/third_party/boost/boost/numeric/ublas/tensor/ |
D | index.hpp | 32 struct index_type struct 40 constexpr bool operator == (index_type<K> /*other*/) const { return I==K; } in operator ==() argument 42 constexpr bool operator != (index_type<K> /*other*/) const { return I!=K; } in operator !=() argument 44 constexpr bool operator == (index_type /*other*/) const { return true; } in operator ==() argument 45 constexpr bool operator != (index_type /*other*/) const { return false; } in operator !=() argument 55 static constexpr index_type< 0> _; 56 static constexpr index_type< 1> _a; 57 static constexpr index_type< 2> _b; 58 static constexpr index_type< 3> _c; 59 static constexpr index_type< 4> _d; [all …]
|
D | multi_index_utility.hpp | 66 template<class index_type, class tuple_type> 69 …static constexpr bool value = detail::has_index_impl<std::decay_t<index_type>,std::decay_t<tuple_t… 232 template<class index_type, class tuple_type> 235 …ndex_position_impl<0ul,std::tuple_size<tuple_type>::value,std::decay_t<index_type>,std::decay_t<tu… 257 using index_type = std::tuple_element_t<r-1,tuple_left>; in run() typedef 258 using has_index_type = has_index<index_type, tuple_right>; in run() 259 using get_index_type = index_position<index_type,tuple_right>; in run() 261 if constexpr ( has_index_type::value && index_type::value != 0) in run() 273 using index_type = std::tuple_element_t<m-1,tuple_left>; in run() typedef 274 using has_index_type = has_index<index_type, tuple_right>; in run() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_rep_ring.h | 81 using index_type = uint32_t; variable 90 index_type index; 118 index_type head() const { return head_; } in head() 119 index_type tail() const { return tail_; } in tail() 120 index_type capacity() const { return capacity_; } in capacity() 123 index_type entries() const { return entries(head_, tail_); } in entries() 130 index_type entries(index_type head, index_type tail) const { in entries() 136 pos_type const& entry_end_pos(index_type index) const { in entry_end_pos() 142 CordRep* const& entry_child(index_type index) const { in entry_child() 148 offset_type const& entry_data_offset(index_type index) const { in entry_data_offset() [all …]
|
D | cord_rep_ring.cc | 38 using index_type = CordRepRing::index_type; typedef 66 void UnrefEntries(const CordRepRing* rep, index_type head, index_type tail) { in UnrefEntries() 67 rep->ForEach(head, tail, [rep](index_type ix) { in UnrefEntries() 89 CordRepRing::index_type head = rep.head(); in operator <<() 104 void CordRepRing::AddDataOffset(index_type index, size_t n) { in AddDataOffset() 108 void CordRepRing::SubLength(index_type index, size_t n) { in SubLength() 114 Filler(CordRepRing* rep, index_type pos) : rep_(rep), head_(pos), pos_(pos) {} in Filler() 116 index_type head() const { return head_; } in head() 117 index_type pos() const { return pos_; } in pos() 128 index_type head_; [all …]
|
/third_party/boost/libs/multi_index/test/ |
D | test_safe_mode.cpp | 43 typedef typename Policy::index_type index_type; in local_test_safe_mode() typedef 44 typedef typename index_type::value_type value_type; in local_test_safe_mode() 45 typedef typename index_type::iterator iterator; in local_test_safe_mode() 46 typedef typename index_type::node_type node_type; in local_test_safe_mode() 49 index_type& i=Policy::index_from_container(c); in local_test_safe_mode() 50 index_type& i2=Policy::index_from_container(c2); in local_test_safe_mode() 127 index_type& i3=Policy::index_from_container(c3); in local_test_safe_mode() 137 index_type& i3=Policy::index_from_container(c3); in local_test_safe_mode() 148 index_type& i3=Policy::index_from_container(c3); in local_test_safe_mode() 158 index_type& i3=Policy::index_from_container(c3); in local_test_safe_mode() [all …]
|
/third_party/boost/boost/python/suite/indexing/ |
D | vector_indexing_suite.hpp | 55 typedef typename Container::size_type index_type; typedef in boost::python::vector_indexing_suite 75 get_item(Container& container, index_type i) in get_item() 81 get_slice(Container& container, index_type from, index_type to) in get_slice() 89 set_item(Container& container, index_type i, data_type const& v) in set_item() 95 set_slice(Container& container, index_type from, in set_slice() 96 index_type to, data_type const& v) in set_slice() 109 set_slice(Container& container, index_type from, in set_slice() 110 index_type to, Iter first, Iter last) in set_slice() 122 delete_item(Container& container, index_type i) in delete_item() 128 delete_slice(Container& container, index_type from, index_type to) in delete_slice() [all …]
|
D | map_indexing_suite.hpp | 65 typedef typename Container::key_type index_type; typedef in boost::python::map_indexing_suite 117 get_item(Container& container, index_type i_) in get_item() 129 set_item(Container& container, index_type i, data_type const& v) in set_item() 135 delete_item(Container& container, index_type i) in delete_item() 153 compare_index(Container& container, index_type a, index_type b) in compare_index() 158 static index_type 175 return index_type(); in convert_index()
|
/third_party/boost/boost/histogram/axis/ |
D | integer.hpp | 69 index_type, real_index_type>; 82 , size_(static_cast<index_type>(stop - start)) 89 integer(const integer& src, index_type begin, index_type end, unsigned merge) in integer() 98 index_type index(value_type x) const noexcept { in index() 106 auto impl = [this](long x) -> std::pair<index_type, index_type> { in update() 109 const auto k = static_cast<axis::index_type>(i); in update() 115 const auto k = static_cast<axis::index_type>( in update() 124 [this, impl](auto x) -> std::pair<index_type, index_type> { in update() 142 decltype(auto) bin(index_type idx) const noexcept { in bin() 149 index_type size() const noexcept { return size_; } in size() [all …]
|
D | traits.hpp | 65 return static_if<std::is_same<J, axis::index_type>>(std::forward<I>(i), in value_method_switch() 176 using is_reducible = std::is_constructible<Axis, const Axis&, axis::index_type, 177 axis::index_type, unsigned>; 335 index_type extent(const Axis& axis) noexcept { in extent() 367 [index](const auto& a) { return a.value(static_cast<index_type>(index)); }, in value() 395 axis::index_type index(const Axis& axis, const U& value) noexcept( in index() 402 axis::index_type index(const variant<Ts...>& axis, const U& value) { in index() 437 std::pair<index_type, index_type> update(Axis& axis, const U& value) noexcept( in update() 443 [&value](auto& a) -> std::pair<index_type, index_type> { in update() 451 std::pair<index_type, index_type> update(variant<Ts...>& axis, const U& value) { in update() [all …]
|
D | category.hpp | 108 category(const category& src, index_type begin, index_type end, unsigned merge) in category() 119 index_type index(const value_type& x) const noexcept { in index() 122 return static_cast<index_type>(std::distance(beg, std::find(beg, end, x))); in index() 126 std::pair<index_type, index_type> update(const value_type& x) { in update() 135 auto value(index_type idx) const in value() 144 decltype(auto) bin(index_type idx) const { return value(idx); } in bin() 147 index_type size() const noexcept { return static_cast<index_type>(vec_.size()); } in size()
|
D | regular.hpp | 221 , size_(static_cast<index_type>(n)) 258 : regular(trans, static_cast<index_type>(std::abs(stop - start) / step.value), 260 start + static_cast<index_type>(std::abs(stop - start) / step.value) * 280 regular(const regular& src, index_type begin, index_type end, unsigned merge) in regular() 292 index_type index(value_type x) const noexcept { in index() 298 return static_cast<index_type>(z * size()); in index() 303 return static_cast<index_type>(z * size()); in index() 312 std::pair<index_type, index_type> update(value_type x) noexcept { in update() 317 const auto i = static_cast<axis::index_type>(z * size()); in update() 322 const auto i = static_cast<axis::index_type>(std::floor(z * size())); in update() [all …]
|
D | variable.hpp | 122 variable(const variable& src, index_type begin, index_type end, unsigned merge) in variable() 129 for (index_type i = begin; i <= end; i += merge) vec_.emplace_back(*(beg + i)); in variable() 133 index_type index(value_type x) const noexcept { in index() 139 return static_cast<index_type>(std::upper_bound(vec_.begin(), vec_.end(), x) - in index() 143 std::pair<index_type, index_type> update(value_type x) noexcept { in update() 168 const auto k = static_cast<index_type>(std::modf(i, &z)); in value() 176 const auto k = static_cast<index_type>(i); // precond: i >= 0 in value() 182 auto bin(index_type idx) const noexcept { return interval_view<variable>(*this, idx); } in bin() 185 index_type size() const noexcept { return static_cast<index_type>(vec_.size()) - 1; } in size()
|
/third_party/boost/boost/numeric/ublas/experimental/ |
D | sparse_view.hpp | 136 … typedef typename boost::remove_cv<typename vector_view_traits<JA>::value_type>::type index_type; typedef in boost::numeric::ublas::compressed_matrix_view 138 typedef index_type size_type; 179 compressed_matrix_view (index_type n_rows, index_type n_cols, array_size_type nnz in compressed_matrix_view() 216 index_type size1() const { in size1() 221 index_type size2() const { in size2() 226 value_type operator()(index_type i, index_type j) const { in operator ()() 241 const_pointer find_element (index_type i, index_type j) const { in find_element() 242 index_type element1 (layout_type::index_M (i, j)); in find_element() 243 index_type element2 (layout_type::index_m (i, j)); in find_element() 259 , index_type index) const { in find_index_in_row() [all …]
|
/third_party/boost/boost/histogram/ |
D | multi_index.hpp | 30 using value_type = axis::index_type; 41 multi_index(axis::index_type i, Is... is) in multi_index() 42 : multi_index(std::initializer_list<axis::index_type>{ in multi_index() 43 i, static_cast<axis::index_type>(is)...}) {} in multi_index() 46 multi_index(const std::tuple<axis::index_type, Is...>& is) in multi_index() 71 : multi_index(static_cast<axis::index_type>(std::get<Is>(is))...) {} in multi_index() 73 axis::index_type data_[size()]; 78 using value_type = axis::index_type; 85 multi_index(axis::index_type i, Is... is) in multi_index() 86 : multi_index(std::initializer_list<axis::index_type>{ in multi_index() [all …]
|
/third_party/boost/boost/interprocess/indexes/ |
D | iunordered_set_index.hpp | 143 typedef typename index_aux::index_t index_type; typedef in boost::interprocess::iunordered_set_index 156 typedef typename index_type::iterator iterator; 157 typedef typename index_type::const_iterator const_iterator; 158 typedef typename index_type::insert_commit_data insert_commit_data; 159 typedef typename index_type::value_type value_type; 160 typedef typename index_type::bucket_ptr bucket_ptr; 161 typedef typename index_type::bucket_type bucket_type; 162 typedef typename index_type::bucket_traits bucket_traits; 163 typedef typename index_type::size_type size_type; 174 num = index_type::suggested_upper_bucket_count(num); in create_buckets() [all …]
|
D | iset_index.hpp | 75 typedef typename index_aux::index_t index_type; typedef in boost::interprocess::iset_index 82 typedef typename index_type::iterator iterator; 83 typedef typename index_type::const_iterator const_iterator; 84 typedef typename index_type::insert_commit_data insert_commit_data; 85 typedef typename index_type::value_type value_type; 118 : index_type(/*typename index_aux::value_compare()*/) in iset_index() 131 { return index_type::find(key, intrusive_key_value_less()); } in find() 134 { return index_type::find(key, intrusive_key_value_less()); } in find() 138 { return index_type::insert_check(key, intrusive_key_value_less(), commit_data); } in insert_check()
|
/third_party/boost/boost/spirit/home/support/detail/lexer/ |
D | char_traits.hpp | 20 typedef CharT index_type; typedef 22 static index_type call (CharT ch) in call() 32 typedef unsigned char index_type; typedef 34 static index_type call (char ch) in call() 36 return static_cast<index_type>(ch); in call() 44 typedef wchar_t index_type; typedef 46 static index_type call (wchar_t ch) in call()
|
/third_party/boost/libs/python/doc/reference/ |
D | indexing.qbk | 110 get_item(Container& container, index_type i); 113 get_slice(Container& container, index_type from, index_type to); 116 set_item(Container& container, index_type i, data_type const& v); 120 Container& container, index_type from, 121 index_type to, data_type const& v 126 set_slice(Container& container, index_type from, 127 index_type to, Iter first, Iter last 131 delete_item(Container& container, index_type i); 134 delete_slice(Container& container, index_type from, index_type to); 143 static index_type [all …]
|
/third_party/boost/libs/iterator/test/ |
D | permutation_iterator_test.cpp | 42 typedef std::list< int > index_type; in permutation_test() typedef 52 index_type indices( index_size ); in permutation_test() 53 for( index_type::iterator i_it = indices.begin(); i_it != indices.end(); ++i_it ) in permutation_test() 57 …typedef boost::permutation_iterator< element_range_type::iterator, index_type::iterator > permutat… in permutation_test() 67 for( index_type::iterator i_it1 = indices.begin(); it != end; ++i_it1, ++it ) in permutation_test() 75 index_type::iterator i_it2 = indices.begin(); in permutation_test() 82 for( index_type::iterator i_it3 = indices.end(); it != begin; ) in permutation_test() 91 index_type::iterator i_it4 = --indices.end(); in permutation_test()
|
/third_party/boost/boost/fusion/view/nview/detail/cpp03/ |
D | nview_impl.hpp | 38 > index_type; typedef 39 typedef nview<Sequence, index_type> type; 60 typedef mpl::vector_c<int, BOOST_PP_ENUM_PARAMS(N, I)> index_type; typedef 61 typedef nview<Sequence, index_type> type; 73 typedef mpl::vector_c<int, BOOST_PP_ENUM_PARAMS(N, I)> index_type; in as_nview() typedef 74 return nview<Sequence, index_type>(s); in as_nview()
|
/third_party/boost/boost/python/suite/indexing/detail/ |
D | indexing_suite_detail.hpp | 60 typedef typename Proxy::index_type index_type; typedef in boost::python::detail::proxy_group 64 first_proxy(index_type i) in first_proxy() 99 erase(index_type i, mpl::false_) in erase() 108 erase(index_type i, mpl::true_) in erase() 126 erase(index_type from, index_type to) in erase() 138 index_type from, in replace() 139 index_type to, in replace() 186 find(index_type i) in find() 254 typedef typename Proxy::index_type index_type; typedef in boost::python::detail::proxy_links 277 void erase(Container& container, index_type i, NoSlice no_slice) in erase() [all …]
|
/third_party/boost/boost/histogram/algorithm/ |
D | reduce.hpp | 138 inline reduce_command slice(unsigned iaxis, axis::index_type begin, axis::index_type end, in slice() 163 inline reduce_command slice(axis::index_type begin, axis::index_type end, in slice() 289 inline reduce_command slice_and_rebin(unsigned iaxis, axis::index_type begin, in slice_and_rebin() 290 axis::index_type end, unsigned merge, in slice_and_rebin() 309 inline reduce_command slice_and_rebin(axis::index_type begin, axis::index_type end, in slice_and_rebin() 333 using axis::index_type; 369 (o.end.index - o.begin.index) % static_cast<index_type>(o.merge); in __anon36a665f10102() 393 auto idx = detail::make_stack_buffer<index_type>(unsafe_access::axes(result)); 406 *i /= static_cast<index_type>(o->merge); 410 (o->end.index - o->begin.index) / static_cast<index_type>(o->merge);
|
/third_party/boost/libs/histogram/test/ |
D | axis_traits_test.cpp | 19 index_type index(int); 59 reducible(const reducible&, index_type, index_type, unsigned); in main() 161 index_type index(ordered_1) { return true; } in main() 164 index_type index(int); in main() 168 index_type index(int); in main() 171 index_type index(not_ordered_2); in main() 206 index_type index(const std::tuple<int, double>& args) const { in main() 207 return static_cast<index_type>(std::get<0>(args) + std::get<1>(args)); in main() 209 index_type size() const { return 5; } in main() 232 BOOST_TEST_EQ(traits::update(a, 0), (std::pair<index_type, index_type>(0, -1))); in main() [all …]
|
D | histogram_custom_axis_test.cpp | 34 auto index(int x) const { return static_cast<axis::index_type>(x % 2); } in index() 35 auto size() const { return axis::index_type{2}; } in size() 40 return axis::index_type{std::get<0>(x) == 1 && std::get<1>(x) == 2}; in index() 42 auto size() const { return axis::index_type{2}; } in size() 51 return std::min(static_cast<axis::index_type>(r), size()); in index() 64 axis::index_type size() const { return size_; } in size() 67 axis::index_type size_ = 0;
|
/third_party/boost/boost/histogram/detail/ |
D | linearize.hpp | 25 const axis::index_type size, const axis::index_type idx) { in linearize() 60 std::size_t linearize_growth(Index& out, axis::index_type& shift, in linearize_growth() 62 axis::index_type idx; in linearize_growth() 81 const axis::index_type idx) noexcept { in linearize_index() 83 const axis::index_type begin = opt & axis::option::underflow ? -1 : 0; in linearize_index() 84 const axis::index_type end = opt & axis::option::overflow ? ax.size() + 1 : ax.size(); in linearize_index() 85 const axis::index_type extent = end - begin; in linearize_index() 114 std::size_t linearize_growth(Index& o, axis::index_type& sh, const std::size_t st, in linearize_growth()
|