/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/ |
H A D | compare.pass.cpp | 12 // 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...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
H A D | compare.pass.cpp | 12 // 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...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/container/ |
H A D | container_fwd.hpp | 76 template <class Key 77 ,class Compare = std::less<Key> 78 ,class Allocator = std::allocator<Key> > 82 template <class Key 83 ,class Compare = std::less<Key> 84 ,class Allocator = std::allocator<Key> > 88 template <class Key 90 ,class Compare = std::less<Key> 91 ,class Allocator = std::allocator<std::pair<const Key, T> > > 95 template <class Key [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/ |
H A D | fixed_mapping.hpp | 59 template<typename Key, typename Value, typename Compare = std::less<Key> > 62 typedef std::pair<Key,Value> elem_type; 66 typedef typename call_traits<Key>::param_type key_param_type; 75 // bind( Compare(), bind(select1st<elem_type>(), _1), bind(identity<Key>(), _2) ) 76 struct p1 : public std::binary_function<elem_type,Key,bool> 78 bool operator()( elem_type const& x, Key const& y ) const { return Compare()( x.first, y ); }
|
/ndk/tests/device/test-gnustl-full/unit/ |
H A D | map_test.cpp | 303 struct Key struct 305 Key() : m_data(0) {} function in struct:Key 306 explicit Key(int data) : m_data(data) {} function in struct:Key 313 bool operator () (Key lhs, Key rhs) const 316 bool operator () (Key lhs, int rhs) const 319 bool operator () (int lhs, Key rhs) const 325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 328 bool operator () (Key cons [all...] |
H A D | set_test.cpp | 360 struct Key struct 362 Key() : m_data(0) {} function in struct:Key 363 explicit Key(int data) : m_data(data) {} function in struct:Key 370 bool operator () (Key lhs, Key rhs) const 373 bool operator () (Key lhs, int rhs) const 376 bool operator () (int lhs, Key rhs) const 382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 385 bool operator () (Key cons [all...] |
H A D | unordered_test.cpp | 514 struct Key struct 516 Key() : m_data(0) {} function in struct:Key 517 explicit Key(int data) : m_data(data) {} function in struct:Key 522 bool operator==(const Key&) const; 528 size_t operator () (Key key) const 537 bool operator () (Key lhs, Key rhs) const 540 bool operator () (Key lhs, int rhs) const 543 bool operator () (int lhs, Key rhs) const 549 size_t operator () (Key cons [all...] |
H A D | find_test.cpp | 51 struct Key struct 90 Key keys[10] = { {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} }; 91 Key const* k = find(keys + 0, keys + 10, 5);
|
/ndk/tests/device/test-stlport/unit/ |
H A D | map_test.cpp | 303 struct Key struct 305 Key() : m_data(0) {} function in struct:Key 306 explicit Key(int data) : m_data(data) {} function in struct:Key 313 bool operator () (Key lhs, Key rhs) const 316 bool operator () (Key lhs, int rhs) const 319 bool operator () (int lhs, Key rhs) const 325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 328 bool operator () (Key cons [all...] |
H A D | set_test.cpp | 360 struct Key struct 362 Key() : m_data(0) {} function in struct:Key 363 explicit Key(int data) : m_data(data) {} function in struct:Key 370 bool operator () (Key lhs, Key rhs) const 373 bool operator () (Key lhs, int rhs) const 376 bool operator () (int lhs, Key rhs) const 382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 385 bool operator () (Key cons [all...] |
H A D | unordered_test.cpp | 514 struct Key struct 516 Key() : m_data(0) {} function in struct:Key 517 explicit Key(int data) : m_data(data) {} function in struct:Key 522 bool operator==(const Key&) const; 528 size_t operator () (Key key) const 537 bool operator () (Key lhs, Key rhs) const 540 bool operator () (Key lhs, int rhs) const 543 bool operator () (int lhs, Key rhs) const 549 size_t operator () (Key cons [all...] |
H A D | find_test.cpp | 51 struct Key struct 90 Key keys[10] = { {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} }; 91 Key const* k = find(keys + 0, keys + 10, 5);
|