Searched refs:Compare (Results 1 – 6 of 6) sorted by relevance
/system/libhidl/libhidlcache/ |
D | HidlCache.h | 27 template <class Key, class Value, class Compare = std::less<Key>> 69 std::map<Key, wp<Value>, Compare> mCached; 70 std::map<Key, sp<Value>, Compare> mLocked; 73 template <class Key, class Value, class Compare> 74 bool HidlCache<Key, Value, Compare>::lock(const Key& key) { in lock() 97 template <class Key, class Value, class Compare> 98 sp<Value> HidlCache<Key, Value, Compare>::unlock(const Key& key) { in unlock() 108 template <class Key, class Value, class Compare> 109 bool HidlCache<Key, Value, Compare>::flush(const Key& key) { in flush() 116 template <class Key, class Value, class Compare> [all …]
|
/system/extras/simpleperf/ |
D | SampleComparator.h | 28 int Compare(const T& a, const T& b) { in Compare() function 38 return Compare(sample1->compare_part, sample2->compare_part); \ 44 return Compare(sample2->compare_part, sample1->compare_part); \ 69 return Compare(period2, period1); in CompareTotalPeriod() 74 return Compare(sample2->period, sample1->period); in ComparePeriod()
|
D | cmd_kmem.cpp | 84 return Compare(frag2, frag1); in CompareFragment()
|
/system/tools/aidl/ |
D | generate_cpp_unittest.cpp | 1398 void Compare(Document* doc, const char* expected) { in Compare() function in android::aidl::cpp::ASTTest 1430 Compare(doc.get(), kExpectedComplexTypeClientHeaderOutput); in TEST_F() 1437 Compare(doc.get(), kExpectedComplexTypeClientSourceOutput); in TEST_F() 1444 Compare(doc.get(), kExpectedComplexTypeServerHeaderOutput); in TEST_F() 1451 Compare(doc.get(), kExpectedComplexTypeServerSourceOutput); in TEST_F() 1458 Compare(doc.get(), kExpectedComplexTypeInterfaceHeaderOutput); in TEST_F() 1465 Compare(doc.get(), kExpectedComplexTypeInterfaceSourceOutput); in TEST_F() 1481 Compare(doc.get(), kExpectedComplexTypeClientWithTraceSourceOutput); in TEST_F() 1488 Compare(doc.get(), kExpectedComplexTypeServerWithTraceSourceOutput); in TEST_F()
|
/system/core/demangle/ |
D | demangle.cpp | 60 static void Compare(const char* name, const std::string& demangled_name) { in Compare() function 93 if (compare) Compare(identifier.c_str(), demangled_name); in Filter() 130 if (compare) Compare(name, demangled_name); in main()
|
/system/core/libmemunreachable/ |
D | Allocator.h | 200 template <class Key, class T, class Compare = std::less<Key>> 201 using map = std::map<Key, T, Compare, Allocator<std::pair<const Key, T>>>; 210 template <class Key, class Compare = std::less<Key>> 211 using set = std::set<Key, Compare, Allocator<Key>>;
|