Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Collections.pas51 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>; in GetCurrent()
91 function DoGetCurrent: TPair<TKey, TValue>; override; in DoGetCurrent()
94 constructor Create(const AHashList: THashList<TKey, TValue>); argument
96 property Current: TPair<TKey, TValue> read GetCurrent;
[all …]
DAntlr.Runtime.Tools.pas186 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 …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DDictionaryExtensions.cs55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { in get() argument
67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { in get() argument
78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) { in get() argument
96 … public static void put<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key, TValue value) { in put() argument
101 public static void put<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key, TValue value) { in put() argument
111 public static HashSet<TKey> keySet<TKey, TValue>(IDictionary<TKey, TValue> map) { in keySet() argument
112 return new HashSet<TKey>(map.Keys); in keySet()
117 public static HashSet<TKey> keySet<TKey, TValue>(Dictionary<TKey, TValue> map) { in keySet() argument
118 return new HashSet<TKey>(map.Keys); in keySet()
122 public static HashSet<object> keySet<TKey, TValue>(SortedList<TKey, TValue> map) { in keySet() argument
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DDictionaryExtensions.cs55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) in get() argument
68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) in get() argument
80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key ) in get() argument
99 … public static void put<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key, TValue value ) in put() argument
105 … public static void put<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key, TValue value ) in put() argument
117 public static HashSet<TKey> keySet<TKey, TValue>( this IDictionary<TKey, TValue> map ) in keySet() argument
119 return new HashSet<TKey>( map.Keys ); in keySet()
124 public static HashSet<TKey> keySet<TKey, TValue>( this Dictionary<TKey, TValue> map ) in keySet() argument
126 return new HashSet<TKey>( map.Keys ); in keySet()
130 public static HashSet<object> keySet<TKey, TValue>( this SortedList<TKey, TValue> map ) in keySet() argument
/external/protobuf/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 …]
/external/protobuf/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()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dcoalescer-cross.ll14 %struct.Node = type { %struct.TValue, %struct.TKey }
15 %struct.TKey = type { %1 }
/external/llvm/test/CodeGen/X86/
Dcoalescer-cross.ll14 %struct.Node = type { %struct.TValue, %struct.TKey }
15 %struct.TKey = type { %1 }
/external/llvm/test/CodeGen/PowerPC/
Dbdzlr.ll16 %struct.Node.6.681 = type { %struct.lua_TValue.17.692, %union.TKey.5.680 }
17 %union.TKey.5.680 = type { %struct.anon.0.4.679 }
/external/skia/third_party/lua/src/
Dlobject.h545 typedef union TKey { union
551 } TKey; typedef
556 TKey i_key;
/external/syslinux/com32/lua/src/
Dlobject.h545 typedef union TKey { union
551 } TKey; typedef
556 TKey i_key;
/external/antlr/antlr-3.4/runtime/Delphi/
DREADME.TXT249 * IDictionary<TKey, TValue> (implemented in TDictionary<TKey, TValue>): a
250 generic dictionary that maps elements of type <TKey> to <TValue>. For example,
261 IDictionary<TKey, TValue> interface.