Home
last modified time | relevance | path

Searched refs:descriptorsByName (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorPool.cs45 private readonly IDictionary<string, IDescriptor> descriptorsByName = field in Google.Protobuf.Reflection.DescriptorPool
92 descriptorsByName.TryGetValue(fullName, out result); in descriptorsByName.TryGetValue()
103 dependency.DescriptorPool.descriptorsByName.TryGetValue(fullName, out result);
135 if (descriptorsByName.TryGetValue(fullName, out old)) in AddPackage()
145 descriptorsByName[fullName] = new PackageDescriptor(name, fullName, file); in AddPackage()
159 if (descriptorsByName.TryGetValue(fullName, out old)) in AddSymbol()
181 descriptorsByName[fullName] = descriptor; in AddSymbol()
DFileDescriptor.cs449 var descriptorsByName = new Dictionary<string, FileDescriptor>(); in BuildFromByteStrings()
457 if (!descriptorsByName.TryGetValue(dependencyName, out dependency)) in BuildFromByteStrings()
469 if (descriptorsByName.ContainsKey(descriptor.Name)) in BuildFromByteStrings()
473 descriptorsByName.Add(descriptor.Name, descriptor); in BuildFromByteStrings()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java2241 private final Map<String, GenericDescriptor> descriptorsByName = field in Descriptors.DescriptorPool
2258 GenericDescriptor result = descriptorsByName.get(fullName); in findSymbol()
2268 result = dependency.pool.descriptorsByName.get(fullName); in findSymbol()
2405 final GenericDescriptor old = descriptorsByName.put(fullName, descriptor); in addSymbol()
2407 descriptorsByName.put(fullName, old); in addSymbol()
2489 descriptorsByName.put(fullName, new PackageDescriptor(name, fullName, file)); in addPackage()
2491 descriptorsByName.put(fullName, old); in addPackage()