Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorPool.cs51 … private readonly IDictionary<ObjectIntPair<IDescriptor>, EnumValueDescriptor> enumValuesByNumber = field in Google.Protobuf.Reflection.DescriptorPool
219enumValuesByNumber.TryGetValue(new ObjectIntPair<IDescriptor>(enumDescriptor, number), out ret); in FindEnumValueByNumber()
251 if (!enumValuesByNumber.ContainsKey(key)) in AddEnumValueByNumber()
253 enumValuesByNumber[key] = enumValue; in AddEnumValueByNumber()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java1661 return file.pool.enumValuesByNumber.get(new DescriptorPool.DescriptorIntPair(this, number)); in findValueByNumber()
2245 private final Map<DescriptorIntPair, EnumValueDescriptor> enumValuesByNumber = field in Descriptors.DescriptorPool
2559 final EnumValueDescriptor old = enumValuesByNumber.put(key, value); in addEnumValueByNumber()
2561 enumValuesByNumber.put(key, old); in addEnumValueByNumber()