Home
last modified time | relevance | path

Searched refs:TryGetValue (Results 1 – 25 of 31) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/
DDoubleKeyMap`3.cs12 data.TryGetValue(k1, out data2); in Put()
21 data2.TryGetValue(k2, out prev); in Put()
30 data.TryGetValue(k1, out data2); in Get()
35 data2.TryGetValue(k2, out value); in Get()
42 data.TryGetValue(k1, out value); in Get()
50 data.TryGetValue(k1, out data2); in Values()
67 data.TryGetValue(k1, out data2); in KeySet()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DDoubleKeyMap.cs11 data.TryGetValue(k1, out data2); in Put()
17 data2.TryGetValue(k2, out prev); in Put()
25 data.TryGetValue(k1, out data2); in Get()
30 data2.TryGetValue(k2, out value); in Get()
36 data.TryGetValue(k1, out value); in Get()
43 data.TryGetValue(k1, out data2); in Values()
58 data.TryGetValue(k1, out data2); in KeySet()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorPool.cs92 descriptorsByName.TryGetValue(fullName, out result); in descriptorsByName.TryGetValue()
103 dependency.DescriptorPool.descriptorsByName.TryGetValue(fullName, out result);
135 if (descriptorsByName.TryGetValue(fullName, out old)) in AddPackage()
159 if (descriptorsByName.TryGetValue(fullName, out old)) in AddSymbol()
212 fieldsByNumber.TryGetValue(new DescriptorIntPair(messageDescriptor, number), out ret); in FindFieldByNumber()
219 enumValuesByNumber.TryGetValue(new DescriptorIntPair(enumDescriptor, number), out ret); in FindEnumValueByNumber()
232 if (fieldsByNumber.TryGetValue(key, out old)) in AddFieldByNumber()
DTypeRegistry.cs65 fullNameToMessageMap.TryGetValue(fullName, out ret); in Find()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs146 if (map.TryGetValue(key, out node)) in Remove()
166 public bool TryGetValue(TKey key, out TValue value) in TryGetValue() method in Google.Protobuf.Collections.MapField
169 if (map.TryGetValue(key, out node)) in TryGetValue()
194 if (TryGetValue(key, out value))
210 if (map.TryGetValue(key, out node))
293 return TryGetValue(item.Key, out value) in Contains()
320 if (map.TryGetValue(item.Key, out node) && in Remove()
398 if (!other.TryGetValue(pair.Key, out value)) in Equals()
540 TryGetValue((TKey)key, out value);
DReadOnlyDictionary.cs71 public bool TryGetValue(TKey key, out TValue value) in TryGetValue() method in Google.Protobuf.Collections.ReadOnlyDictionary
73 return wrapped.TryGetValue(key, out value); in TryGetValue()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DDictionaryExtensions.cs58 if ( map.TryGetValue( key, out value ) ) in get()
71 if ( map.TryGetValue( key, out value ) ) in get()
83 if ( map.TryGetValue( key, out value ) ) in get()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DDictionaryExtensions.cs57 if (map.TryGetValue(key, out value)) in get()
69 if (map.TryGetValue(key, out value)) in get()
80 if (map.TryGetValue(key, out value)) in get()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugTreeGrammarHelper.cs104 if ( localMemory.TryGetValue( name, out value ) && value != null ) in getValue()
108 if ( globalMemory.TryGetValue( name, out value ) && value != null ) in getValue()
DProfileTreeGrammarHelper.cs104 if ( localMemory.TryGetValue( name, out value ) && value != null ) in getValue()
108 if ( globalMemory.TryGetValue( name, out value ) && value != null ) in getValue()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs219 if (programs.TryGetValue(programName, out @is) && @is != null) { in Rollback()
338 if (lastRewriteTokenIndexes.TryGetValue(programName, out value)) in GetLastRewriteTokenIndex()
350 if (!programs.TryGetValue(name, out @is) || @is == null) { in GetProgram()
392 if (!programs.TryGetValue(programName, out rewrites)) in ToString()
413 bool exists = indexToOp.TryGetValue(i, out op); in ToString()
574 if (m.TryGetValue(op.index, out existing) && existing != null) { in ReduceToSingleOperationPerIndex()
DLegacyCommonTokenStream.cs138 … if (channelOverrideMap != null && channelOverrideMap.TryGetValue(t.Type, out channelI)) in FillBuffer()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs247 if ( programs.TryGetValue( programName, out @is ) && @is != null ) in Rollback()
390 if ( lastRewriteTokenIndexes.TryGetValue( programName, out value ) ) in GetLastRewriteTokenIndex()
404 if ( !programs.TryGetValue( name, out @is ) || @is == null ) in GetProgram()
455 if ( !programs.TryGetValue( programName, out rewrites ) ) in ToString()
478 bool exists = indexToOp.TryGetValue( i, out op ); in ToString()
680 if ( m.TryGetValue( op.index, out existing ) && existing != null ) in ReduceToSingleOperationPerIndex()
DLegacyCommonTokenStream.cs146 … if ( channelOverrideMap != null && channelOverrideMap.TryGetValue( t.Type, out channelI ) ) in FillBuffer()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeWizard.cs225 if ( tokenNameToTypeMap.TryGetValue( tokenName, out value ) ) in GetTokenType()
258 if ( !m.TryGetValue( ttype, out elements ) || elements == null ) in IndexCore()
650 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in fillReverseIndex()
716 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in getNodeIndex()
DDotTreeGenerator.cs188 if ( nodeToNumberMap.TryGetValue( t, out i ) ) in GetNodeNumber()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeWizard.cs198 if (tokenNameToTypeMap.TryGetValue(tokenName, out value)) in GetTokenType()
228 if (!m.TryGetValue(ttype, out elements) || elements == null) { in IndexCore()
573 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in fillReverseIndex()
639 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in getNodeIndex()
DDotTreeGenerator.cs188 if ( nodeToNumberMap.TryGetValue( t, out i ) ) in GetNodeNumber()
DBaseTreeAdaptor.cs260 if (treeToUniqueIDMap.TryGetValue(node, out id)) in GetUniqueID()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Collections.pas112 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; in TryGetValue() function
261 function THashList<TKey, TValue>.TryGetValue(const Key: TKey; in THashList() function
264 Result := FDictionary.TryGetValue(Key,Value);
DAntlr.Runtime.Tools.pas198 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; in TryGetValue() function
300 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; in TryGetValue() function
836 function TDictionary<TKey,TValue>.TryGetValue(const Key: TKey; out Value: TValue): Boolean; in TryGetValue() function
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/
DDOTTreeGenerator.cs176 if (nodeToNumberMap.TryGetValue(t, out i)) { in GetNodeNumber()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tools.Tests.pas498 ReturnValue := FIDictionary.TryGetValue(Key, Value);
503 ReturnValue := FIDictionary.TryGetValue(Key, Value);
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs889 if (!dictionaries.TryGetValue(enumType, out nameMapping)) in GetOriginalName()
898 nameMapping.TryGetValue(value, out originalName); in GetOriginalName()
DJsonParser.cs157 if (WellKnownTypeHandlers.TryGetValue(message.Descriptor.FullName, out handler)) in Merge()
188 if (jsonFieldMap.TryGetValue(name, out field)) in Merge()

12