Home
last modified time | relevance | path

Searched refs:TryGetValue (Results 1 - 16 of 16) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
H A DExtensionSet.cs48 private static bool TryGetValue<TTarget>(ref ExtensionSet<TTarget> set, Extension extension, out IExtensionValue value) where TTarget : IExtendableMessage<TTarget>
55 return set.ValuesByNumber.TryGetValue(extension.FieldNumber, out value);
64 if (TryGetValue(ref set, extension, out value))
80 if (TryGetValue(ref set, extension, out value))
104 if (!set.ValuesByNumber.TryGetValue(extension.FieldNumber, out value))
130 if (!set.ValuesByNumber.TryGetValue(extension.FieldNumber, out extensionValue))
146 return TryGetValue(ref set, extension, out value);
208 if (set != null && set.ValuesByNumber.TryGetValue(lastFieldNumber, out extensionValue))
243 if (first.ValuesByNumber.TryGetValue(pair.Key, out value))
318 if (!otherSet.ValuesByNumber.TryGetValue(pai in Equals()
[all...]
H A DFieldMaskTree.cs124 if (!node.Children.TryGetValue(part, out childNode)) in AddFieldPath()
212 if (!node.Children.TryGetValue(part, out node)) in IntersectFieldPath()
H A DUnknownFieldSet.cs129 if (!otherFields.TryGetValue(leftEntry.Key, out rightValue)) in Equals()
174 if (fields.TryGetValue(number, out existing)) in GetOrAddField()
H A DExtensionRegistry.cs85 return extensions.TryGetValue(new ObjectIntPair<Type>(target, WireFormat.GetTagFieldNumber(lastTag)), out extension); in ContainsInputField()
H A DFieldCodec.cs569 if (!Codecs.TryGetValue(typeof(T), out value))
579 if (!Readers.TryGetValue(typeof(T), out value))
H A DJsonFormatter.cs888 if (!dictionaries.TryGetValue(enumType, out nameMapping)) in GetOriginalName()
897 nameMapping.TryGetValue(value, out originalName); in GetOriginalName()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A 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 ObjectIntPair<IDescriptor>(messageDescriptor, number), out ret); in FindFieldByNumber()
219 enumValuesByNumber.TryGetValue(new ObjectIntPair<IDescriptor>(enumDescriptor, number), out ret); in FindEnumValueByNumber()
233 if (fieldsByNumber.TryGetValue(key, out old)) in AddFieldByNumber()
H A DCustomOptions.cs215 if (values.TryGetValue(field, out extensionValue))
252 if (values.TryGetValue(field, out extensionValue)) in TryGetPrimitiveValue()
H A DFileDescriptor.cs194 declarations.Value.TryGetValue(descriptor, out declaration); in GetDeclaration()
231 if (!nameToFileMap.TryGetValue(name, out file))
500 if (!descriptorsByName.TryGetValue(dependencyName, out dependency)) in BuildFromByteStrings()
H A DTypeRegistry.cs65 fullNameToMessageMap.TryGetValue(fullName, out ret); in Find()
H A DExtensionCollection.cs111 if (!declarationOrder.TryGetValue(descriptor.ExtendeeType, out list)) in CrossLink()
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
H A DMapField.cs151 if (map.TryGetValue(key, out node)) in Remove()
171 public bool TryGetValue(TKey key, out TValue value) in TryGetValue() method in Google.Protobuf.Collections.MapField
174 if (map.TryGetValue(key, out node)) in TryGetValue()
199 if (TryGetValue(key, out value))
215 if (map.TryGetValue(key, out node))
298 return TryGetValue(item.Key, out value) && ValueEqualityComparer.Equals(item.Value, value); in Contains()
324 if (map.TryGetValue(item.Key, out node) && in Remove()
403 if (!other.TryGetValue(pair.Key, out value)) in Equals()
589 TryGetValue((TKey)key, out value);
H A 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()
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
H A DBenchmarkDatasetConfig.cs64 if (!parsersByMessageName.TryGetValue(dataset.MessageName, out var parser)) in BenchmarkDatasetConfig()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
H A DMapFieldTest.cs584 Assert.False(map.TryGetValue(SampleNaNs.PayloadFlipped, out ignored)); in NaNKeysComparedBitwise()
/third_party/node/deps/v8/src/d8/
H A Dd8.cc344 static MaybeLocal<Value> TryGetValue(v8::Isolate* isolate, in TryGetValue() function
355 return TryGetValue(isolate, context, object, property).ToLocalChecked(); in GetValue()
1693 Local<Value> value = TryGetValue(isolate, context, object, "detailed") in PerformanceMeasureMemory()
2411 if (!TryGetValue(isolate, context, object, "type").ToLocal(&value)) { in ReadCodeTypeAndArguments()
2433 TryGetValue(isolate, context, object, "arguments").ToLocal(arguments); in ReadCodeTypeAndArguments()

Completed in 20 milliseconds