Home
last modified time | relevance | path

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

12

/external/antlr/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/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/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/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/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()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugTreeGrammarHelper.cs106 if (localMemory.TryGetValue(name, out value) && value != null) in getValue()
110 if (globalMemory.TryGetValue(name, out value) && value != null) in getValue()
DProfileTreeGrammarHelper.cs106 if (localMemory.TryGetValue(name, out value) && value != null) in getValue()
110 if (globalMemory.TryGetValue(name, out value) && value != null) in getValue()
/external/antlr/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()
/external/grpc-grpc/src/csharp/Grpc.Reflection/
DSymbolRegistry.cs57 filesByName.TryGetValue(filename, out file); in FileByName()
67 filesBySymbol.TryGetValue(symbol, out file); in FileContainingSymbol()
/external/antlr/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/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()
/external/antlr/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;
300 function TryGetValue(const Key: TKey; out Value: TValue): Boolean;
836 function TDictionary<TKey,TValue>.TryGetValue(const Key: TKey; out Value: TValue): Boolean; in TryGetValue() function
/external/grpc-grpc/src/csharp/Grpc.Core/
DAuthContext.cs106 if (!properties.TryGetValue(propertyName, out result)) in FindPropertiesByName()
DChannel.cs327 if (options.TryGetValue(key, out option)) in EnsureUserAgentChannelOption()
/external/grpc-grpc/src/csharp/Grpc.HealthCheck/
DHealthServiceImpl.cs94 if (!statusMap.TryGetValue(service, out status)) in Check()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/
DDOTTreeGenerator.cs176 if (nodeToNumberMap.TryGetValue(t, out i)) { in GetNodeNumber()
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuideServer/
DRouteGuideImpl.cs127 if (!routeNotes.TryGetValue(location, out notes)) { in AddNoteForLocation()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tools.Tests.pas498 ReturnValue := FIDictionary.TryGetValue(Key, Value);
503 ReturnValue := FIDictionary.TryGetValue(Key, Value);

12