Home
last modified time | relevance | path

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

12

/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DDoubleKeyMap.cs7 …internal IDictionary<TKey1, IDictionary<TKey2, TValue>> data = new Dictionary<TKey1, IDictionary<T…
10 IDictionary<TKey2, TValue> data2; in Put()
24 IDictionary<TKey2, TValue> data2; in Get()
34 public virtual IDictionary<TKey2, TValue> Get(TKey1 k1) { in Get()
35 IDictionary<TKey2, TValue> value; in Get()
42 IDictionary<TKey2, TValue> data2; in Values()
57 IDictionary<TKey2, TValue> data2; in KeySet()
67 foreach (IDictionary<TKey2, TValue> k2 in data.Values) { in Values()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/
DDoubleKeyMap`3.cs7 …internal IDictionary<TKey1, IDictionary<TKey2, TValue>> data = new Dictionary<TKey1, IDictionary<T…
11 IDictionary<TKey2, TValue> data2; in Put()
29 IDictionary<TKey2, TValue> data2; in Get()
39 public virtual IDictionary<TKey2, TValue> Get(TKey1 k1) in Get()
41 IDictionary<TKey2, TValue> value; in Get()
49 IDictionary<TKey2, TValue> data2; in Values()
66 IDictionary<TKey2, TValue> data2; in KeySet()
77 foreach (IDictionary<TKey2, TValue> k2 in data.Values) in Values()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DDictionaryExtensions.cs39 using IDictionary = System.Collections.IDictionary; typedef
45 public static bool containsKey(IDictionary map, object key) { in containsKey()
50 public static object get(IDictionary map, object key) { in get()
55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { in get()
91 public static void put(IDictionary map, object key, object value) { in put()
96 … public static void put<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key, TValue value) { in put()
106 public static HashSet<object> keySet(IDictionary map) { in keySet()
111 public static HashSet<TKey> keySet<TKey, TValue>(IDictionary<TKey, TValue> map) { in keySet()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DDictionaryExtensions.cs38 using IDictionary = System.Collections.IDictionary; typedef
44 public static bool containsKey( this IDictionary map, object key ) in containsKey()
50 public static object get( this IDictionary map, object key ) in get()
55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) in get()
93 public static void put( this IDictionary map, object key, object value ) in put()
99 … public static void put<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key, TValue value ) in put()
111 public static HashSet<object> keySet( this IDictionary map ) in keySet()
117 public static HashSet<TKey> keySet<TKey, TValue>( this IDictionary<TKey, TValue> map ) in keySet()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeWizard.cs41 using IDictionary = System.Collections.IDictionary; typedef
66 protected IDictionary<string, int> tokenNameToTypeMap;
70 void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels); in Visit()
74 …public virtual void Visit(object t, object parent, int childIndex, IDictionary<string, object> lab… in Visit()
138 protected IDictionary<int, IList<int>> tokenTypeToStreamIndexesMap;
160 public TreeWizard(ITreeAdaptor adaptor, IDictionary<string, int> tokenNameToTypeMap) { in TreeWizard()
179 public virtual IDictionary<string, int> ComputeTokenTypes(string[] tokenNames) { in ComputeTokenTypes()
180 IDictionary<string, int> m = new Dictionary<string, int>(); in ComputeTokenTypes()
215 public IDictionary<int, IList> Index(object t) { in Index()
216 IDictionary<int, IList> m = new Dictionary<int, IList>(); in Index()
[all …]
DBaseTreeAdaptor.cs37 using IDictionary = System.Collections.IDictionary; typedef
48 protected IDictionary<object, int> treeToUniqueIDMap;
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeWizard.cs42 using IDictionary = System.Collections.IDictionary; typedef
68 protected IDictionary<string, int> tokenNameToTypeMap;
73 … void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels ); in Visit()
78 …public virtual void Visit( object t, object parent, int childIndex, IDictionary<string, object> la… in Visit()
156 protected IDictionary<int, IList<int>> tokenTypeToStreamIndexesMap;
179 public TreeWizard( ITreeAdaptor adaptor, IDictionary<string, int> tokenNameToTypeMap ) in TreeWizard()
201 public virtual IDictionary<string, int> ComputeTokenTypes( string[] tokenNames ) in ComputeTokenTypes()
203 IDictionary<string, int> m = new Dictionary<string, int>(); in ComputeTokenTypes()
242 public IDictionary<int, IList> Index( object t ) in Index()
244 IDictionary<int, IList> m = new Dictionary<int, IList>(); in Index()
[all …]
DBaseTreeAdaptor.cs39 using IDictionary = System.Collections.IDictionary; typedef
51 protected IDictionary<object, int> treeToUniqueIDMap;
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs291 IDictionary map = new MapField<string, string> { { "x", "y" } }; in IDictionary_GetEnumerator()
315 IDictionary dictionary = map; in IDictionary_Add()
327 IDictionary dictionary = map; in IDictionary_Contains()
340 IDictionary dictionary = map; in IDictionary_Remove()
356 IDictionary dictionary = map; in IDictionary_CopyTo()
371 IDictionary dictionary = map; in IDictionary_IsFixedSize()
378 IDictionary dictionary = new MapField<string, string> { { "x", "y" } }; in IDictionary_Keys()
385 IDictionary dictionary = new MapField<string, string> { { "x", "y" } }; in IDictionary_Values()
392 IDictionary dictionary = new MapField<string, string> { { "x", "y" } }; in IDictionary_IsSynchronized()
399 IDictionary dictionary = new MapField<string, string> { { "x", "y" } }; in IDictionary_SyncRoot()
[all …]
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs291 IDictionary map = new MapField<string, string> { { "x", "y" } }; in IDictionary_GetEnumerator()
315 IDictionary dictionary = map; in IDictionary_Add()
327 IDictionary dictionary = map; in IDictionary_Contains()
340 IDictionary dictionary = map; in IDictionary_Remove()
356 IDictionary dictionary = map; in IDictionary_CopyTo()
371 IDictionary dictionary = map; in IDictionary_IsFixedSize()
378 IDictionary dictionary = new MapField<string, string> { { "x", "y" } }; in IDictionary_Keys()
385 IDictionary dictionary = new MapField<string, string> { { "x", "y" } }; in IDictionary_Values()
392 IDictionary dictionary = new MapField<string, string> { { "x", "y" } }; in IDictionary_IsSynchronized()
399 IDictionary dictionary = new MapField<string, string> { { "x", "y" } }; in IDictionary_SyncRoot()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs69 …DeepCloneable<MapField<TKey, TValue>>, IDictionary<TKey, TValue>, IEquatable<MapField<TKey, TValue…
239 public void Add(IDictionary<TKey, TValue> entries) in Add()
486 #region IDictionary explicit interface implementation
487 void IDictionary.Add(object key, object value) in IDictionary.Add()
492 bool IDictionary.Contains(object key) in IDictionary.Contains()
501 IDictionaryEnumerator IDictionary.GetEnumerator() in IDictionary.GetEnumerator()
506 void IDictionary.Remove(object key) in IDictionary.Remove()
523 bool IDictionary.IsFixedSize { get { return false; } }
525 ICollection IDictionary.Keys { get { return (ICollection)Keys; } }
527 ICollection IDictionary.Values { get { return (ICollection)Values; } }
[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()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DProfileTreeGrammarHelper.cs48 …private readonly IDictionary<string, BigInteger> localMemory = new Dictionary<string, BigInteger>(…
51 private IDictionary<string, BigInteger> globalMemory = new Dictionary<string, BigInteger>();
67 IDictionary<string, BigInteger> globalMemory, in ProfileTreeGrammar()
DDebugTreeGrammarHelper.cs48 …private readonly IDictionary<string, BigInteger> localMemory = new Dictionary<string, BigInteger>(…
51 private IDictionary<string, BigInteger> globalMemory = new Dictionary<string, BigInteger>();
67 IDictionary<string, BigInteger> globalMemory, in DebugTreeGrammar()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Collections.pas51 IHashList<TKey, TValue> = interface(IDictionary<TKey, TValue>)
99 FDictionary: IDictionary<TKey, TValue>;
144 …class function DictionaryToString(const Dict: IDictionary<Integer, IList<IANTLRInterface>>): Strin…
336 const Dict: IDictionary<Integer, IList<IANTLRInterface>>): String; in TCollectionUtils.DictionaryToString()
371 Dict: IDictionary<Integer, IList<IANTLRInterface>>;
387 if Supports(Element, IDictionary<Integer, IList<IANTLRInterface>>, Dict) then
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DMapFieldAccessor.cs50 IDictionary list = (IDictionary) GetValue(message); in Clear()
DExtensionCollection.cs44 … private IDictionary<MessageDescriptor, IList<FieldDescriptor>> extensionsByTypeInDeclarationOrder;
45 … private IDictionary<MessageDescriptor, IList<FieldDescriptor>> extensionsByTypeInNumberOrder;
DDescriptorPool.cs45 private readonly IDictionary<string, IDescriptor> descriptorsByName =
48 private readonly IDictionary<ObjectIntPair<IDescriptor>, FieldDescriptor> fieldsByNumber =
51 … private readonly IDictionary<ObjectIntPair<IDescriptor>, EnumValueDescriptor> enumValuesByNumber =
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DRecognizerSharedState.cs107 public IDictionary<int, int>[] ruleMemo;
176 ruleMemo = (IDictionary<int, int>[])state.ruleMemo.Clone(); in RecognizerSharedState()
DTokenRewriteStream.cs204 protected IDictionary<string, IList<RewriteOperation>> programs = null;
207 protected IDictionary<string, int> lastRewriteTokenIndexes = null;
471IDictionary<int, RewriteOperation> indexToOp = ReduceToSingleOperationPerIndex( rewrites ); in ToString()
565 …protected virtual IDictionary<int, RewriteOperation> ReduceToSingleOperationPerIndex( IList<Rewrit… in ReduceToSingleOperationPerIndex()
672 IDictionary<int, RewriteOperation> m = new Dictionary<int, RewriteOperation>(); in ReduceToSingleOperationPerIndex()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DRecognizerSharedState.cs105 public IDictionary<int, int>[] ruleMemo;
172 ruleMemo = (IDictionary<int, int>[])state.ruleMemo.Clone(); in RecognizerSharedState()
DTokenRewriteStream.cs182 protected IDictionary<string, IList<RewriteOperation>> programs = null;
185 protected IDictionary<string, int> lastRewriteTokenIndexes = null;
407IDictionary<int, RewriteOperation> indexToOp = ReduceToSingleOperationPerIndex(rewrites); in ToString()
490 …protected virtual IDictionary<int, RewriteOperation> ReduceToSingleOperationPerIndex(IList<Rewrite… in ReduceToSingleOperationPerIndex()
567 IDictionary<int, RewriteOperation> m = new Dictionary<int, RewriteOperation>(); in ReduceToSingleOperationPerIndex()
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs302 IDictionary dictionary = (IDictionary) value; in IsDefaultValue()
374 else if (value is IDictionary) in WriteValue()
376 WriteDictionary(writer, (IDictionary)value); in WriteValue()
587IDictionary fields = (IDictionary) message.Descriptor.Fields[Struct.FieldsFieldNumber].Accessor.Ge… in WriteStruct()
657 internal void WriteDictionary(TextWriter writer, IDictionary dictionary) in WriteDictionary()
DExtensionRegistry.cs45 private IDictionary<ObjectIntPair<Type>, Extension> extensions;
55 private ExtensionRegistry(IDictionary<ObjectIntPair<Type>, Extension> collection) in ExtensionRegistry()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/
DHashList.cs38 using IDictionary = System.Collections.IDictionary; typedef
51 public sealed class HashList : IDictionary
379 #region IDictionary Members

12