Home
last modified time | relevance | path

Searched refs:fieldsByNumber (Results 1 – 2 of 2) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorPool.cs48 private readonly IDictionary<ObjectIntPair<IDescriptor>, FieldDescriptor> fieldsByNumber = field in Google.Protobuf.Reflection.DescriptorPool
212fieldsByNumber.TryGetValue(new ObjectIntPair<IDescriptor>(messageDescriptor, number), out ret); in FindFieldByNumber()
233 if (fieldsByNumber.TryGetValue(key, out old)) in AddFieldByNumber()
240 fieldsByNumber[key] = field; in AddFieldByNumber()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java786 return file.pool.fieldsByNumber.get(new DescriptorPool.DescriptorIntPair(this, number)); in findFieldByNumber()
2299 private final Map<DescriptorIntPair, FieldDescriptor> fieldsByNumber = field in Descriptors.DescriptorPool
2593 final FieldDescriptor old = fieldsByNumber.put(key, field); in addFieldByNumber()
2595 fieldsByNumber.put(key, old); in addFieldByNumber()