Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Ddescriptor_database.py137 for nested_type in desc_proto.nested_type:
138 for symbol in _ExtractSymbols(nested_type, message_name):
Dreflection.py108 for name, nested_type in descriptor.nested_types_by_name.items():
109 attributes[name] = MakeClass(nested_type)
Ddescriptor_pool.py437 for nested in desc_proto.nested_type]
596 for nested_type in desc_proto.nested_type:
597 self._SetAllFieldTypes(nested_package, nested_type, scope)
Ddescriptor.py298 for nested_type in nested_types:
299 nested_type.containing_type = self
958 for nested_proto in desc_proto.nested_type:
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_message.cc394 new MessageGenerator(descriptor->nested_type(i), options)); in MessageGenerator()
432 if (IsMapEntryMessage(descriptor_->nested_type(i))) continue; in FillMessageForwardDeclarations()
869 if (IsMapEntryMessage(descriptor_->nested_type(i))) continue; in GenerateClassDefinition()
1108 const Descriptor* nested_type = descriptor_->nested_type(i); in GenerateClassDefinition() local
1109 if (IsMapEntryMessage(nested_type)) { in GenerateClassDefinition()
1110 descriptors.push_back(nested_type->FindFieldByName("key")); in GenerateClassDefinition()
1111 descriptors.push_back(nested_type->FindFieldByName("value")); in GenerateClassDefinition()
1186 const Descriptor* nested_type = descriptor_->nested_type(i); in GenerateClassDefinition() local
1187 if (!IsMapEntryMessage(nested_type)) { in GenerateClassDefinition()
1189 "nested_name", nested_type->name(), in GenerateClassDefinition()
[all …]
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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
217 if (IsMapEntry(descriptor_->nested_type(i))) continue; in Generate()
219 descriptor_->nested_type(i), context_); in Generate()
1054 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()
390 if (IsMapEntry(descriptor_->nested_type(i))) continue; in Generate()
392 descriptor_->nested_type(i), context_); in Generate()
1170 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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/
Dpython_generator.cc526 PrintNestedEnums(*descriptor.nested_type(i)); in PrintNestedEnums()
692 *message_descriptor.nested_type(i)); in PrintDescriptor()
768 PrintDescriptor(*containing_descriptor.nested_type(i)); in PrintNestedDescriptors()
824 PrintMessage(*containing_descriptor.nested_type(i), prefix, to_register); in PrintNestedMessages()
840 FixForeignFieldsInDescriptor(*descriptor.nested_type(i), &descriptor); in FixForeignFieldsInDescriptor()
1036 FixForeignFieldsInNestedExtensions(*descriptor.nested_type(i)); in FixForeignFieldsInNestedExtensions()
1336 FixOptionsForMessage(*descriptor.nested_type(i)); in FixOptionsForMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc235 if (!IsMapEntryMessage(descriptor_->nested_type(i))) { in Generate()
237 descriptor_->nested_type(i), this->options()); in Generate()
260 if (!IsMapEntryMessage(descriptor_->nested_type(i))) { in HasNestedGeneratedTypes()
Dcsharp_reflection_class.cc277 …WriteGeneratedCodeInfo(descriptor->nested_type(i), printer, i == descriptor->nested_type_count() -… in WriteGeneratedCodeInfo()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ruby/
Druby_generator.cc213 GenerateMessage(message->nested_type(i), printer); in GenerateMessage()
320 GenerateMessageAssignment(nested_prefix, message->nested_type(i), printer); in GenerateMessageAssignment()
393 if (UsesTypeFromFile(message->nested_type(i), file, error)) { in UsesTypeFromFile()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Ddescriptor_test.py733 nested_type = message_type.nested_type.add()
734 nested_type.name = 'Sub'
735 enum_type = nested_type.enum_type.add()
751 enum_field = nested_type.field.add()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/base/tools/streaming_proto/cpp/
Dmain.cpp94 write_message(text, message.nested_type(i), indented); in write_message()
/frameworks/base/tools/streaming_proto/java/
Dmain.cpp138 write_message(text, message.nested_type(i), indented); in write_message()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
2249 if (groups.count(nested_type(i)) == 0) { in DebugString()
2250 nested_type(i)->DebugString(depth, contents, debug_string_options, in DebugString()
4079 BUILD_ARRAY(proto, result, nested_type , BuildMessage , result); in BuildMessage()
4741 CrossLinkMessage(&message->nested_types_[i], proto.nested_type(i)); in CrossLinkMessage()
5167 proto.nested_type(i)); in ValidateProto3Message()
5261 VALIDATE_OPTIONS_FROM_ARRAY(message, nested_type, Message); in ValidateMessageOptions()
5476 const Descriptor* nested = message->nested_type(i); in DetectMapConflicts()
5489 DetectMapConflicts(message->nested_type(i), proto.nested_type(i)); in DetectMapConflicts()
Ddescriptor.h262 const Descriptor* nested_type(int index) const;
1665 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, nested_type, const Descriptor*) in PROTOBUF_DEFINE_STRING_ACCESSOR()
Ddescriptor_database.cc141 if (!AddNestedExtensions(message_type.nested_type(i), value)) return false; in AddNestedExtensions()
Ddescriptor_unittest.cc1551 foo_ = message_->nested_type(0); in SetUp()
1552 bar_ = message_->nested_type(1); in SetUp()
1567 foo2_ = message2_->nested_type(0); in SetUp()
1568 baz2_ = message2_->nested_type(1); in SetUp()
1624 EXPECT_EQ(foo_, message_->nested_type(0)); in TEST_F()
1625 EXPECT_EQ(bar_, message_->nested_type(1)); in TEST_F()
1669 EXPECT_EQ(foo_, message_->nested_type(0)); in TEST_F()
1670 EXPECT_EQ(bar_, message_->nested_type(1)); in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc202 descriptor_->nested_type(i), in MessageGenerator()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc629 const google::protobuf::Type* nested_type = resolved_type.ValueOrDie(); in RenderAny() local
635 ProtoStreamObjectSource nested_os(&in_stream, os->typeinfo_, *nested_type); in RenderAny()

12