Searched refs:DescriptorIntPair (Results 1 – 3 of 3) sorted by relevance
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ExtensionRegistry.java | 171 return immutableExtensionsByNumber.get(new DescriptorIntPair(containingType, fieldNumber)); in findImmutableExtensionByNumber() 181 return mutableExtensionsByNumber.get(new DescriptorIntPair(containingType, fieldNumber)); in findMutableExtensionByNumber() 192 for (DescriptorIntPair pair : mutableExtensionsByNumber.keySet()) { in getAllMutableExtensionsByExtendedType() 209 for (DescriptorIntPair pair : immutableExtensionsByNumber.keySet()) { in getAllImmutableExtensionsByExtendedType() 273 this.immutableExtensionsByNumber = new HashMap<DescriptorIntPair, ExtensionInfo>(); in ExtensionRegistry() 274 this.mutableExtensionsByNumber = new HashMap<DescriptorIntPair, ExtensionInfo>(); in ExtensionRegistry() 288 private final Map<DescriptorIntPair, ExtensionInfo> immutableExtensionsByNumber; 289 private final Map<DescriptorIntPair, ExtensionInfo> mutableExtensionsByNumber; 295 this.immutableExtensionsByNumber = Collections.<DescriptorIntPair, ExtensionInfo>emptyMap(); in ExtensionRegistry() 296 this.mutableExtensionsByNumber = Collections.<DescriptorIntPair, ExtensionInfo>emptyMap(); in ExtensionRegistry() [all …]
|
D | Descriptors.java | 786 return file.pool.fieldsByNumber.get(new DescriptorPool.DescriptorIntPair(this, number)); in findFieldByNumber() 1717 return file.pool.enumValuesByNumber.get(new DescriptorPool.DescriptorIntPair(this, number)); in findValueByNumber() 2299 private final Map<DescriptorIntPair, FieldDescriptor> fieldsByNumber = 2300 new HashMap<DescriptorIntPair, FieldDescriptor>(); 2301 private final Map<DescriptorIntPair, EnumValueDescriptor> enumValuesByNumber = 2302 new HashMap<DescriptorIntPair, EnumValueDescriptor>(); 2562 private static final class DescriptorIntPair { class in Descriptors.DescriptorPool 2566 DescriptorIntPair(final GenericDescriptor descriptor, final int number) { in DescriptorIntPair() method in Descriptors.DescriptorPool.DescriptorIntPair 2578 if (!(obj instanceof DescriptorIntPair)) { in equals() 2581 final DescriptorIntPair other = (DescriptorIntPair) obj; in equals() [all …]
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor.cc | 389 typedef std::pair<const Descriptor*, int> DescriptorIntPair; typedef 451 typedef HASH_MAP<DescriptorIntPair, const FieldDescriptor*, 452 PointerIntegerPairHash<DescriptorIntPair>, 453 std::equal_to<DescriptorIntPair>> 464 typedef std::map<DescriptorIntPair, const FieldDescriptor*> 679 std::vector<DescriptorIntPair> extensions_after_checkpoint_; 1152 DescriptorIntPair key(field->containing_type(), field->number()); in AddFieldByNumber() 1163 DescriptorIntPair key(field->containing_type(), field->number()); in AddExtension()
|