Home
last modified time | relevance | path

Searched refs:DescriptorProto (Results 1 – 20 of 20) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/
Dparser.h288 bool ParseMessageDefinition(DescriptorProto* message,
312 bool ParseMessageBlock(DescriptorProto* message,
324 bool ParseMessageStatement(DescriptorProto* message,
343 RepeatedPtrField<DescriptorProto>* messages,
352 RepeatedPtrField<DescriptorProto>* messages,
359 bool ParseExtensions(DescriptorProto* message,
366 RepeatedPtrField<DescriptorProto>* messages,
376 DescriptorProto* containing_type,
Dparser.cc536 DescriptorProto* message, in ParseMessageDefinition()
542 DescriptorProto::kNameFieldNumber); in ParseMessageDefinition()
555 bool IsMessageSetWireFormatMessage(const DescriptorProto& message) { in IsMessageSetWireFormatMessage()
571 void AdjustExtensionRangesWithMaxEndNumber(DescriptorProto* message) { in AdjustExtensionRangesWithMaxEndNumber()
585 bool Parser::ParseMessageBlock(DescriptorProto* message, in ParseMessageBlock()
609 bool Parser::ParseMessageStatement(DescriptorProto* message, in ParseMessageStatement()
617 DescriptorProto::kNestedTypeFieldNumber, in ParseMessageStatement()
623 DescriptorProto::kEnumTypeFieldNumber, in ParseMessageStatement()
629 DescriptorProto::kExtensionRangeFieldNumber); in ParseMessageStatement()
633 DescriptorProto::kExtensionFieldNumber); in ParseMessageStatement()
[all …]
Dparser_unittest.cc1361 DescriptorProto::descriptor()->file()->CopyTo(&descriptor_proto); in TEST_F()
1375 DescriptorProto* message(other_file.add_message_type()); in TEST_F()
1420 bool operator()(const DescriptorProto* left, in operator ()()
1421 const DescriptorProto* right) const { in operator ()()
1427 void SortMessages(DescriptorProto *descriptor_proto) { in SortMessages()
1433 DescriptorProto **data = in SortMessages()
1445 DescriptorProto **data = in SortMessages()
2013 const DescriptorProto::ExtensionRange& range1 = in TEST_F()
2015 const DescriptorProto::ExtensionRange& range2 = in TEST_F()
2017 const DescriptorProto::ExtensionRange& range3 = in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor.pb.h40 class DescriptorProto; variable
360 inline const ::google::protobuf::DescriptorProto& message_type(int index) const;
361 inline ::google::protobuf::DescriptorProto* mutable_message_type(int index);
362 inline ::google::protobuf::DescriptorProto* add_message_type();
363 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
365 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
442 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_;
546 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message {
548 DescriptorProto();
549 virtual ~DescriptorProto();
[all …]
Ddescriptor.pb.cc143 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, name_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
144 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, field_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
145 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
146 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, nested_type_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
147 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, enum_type_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
148 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_range_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
149 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, oneof_decl_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
150 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, options_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
155 DescriptorProto::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
157 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _has_bits_[0]), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
[all …]
Ddescriptor_unittest.cc62 DescriptorProto* AddMessage(FileDescriptorProto* file, const string& name) { in AddMessage()
63 DescriptorProto* result = file->add_message_type(); in AddMessage()
68 DescriptorProto* AddNestedMessage(DescriptorProto* parent, const string& name) { in AddNestedMessage()
69 DescriptorProto* result = parent->add_nested_type(); in AddNestedMessage()
80 EnumDescriptorProto* AddNestedEnum(DescriptorProto* parent, in AddNestedEnum()
94 FieldDescriptorProto* AddField(DescriptorProto* parent, in AddField()
120 FieldDescriptorProto* AddNestedExtension(DescriptorProto* parent, in AddNestedExtension()
134 DescriptorProto::ExtensionRange* AddExtensionRange(DescriptorProto* parent, in AddExtensionRange()
136 DescriptorProto::ExtensionRange* result = parent->add_extension_range(); in AddExtensionRange()
405 DescriptorProto* message = AddMessage(&foo_file, "TestMessage"); in SetUp()
[all …]
Ddescriptor_database.h169 bool AddNestedExtensions(const DescriptorProto& message_type,
Ddescriptor.cc1602 void Descriptor::CopyTo(DescriptorProto* proto) const { in CopyTo()
1618 DescriptorProto::ExtensionRange* range = proto->add_extension_range(); in CopyTo()
2195 output->push_back(DescriptorProto::kNestedTypeFieldNumber); in GetLocationPath()
2210 output->push_back(DescriptorProto::kExtensionFieldNumber); in GetLocationPath()
2215 output->push_back(DescriptorProto::kFieldFieldNumber); in GetLocationPath()
2222 output->push_back(DescriptorProto::kOneofDeclFieldNumber); in GetLocationPath()
2229 output->push_back(DescriptorProto::kEnumTypeFieldNumber); in GetLocationPath()
2465 void BuildMessage(const DescriptorProto& proto,
2482 void BuildExtensionRange(const DescriptorProto::ExtensionRange& proto,
2509 void CrossLinkMessage(Descriptor* message, const DescriptorProto& proto);
[all …]
Ddescriptor.proto69 repeated DescriptorProto message_type = 4;
84 message DescriptorProto { message
90 repeated DescriptorProto nested_type = 3;
633 // repeated DescriptorProto message_type = 4;
634 // and DescriptorProto.field has field number 2:
Ddescriptor.h79 class DescriptorProto; variable
159 void CopyTo(DescriptorProto* proto) const;
Ddescriptor_database.cc138 const DescriptorProto& message_type, in AddNestedExtensions()
Dextension_set_unittest.cc947 DescriptorProto template_descriptor_proto; in TEST()
/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java33 import com.google.protobuf.DescriptorProtos.DescriptorProto;
447 .addMessageType(DescriptorProto.newBuilder() in testDescriptorValidatorException()
479 .addMessageType(DescriptorProto.newBuilder() in testDescriptorComplexCrosslink()
488 .addMessageType(DescriptorProto.newBuilder() in testDescriptorComplexCrosslink()
571 .addMessageType(DescriptorProto.newBuilder().setName("Bar")) in testHiddenDependency()
580 .addMessageType(DescriptorProto.newBuilder() in testHiddenDependency()
606 .addMessageType(DescriptorProto.newBuilder().setName("Bar")) in testPublicDependency()
616 .addMessageType(DescriptorProto.newBuilder() in testPublicDependency()
650 .addMessageType(DescriptorProto.newBuilder() in testComplexNamespacePublicDependency()
719 .addMessageType(DescriptorProto.newBuilder() in testPackedEnumField()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py420 descriptor_pb2.DescriptorProto,
436 descriptor_pb2.DescriptorProto,
453 descriptor_pb2.DescriptorProto,
494 descriptor_pb2.DescriptorProto,
508 descriptor_pb2.DescriptorProto,
530 descriptor_pb2.DescriptorProto,
Dreflection_test.py1037 desc_proto = descriptor_pb2.DescriptorProto()
/external/protobuf/java/src/main/java/com/google/protobuf/
DDescriptors.java564 public DescriptorProto toProto() { return proto; } in toProto()
618 for (final DescriptorProto.ExtensionRange range : in isExtensionNumber()
691 private DescriptorProto proto;
711 this.proto = DescriptorProto.newBuilder().setName(name).addExtensionRange( in Descriptor()
712 DescriptorProto.ExtensionRange.newBuilder().setStart(1) in Descriptor()
727 private Descriptor(final DescriptorProto proto, in Descriptor()
798 private void setProto(final DescriptorProto proto) { in setProto()
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto69 repeated DescriptorProto message_type = 4;
84 message DescriptorProto { message
90 repeated DescriptorProto nested_type = 3;
563 // repeated DescriptorProto message_type = 4;
564 // and DescriptorProto.field has field number 2:
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc662 DescriptorProto edp; in PrintDescriptor()
/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pb2.py1237 class DescriptorProto(_message.Message): class
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...