Home
last modified time | relevance | path

Searched refs:K (Results 1 – 25 of 25) sorted by relevance

/art/libartbase/base/
Dsafe_map.h30 template <typename K, typename V, typename Comparator = std::less<K>,
31 typename Allocator = std::allocator<std::pair<const K, V>>>
34 using Self = SafeMap<K, V, Comparator, Allocator>;
35 using Impl = std::map<K, V, Comparator, Allocator>;
107 V Get(const K& k) const { in Get()
114 iterator Put(const K& k, const V& v) { in Put()
119 iterator Put(const K& k, V&& v) { in Put()
126 iterator PutBefore(const_iterator pos, const K& k, const V& v) { in PutBefore()
132 iterator PutBefore(const_iterator pos, const K& k, V&& v) { in PutBefore()
142 iterator Overwrite(const K& k, const V& v) { in Overwrite()
[all …]
Dscoped_arena_containers.h69 template <typename K, typename V, typename Comparator = std::less<K>>
71 SafeMap<K, V, Comparator, ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
91 template <typename K, typename V, class Hash = std::hash<K>, class KeyEqual = std::equal_to<K>>
93 std::unordered_map<K, V, Hash, KeyEqual, ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
95 template <typename K, typename V, class Hash = std::hash<K>, class KeyEqual = std::equal_to<K>>
97 std::unordered_multimap<K,
101 ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
Darena_containers.h71 template <typename K, typename V, typename Comparator = std::less<K>>
73 SafeMap<K, V, Comparator, ArenaAllocatorAdapter<std::pair<const K, V>>>;
Dhash_set.h482 template <typename K>
483 iterator find(const K& key) { in find()
487 template <typename K>
488 const_iterator find(const K& key) const { in find()
492 template <typename K>
493 iterator FindWithHash(const K& key, size_t hash) { in FindWithHash()
497 template <typename K>
498 const_iterator FindWithHash(const K& key, size_t hash) const { in FindWithHash()
706 template <typename K>
708 size_t FindIndex(const K& element, size_t hash) const { in FindIndex()
[all …]
/art/test/031-class-attributes/src/
DFancyClass.java20 public class FancyClass<K,V> extends HashMap<K,V> implements Map<K,V> {
/art/test/Interfaces/
DInterfaces.java26 interface K extends J { interface in Interfaces
36 class B implements K {
/art/test/800-smali/smali/
Db_27799205_6.smali13 .method public static test([Ldo/not/resolve/K;)Ldo/not/resolve/K;
Db_27799205_2.smali11 .method public static test([Ljava/lang/Object;[Ldo/not/resolve/K;Z)V
Db_27799205_1.smali11 .method public static test([Ljava/lang/Object;[Ldo/not/resolve/K;Z)V
Db_27799205_4.smali13 .method public static test([I[Ldo/not/resolve/K;Z)V
Db_27799205_5.smali13 .method public static test(Ldo/not/resolve/L;[Ldo/not/resolve/K;Z)V
Db_27799205_3.smali13 .method public static test(Ljava/lang/Integer;[Ldo/not/resolve/K;Z)V
/art/test/960-default-smali/src/
DK.java17 class K implements Foo { } class
DL.java17 class L extends K { }
/art/test/960-default-smali/
Dexpected-stdout.txt85 Testing for type K
86 K-interface Foo.bar()='foobar'
87 K-virtual K.bar()='foobar'
88 End testing for type K
91 L-virtual K.bar()='foobar'
97 M-virtual K.bar()='BAZ!'
/art/test/031-class-attributes/
Dexpected-stdout.txt209 …genericSignature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/util/HashMap<TK;TV;>;Ljava/util/…
211 genericSuperclass: java.util.HashMap<K, V>
229 genericInterfaces: [1] java.util.Map<K, V>
230 typeParameters: [2] K, V
/art/runtime/jit/
Dsmall_pattern_matcher.cc127 #define DO_SWITCH(offset, O, P, K) \ argument
128 DCHECK_EQ(is_object, (K) == Primitive::kPrimNot); \
129 switch (K) { \
/art/compiler/driver/
Dcompiler_options_map.def29 // Default values are only used by Map::GetOrDefault(K<T>).
/art/dex2oat/
Ddex2oat_options.def29 // Default values are only used by Map::GetOrDefault(K<T>).
/art/runtime/
Dclass_linker_test.cc1266 Handle<mirror::Class> K( in TEST_F() local
1274 EXPECT_TRUE(J->IsAssignableFrom(K.Get())); in TEST_F()
1275 EXPECT_TRUE(K->IsAssignableFrom(B.Get())); in TEST_F()
1282 ArtMethod* Kj1 = K->FindInterfaceMethod("j1", void_sig, kRuntimePointerSize); in TEST_F()
1283 ArtMethod* Kj2 = K->FindInterfaceMethod("j2", void_sig, kRuntimePointerSize); in TEST_F()
1284 ArtMethod* Kk = K->FindInterfaceMethod("k", void_sig, kRuntimePointerSize); in TEST_F()
1318 ArtField* Kfoo = K->FindStaticField("foo", "Ljava/lang/String;"); in TEST_F()
Dmonitor_inflation.md29 In the 64-bit case, `Monitor`s are stored in "chunks" of 4K bytes. The bottom bits of a
Druntime_options.def29 // Default values are only used by Map::GetOrDefault(K<T>).
/art/imgdiag/
Dimgdiag.cc162 template <typename K, typename V, typename D>
163 static std::vector<std::pair<V, K>> SortByValueDesc( in SortByValueDesc()
164 const std::map<K, D> map, in SortByValueDesc() argument
168 std::vector<std::pair<V, K>> value_key_vector;
/art/test/dexdump/
Dcheckers.txt554 name : 'K'
997 … |028a: iput v4, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
1186 00210c: 1a02 2a00 |0048: const-string v2, "K" // string@002a
1335 … |00c8: iput v0, v10, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
1601 … |0124: iput v0, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
1646 … |0170: iget v0, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
1648 … |0174: iget v0, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
1650 … |0178: iput v0, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
1651 … |017a: iget v4, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
1702 … |01d7: iput v0, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
[all …]
Dall-dex-files.txt1195 name : 'K'
1638 … |028a: iput v4, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
1827 00210c: 1a02 2a00 |0048: const-string v2, "K" // string@002a
1976 … |00c8: iput v0, v10, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
2242 … |0124: iput v0, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
2287 … |0170: iget v0, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
2289 … |0174: iget v0, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
2291 … |0178: iput v0, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
2292 … |017a: iget v4, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
2343 … |01d7: iput v0, v9, Lcom/google/android/checkers/CheckersView;.K:I // field@000c
[all …]