Searched refs:new_descriptor (Results 1 – 5 of 5) sorted by relevance
142 def __RegisterDescriptor(self, new_descriptor): argument144 if not isinstance(new_descriptor, (148 type(new_descriptor),))149 full_name = self.__ComputeFullName(new_descriptor.name)155 new_descriptor.full_name = full_name156 self.__message_registry[full_name] = new_descriptor157 if isinstance(new_descriptor,159 self.__current_env.message_types.append(new_descriptor)160 elif isinstance(new_descriptor,162 self.__current_env.enum_types.append(new_descriptor)
216 protozero::HeapBuffered<protos::pbzero::TrackDescriptor> new_descriptor( in UpdateTrackImpl() local218 fill_function(new_descriptor.get()); in UpdateTrackImpl()219 auto serialized_desc = new_descriptor.SerializeAsString(); in UpdateTrackImpl()
2497 FileDescriptorProto* new_descriptor = output->Add(); in GetTransitiveDependencies() local2498 file->CopyTo(new_descriptor); in GetTransitiveDependencies()2500 file->CopyJsonNameTo(new_descriptor); in GetTransitiveDependencies()2503 file->CopySourceCodeInfoTo(new_descriptor); in GetTransitiveDependencies()
2499 FileDescriptorProto* new_descriptor = output->Add(); in GetTransitiveDependencies() local2500 file->CopyTo(new_descriptor); in GetTransitiveDependencies()2502 file->CopyJsonNameTo(new_descriptor); in GetTransitiveDependencies()2505 file->CopySourceCodeInfoTo(new_descriptor); in GetTransitiveDependencies()
1014 new_descriptor = Descriptor(1018 descriptors.append(new_descriptor)