Home
last modified time | relevance | path

Searched refs:DescriptorIntPair (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptorPool.cs48 private readonly IDictionary<DescriptorIntPair, FieldDescriptor> fieldsByNumber =
49 new Dictionary<DescriptorIntPair, FieldDescriptor>();
51 private readonly IDictionary<DescriptorIntPair, EnumValueDescriptor> enumValuesByNumber =
52 new Dictionary<DescriptorIntPair, EnumValueDescriptor>();
212 fieldsByNumber.TryGetValue(new DescriptorIntPair(messageDescriptor, number), out ret); in FindFieldByNumber()
219 enumValuesByNumber.TryGetValue(new DescriptorIntPair(enumDescriptor, number), out ret); in FindEnumValueByNumber()
230 DescriptorIntPair key = new DescriptorIntPair(field.ContainingType, field.FieldNumber); in AddFieldByNumber()
249DescriptorIntPair key = new DescriptorIntPair(enumValue.EnumDescriptor, enumValue.Number); in AddEnumValueByNumber()
336 private struct DescriptorIntPair : IEquatable<DescriptorIntPair> struct in Google.Protobuf.Reflection.DescriptorPool
341 internal DescriptorIntPair(IDescriptor descriptor, int number) in DescriptorIntPair() method
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DExtensionRegistry.java185 new DescriptorIntPair(containingType, fieldNumber)); in findImmutableExtensionByNumber()
197 new DescriptorIntPair(containingType, fieldNumber)); in findMutableExtensionByNumber()
210 for (DescriptorIntPair pair : mutableExtensionsByNumber.keySet()) { in getAllMutableExtensionsByExtendedType()
228 for (DescriptorIntPair pair : immutableExtensionsByNumber.keySet()) { in getAllImmutableExtensionsByExtendedType()
296 new HashMap<DescriptorIntPair, ExtensionInfo>(); in ExtensionRegistry()
298 new HashMap<DescriptorIntPair, ExtensionInfo>(); in ExtensionRegistry()
315 private final Map<DescriptorIntPair, ExtensionInfo> immutableExtensionsByNumber;
316 private final Map<DescriptorIntPair, ExtensionInfo> mutableExtensionsByNumber;
325 Collections.<DescriptorIntPair, ExtensionInfo>emptyMap(); in ExtensionRegistry()
327 Collections.<DescriptorIntPair, ExtensionInfo>emptyMap(); in ExtensionRegistry()
[all …]
DDescriptors.java726 new DescriptorPool.DescriptorIntPair(this, number)); in findFieldByNumber()
1600 new DescriptorPool.DescriptorIntPair(this, number)); in findValueByNumber()
2158 private final Map<DescriptorIntPair, FieldDescriptor> fieldsByNumber =
2159 new HashMap<DescriptorIntPair, FieldDescriptor>();
2160 private final Map<DescriptorIntPair, EnumValueDescriptor> enumValuesByNumber
2161 = new HashMap<DescriptorIntPair, EnumValueDescriptor>();
2412 private static final class DescriptorIntPair { class in Descriptors.DescriptorPool
2416 DescriptorIntPair(final GenericDescriptor descriptor, final int number) { in DescriptorIntPair() method in Descriptors.DescriptorPool.DescriptorIntPair
2427 if (!(obj instanceof DescriptorIntPair)) { in equals()
2430 final DescriptorIntPair other = (DescriptorIntPair)obj; in equals()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor.cc238 typedef pair<const Descriptor*, int> DescriptorIntPair; typedef
337 typedef hash_map<DescriptorIntPair, const FieldDescriptor*,
338 PointerIntegerPairHash<DescriptorIntPair> >
347 typedef map<DescriptorIntPair, const FieldDescriptor*>
548 vector<DescriptorIntPair> extensions_after_checkpoint_;
959 DescriptorIntPair key(field->containing_type(), field->number()); in AddFieldByNumber()
970 DescriptorIntPair key(field->containing_type(), field->number()); in AddExtension()