Home
last modified time | relevance | path

Searched refs:ExtensionValue (Results 1 – 11 of 11) sorted by relevance

/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/
DExtensionValue.cs49 internal sealed class ExtensionValue<T> : IExtensionValue class
54 internal ExtensionValue(FieldCodec<T> codec) in ExtensionValue() method in Google.Protobuf.ExtensionValue
67 return new ExtensionValue<T>(codec) in Clone()
78 return other is ExtensionValue<T> in Equals()
79 && codec.Equals((other as ExtensionValue<T>).codec) in Equals()
80 && Equals(field, (other as ExtensionValue<T>).field); in Equals()
102 if (value is ExtensionValue<T>) in MergeFrom()
104 var extensionValue = value as ExtensionValue<T>; in MergeFrom()
DExtensionSet.cs66 return ((ExtensionValue<TValue>)value).GetValue();
137 ((ExtensionValue<TValue>)extensionValue).SetValue(value);
DExtension.cs88 return new ExtensionValue<TValue>(codec); in CreateValue()
/external/protobuf/csharp/src/Google.Protobuf/
DExtensionValue.cs50 internal sealed class ExtensionValue<T> : IExtensionValue class
55 internal ExtensionValue(FieldCodec<T> codec) in ExtensionValue() method in Google.Protobuf.ExtensionValue
68 return new ExtensionValue<T>(codec) in Clone()
79 return other is ExtensionValue<T> in Equals()
80 && codec.Equals((other as ExtensionValue<T>).codec) in Equals()
81 && Equals(field, (other as ExtensionValue<T>).field); in Equals()
103 if (value is ExtensionValue<T>) in MergeFrom()
105 var extensionValue = value as ExtensionValue<T>; in MergeFrom()
DExtensionSet.cs77 if (value is ExtensionValue<TValue> extensionValue)
88 … if (valueType.IsGenericType && valueType.GetGenericTypeDefinition() == typeof(ExtensionValue<>))
188 ((ExtensionValue<TValue>)extensionValue).SetValue(value);
DExtension.cs88 return new ExtensionValue<TValue>(codec); in CreateValue()
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DCustomOptions.cs236 if (extensionValue is ExtensionValue<T>)
238 ExtensionValue<T> single = extensionValue as ExtensionValue<T>;
274 if (extensionValue is ExtensionValue<T>) in TryGetPrimitiveValue()
276 ExtensionValue<T> single = extensionValue as ExtensionValue<T>; in TryGetPrimitiveValue()
293 if (type.GetGenericTypeDefinition() == typeof(ExtensionValue<>)) in TryGetPrimitiveValue()
299 …value = (T)typeInfo.GetDeclaredMethod(nameof(ExtensionValue<T>.GetValue)).Invoke(extensionValue, E… in TryGetPrimitiveValue()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DCustomOptions.cs236 if (extensionValue is ExtensionValue<T>)
238 ExtensionValue<T> single = extensionValue as ExtensionValue<T>;
274 if (extensionValue is ExtensionValue<T>) in TryGetPrimitiveValue()
276 ExtensionValue<T> single = extensionValue as ExtensionValue<T>; in TryGetPrimitiveValue()
293 if (type.GetGenericTypeDefinition() == typeof(ExtensionValue<>)) in TryGetPrimitiveValue()
299 …value = (T)typeInfo.GetDeclaredMethod(nameof(ExtensionValue<T>.GetValue)).Invoke(extensionValue, E… in TryGetPrimitiveValue()
/external/cronet/net/test/
Dcert_builder.h381 struct ExtensionValue { struct
396 std::map<std::string, ExtensionValue> extensions_; argument
/external/protobuf/
DMakefile.am201 csharp/src/Google.Protobuf/ExtensionValue.cs \
/external/cronet/third_party/protobuf/
DMakefile.am196 csharp/src/Google.Protobuf/ExtensionValue.cs \