Home
last modified time | relevance | path

Searched refs:mapped_type (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/
H A Dtypes.pass.cpp41 static_assert((std::is_same<C::mapped_type, short>::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
58 static_assert((std::is_same<C::mapped_type, short>::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/
H A Dtypes.pass.cpp41 static_assert((std::is_same<C::mapped_type, short>::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
58 static_assert((std::is_same<C::mapped_type, short>::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DMapLattice.h45 using mapped_type = ElementLattice; variable
58 insert(const std::pair<const key_type, mapped_type> &P) { in insert()
62 std::pair<iterator, bool> insert(std::pair<const key_type, mapped_type> &&P) { in insert()
90 mapped_type &operator[](const key_type &K) { return C[K]; }
/llvm-project-15.0.7/libcxx/include/
H A D__node_handle20 using mapped_type = see below; // not present for set containers
43 mapped_type& mapped() const; // not present for set containers
216 typedef typename _NodeType::__node_value_type::mapped_type mapped_type;
226 mapped_type& mapped() const
H A Dmap27 typedef T mapped_type;
28 typedef pair<const key_type, mapped_type> value_type;
120 mapped_type& operator[](const key_type& k);
121 mapped_type& operator[](key_type&& k);
123 mapped_type& at(const key_type& k);
124 const mapped_type& at(const key_type& k) const;
294 typedef pair<const key_type,mapped_type> value_type;
1202 mapped_type& operator[](const key_type& __k);
1204 mapped_type& operator[](key_type&& __k);
1207 mapped_type& at(const key_type& __k);
[all …]
H A Dunordered_map193 mapped_type& operator[](const key_type& k);
194 mapped_type& operator[](key_type&& k);
196 mapped_type& at(const key_type& k);
197 const mapped_type& at(const key_type& k) const;
819 typedef _Tp mapped_type;
820 typedef pair<const key_type, mapped_type> value_type;
904 typedef pair<const key_type, mapped_type> value_type;
1489 mapped_type& operator[](const key_type& __k);
1491 mapped_type& operator[](key_type&& __k);
1494 mapped_type& at(const key_type& __k);
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DMapVector.h42 std::is_integral<typename MapType::mapped_type>::value,
100 std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(Key, 0);
119 std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(KV.first, 0); in insert()
132 std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(KV.first, 0); in insert()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/
H A Dtypes.pass.cpp42 static_assert((std::is_same<C::mapped_type, double>::value), ""); in main()
57 static_assert((std::is_same<C::mapped_type, double>::value), ""); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/
H A Dtypes.pass.cpp42 static_assert((std::is_same<C::mapped_type, double>::value), ""); in main()
57 static_assert((std::is_same<C::mapped_type, double>::value), ""); in main()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DValueMap.h99 using mapped_type = ValueT; variable
328 using ValueT = typename DenseMapT::mapped_type;
334 using value_type = std::pair<KeyT, typename DenseMapT::mapped_type>;
382 using ValueT = typename DenseMapT::mapped_type;
388 using value_type = std::pair<KeyT, typename DenseMapT::mapped_type>;
/llvm-project-15.0.7/libcxx/include/ext/
H A Dhash_map27 typedef T mapped_type;
31 typedef pair<const key_type, mapped_type> value_type;
88 mapped_type& operator[](const key_type& k);
382 typedef std::pair<key_type, mapped_type> value_type;
427 typedef std::pair<key_type, mapped_type> value_type;
477 typedef _Tp mapped_type;
482 typedef std::pair<const key_type, mapped_type> value_type;
596 mapped_type& operator[](const key_type& __k);
751 typedef _Tp mapped_type;
756 typedef std::pair<const key_type, mapped_type> value_type;
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_dense_map_test.cpp108 static typename T::mapped_type *const dummy_value_ptr;
113 typename T::mapped_type getValue(int i = 0) { in getValue()
121 typename T::mapped_type *const DenseMapTest<T>::dummy_value_ptr = nullptr;
139 EXPECT_EQ(typename TypeParam::mapped_type(), in TYPED_TEST()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.modifiers/
H A Dinsert_node_type_hint.pass.cpp24 typename Container::mapped_type const& mapped) in node_factory()
H A Dinsert_node_type.pass.cpp25 typename Container::mapped_type const& mapped) in node_factory()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
H A Dinsert_node_type_hint.pass.cpp24 typename Container::mapped_type const& mapped) in node_factory()
H A Dinsert_node_type.pass.cpp25 typename Container::mapped_type const& mapped) in node_factory()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
H A Dinsert_node_type_hint.pass.cpp24 typename Container::mapped_type const& mapped) in node_factory()
H A Dinsert_node_type.pass.cpp24 typename Container::mapped_type const& mapped) in node_factory()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
H A Dinsert_node_type_hint.pass.cpp24 typename Container::mapped_type const& mapped) in node_factory()
H A Dinsert_node_type.pass.cpp24 typename Container::mapped_type const& mapped) in node_factory()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.access/
H A Dindex_rv_key.pass.cpp62 using MappedType = Container::mapped_type; in main()
/llvm-project-15.0.7/libcxx/test/libcxx/containers/associative/
H A Dtree_key_value_traits.pass.cpp46 static_assert((std::is_same<Traits::mapped_type, int>::value), ""); in testKeyValueTrait()
/llvm-project-15.0.7/libcxx/test/libcxx/containers/unord/
H A Dkey_value_traits.pass.cpp46 static_assert((std::is_same<Traits::mapped_type, int>::value), ""); in testKeyValueTrait()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.erasure/
H A Derase_if.pass.cpp28 ret[static_cast<typename M::key_type>(v)] = static_cast<typename M::mapped_type>(v + 10); in make()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DDenseMapTest.cpp84 static typename T::mapped_type *const dummy_value_ptr;
89 typename T::mapped_type getValue(int i = 0) { in getValue()
97 typename T::mapped_type *const DenseMapTest<T>::dummy_value_ptr = nullptr;
122 EXPECT_EQ(typename TypeParam::mapped_type(), in TYPED_TEST()

12