Home
last modified time | relevance | path

Searched refs:nested_type (Results 1 – 25 of 41) sorted by relevance

12

/external/nanopb-c/generator/google/protobuf/
Ddescriptor_database.py116 for nested_type in desc_proto.nested_type:
117 for symbol in _ExtractSymbols(nested_type, message_name):
Ddescriptor_pool.py259 for nested in desc_proto.nested_type]
434 for nested_type in desc_proto.nested_type:
435 self._SetFieldTypes(nested_type, scope)
472 for symbol in self._ExtractSymbols(desc_proto.nested_type, message_name):
508 for message in self._ExtractMessages(desc_proto.nested_type):
Dmessage_factory.py112 for nested_desc in _GetAllDescriptors(desc_proto.nested_type, name):
/external/protobuf/python/google/protobuf/
Ddescriptor_database.py137 for nested_type in desc_proto.nested_type:
138 for symbol in _ExtractSymbols(nested_type, message_name):
Dreflection.py114 for name, nested_type in descriptor.nested_types_by_name.items():
115 attributes[name] = MakeClass(nested_type)
Ddescriptor_pool.py432 for nested in desc_proto.nested_type]
591 for nested_type in desc_proto.nested_type:
592 self._SetAllFieldTypes(nested_package, nested_type, scope)
Ddescriptor.py298 for nested_type in nested_types:
299 nested_type.containing_type = self
936 for nested_proto in desc_proto.nested_type:
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_message.cc93 if (IsMapEntry(descriptor_->nested_type(i))) continue; in GenerateStaticVariables()
94 MessageGenerator(descriptor_->nested_type(i), params_) in GenerateStaticVariables()
104 if (IsMapEntry(descriptor_->nested_type(i))) continue; in GenerateStaticVariableInitializers()
105 MessageGenerator(descriptor_->nested_type(i), params_) in GenerateStaticVariableInitializers()
180 if (IsMapEntry(descriptor_->nested_type(i))) continue; in Generate()
181 MessageGenerator(descriptor_->nested_type(i), params_).Generate(printer); in Generate()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_message.cc153 MessageGenerator(descriptor_->nested_type(i), params_) in GenerateStaticVariables()
163 MessageGenerator(descriptor_->nested_type(i), params_) in GenerateStaticVariableInitializers()
204 MessageGenerator(descriptor_->nested_type(i), params_).Generate(printer); in Generate()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc102 ImmutableMessageLiteGenerator(descriptor_->nested_type(i), context_) in GenerateStaticVariables()
114 ImmutableMessageLiteGenerator(descriptor_->nested_type(i), context_) in GenerateStaticVariableInitializers()
212 if (IsMapEntry(descriptor_->nested_type(i))) continue; in Generate()
214 descriptor_->nested_type(i), context_); in Generate()
1049 ImmutableMessageLiteGenerator(descriptor_->nested_type(i), context_) in GenerateExtensionRegistrationCode()
Djava_message.cc149 ImmutableMessageGenerator(descriptor_->nested_type(i), context_) in GenerateStaticVariables()
186 ImmutableMessageGenerator(descriptor_->nested_type(i), context_) in GenerateStaticVariableInitializers()
375 if (IsMapEntry(descriptor_->nested_type(i))) continue; in Generate()
377 descriptor_->nested_type(i), context_); in Generate()
1153 ImmutableMessageGenerator(descriptor_->nested_type(i), context_) in GenerateExtensionRegistrationCode()
Djava_context.cc109 InitializeFieldGeneratorInfoForMessage(message->nested_type(i)); in InitializeFieldGeneratorInfoForMessage()
Djava_name_resolver.cc99 if (MessageHasConflictingClassName(message->nested_type(i), classname)) { in MessageHasConflictingClassName()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc498 PrintNestedEnums(*descriptor.nested_type(i)); in PrintNestedEnums()
664 *message_descriptor.nested_type(i)); in PrintDescriptor()
733 PrintDescriptor(*containing_descriptor.nested_type(i)); in PrintNestedDescriptors()
789 PrintMessage(*containing_descriptor.nested_type(i), prefix, to_register); in PrintNestedMessages()
805 FixForeignFieldsInDescriptor(*descriptor.nested_type(i), &descriptor); in FixForeignFieldsInDescriptor()
1001 FixForeignFieldsInNestedExtensions(*descriptor.nested_type(i)); in FixForeignFieldsInNestedExtensions()
1289 FixOptionsForMessage(*descriptor.nested_type(i)); in FixOptionsForMessage()
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc213 GenerateMessage(message->nested_type(i), printer); in GenerateMessage()
282 GenerateMessageAssignment(nested_prefix, message->nested_type(i), printer); in GenerateMessageAssignment()
355 if (UsesTypeFromFile(message->nested_type(i), file, error)) { in UsesTypeFromFile()
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc224 if (!IsMapEntryMessage(descriptor_->nested_type(i))) { in Generate()
226 descriptor_->nested_type(i), this->options()); in Generate()
249 if (!IsMapEntryMessage(descriptor_->nested_type(i))) { in HasNestedGeneratedTypes()
Dcsharp_reflection_class.cc280 …WriteGeneratedCodeInfo(descriptor->nested_type(i), printer, i == descriptor->nested_type_count() -… in WriteGeneratedCodeInfo()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc99 if (HasExtension(descriptor->nested_type(i))) { in HasExtension()
545 if (HasMapFields(descriptor->nested_type(i))) return true; in HasMapFields()
560 if (HasEnumDefinitions(message_type->nested_type(i))) return true; in HasEnumDefinitions()
Dcpp_message.cc394 new MessageGenerator(descriptor->nested_type(i), options)); in MessageGenerator()
432 if (IsMapEntryMessage(descriptor_->nested_type(i))) continue; in FillMessageForwardDeclarations()
867 if (IsMapEntryMessage(descriptor_->nested_type(i))) continue; in GenerateClassDefinition()
1170 const Descriptor* nested_type = descriptor_->nested_type(i); in GenerateClassDefinition() local
1171 if (!IsMapEntryMessage(nested_type)) { in GenerateClassDefinition()
1173 "nested_name", nested_type->name(), in GenerateClassDefinition()
1174 "nested_full_name", ClassName(nested_type, false)); in GenerateClassDefinition()
1445 if (IsMapEntryMessage(descriptor_->nested_type(i))) continue; in GenerateDependentInlineMethods()
1460 if (IsMapEntryMessage(descriptor_->nested_type(i))) continue; in GenerateInlineMethods()
1741 if (IsMapEntryMessage(descriptor_->nested_type(i))) continue; in GenerateDefaultInstanceInitializer()
[all …]
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py732 nested_type = message_type.nested_type.add()
733 nested_type.name = 'Sub'
734 enum_type = nested_type.enum_type.add()
750 enum_field = nested_type.field.add()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2548 const DescriptorProto& bar = file_.message_type(0).nested_type(0); in TEST_F()
2549 const DescriptorProto& baz = bar.nested_type(0); in TEST_F()
2550 const DescriptorProto& qux = file_.message_type(0).nested_type(1); in TEST_F()
2574 const DescriptorProto& bar = file_.message_type(0).nested_type(0); in TEST_F()
2575 const DescriptorProto& baz = file_.message_type(0).nested_type(1); in TEST_F()
2576 const DescriptorProto& qux = baz.nested_type(0); in TEST_F()
/external/protobuf/src/google/protobuf/
Ddescriptor.cc1796 nested_type(i)->CopyTo(proto->add_nested_type()); in CopyTo()
1834 nested_type(i)->CopyJsonNameTo(proto->mutable_nested_type(i)); in CopyJsonNameTo()
2246 if (groups.count(nested_type(i)) == 0) { in DebugString()
2247 nested_type(i)->DebugString(depth, contents, debug_string_options, in DebugString()
4073 BUILD_ARRAY(proto, result, nested_type , BuildMessage , result); in BuildMessage()
4728 CrossLinkMessage(&message->nested_types_[i], proto.nested_type(i)); in CrossLinkMessage()
5150 proto.nested_type(i)); in ValidateProto3Message()
5243 VALIDATE_OPTIONS_FROM_ARRAY(message, nested_type, Message); in ValidateMessageOptions()
5457 const Descriptor* nested = message->nested_type(i); in DetectMapConflicts()
5470 DetectMapConflicts(message->nested_type(i), proto.nested_type(i)); in DetectMapConflicts()
Ddescriptor.h262 const Descriptor* nested_type(int index) const;
1659 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, nested_type, const Descriptor*) in PROTOBUF_DEFINE_STRING_ACCESSOR()
Ddescriptor_unittest.cc1552 foo_ = message_->nested_type(0); in SetUp()
1553 bar_ = message_->nested_type(1); in SetUp()
1568 foo2_ = message2_->nested_type(0); in SetUp()
1569 baz2_ = message2_->nested_type(1); in SetUp()
1625 EXPECT_EQ(foo_, message_->nested_type(0)); in TEST_F()
1626 EXPECT_EQ(bar_, message_->nested_type(1)); in TEST_F()
1670 EXPECT_EQ(foo_, message_->nested_type(0)); in TEST_F()
1671 EXPECT_EQ(bar_, message_->nested_type(1)); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc1146 if (HasExtensions(desc->nested_type(i))) { in HasExtensions()
1419 FindProvidesForMessage(options, printer, desc->nested_type(i), in FindProvidesForMessage()
1607 FindRequiresForMessage(options, desc->nested_type(i), required, forwards, in FindRequiresForMessage()
1696 GenerateClass(options, printer, desc->nested_type(i)); in GenerateClass()

12