/art/libartbase/base/ |
D | hash_map.h | 30 template <class Key, class Value> 31 size_t operator()(const std::pair<Key, Value>& pair) const { in operator() 34 template <class Key> 35 size_t operator()(const Key& key) const { in operator() 38 template <class Key, class Value> 39 bool operator()(const std::pair<Key, Value>& a, const std::pair<Key, Value>& b) const { in operator() 42 template <class Key, class Value, class Element> 43 bool operator()(const std::pair<Key, Value>& a, const Element& element) const { in operator() 51 template <class Key, 54 class HashFn = DefaultHashFn<Key>, [all …]
|
D | tracking_safe_map.h | 25 template<class Key, class T, AllocatorTag kTag, class Compare = std::less<Key>> 27 Key, T, Compare, TrackingAllocator<std::pair<const Key, T>, kTag>> {
|
D | arena_containers.h | 77 template <typename Key, 79 typename EmptyFn = DefaultEmptyFn<std::pair<Key, Value>>, 80 typename HashFn = DefaultHashFn<Key>, 81 typename Pred = DefaultPred<Key>> 82 using ArenaHashMap = HashMap<Key, 87 ArenaAllocatorAdapter<std::pair<Key, Value>>>; 89 template <typename Key, 91 typename Hash = std::hash<Key>, 93 using ArenaUnorderedMap = std::unordered_map<Key, 97 ArenaAllocatorAdapter<std::pair<const Key, Value>>>;
|
D | variant_map_test.cc | 37 using Key = FruitMapKey<TValue>; typedef 39 static const Key<int> Apple; 40 static const Key<double> Orange; 41 static const Key<std::string> Label; 44 const FruitMap::Key<int> FruitMap::Apple; 45 const FruitMap::Key<double> FruitMap::Orange; 46 const FruitMap::Key<std::string> FruitMap::Label;
|
D | scoped_arena_containers.h | 73 template <typename Key, 75 typename EmptyFn = DefaultEmptyFn<std::pair<Key, Value>>, 76 typename HashFn = DefaultHashFn<Key>, 77 typename Pred = DefaultPred<Key>> 78 using ScopedArenaHashMap = HashMap<Key, 83 ScopedArenaAllocatorAdapter<std::pair<Key, Value>>>;
|
D | mem_map.cc | 53 template<class Key, class T, AllocatorTag kTag, class Compare = std::less<Key>> 55 std::multimap<Key, T, Compare, TrackingAllocator<std::pair<const Key, T>, kTag>>;
|
D | variant_map.h | 216 using Key = TKey<TValue>; member
|
/art/compiler/utils/ |
D | dedupe_set-inl.h | 66 DCHECK(key.Key() != nullptr); 67 alloc_.Destroy(key.Key()); 76 DCHECK(it->Key() != nullptr); 77 return it->Key(); 123 const T* Key() const { 128 return Key() == nullptr; 161 DCHECK(lhs.Key() != nullptr); 162 DCHECK(rhs.Key() != nullptr); 164 return lhs.Key() == rhs.Key(); 169 DCHECK(lhs.Key() != nullptr); [all …]
|
/art/runtime/ |
D | runtime_options.h | 44 #define DECLARE_KEY(Type, Name) static const Key<Type> Name 71 using Key = RuntimeArgumentMapKey<TValue>; member 74 #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key<Type> (Name);
|
D | runtime_options.cc | 34 #define RUNTIME_OPTIONS_KEY(Type, Name, ...) const RuntimeArgumentMap::Key<Type> RuntimeArgumentMap…
|
D | parsed_options.h | 47 using RuntimeParser = CmdlineParser<RuntimeArgumentMap, RuntimeArgumentMap::Key>;
|
D | runtime_options.def | 27 // <<Type>> <<Key Name>> <<Default Value>>
|
D | parsed_options.cc | 60 using RuntimeParser = CmdlineParser<RuntimeArgumentMap, RuntimeArgumentMap::Key>;
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Diff.java | 85 private static class Key { class in Diff 105 private Key(AhatInstance inst) { in Key() method in Diff.Key 118 public static Key keyFor(AhatInstance inst) { in keyFor() 119 return new Key(inst); in keyFor() 124 if (!(other instanceof Key)) { in equals() 127 Key o = (Key)other; in equals() 198 Map<Key, InstanceListPair> byKey = new HashMap<Key, InstanceListPair>(); in instances() 200 Key key = Key.keyFor(inst); in instances() 209 Key key = Key.keyFor(inst); in instances()
|
/art/compiler/driver/ |
D | compiler_options_map.h | 36 using Key = KeyType<TValue>; member 39 #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key<Type> (Name);
|
D | compiler_options_map.def | 27 // <<Type>> <<Key Name>> (<<Default Value>>)
|
/art/dex2oat/ |
D | dex2oat_options.h | 68 using Key = Dex2oatArgumentMapKey<TValue>; member 71 #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key<Type> (Name);
|
D | dex2oat_options.cc | 46 const Dex2oatArgumentMap::Key<Type> Dex2oatArgumentMap::Name {__VA_ARGS__}; 53 using Parser = CmdlineParser<Dex2oatArgumentMap, Dex2oatArgumentMap::Key>;
|
D | dex2oat_options.def | 27 // <<Type>> <<Key Name>> <<Default Value>>
|
D | dex2oat.cc | 1231 const Dex2oatArgumentMap::Key<T>& key, in AssignIfExists() 1238 const Dex2oatArgumentMap::Key<std::string>& key, in AssignIfExists() 1246 const Dex2oatArgumentMap::Key<std::vector<std::string>>& key, in AssignIfExists() 1258 const Dex2oatArgumentMap::Key<T>& key, in AssignTrueIfExists() 1266 const Dex2oatArgumentMap::Key<std::string>& key, in AssignIfExists()
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 711 template<class Key, AllocatorTag kTag, class Compare = std::less<Key>> 712 using AllocationTrackingSet = std::set<Key, Compare, TrackingAllocator<Key, kTag>>;
|
/art/cmdline/ |
D | README.md | 28 static const Key<int> Apple; 29 static const Key<double> Orange; 30 static const Key<bool> Help; 35 using FruitParser = CmdlineParser<FruitVariantMap, FruitVariantMap::Key>;
|