Home
last modified time | relevance | path

Searched refs:ComplexKey (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/utils/tests/
DBasicHashtable_test.cpp31 struct ComplexKey { struct
34 explicit ComplexKey(int k) : k(k) { in ComplexKey() argument
38 ComplexKey(const ComplexKey& other) : k(other.k) { in ComplexKey() function
42 ~ComplexKey() { in ~ComplexKey() argument
46 bool operator ==(const ComplexKey& other) const { in operator ==() argument
50 bool operator !=(const ComplexKey& other) const { in operator !=() argument
57 ssize_t ComplexKey::instanceCount = 0;
59 template<> inline hash_t hash_type(const ComplexKey& value) { in hash_type()
83 typedef key_value_pair_t<ComplexKey, ComplexValue> ComplexEntry;
84 typedef BasicHashtable<ComplexKey, ComplexEntry> ComplexHashtable;
[all …]