Home
last modified time | relevance | path

Searched refs:flat_map (Results 1 – 25 of 38) sorted by relevance

12

/third_party/gn/src/base/containers/
Dflat_map.h152 class flat_map : public ::base::internal::flat_tree<
179 flat_map() = default;
180 explicit flat_map(const Compare& comp);
183 flat_map(InputIterator first,
188 flat_map(const flat_map&) = default;
189 flat_map(flat_map&&) noexcept = default;
191 flat_map(std::vector<value_type> items,
195 flat_map(std::initializer_list<value_type> ilist,
199 ~flat_map() = default;
201 flat_map& operator=(const flat_map&) = default;
[all …]
/third_party/boost/libs/optional/test/
Doptional_test_flat_map.cpp50 verify_type< optional<Int> >(oi.flat_map(convert_t())); in test_flat_map_on_mutable_optional_with_function_object()
51 optional<Int> oI = oi.flat_map(convert_t()); in test_flat_map_on_mutable_optional_with_function_object()
57 optional<Int> oI = oi.flat_map(convert_t()); in test_flat_map_on_mutable_optional_with_function_object()
62 optional<Int> oI = oi.flat_map(convert_t()); in test_flat_map_on_mutable_optional_with_function_object()
71 verify_type< optional<Int> >(oi.flat_map(convert_t())); in test_flat_map_on_const_optional_with_function_object()
72 optional<Int> oI = oi.flat_map(convert_t()); in test_flat_map_on_const_optional_with_function_object()
78 optional<Int> oI = oi.flat_map(convert_t()); in test_flat_map_on_const_optional_with_function_object()
83 optional<Int> oI = oi.flat_map(convert_t()); in test_flat_map_on_const_optional_with_function_object()
93 verify_type< optional<Int> >(oi.flat_map([](int i){ return optional<Int>(i == 0, Int(i)); })); in test_flat_map_with_lambda()
94 optional<Int> oI = oi.flat_map([](int i){ return optional<Int>(i != 0, Int(i)); }); in test_flat_map_with_lambda()
[all …]
/third_party/boost/libs/container/test/
Dflat_map_test.cpp46 flat_map<recursive_flat_map, recursive_flat_map> map_;
47 flat_map<recursive_flat_map, recursive_flat_map>::iterator it_;
48 flat_map<recursive_flat_map, recursive_flat_map>::const_iterator cit_;
49 flat_map<recursive_flat_map, recursive_flat_map>::reverse_iterator rit_;
50 flat_map<recursive_flat_map, recursive_flat_map>::const_reverse_iterator crit_;
147 flat_map<int, int> fmap(ordered_unique_range, int_map.begin(), int_map.end()); in flat_tree_ordered_insertion_test()
202 auto fmap = flat_map(int_map.begin(), int_map.end()); in constructor_template_auto_deduction_test()
211 auto fmap = flat_map(int_map.begin(), int_map.end(), comp_int_t()); in constructor_template_auto_deduction_test()
220 auto fmap = flat_map(int_map.begin(), int_map.end(), comp_int_t(), alloc_pair_int_t()); in constructor_template_auto_deduction_test()
229 auto fmap = flat_map(int_map.begin(), int_map.end(), alloc_pair_int_t()); in constructor_template_auto_deduction_test()
[all …]
Dexplicit_inst_flat_map_test.cpp26 template class ::boost::container::flat_map<empty, empty>;
29 volatile ::boost::container::flat_map<empty, empty> dummy;
40 template class flat_map variable
80 template class flat_map variable
Dpmr_flat_map_test.cpp20 …typedef flat_map<int, float, std::less<int>, pmr::polymorphic_allocator<std::pair<int, float> > > … in main()
23 BOOST_STATIC_ASSERT(( is_same<intcontainer_t, pmr::flat_map<int, float> >::value )); in main()
Dflat_map_adaptor_test.cpp32 typedef flat_map< ValueType
107 …typedef flat_map<int, float, std::less<int>, small_vector<std::pair<int, float>, 10> > map_contain… in main()
Dnull_iterators_test.cpp140 check_null_iterators< flat_map<int, int> >(); in main()
141 check_plus_zero< flat_map<int, int> >(); in main()
Dscoped_allocator_usage_test.cpp149 typedef flat_map<alloc_int, alloc_int, std::less<alloc_int>, FlatMapAllocator> FlatMap;
179 struct is_unique_assoc< flat_map<Key, T, Compare, Allocator> >
214 struct is_map< flat_map<Key, T, Compare, Allocator> >
/third_party/boost/boost/container/
Dflat_map.hpp112 class flat_map class
116 BOOST_COPYABLE_AND_MOVABLE(flat_map)
209 …BOOST_CONTAINER_FORCEINLINE flat_map() BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<All… in flat_map() function in boost::container::flat_map
217 BOOST_CONTAINER_FORCEINLINE explicit flat_map(const allocator_type& a) in flat_map() function in boost::container::flat_map
225 BOOST_CONTAINER_FORCEINLINE explicit flat_map(const Compare& comp) in flat_map() function in boost::container::flat_map
233 BOOST_CONTAINER_FORCEINLINE flat_map(const Compare& comp, const allocator_type& a) in flat_map() function in boost::container::flat_map
243 BOOST_CONTAINER_FORCEINLINE flat_map(InputIterator first, InputIterator last) in flat_map() function in boost::container::flat_map
253 …BOOST_CONTAINER_FORCEINLINE flat_map(InputIterator first, InputIterator last, const allocator_type… in flat_map() function in boost::container::flat_map
263 … BOOST_CONTAINER_FORCEINLINE flat_map(InputIterator first, InputIterator last, const Compare& comp) in flat_map() function in boost::container::flat_map
273 …BOOST_CONTAINER_FORCEINLINE flat_map(InputIterator first, InputIterator last, const Compare& comp,… in flat_map() function in boost::container::flat_map
[all …]
Dcontainer_fwd.hpp178 class flat_map;
210 using small_flat_map = flat_map<Key, T, Compare, small_vector<std::pair<Key, T>, N, SmallVectorAllo…
254 …typedef flat_map<Key, T, Compare, small_vector<std::pair<Key, T>, N, SmallVectorAllocator, SmallVe…
/third_party/boost/libs/compute/test/
Dtest_flat_map.cpp27 BOOST_CONCEPT_ASSERT((boost::Container<boost::compute::flat_map<int, float> >)); in BOOST_AUTO_TEST_CASE()
30 …BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<boost::compute::flat_map<int, float>::iterator>)… in BOOST_AUTO_TEST_CASE()
31 …BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<boost::compute::flat_map<int, float>::const_iter… in BOOST_AUTO_TEST_CASE()
36 boost::compute::flat_map<int, float> map(context); in BOOST_AUTO_TEST_CASE()
53 boost::compute::flat_map<int, float> map(context); in BOOST_AUTO_TEST_CASE()
66 boost::compute::flat_map<int, float> map; in BOOST_AUTO_TEST_CASE()
79 typedef boost::compute::flat_map<int, float> MapType; in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/container/pmr/
Dflat_map.hpp30 using flat_map = boost::container::flat_map<Key, T, Compare, polymorphic_allocator<std::pair<Key, T… typedef
46 …typedef boost::container::flat_map<Key, T, Compare, polymorphic_allocator<std::pair<Key, T> > > ty…
/third_party/mindspore/tests/ut/python/dataset/
Dtest_flat_map.py34 data = data.flat_map(flat_map_func)
56 d = d.flat_map(flat_map_func_1)
60 data = data.flat_map(flat_map_func_2)
/third_party/boost/libs/compute/include/boost/compute/container/
Dflat_map.hpp35 class flat_map class
53 explicit flat_map(const context &context = system::default_context()) in flat_map() function in boost::compute::flat_map
58 flat_map(const flat_map<Key, T> &other) in flat_map() function in boost::compute::flat_map
63 flat_map<Key, T>& operator=(const flat_map<Key, T> &other) in operator =()
72 ~flat_map() in ~flat_map()
/third_party/boost/boost/compute/container/
Dflat_map.hpp35 class flat_map class
53 explicit flat_map(const context &context = system::default_context()) in flat_map() function in boost::compute::flat_map
58 flat_map(const flat_map<Key, T> &other) in flat_map() function in boost::compute::flat_map
63 flat_map<Key, T>& operator=(const flat_map<Key, T> &other) in operator =()
72 ~flat_map() in ~flat_map()
/third_party/boost/libs/interprocess/test/
Dflat_tree_test.cpp69 typedef flat_map<int, int, std::less<int>, shmem_pair_allocator_t> MyShmMap;
76 typedef flat_map<test::movable_int, test::movable_int
93 typedef flat_map<test::movable_and_copyable_int, test::movable_and_copyable_int
188 …if(!boost::interprocess::test::test_emplace<flat_map<test::EmplaceInt, test::EmplaceInt>, MapOptio… in main()
/third_party/gn/src/gn/
Drust_project_writer_helpers.h110 const base::flat_map<std::string, std::string>& rustenv() { return rustenv_; } in rustenv()
123 base::flat_map<std::string, std::string> rustenv_;
/third_party/boost/boost/interprocess/containers/
Dflat_map.hpp29 using boost::container::flat_map;
/third_party/grpc/src/python/grpcio/grpc/beta/
D_server_adaptations.py309 flat_map = {}
312 flat_map[method] = method_pair_map[method_pair]
313 return flat_map
/third_party/boost/boost/interprocess/indexes/
Dflat_map_index.hpp53 typedef flat_map<key_type, mapped_type,
/third_party/boost/libs/optional/doc/
D27_ref_optional_synopsis.qbk186 …template<class F> auto flat_map( F f ) const& -> ``['see below]``; ``[link reference_optional_flat…
187 …template<class F> auto flat_map( F f ) & -> ``['see below]``; ``[link reference_optional_flat_map …
188 …template<class F> auto flat_map( F f ) && -> ``['see below]``; ``[link reference_optional_flat_map…
267 …template<class F> auto flat_map( F f ) const -> ``['see below]``; ``[link reference_optional_ref_f…
/third_party/boost/boost/optional/
Doptional.hpp1375 …ail::optional_value_type<typename boost::result_of<F(reference_type)>::type>::type> flat_map(F f) & in flat_map() function in boost::optional
1384 …al_value_type<typename boost::result_of<F(reference_const_type)>::type>::type> flat_map(F f) const& in flat_map() function in boost::optional
1393 …pe<typename boost::result_of<F(reference_type_of_temporary_wrapper)>::type>::type> flat_map(F f) && in flat_map() function in boost::optional
1430 …etail::optional_value_type<typename boost::result_of<F(reference_type)>::type>::type> flat_map(F f) in flat_map() function in boost::optional
1439 …nal_value_type<typename boost::result_of<F(reference_const_type)>::type>::type> flat_map(F f) const in flat_map() function in boost::optional
/third_party/cef/patch/patches/
Dchrome_plugins.patch79 @@ -68,6 +73,12 @@ base::flat_map<std::string, std::string>
82 base::flat_map<std::string, std::string> mime_type_to_extension_id_map;
/third_party/gn/src/base/
Dvalue_iterators.h20 using DictStorage = base::flat_map<std::string, std::unique_ptr<Value>>;
/third_party/boost/libs/compute/doc/
Dreference.qbk136 * [classref boost::compute::flat_map flat_map<Key, T>]

12