Searched refs:DescriptorProto (Results 1 - 25 of 33) sorted by relevance

12

/external/protobuf/src/google/protobuf/compiler/
H A Dparser.h216 bool ParseMessageDefinition(DescriptorProto* message);
226 bool ParseMessageBlock(DescriptorProto* message);
232 bool ParseMessageStatement(DescriptorProto* message);
239 RepeatedPtrField<DescriptorProto>* messages);
242 bool ParseExtensions(DescriptorProto* message);
246 RepeatedPtrField<DescriptorProto>* messages);
H A Dparser_unittest.cc1177 bool operator()(const DescriptorProto* left, const DescriptorProto* right) {
1183 void SortMessages(DescriptorProto *descriptor_proto) {
1189 DescriptorProto **data =
1201 DescriptorProto **data =
H A Dparser.cc394 bool Parser::ParseMessageDefinition(DescriptorProto* message) {
402 bool Parser::ParseMessageBlock(DescriptorProto* message) {
421 bool Parser::ParseMessageStatement(DescriptorProto* message) {
443 RepeatedPtrField<DescriptorProto>* messages) {
476 DescriptorProto* group = messages->Add();
756 bool Parser::ParseExtensions(DescriptorProto* message) {
761 DescriptorProto::ExtensionRange* range = message->add_extension_range();
790 RepeatedPtrField<DescriptorProto>* messages) {
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dparser.h286 bool ParseMessageDefinition(DescriptorProto* message,
304 bool ParseMessageBlock(DescriptorProto* message,
313 bool ParseMessageStatement(DescriptorProto* message,
326 // either a FileDescriptorProto or a DescriptorProto, we must pass in the
329 RepeatedPtrField<DescriptorProto>* messages,
335 bool ParseExtensions(DescriptorProto* message,
341 RepeatedPtrField<DescriptorProto>* messages,
H A Dparser.cc529 bool Parser::ParseMessageDefinition(DescriptorProto* message,
534 DescriptorProto::kNameFieldNumber);
547 bool IsMessageSetWireFormatMessage(const DescriptorProto& message) {
563 void AdjustExtensionRangesWithMaxEndNumber(DescriptorProto* message) {
577 bool Parser::ParseMessageBlock(DescriptorProto* message,
600 bool Parser::ParseMessageStatement(DescriptorProto* message,
607 DescriptorProto::kNestedTypeFieldNumber,
612 DescriptorProto::kEnumTypeFieldNumber,
617 DescriptorProto::kExtensionRangeFieldNumber);
621 DescriptorProto
[all...]
H A Dparser_unittest.cc1257 bool operator()(const DescriptorProto* left, const DescriptorProto* right) {
1263 void SortMessages(DescriptorProto *descriptor_proto) {
1269 DescriptorProto **data =
1281 DescriptorProto **data =
1846 const DescriptorProto::ExtensionRange& range1 =
1848 const DescriptorProto::ExtensionRange& range2 =
1850 const DescriptorProto::ExtensionRange& range3 =
1883 const DescriptorProto& bar = file_.message_type(0).nested_type(0);
1884 const DescriptorProto
[all...]
/external/protobuf/python/google/protobuf/internal/
H A Ddescriptor_test.py159 descriptor_pb2.DescriptorProto,
175 descriptor_pb2.DescriptorProto,
192 descriptor_pb2.DescriptorProto,
233 descriptor_pb2.DescriptorProto,
247 descriptor_pb2.DescriptorProto,
269 descriptor_pb2.DescriptorProto,
/external/protobuf/src/google/protobuf/
H A Ddescriptor.pb.h38 class DescriptorProto;
336 // repeated .google.protobuf.DescriptorProto message_type = 4;
340 inline const ::google::protobuf::DescriptorProto& message_type(int index) const;
341 inline ::google::protobuf::DescriptorProto* mutable_message_type(int index);
342 inline ::google::protobuf::DescriptorProto* add_message_type();
343 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
345 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
401 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_;
496 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
525 class LIBPROTOBUF_EXPORT DescriptorProto class in namespace:google::protobuf
[all...]
H A Ddescriptor.pb.cc125 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, name_),
126 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, field_),
127 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_),
128 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, nested_type_),
129 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, enum_type_),
130 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_range_),
131 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, options_),
136 DescriptorProto::default_instance_,
138 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _has_bits_[0]),
139 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _unknown_fields
1664 DescriptorProto::DescriptorProto() function in class:google::protobuf::DescriptorProto
1673 DescriptorProto::DescriptorProto(const DescriptorProto& from) function in class:google::protobuf::DescriptorProto
[all...]
H A Ddescriptor_database.h167 bool AddNestedExtensions(const DescriptorProto& message_type,
H A Ddescriptor_unittest.cc60 DescriptorProto* AddMessage(FileDescriptorProto* file, const string& name) {
61 DescriptorProto* result = file->add_message_type();
66 DescriptorProto* AddNestedMessage(DescriptorProto* parent, const string& name) {
67 DescriptorProto* result = parent->add_nested_type();
78 EnumDescriptorProto* AddNestedEnum(DescriptorProto* parent,
92 FieldDescriptorProto* AddField(DescriptorProto* parent,
118 FieldDescriptorProto* AddNestedExtension(DescriptorProto* parent,
132 DescriptorProto::ExtensionRange* AddExtensionRange(DescriptorProto* paren
[all...]
H A Ddescriptor.h77 class DescriptorProto;
138 // Write the contents of this Descriptor into the given DescriptorProto.
139 // The target DescriptorProto must be clear before calling this; if it
141 void CopyTo(DescriptorProto* proto) const;
H A Ddescriptor.cc1364 void Descriptor::CopyTo(DescriptorProto* proto) const {
1377 DescriptorProto::ExtensionRange* range = proto->add_extension_range();
1990 void BuildMessage(const DescriptorProto& proto,
2007 void BuildExtensionRange(const DescriptorProto::ExtensionRange& proto,
2029 void CrossLinkMessage(Descriptor* message, const DescriptorProto& proto);
2158 const DescriptorProto& proto);
2861 void DescriptorBuilder::BuildMessage(const DescriptorProto& proto,
3153 const DescriptorProto::ExtensionRange& proto,
3367 Descriptor* message, const DescriptorProto& proto) {
3659 const DescriptorProto
[all...]
H A Ddescriptor_database.cc138 const DescriptorProto& message_type,
H A Dextension_set_unittest.cc498 DescriptorProto template_descriptor_proto;
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.pb.h40 class DescriptorProto;
359 // repeated .google.protobuf.DescriptorProto message_type = 4;
363 inline const ::google::protobuf::DescriptorProto& message_type(int index) const;
364 inline ::google::protobuf::DescriptorProto* mutable_message_type(int index);
365 inline ::google::protobuf::DescriptorProto* add_message_type();
366 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
368 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
443 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_;
530 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
554 class LIBPROTOBUF_EXPORT DescriptorProto class in namespace:google::protobuf
[all...]
H A Ddescriptor_database.h168 bool AddNestedExtensions(const DescriptorProto& message_type,
H A Ddescriptor.pb.cc140 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, name_),
141 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, field_),
142 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_),
143 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, nested_type_),
144 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, enum_type_),
145 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_range_),
146 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, options_),
151 DescriptorProto::default_instance_,
153 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _has_bits_[0]),
154 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _unknown_fields
1890 DescriptorProto::DescriptorProto() function in class:google::protobuf::DescriptorProto
1899 DescriptorProto::DescriptorProto(const DescriptorProto& from) function in class:google::protobuf::DescriptorProto
[all...]
H A Ddescriptor_unittest.cc62 DescriptorProto* AddMessage(FileDescriptorProto* file, const string& name) {
63 DescriptorProto* result = file->add_message_type();
68 DescriptorProto* AddNestedMessage(DescriptorProto* parent, const string& name) {
69 DescriptorProto* result = parent->add_nested_type();
80 EnumDescriptorProto* AddNestedEnum(DescriptorProto* parent,
94 FieldDescriptorProto* AddField(DescriptorProto* parent,
120 FieldDescriptorProto* AddNestedExtension(DescriptorProto* parent,
134 DescriptorProto::ExtensionRange* AddExtensionRange(DescriptorProto* paren
[all...]
H A Ddescriptor.cc1508 void Descriptor::CopyTo(DescriptorProto* proto) const {
1521 DescriptorProto::ExtensionRange* range = proto->add_extension_range();
2061 output->push_back(DescriptorProto::kNestedTypeFieldNumber);
2071 output->push_back(DescriptorProto::kFieldFieldNumber);
2078 output->push_back(DescriptorProto::kEnumTypeFieldNumber);
2294 void BuildMessage(const DescriptorProto& proto,
2311 void BuildExtensionRange(const DescriptorProto::ExtensionRange& proto,
2333 void CrossLinkMessage(Descriptor* message, const DescriptorProto& proto);
2480 const DescriptorProto& proto);
3249 void DescriptorBuilder::BuildMessage(const DescriptorProto
[all...]
H A Ddescriptor_database.cc138 const DescriptorProto& message_type,
H A Ddescriptor.h81 class DescriptorProto;
157 // Write the contents of this Descriptor into the given DescriptorProto.
158 // The target DescriptorProto must be clear before calling this; if it
160 void CopyTo(DescriptorProto* proto) const;
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A 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,
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DDescriptors.java430 public DescriptorProto toProto() { return proto; }
479 for (final DescriptorProto.ExtensionRange range :
544 private DescriptorProto proto;
553 private Descriptor(final DescriptorProto proto,
607 private void setProto(final DescriptorProto proto) {
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DDescriptorsTest.java33 import com.google.protobuf.DescriptorProtos.DescriptorProto;
435 .addMessageType(DescriptorProto.newBuilder()

Completed in 4957 milliseconds

12