Home
last modified time | relevance | path

Searched refs:nested_type (Results 1 – 25 of 29) 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.py133 for nested_type in desc_proto.nested_type:
134 for symbol in _ExtractSymbols(nested_type, message_name):
Dreflection.py199 for name, nested_type in descriptor.nested_types_by_name.items():
200 attributes[name] = MakeClass(nested_type)
Ddescriptor_pool.py353 for nested in desc_proto.nested_type]
510 for nested_type in desc_proto.nested_type:
511 self.SetAllFieldTypes(nested_package, nested_type, scope)
Ddescriptor.py268 for nested_type in nested_types:
269 nested_type.containing_type = self
816 for nested_proto in desc_proto.nested_type:
/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/python/
Dpython_generator.cc443 PrintNestedEnums(*descriptor.nested_type(i)); in PrintNestedEnums()
609 *message_descriptor.nested_type(i)); in PrintDescriptor()
676 PrintDescriptor(*containing_descriptor.nested_type(i)); in PrintNestedDescriptors()
732 PrintMessage(*containing_descriptor.nested_type(i), prefix, to_register); in PrintNestedMessages()
748 FixForeignFieldsInDescriptor(*descriptor.nested_type(i), &descriptor); in FixForeignFieldsInDescriptor()
944 FixForeignFieldsInNestedExtensions(*descriptor.nested_type(i)); in FixForeignFieldsInNestedExtensions()
1232 FixOptionsForMessage(*descriptor.nested_type(i)); in FixOptionsForMessage()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py604 nested_type = message_type.nested_type.add()
605 nested_type.name = 'Sub'
606 enum_type = nested_type.enum_type.add()
622 enum_field = nested_type.field.add()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_message.cc93 MessageGenerator(descriptor_->nested_type(i), params_) in GenerateStaticVariables()
103 MessageGenerator(descriptor_->nested_type(i), params_) in GenerateStaticVariableInitializers()
178 MessageGenerator(descriptor_->nested_type(i), params_).Generate(printer); in Generate()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc92 if (HasExtension(descriptor->nested_type(i))) { in HasExtension()
458 if (HasEnumDefinitions(message_type->nested_type(i))) return true; in HasEnumDefinitions()
Dcpp_message.cc303 new MessageGenerator(descriptor->nested_type(i), options)); in MessageGenerator()
720 const Descriptor* nested_type = descriptor_->nested_type(i); in GenerateClassDefinition() local
722 "nested_name", nested_type->name(), in GenerateClassDefinition()
723 "nested_full_name", ClassName(nested_type, false)); in GenerateClassDefinition()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message.cc127 ImmutableMessageGenerator(descriptor_->nested_type(i), context_) in GenerateStaticVariables()
162 ImmutableMessageGenerator(descriptor_->nested_type(i), context_) in GenerateStaticVariableInitializers()
386 descriptor_->nested_type(i), context_); in Generate()
1450 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/
Dparser_unittest.cc2075 const DescriptorProto& bar = file_.message_type(0).nested_type(0); in TEST_F()
2076 const DescriptorProto& baz = bar.nested_type(0); in TEST_F()
2077 const DescriptorProto& qux = file_.message_type(0).nested_type(1); in TEST_F()
2101 const DescriptorProto& bar = file_.message_type(0).nested_type(0); in TEST_F()
2102 const DescriptorProto& baz = file_.message_type(0).nested_type(1); in TEST_F()
2103 const DescriptorProto& qux = baz.nested_type(0); in TEST_F()
Dplugin.pb.cc77 CodeGeneratorResponse_File_descriptor_ = CodeGeneratorResponse_descriptor_->nested_type(0); in protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto()
Dcommand_line_interface.cc1545 const Descriptor* nested_desc = descriptor->nested_type(i); in GatherOccupiedFieldRanges()
/external/protobuf/src/google/protobuf/
Ddescriptor.h212 const Descriptor* nested_type(int index) const;
1469 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, nested_type, const Descriptor*)
Ddescriptor_unittest.cc1305 foo_ = message_->nested_type(0); in SetUp()
1306 bar_ = message_->nested_type(1); in SetUp()
1321 foo2_ = message2_->nested_type(0); in SetUp()
1322 baz2_ = message2_->nested_type(1); in SetUp()
1378 EXPECT_EQ(foo_, message_->nested_type(0)); in TEST_F()
1379 EXPECT_EQ(bar_, message_->nested_type(1)); in TEST_F()
1423 EXPECT_EQ(foo_, message_->nested_type(0)); in TEST_F()
1424 EXPECT_EQ(bar_, message_->nested_type(1)); in TEST_F()
Ddescriptor_database.cc141 if (!AddNestedExtensions(message_type.nested_type(i), value)) return false; in AddNestedExtensions()
Ddescriptor.cc1612 nested_type(i)->CopyTo(proto->add_nested_type()); in CopyTo()
1911 if (groups.count(nested_type(i)) == 0) { in DebugString()
1913 prefix, nested_type(i)->name()); in DebugString()
1914 nested_type(i)->DebugString(depth, contents); in DebugString()
3544 BUILD_ARRAY(proto, result, nested_type , BuildMessage , result); in BuildMessage()
4106 CrossLinkMessage(&message->nested_types_[i], proto.nested_type(i)); in CrossLinkMessage()
4481 VALIDATE_OPTIONS_FROM_ARRAY(message, nested_type, Message); in ValidateMessageOptions()
Ddescriptor.pb.cc163 DescriptorProto_ExtensionRange_descriptor_ = DescriptorProto_descriptor_->nested_type(0); in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
441 UninterpretedOption_NamePart_descriptor_ = UninterpretedOption_descriptor_->nested_type(0); in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
472 SourceCodeInfo_Location_descriptor_ = SourceCodeInfo_descriptor_->nested_type(0); in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
2222 3, this->nested_type(i), output); in SerializeWithCachedSizes()
2287 3, this->nested_type(i), target); in SerializeWithCachedSizesToArray()
2373 this->nested_type(i)); in ByteSize()
2458 if (!::google::protobuf::internal::AllAreInitialized(this->nested_type())) return false; in IsInitialized()
/external/nanopb-c/generator/
Dnanopb_generator.py604 submsgs = desc.nested_type

12