Searched refs:Key (Results 1 - 25 of 564) sorted by relevance

1234567891011>>

/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/
H A Dcompare.pass.cpp12 // template <class Key, class T, class Compare = less<Key>,
13 // class Allocator = allocator<pair<const Key, T>>>
21 struct Key { struct
22 template <typename T> Key(const T&) {} function in struct:Key
23 bool operator< (const Key&) const { return false; }
29 std::map<Key, int>::iterator it = std::map<Key, int>().find(Key(0));
30 std::pair<std::map<Key, in
[all...]
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/
H A Dcompare.pass.cpp12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
13 // class Alloc = allocator<pair<const Key, T>>>
21 struct Key { struct
22 template <typename T> Key(const T&) {} function in struct:Key
23 bool operator== (const Key&) const { return true; }
29 struct hash<Key>
31 size_t operator()(Key const &) const {return 0;}
38 std::unordered_map<Key, in
[all...]
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/containers/unord/unord.map/
H A Dcompare.pass.cpp12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
13 // class Alloc = allocator<pair<const Key, T>>>
22 struct Key { struct
23 template <typename T> Key(const T&) {} function in struct:Key
24 bool operator== (const Key&) const { return true; }
30 struct hash<Key>
32 size_t operator()(Key const &) const {return 0;}
39 typedef std::unordered_map<Key, in
[all...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/unord/unord.map/
H A Dcompare.pass.cpp12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
13 // class Alloc = allocator<pair<const Key, T>>>
22 struct Key { struct
23 template <typename T> Key(const T&) {} function in struct:Key
24 bool operator== (const Key&) const { return true; }
30 struct hash<Key>
32 size_t operator()(Key const &) const {return 0;}
39 typedef std::unordered_map<Key, in
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/rb_tree_map_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
63 Key,
68 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
69 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
77 template<typename Key,
85 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
87 Key,
92 typename types_traits<Key, null_type, _Alloc, false>::value_type,
93 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/splay_tree_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, splay_tree_tag, _Alloc>
62 : public bin_search_tree_traits<Key, Mapped, Cmp_Fn, Node_Update,
64 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
65 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
73 template<typename Key,
81 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update,
83 : public bin_search_tree_traits<Key, null_type, Cmp_Fn, Node_Update,
85 typename types_traits<Key, null_type, _Alloc, false>::value_type,
86 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/rb_tree_map_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
63 Key,
68 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
69 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
77 template<typename Key,
85 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
87 Key,
92 typename types_traits<Key, null_type, _Alloc, false>::value_type,
93 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/splay_tree_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, splay_tree_tag, _Alloc>
62 : public bin_search_tree_traits<Key, Mapped, Cmp_Fn, Node_Update,
64 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
65 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
73 template<typename Key,
81 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update,
83 : public bin_search_tree_traits<Key, null_type, Cmp_Fn, Node_Update,
85 typename types_traits<Key, null_type, _Alloc, false>::value_type,
86 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/mingw/include/c++/4.8.3/ext/pb_ds/detail/rb_tree_map_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
63 Key,
68 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
69 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
77 template<typename Key,
85 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
87 Key,
92 typename types_traits<Key, null_type, _Alloc, false>::value_type,
93 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/mingw/include/c++/4.8.3/ext/pb_ds/detail/splay_tree_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, splay_tree_tag, _Alloc>
62 : public bin_search_tree_traits<Key, Mapped, Cmp_Fn, Node_Update,
64 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
65 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
73 template<typename Key,
81 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update,
83 : public bin_search_tree_traits<Key, null_type, Cmp_Fn, Node_Update,
85 typename types_traits<Key, null_type, _Alloc, false>::value_type,
86 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/rb_tree_map_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
63 Key,
68 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
69 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
77 template<typename Key,
85 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
87 Key,
92 typename types_traits<Key, null_type, _Alloc, false>::value_type,
93 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/splay_tree_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, splay_tree_tag, _Alloc>
62 : public bin_search_tree_traits<Key, Mapped, Cmp_Fn, Node_Update,
64 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
65 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
73 template<typename Key,
81 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update,
83 : public bin_search_tree_traits<Key, null_type, Cmp_Fn, Node_Update,
85 typename types_traits<Key, null_type, _Alloc, false>::value_type,
86 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/rb_tree_map_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
63 Key,
68 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
69 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
77 template<typename Key,
85 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
87 Key,
92 typename types_traits<Key, null_type, _Alloc, false>::value_type,
93 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/splay_tree_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, splay_tree_tag, _Alloc>
62 : public bin_search_tree_traits<Key, Mapped, Cmp_Fn, Node_Update,
64 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
65 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
73 template<typename Key,
81 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update,
83 : public bin_search_tree_traits<Key, null_type, Cmp_Fn, Node_Update,
85 typename types_traits<Key, null_type, _Alloc, false>::value_type,
86 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/containers/associative/map/
H A Dcompare.pass.cpp12 // template <class Key, class T, class Compare = less<Key>,
13 // class Allocator = allocator<pair<const Key, T>>>
23 struct Key { struct
24 template <typename T> Key(const T&) {} function in struct:Key
25 bool operator< (const Key&) const { return false; }
30 typedef std::map<Key, int> MapT;
36 m_contains[Key(0)] = 42;
38 Iter it = m_empty.find(Key(0));
40 it = m_contains.find(Key(
[all...]
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/rb_tree_map_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
63 Key,
68 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
69 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
77 template<typename Key,
85 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
87 Key,
92 typename types_traits<Key, null_type, _Alloc, false>::value_type,
93 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/splay_tree_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, splay_tree_tag, _Alloc>
62 : public bin_search_tree_traits<Key, Mapped, Cmp_Fn, Node_Update,
64 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
65 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
73 template<typename Key,
81 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update,
83 : public bin_search_tree_traits<Key, null_type, Cmp_Fn, Node_Update,
85 typename types_traits<Key, null_type, _Alloc, false>::value_type,
86 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/rb_tree_map_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
63 Key,
68 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
69 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
77 template<typename Key,
85 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
87 Key,
92 typename types_traits<Key, null_type, _Alloc, false>::value_type,
93 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/splay_tree_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, splay_tree_tag, _Alloc>
62 : public bin_search_tree_traits<Key, Mapped, Cmp_Fn, Node_Update,
64 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
65 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
73 template<typename Key,
81 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update,
83 : public bin_search_tree_traits<Key, null_type, Cmp_Fn, Node_Update,
85 typename types_traits<Key, null_type, _Alloc, false>::value_type,
86 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/rb_tree_map_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
63 Key,
68 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
69 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
77 template<typename Key,
85 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update, rb_tree_tag,_Alloc>
87 Key,
92 typename types_traits<Key, null_type, _Alloc, false>::value_type,
93 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/splay_tree_/
H A Dtraits.hpp52 template<typename Key,
61 struct tree_traits<Key, Mapped, Cmp_Fn, Node_Update, splay_tree_tag, _Alloc>
62 : public bin_search_tree_traits<Key, Mapped, Cmp_Fn, Node_Update,
64 typename types_traits<Key, Mapped, _Alloc, false>::value_type,
65 typename tree_node_metadata_dispatch<Key, Mapped, Cmp_Fn, Node_Update,
73 template<typename Key,
81 struct tree_traits<Key, null_type, Cmp_Fn, Node_Update,
83 : public bin_search_tree_traits<Key, null_type, Cmp_Fn, Node_Update,
85 typename types_traits<Key, null_type, _Alloc, false>::value_type,
86 typename tree_node_metadata_dispatch<Key, null_typ
[all...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/associative/map/
H A Dcompare.pass.cpp12 // template <class Key, class T, class Compare = less<Key>,
13 // class Allocator = allocator<pair<const Key, T>>>
23 struct Key { struct
24 template <typename T> Key(const T&) {} function in struct:Key
25 bool operator< (const Key&) const { return false; }
30 typedef std::map<Key, int> MapT;
36 m_contains[Key(0)] = 42;
38 Iter it = m_empty.find(Key(0));
40 it = m_contains.find(Key(
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/eq_fn/
H A Deq_by_less.hpp55 template<typename Key, class Cmp_Fn>
59 operator()(const Key& r_lhs, const Key& r_rhs) const
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/eq_fn/
H A Deq_by_less.hpp55 template<typename Key, class Cmp_Fn>
59 operator()(const Key& r_lhs, const Key& r_rhs) const
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/mingw/include/c++/4.8.3/ext/pb_ds/detail/eq_fn/
H A Deq_by_less.hpp55 template<typename Key, class Cmp_Fn>
59 operator()(const Key& r_lhs, const Key& r_rhs) const

Completed in 1428 milliseconds

1234567891011>>