/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) { 56 TValue value; 60 if (typeof(TValue).IsValueType) 63 return default(TValue); 67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { 68 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 ) 57 TValue value; 61 if ( typeof( TValue ).IsValueType ) 64 return default( TValue ); 68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) 70 TValue value [all...] |
/frameworks/native/include/utils/ |
LruCache.h | 28 template <typename TKey, typename TValue> 37 void setOnEntryRemovedListener(OnEntryRemoved<TKey, TValue>* listener); 39 const TValue& get(const TKey& key); 40 bool put(const TKey& key, const TValue& value); 47 Iterator(const LruCache<TKey, TValue>& cache): mCache(cache), mIndex(-1) { 59 const TValue& value() const { 67 const LruCache<TKey, TValue>& mCache; 76 TValue value; 80 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { 90 OnEntryRemoved<TKey, TValue>* mListener [all...] |
/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>; 88 FPair: TPair<TKey, TValue>; 89 function GetCurrent: TPair<TKey, TValue>; 91 function DoGetCurrent: TPair<TKey, TValue>; override; 94 constructor Create(const AHashList: THashList<TKey, TValue>); [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); 198 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; 199 procedure AddOrSetValue(const Key: TKey; const Value: TValue); 201 function ContainsValue(const Value: TValue): Boolean; 202 function GetEnumerator: TEnumerator<TPair<TKey, TValue>>; 205 property Items[const Key: TKey]: TValue read GetItem write SetItem; default; 234 TDictionaryArray<TKey,TValue> = array of IDictionary<TKey,TValue> [all...] |
/external/llvm/test/CodeGen/X86/ |
coalescer-cross.ll | 8 %0 = type { %struct.TValue } ; type %0 10 %struct.CallInfo = type { %struct.TValue*, %struct.TValue*, %struct.TValue*, i32*, i32, i32 } 14 %struct.Node = type { %struct.TValue, %struct.TKey } 17 %struct.TValue = type { %struct.L_Umaxalign, i32 } 18 %struct.Table = type { %struct.GCObject*, i8, i8, i8, i8, %struct.Table*, %struct.TValue*, %struct.Node*, %struct.Node*, %struct.GCObject*, i32 } 19 %struct.UpVal = type { %struct.GCObject*, i8, i8, %struct.TValue*, %0 } 21 %struct.global_State = type { %struct.stringtable, i8* (i8*, i8*, i32, i32)*, i8*, i8, i8, i32, %struct.GCObject*, %struct.GCObject**, %struct.GCObject*, %struct.GCObject*, %struct.GCObject*, %struct.GCObject*, %struct.Mbuffer, i32, i32, i32, i32, i32, i32, i32 (%struct.lua_State*)*, %struct.TValue, %struct.lua_State*, %struct.UpVal, [9 x %struct.Table*], [17 x %struct.TString*] } 23 %struct.lua_State = type { %struct.GCObject*, i8, i8, i8, %struct.TValue*, %struct.TValue*, %struct.global_State*, %struct.CallInfo*, i32*, %struct.TValue*, %struct.TValue (…) [all...] |
/frameworks/base/libs/hwui/utils/ |
TinyHashMap.h | 30 template <typename TKey, typename TValue> 33 typedef key_value_pair_t<TKey, TValue> TEntry; 38 void put(TKey key, TValue value) { 53 bool get(TKey key, TValue& outValue) {
|