Home
last modified time | relevance | path

Searched refs:nested_type (Results 1 - 25 of 34) sorted by relevance

12

/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DDescriptorPool.php99 foreach ($descriptor->getNestedType() as $nested_type) {
100 $this->addDescriptor($nested_type);
180 foreach ($desc->getNestedType() as $nested_type) {
181 $this->crossLink($nested_type);
183 unset($nested_type);
H A DDescriptor.php44 private $nested_type = []; variable
91 $this->nested_type[] = $desc;
96 return $this->nested_type;
H A DDescriptorProto.php33 * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code>
35 private $nested_type; variable
73 * @type \Google\Protobuf\Internal\DescriptorProto[]|\Google\Protobuf\Internal\RepeatedField $nested_type
166 * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code>
171 return $this->nested_type;
175 * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code>
182 $this->nested_type = $arr; variable
/third_party/protobuf/python/google/protobuf/
H A Ddescriptor_database.py173 for nested_type in desc_proto.nested_type:
174 for symbol in _ExtractSymbols(nested_type, message_name):
H A Ddescriptor_pool.py855 for nested in desc_proto.nested_type]
1039 for nested_type in desc_proto.nested_type:
1040 self._SetAllFieldTypes(nested_package, nested_type, scope)
H A Ddescriptor.py334 for nested_type in nested_types:
335 nested_type.containing_type = self
1100 for nested_proto in desc_proto.nested_type:
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_message_lite.cc90 ImmutableMessageLiteGenerator(descriptor_->nested_type(i), context_) in GenerateStaticVariables()
102 ImmutableMessageLiteGenerator(descriptor_->nested_type(i), context_) in GenerateStaticVariableInitializers()
209 if (IsMapEntry(descriptor_->nested_type(i))) continue; in Generate()
210 ImmutableMessageLiteGenerator messageGenerator(descriptor_->nested_type(i), in Generate()
687 ImmutableMessageLiteGenerator(descriptor_->nested_type(i), context_) in GenerateExtensionRegistrationCode()
H A Djava_message.cc147 ImmutableMessageGenerator(descriptor_->nested_type(i), context_) in GenerateStaticVariables()
184 ImmutableMessageGenerator(descriptor_->nested_type(i), context_) in GenerateStaticVariableInitializers()
390 if (IsMapEntry(descriptor_->nested_type(i))) continue; in Generate()
391 ImmutableMessageGenerator messageGenerator(descriptor_->nested_type(i), in Generate()
1151 ImmutableMessageGenerator(descriptor_->nested_type(i), context_) in GenerateExtensionRegistrationCode()
H A Djava_context.cc108 InitializeFieldGeneratorInfoForMessage(message->nested_type(i)); in InitializeFieldGeneratorInfoForMessage()
H A Djava_name_resolver.cc112 if (MessageHasConflictingClassName(message->nested_type(i), classname, in MessageHasConflictingClassName()
/third_party/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.cc575 PrintNestedEnums(*descriptor.nested_type(i)); in PrintNestedEnums()
755 ModuleLevelDescriptorName(*message_descriptor.nested_type(i)); in PrintDescriptor()
830 PrintDescriptor(*containing_descriptor.nested_type(i)); in PrintNestedDescriptors()
907 PrintMessage(*containing_descriptor.nested_type(i), prefix, to_register, in PrintNestedMessages()
924 FixForeignFieldsInDescriptor(*descriptor.nested_type(i), &descriptor); in FixForeignFieldsInDescriptor()
1133 FixForeignFieldsInNestedExtensions(*descriptor.nested_type(i)); in FixForeignFieldsInNestedExtensions()
1421 FixOptionsForMessage(*descriptor.nested_type(i)); in FixOptionsForMessage()
/third_party/protobuf/src/google/protobuf/compiler/ruby/
H A Druby_generator.cc276 if (!GenerateMessage(message->nested_type(i), printer, error)) { in GenerateMessage()
384 GenerateMessageAssignment(nested_prefix, message->nested_type(i), printer); in GenerateMessageAssignment()
481 if (UsesTypeFromFile(message->nested_type(i), file, error)) { in UsesTypeFromFile()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_helpers.cc822 if (HasLazyFields(descriptor->nested_type(idx), options)) { in HasLazyFields()
852 if (HasRepeatedFields(descriptor->nested_type(i))) return true; in HasRepeatedFields()
876 if (HasStringPieceFields(descriptor->nested_type(i), options)) return true; in HasStringPieceFields()
899 if (HasCordFields(descriptor->nested_type(i), options)) return true; in HasCordFields()
915 if (HasExtensionsOrExtendableMessage(descriptor->nested_type(i))) { in HasExtensionsOrExtendableMessage()
937 if (HasMapFields(descriptor->nested_type(i))) return true; in HasMapFields()
952 if (HasEnumDefinitions(message_type->nested_type(i))) return true; in HasEnumDefinitions()
1116 Flatten(descriptor->nested_type(i), flatten); in Flatten()
1227 ListAllFields(d->nested_type(i), fields); in ListAllFields()
H A Dcpp_message.cc1442 const Descriptor* nested_type = descriptor_->nested_type(i); in GenerateClassDefinition() local
1443 if (!IsMapEntryMessage(nested_type)) { in GenerateClassDefinition()
1444 format.Set("nested_full_name", ClassName(nested_type, false)); in GenerateClassDefinition()
1445 format.Set("nested_name", ResolveKeyword(nested_type->name())); in GenerateClassDefinition()
1447 nested_type); in GenerateClassDefinition()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
H A Dcsharp_message.cc324 if (!IsMapEntryMessage(descriptor_->nested_type(i))) { in Generate()
326 descriptor_->nested_type(i), this->options()); in Generate()
369 if (!IsMapEntryMessage(descriptor_->nested_type(i))) { in HasNestedGeneratedTypes()
H A Dcsharp_reflection_class.cc317 WriteGeneratedCodeInfo(descriptor->nested_type(i), printer, i == descriptor->nested_type_count() - 1); in WriteGeneratedCodeInfo()
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_database.cc58 for (const auto& d : desc_proto.nested_type()) { in RecordMessageNames()
258 if (!AddNestedExtensions(filename, message_type.nested_type(i), value)) in AddNestedExtensions()
736 for (const auto& nested_type : message_type.nested_type()) { in AddNestedExtensions()
737 if (!AddNestedExtensions(filename, nested_type)) return false; in AddNestedExtensions()
H A Ddescriptor.h358 const Descriptor* nested_type(int index) const;
2006 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, nested_type, const Descriptor*)
/third_party/protobuf/python/google/protobuf/internal/
H A Ddescriptor_test.py955 nested_type = message_type.nested_type.add()
956 nested_type.name = 'Sub'
957 enum_type = nested_type.enum_type.add()
973 enum_field = nested_type.field.add()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
H A Dobjectivec_file.cc66 if (MessageContainsEnums(message->nested_type(i))) { in MessageContainsEnums()
80 if (MessageContainsExtensions(message->nested_type(i))) { in MessageContainsExtensions()
H A Dobjectivec_message.cc201 descriptor_->nested_type(i), in MessageGenerator()
/third_party/protobuf/src/google/protobuf/compiler/
H A Dparser_unittest.cc617 " nested_type {" in TEST_F()
665 " nested_type {" in TEST_F()
677 " nested_type {" in TEST_F()
712 " nested_type { name: \"TestGroup\" }" in TEST_F()
727 " nested_type { name: \"Nested\" }" in TEST_F()
3048 const DescriptorProto& bar = file_.message_type(0).nested_type(0); in TEST_F()
3049 const DescriptorProto& baz = bar.nested_type(0); in TEST_F()
3050 const DescriptorProto& qux = file_.message_type(0).nested_type(1); in TEST_F()
3074 const DescriptorProto& bar = file_.message_type(0).nested_type(0); in TEST_F()
3075 const DescriptorProto& baz = file_.message_type(0).nested_type( in TEST_F()
[all...]
/third_party/protobuf/benchmarks/util/
H A Dschema_proto2_to_proto3_util.h70 StripMessage(old_message->nested_type(i), in StripMessage()
/third_party/protobuf/src/google/protobuf/compiler/js/
H A Djs_generator.cc1346 if (HasExtensions(desc->nested_type(i))) { in HasExtensions()
1374 if (HasMap(options, desc->nested_type(i))) { in HasMap()
1553 maybe_add(desc->nested_type(i)); in operator ()()
1722 FindProvidesForMessage(options, printer, desc->nested_type(i), provided); in FindProvidesForMessage()
1942 FindRequiresForMessage(options, desc->nested_type(i), required, forwards, in FindRequiresForMessage()
2027 GenerateClass(options, printer, desc->nested_type(i)); in GenerateClass()
2099 if (!IgnoreMessage(desc->nested_type(i))) { in GenerateClassConstructorAndDeclareExtensionFieldInfo()
2101 options, printer, desc->nested_type(i)); in GenerateClassConstructorAndDeclareExtensionFieldInfo()
/third_party/protobuf/src/google/protobuf/util/internal/
H A Dprotostream_objectsource.cc654 // nested_type cannot be null at this time. in RenderAny()
655 const google::protobuf::Type* nested_type = resolved_type.value(); in RenderAny() local
661 ProtoStreamObjectSource nested_os(&in_stream, os->typeinfo_, *nested_type); in RenderAny()

Completed in 40 milliseconds

12