Home
last modified time | relevance | path

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

/art/libartbase/base/
Dhash_map.h30 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, class Value, class EmptyFn,
52 class HashFn = std::hash<Key>, class Pred = std::equal_to<Key>,
[all …]
Dtracking_safe_map.h25 template<class Key, class T, AllocatorTag kTag, class Compare = std::less<Key>>
27 Key, T, Compare, TrackingAllocator<std::pair<const Key, T>, kTag>> {
Dvariant_map_test.cc37 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;
Dvariant_map.h216 using Key = TKey<TValue>; member
/art/compiler/utils/
Ddedupe_set-inl.h66 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/
Druntime_options.h44 #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);
Druntime_options.cc33 #define RUNTIME_OPTIONS_KEY(Type, Name, ...) const RuntimeArgumentMap::Key<Type> RuntimeArgumentMap…
Dparsed_options.h46 using RuntimeParser = CmdlineParser<RuntimeArgumentMap, RuntimeArgumentMap::Key>;
Dmem_map.cc52 template<class Key, class T, AllocatorTag kTag, class Compare = std::less<Key>>
54 std::multimap<Key, T, Compare, TrackingAllocator<std::pair<const Key, T>, kTag>>;
Druntime_options.def27 // <<Type>> <<Key Name>> <<Default Value>>
Dparsed_options.cc58 using RuntimeParser = CmdlineParser<RuntimeArgumentMap, RuntimeArgumentMap::Key>;
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DDiff.java85 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/runtime/base/
Darena_containers.h77 template <typename Key,
79 typename EmptyFn = DefaultEmptyFn<std::pair<Key, Value>>,
80 typename HashFn = std::hash<Key>,
81 typename Pred = std::equal_to<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>>>;
Dscoped_arena_containers.h73 template <typename Key,
75 typename EmptyFn = DefaultEmptyFn<std::pair<Key, Value>>,
76 typename HashFn = std::hash<Key>,
77 typename Pred = std::equal_to<Key>>
78 using ScopedArenaHashMap = HashMap<Key,
83 ScopedArenaAllocatorAdapter<std::pair<Key, Value>>>;
/art/compiler/driver/
Dcompiler_options_map.h34 using Key = KeyType<TValue>; member
37 #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key<Type> (Name);
Dcompiler_options_map.def27 // <<Type>> <<Key Name>> (<<Default Value>>)
/art/dex2oat/
Ddex2oat_options.h67 using Key = Dex2oatArgumentMapKey<TValue>; member
70 #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key<Type> (Name);
Ddex2oat_options.cc46 const Dex2oatArgumentMap::Key<Type> Dex2oatArgumentMap::Name {__VA_ARGS__};
53 using Parser = CmdlineParser<Dex2oatArgumentMap, Dex2oatArgumentMap::Key>;
Ddex2oat_options.def27 // <<Type>> <<Key Name>> <<Default Value>>
Ddex2oat.cc1134 const Dex2oatArgumentMap::Key<T>& key, in AssignIfExists()
1141 const Dex2oatArgumentMap::Key<std::string>& key, in AssignIfExists()
1149 const Dex2oatArgumentMap::Key<std::vector<std::string>>& key, in AssignIfExists()
1161 const Dex2oatArgumentMap::Key<T>& key, in AssignTrueIfExists()
/art/cmdline/
DREADME.md28 static const Key<int> Apple;
29 static const Key<double> Orange;
30 static const Key<bool> Help;
35 using FruitParser = CmdlineParser<FruitVariantMap, FruitVariantMap::Key>;
/art/runtime/gc/allocator/
Drosalloc.h711 template<class Key, AllocatorTag kTag, class Compare = std::less<Key>>
712 using AllocationTrackingSet = std::set<Key, Compare, TrackingAllocator<Key, kTag>>;