Home
last modified time | relevance | path

Searched refs:TKey (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DMapField.cs69 … sealed class MapField<TKey, TValue> : IDeepCloneable<MapField<TKey, TValue>>, IDictionary<TKey, T…
72 private readonly Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>> map =
73 new Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>>();
74 …private readonly LinkedList<KeyValuePair<TKey, TValue>> list = new LinkedList<KeyValuePair<TKey, T…
82 public MapField<TKey, TValue> Clone() in Clone()
84 var clone = new MapField<TKey, TValue>(); in Clone()
110 public void Add(TKey key, TValue value) in Add()
125 public bool ContainsKey(TKey key) in ContainsKey()
142 public bool Remove(TKey key) in Remove()
145 LinkedListNode<KeyValuePair<TKey, TValue>> node; in Remove()
[all …]
DReadOnlyDictionary.cs42 internal sealed class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue>
44 private readonly IDictionary<TKey, TValue> wrapped;
46 public ReadOnlyDictionary(IDictionary<TKey, TValue> wrapped) in ReadOnlyDictionary() argument
51 public void Add(TKey key, TValue value) in Add()
56 public bool ContainsKey(TKey key) in ContainsKey()
61 public ICollection<TKey> Keys
66 public bool Remove(TKey key) in Remove()
71 public bool TryGetValue(TKey key, out TValue value) in TryGetValue()
81 public TValue this[TKey key]
87 public void Add(KeyValuePair<TKey, TValue> item) in Add() argument
[all …]
/frameworks/base/tools/aapt2/util/
DImmutableMap.h27 template <typename TKey, typename TValue>
29 static_assert(is_comparable<TKey, TKey>::value, "key is not comparable");
33 typename std::vector<std::pair<TKey, TValue>>::const_iterator;
38 static ImmutableMap<TKey, TValue> CreatePreSorted( in CreatePreSorted()
39 std::initializer_list<std::pair<TKey, TValue>> list) { in CreatePreSorted() argument
41 std::vector<std::pair<TKey, TValue>>(list.begin(), list.end())); in CreatePreSorted()
44 static ImmutableMap<TKey, TValue> CreateAndSort( in CreateAndSort()
45 std::initializer_list<std::pair<TKey, TValue>> list) { in CreateAndSort() argument
46 std::vector<std::pair<TKey, TValue>> data(list.begin(), list.end()); in CreateAndSort()
52 is_comparable<TKey, TKey2>::value>::type>
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java51 public abstract class CameraMetadata<TKey> {
88 protected abstract <T> T getProtected(TKey key); in getProtected()
100 protected abstract Class<TKey> getKeyClass(); in getKeyClass()
116 public List<TKey> getKeys() { in getKeys()
117 Class<CameraMetadata<TKey>> thisClass = (Class<CameraMetadata<TKey>>) getClass(); in getKeys()
139 <TKey> ArrayList<TKey> getKeys( in getKeys()
140 Class<?> type, Class<TKey> keyClass, in getKeys()
141 CameraMetadata<TKey> instance, in getKeys()
155 ArrayList<TKey> keyList = new ArrayList<TKey>(); in getKeys()
163 TKey key; in getKeys()
[all …]
DCameraCharacteristics.java604 private <TKey> List<TKey>
605 getAvailableKeyList(Class<?> metadataClass, Class<TKey> keyClass, int[] filterTags, in getAvailableKeyList()
616 List<TKey> staticKeyList = getKeys( in getAvailableKeyList()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs527 … private static KeyValuePair<TKey, TValue> NewKeyValuePair<TKey, TValue>(TKey key, TValue value) in NewKeyValuePair()
529 return new KeyValuePair<TKey, TValue>(key, value); in NewKeyValuePair()
/frameworks/rs/cpp/util/
DTypeHelpers.h269 template <typename TKey>
270 hash_t hash_type(const TKey& key);
/frameworks/base/api/
Dcurrent.txt16865 public abstract class CameraMetadata<TKey> {
16866 method @NonNull public java.util.List<TKey> getKeys();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12711 method public java.util.List<TKey> getKeys();