Home
last modified time | relevance | path

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

/system/core/libutils/tests/
DLruCache_test.cpp28 struct ComplexKey { struct
29 int k;
31 explicit ComplexKey(int k) : k(k) { in ComplexKey() function
35 ComplexKey(const ComplexKey& other) : k(other.k) { in ComplexKey() function
39 ~ComplexKey() { in ~ComplexKey()
43 bool operator ==(const ComplexKey& other) const { in operator ==()
47 bool operator !=(const ComplexKey& other) const { in operator !=()
51 static ssize_t instanceCount;
DBasicHashtable_test.cpp31 struct ComplexKey { struct
32 int k;
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()
46 bool operator ==(const ComplexKey& other) const { in operator ==()
50 bool operator !=(const ComplexKey& other) const { in operator !=()
54 static ssize_t instanceCount;