Home
last modified time | relevance | path

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

/ndk/tests/device/test-gnustl-full/unit/
Dmap_test.cpp303 struct Key struct
305 Key() : m_data(0) {} in Key() argument
306 explicit Key(int data) : m_data(data) {} in Key() argument
313 bool operator () (Key lhs, Key rhs) const in operator ()() argument
316 bool operator () (Key lhs, int rhs) const in operator ()()
319 bool operator () (int lhs, Key rhs) const in operator ()()
325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const in operator ()()
328 bool operator () (Key const volatile *lhs, int rhs) const in operator ()()
331 bool operator () (int lhs, Key const volatile *rhs) const in operator ()()
339 typedef map<Key, int, KeyCmp> Container; in template_methods()
[all …]
Dset_test.cpp360 struct Key struct
362 Key() : m_data(0) {} in Key() function
363 explicit Key(int data) : m_data(data) {} in Key() function
370 bool operator () (Key lhs, Key rhs) const in operator ()() argument
373 bool operator () (Key lhs, int rhs) const in operator ()()
376 bool operator () (int lhs, Key rhs) const in operator ()()
382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const in operator ()()
385 bool operator () (Key const volatile *lhs, int rhs) const in operator ()()
388 bool operator () (int lhs, Key const volatile *rhs) const in operator ()()
396 typedef set<Key, KeyCmp> KeySet; in template_methods()
[all …]
Dunordered_test.cpp514 struct Key struct
516 Key() : m_data(0) {} in Key() function
517 explicit Key(int data) : m_data(data) {} in Key() function
522 bool operator==(const Key&) const; argument
528 size_t operator () (Key key) const in operator ()()
537 bool operator () (Key lhs, Key rhs) const in operator ()()
540 bool operator () (Key lhs, int rhs) const in operator ()()
543 bool operator () (int lhs, Key rhs) const in operator ()()
549 size_t operator () (Key const volatile *key) const in operator ()()
558 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const in operator ()()
[all …]
Dfind_test.cpp51 struct Key struct
90 Key keys[10] = { {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} }; in findif0()
91 Key const* k = find(keys + 0, keys + 10, 5); in findif0()
/ndk/tests/device/test-stlport/unit/
Dmap_test.cpp303 struct Key struct
305 Key() : m_data(0) {} in Key() function
306 explicit Key(int data) : m_data(data) {} in Key() argument
313 bool operator () (Key lhs, Key rhs) const in operator ()() argument
316 bool operator () (Key lhs, int rhs) const in operator ()()
319 bool operator () (int lhs, Key rhs) const in operator ()()
325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const in operator ()()
328 bool operator () (Key const volatile *lhs, int rhs) const in operator ()()
331 bool operator () (int lhs, Key const volatile *rhs) const in operator ()()
339 typedef map<Key, int, KeyCmp> Container; in template_methods()
[all …]
Dset_test.cpp360 struct Key struct
362 Key() : m_data(0) {} in Key() function
363 explicit Key(int data) : m_data(data) {} in Key() argument
370 bool operator () (Key lhs, Key rhs) const in operator ()() argument
373 bool operator () (Key lhs, int rhs) const in operator ()()
376 bool operator () (int lhs, Key rhs) const in operator ()()
382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const in operator ()()
385 bool operator () (Key const volatile *lhs, int rhs) const in operator ()()
388 bool operator () (int lhs, Key const volatile *rhs) const in operator ()()
396 typedef set<Key, KeyCmp> KeySet; in template_methods()
[all …]
Dunordered_test.cpp514 struct Key struct
516 Key() : m_data(0) {} in Key() function
517 explicit Key(int data) : m_data(data) {} in Key() function
522 bool operator==(const Key&) const; argument
528 size_t operator () (Key key) const in operator ()()
537 bool operator () (Key lhs, Key rhs) const in operator ()()
540 bool operator () (Key lhs, int rhs) const in operator ()()
543 bool operator () (int lhs, Key rhs) const in operator ()()
549 size_t operator () (Key const volatile *key) const in operator ()()
558 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const in operator ()()
[all …]
Dfind_test.cpp51 struct Key struct
90 Key keys[10] = { {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} }; in findif0()
91 Key const* k = find(keys + 0, keys + 10, 5); in findif0()