Home
last modified time | relevance | path

Searched refs:key_type (Results 1 – 25 of 88) sorted by relevance

1234

/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramStateTrait.h152 using key_type = Key;
165 static lookup_type Lookup(data_type B, key_type K) {
169 static data_type Set(data_type B, key_type K, value_type E,
174 static data_type Remove(data_type B, key_type K, context_type F) {
178 static bool Contains(data_type B, key_type K) {
200 using key_type = Key;
211 static data_type Add(data_type B, key_type K, context_type F) {
219 static bool Contains(data_type B, key_type K) {
240 using key_type = T;
243 static data_type Add(data_type L, key_type K, context_type F) {
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/
H A Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
57 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
59 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
60 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
H A Dcontains.transparent.pass.cpp25 using key_type = StoredType<int>; in main() typedef
50 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<key_type>>; in main()
57 … using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<key_type>>; in main()
H A Dfind.transparent.pass.cpp26 using key_type = StoredType<int>; in main() typedef
51 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<key_type>>; in main()
58 … using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<key_type>>; in main()
H A Dcount.transparent.pass.cpp26 using key_type = StoredType<int>; in main() typedef
51 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<key_type>>; in main()
58 … using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<key_type>>; in main()
H A Dequal_range.transparent.pass.cpp26 using key_type = StoredType<int>; in main() typedef
51 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<key_type>>; in main()
58 … using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<key_type>>; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/
H A Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
57 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
59 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
60 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
H A Dcontains.transparent.pass.cpp25 using key_type = StoredType<int>; in main() typedef
50 using M = unord_map_type<std::unordered_map, transparent_hash, std::equal_to<key_type>>; in main()
57 using M = unord_map_type<std::unordered_map, non_transparent_hash, std::equal_to<key_type>>; in main()
H A Dcount.transparent.pass.cpp26 using key_type = StoredType<int>; in main() typedef
51 using M = unord_map_type<std::unordered_map, transparent_hash, std::equal_to<key_type>>; in main()
58 using M = unord_map_type<std::unordered_map, non_transparent_hash, std::equal_to<key_type>>; in main()
H A Dfind.transparent.pass.cpp26 using key_type = StoredType<int>; in main() typedef
51 using M = unord_map_type<std::unordered_map, transparent_hash, std::equal_to<key_type>>; in main()
58 using M = unord_map_type<std::unordered_map, non_transparent_hash, std::equal_to<key_type>>; in main()
H A Dequal_range.transparent.pass.cpp26 using key_type = StoredType<int>; in main() typedef
51 using M = unord_map_type<std::unordered_map, transparent_hash, std::equal_to<key_type>>; in main()
58 using M = unord_map_type<std::unordered_map, non_transparent_hash, std::equal_to<key_type>>; in main()
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DMapLattice.h44 using key_type = Key;
58 insert(const std::pair<const key_type, mapped_type> &P) { in insert() argument
62 std::pair<iterator, bool> insert(std::pair<const key_type, mapped_type> &&P) { in insert() argument
85 bool contains(const key_type &K) const { return C.find(K) != C.end(); } in contains()
87 iterator find(const key_type &K) { return C.find(K); } in find()
88 const_iterator find(const key_type &K) const { return C.find(K); } in find()
90 mapped_type &operator[](const key_type &K) { return C[K]; }
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/
H A Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
41 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
42 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
56 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
57 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
58 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
H A Dfind.transparent.pass.cpp26 using key_type = StoredType<int>; in main() typedef
51 using S = unord_set_type<std::unordered_set, transparent_hash, std::equal_to<key_type>>; in main()
58 using S = unord_set_type<std::unordered_set, non_transparent_hash, std::equal_to<key_type>>; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multiset/
H A Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
41 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
42 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
56 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
57 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
58 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
H A Dequal_range.transparent.pass.cpp26 using key_type = StoredType<int>; in main() typedef
51 using S = unord_set_type<std::unordered_multiset, transparent_hash, std::equal_to<key_type>>; in main()
58 … using S = unord_set_type<std::unordered_multiset, non_transparent_hash, std::equal_to<key_type>>; in main()
/llvm-project-15.0.7/libcxx/include/ext/
H A Dhash_set26 typedef Value key_type;
69 size_type erase(const key_type& k);
78 iterator find(const key_type& k);
79 const_iterator find(const key_type& k) const;
80 size_type count(const key_type& k) const;
81 pair<iterator, iterator> equal_range(const key_type& k);
155 size_type erase(const key_type& k);
164 iterator find(const key_type& k);
165 const_iterator find(const key_type& k) const;
166 size_type count(const key_type& k) const;
[all …]
H A Dhash_map73 size_type erase(const key_type& k);
82 iterator find(const key_type& k);
83 const_iterator find(const key_type& k) const;
84 size_type count(const key_type& k) const;
88 mapped_type& operator[](const key_type& k);
163 size_type erase(const key_type& k);
172 iterator find(const key_type& k);
173 const_iterator find(const key_type& k) const;
174 size_type count(const key_type& k) const;
596 mapped_type& operator[](const key_type& __k);
[all …]
/llvm-project-15.0.7/libcxx/include/
H A Dmap120 mapped_type& operator[](const key_type& k);
121 mapped_type& operator[](key_type&& k);
123 mapped_type& at(const key_type& k);
167 size_type erase(const key_type& k);
190 iterator find(const key_type& k);
407 size_type erase(const key_type& k);
430 iterator find(const key_type& k);
1204 mapped_type& operator[](key_type&& __k);
1376 size_type erase(const key_type& __k)
1402 node_type extract(key_type const& __key)
[all …]
H A Dset126 size_type erase(const key_type& k);
151 iterator find(const key_type& k);
350 size_type erase(const key_type& k);
375 iterator find(const key_type& k);
760 size_type erase(const key_type& __k)
786 node_type extract(key_type const& __key)
876 iterator lower_bound(const key_type& __k)
894 iterator upper_bound(const key_type& __k)
1317 node_type extract(key_type const& __key)
1408 iterator lower_bound(const key_type& __k)
[all …]
H A Dunordered_map151 size_type erase(const key_type& k);
174 iterator find(const key_type& k);
180 size_type count(const key_type& k) const;
194 mapped_type& operator[](key_type&& k);
196 mapped_type& at(const key_type& k);
203 size_type bucket(const key_type& k) const;
386 size_type erase(const key_type& k);
409 iterator find(const key_type& k);
415 size_type count(const key_type& k) const;
1385 node_type extract(key_type const& __key)
[all …]
/llvm-project-15.0.7/clang/utils/
H A Dconvert_arm_neon.py76 key_type = 0
80 key_type = 1
92 key_type += 1
152 if key_type != 0 and key_type == i:
/llvm-project-15.0.7/llvm/test/CodeGen/BPF/BTF/
H A Dmap-def-3.ll5 ; struct key_type {
8 ; const struct key_type __attribute__((section(".maps"))) hash_map;
12 %struct.key_type = type { i32 }
14 @hash_map = dso_local local_unnamed_addr constant %struct.key_type zeroinitializer, section ".maps"…
41 ; CHECK: .ascii "key_type" # string offset=5
58 !7 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "key_type", file: !3, line: 1, siz…
/llvm-project-15.0.7/libcxx/test/libcxx/containers/associative/
H A Dtree_key_value_traits.pass.cpp21 static_assert((std::is_same<Traits::key_type, int>::value), ""); in testKeyValueTrait()
29 static_assert((std::is_same<Traits::key_type, Tp>::value), ""); in testKeyValueTrait()
37 static_assert((std::is_same<Traits::key_type, Tp>::value), ""); in testKeyValueTrait()
45 static_assert((std::is_same<Traits::key_type, int>::value), ""); in testKeyValueTrait()
/llvm-project-15.0.7/libcxx/test/libcxx/containers/unord/
H A Dkey_value_traits.pass.cpp21 static_assert((std::is_same<Traits::key_type, int>::value), ""); in testKeyValueTrait()
29 static_assert((std::is_same<Traits::key_type, Tp>::value), ""); in testKeyValueTrait()
37 static_assert((std::is_same<Traits::key_type, Tp>::value), ""); in testKeyValueTrait()
45 static_assert((std::is_same<Traits::key_type, int>::value), ""); in testKeyValueTrait()

1234