HomeSort by relevance Sort by last modified time
    Searched refs:TKey (Results 1 - 20 of 20) sorted by null

  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DictionaryExtensions.cs 55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) {
67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) {
78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) {
96 public static void put<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key, TValue value)
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DictionaryExtensions.cs 55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key )
68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key )
80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key )
99 public static void put<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key, TValue value
    [all...]
  /system/core/include/utils/
LruCache.h 35 template <typename TKey, typename TValue>
44 void setOnEntryRemovedListener(OnEntryRemoved<TKey, TValue>* listener);
46 const TValue& get(const TKey& key);
47 bool put(const TKey& key, const TValue& value);
48 bool remove(const TKey& key);
55 Iterator(const LruCache<TKey, TValue>& cache): mCache(cache), mIndex(-1) {
71 const TKey& key() const {
75 const LruCache<TKey, TValue>& mCache;
83 TKey key;
88 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL)
    [all...]
BasicHashtable.h 156 * TKey: The key type.
159 * TKey must support the following contract:
160 * bool operator==(const TKey& other) const; // return true if equal
161 * bool operator!=(const TKey& other) const; // return true if unequal
164 * const TKey& getKey() const; // get the key from the entry
170 template <typename TKey, typename TEntry>
197 inline BasicHashtable<TKey, TEntry>& operator =(const BasicHashtable<TKey, TEntry> & other) {
280 inline ssize_t find(ssize_t index, hash_t hash, const TKey& key) const {
361 template <typename TKey, typename TEntry
    [all...]
TypeHelpers.h 268 template <typename TKey>
269 hash_t hash_type(const TKey& key);
  /frameworks/base/libs/hwui/utils/
TinyHashMap.h 28 template <typename TKey, typename TValue>
31 typedef key_value_pair_t<TKey, TValue> TEntry;
36 void put(TKey key, TValue value) {
51 bool get(TKey key, TValue& outValue) {
64 BasicHashtable<TKey, TEntry> mTable;
  /external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
Antlr.Runtime.Collections.pas 51 IHashList<TKey, TValue> = interface(IDictionary<TKey, TValue>)
79 THashList<TKey, TValue> = class(TANTLRObject, IHashList<TKey, TValue>)
82 TPairEnumerator = class(TEnumerator<TPair<TKey, TValue>>)
84 FHashList: THashList<TKey, TValue>;
85 FOrderList: IList<TKey>;
88 FPair: TPair<TKey, TValue>;
89 function GetCurrent: TPair<TKey, TValue>;
91 function DoGetCurrent: TPair<TKey, TValue>; override
    [all...]
Antlr.Runtime.Tools.pas 186 IDictionary<TKey,TValue> = interface(IANTLRInterface)
189 function GetItem(const Key: TKey): TValue;
190 procedure SetItem(const Key: TKey; const Value: TValue);
194 procedure Add(const Key: TKey; const Value: TValue);
195 procedure Remove(const Key: TKey);
198 function TryGetValue(const Key: TKey; out Value: TValue): Boolean;
199 procedure AddOrSetValue(const Key: TKey; const Value: TValue);
200 function ContainsKey(const Key: TKey): Boolean;
202 function GetEnumerator: TEnumerator<TPair<TKey, TValue>>;
205 property Items[const Key: TKey]: TValue read GetItem write SetItem; default
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/
CameraMetadata.java 50 public abstract class CameraMetadata<TKey> {
86 protected abstract <T> T getProtected(TKey key);
91 protected abstract Class<TKey> getKeyClass();
106 public List<TKey> getKeys() {
107 Class<CameraMetadata<TKey>> thisClass = (Class<CameraMetadata<TKey>>) getClass();
127 static <TKey> ArrayList<TKey> getKeysStatic(
128 Class<?> type, Class<TKey> keyClass,
129 CameraMetadata<TKey> instance
    [all...]
CameraCharacteristics.java 291 private <TKey> List<TKey>
292 getAvailableKeyList(Class<?> metadataClass, Class<TKey> keyClass, int[] filterTags) {
302 List<TKey> staticKeyList = CameraCharacteristics.<TKey>getKeysStatic(
    [all...]
  /system/core/libutils/tests/
BasicHashtable_test.cpp 106 template <typename TKey, typename TEntry>
107 static void cookieAt(const BasicHashtable<TKey, TEntry>& h, size_t index,
110 *collision = cookie & BasicHashtable<TKey, TEntry>::Bucket::COLLISION;
111 *present = cookie & BasicHashtable<TKey, TEntry>::Bucket::PRESENT;
112 *hash = cookie & BasicHashtable<TKey, TEntry>::Bucket::HASH_MASK;
115 template <typename TKey, typename TEntry>
116 static const void* getBuckets(const BasicHashtable<TKey, TEntry>& h) {
121 template <typename TKey, typename TValue>
122 static size_t add(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h
    [all...]
  /frameworks/rs/cpp/util/
TypeHelpers.h 268 template <typename TKey>
269 hash_t hash_type(const TKey& key);
  /frameworks/rs/server/
TypeHelpers.h 268 template <typename TKey>
269 hash_t hash_type(const TKey& key);
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/cpp/util/
TypeHelpers.h 268 template <typename TKey>
269 hash_t hash_type(const TKey& key);
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/server/
TypeHelpers.h 268 template <typename TKey>
269 hash_t hash_type(const TKey& key);
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/cpp/util/
TypeHelpers.h 268 template <typename TKey>
269 hash_t hash_type(const TKey& key);
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/server/
TypeHelpers.h 268 template <typename TKey>
269 hash_t hash_type(const TKey& key);
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/cpp/util/
TypeHelpers.h 268 template <typename TKey>
269 hash_t hash_type(const TKey& key);
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/server/
TypeHelpers.h 268 template <typename TKey>
269 hash_t hash_type(const TKey& key);
  /external/chromium_org/third_party/skia/third_party/lua/src/
lobject.h 545 typedef union TKey {
551 } TKey;
556 TKey i_key;

Completed in 503 milliseconds