OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:descriptorproto
(Results
1 - 25
of
44
) sorted by null
1
2
/external/protobuf/python/google/protobuf/internal/
descriptor_test.py
159
descriptor_pb2.
DescriptorProto
,
175
descriptor_pb2.
DescriptorProto
,
192
descriptor_pb2.
DescriptorProto
,
233
descriptor_pb2.
DescriptorProto
,
247
descriptor_pb2.
DescriptorProto
,
269
descriptor_pb2.
DescriptorProto
,
/external/chromium_org/third_party/protobuf/
protobuf_lite_java_descriptor_proto.py
6
"""Generate java
DescriptorProto
file.
descriptor_pb2.py
12
serialized_pb='\n google/protobuf/descriptor.proto\x12\x0fgoogle.protobuf\"G\n\x11\x46ileDescriptorSet\x12\x32\n\x04\x66ile\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProto\"\xdc\x02\n\x13\x46ileDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07package\x18\x02 \x01(\t\x12\x12\n\ndependency\x18\x03 \x03(\t\x12\x36\n\x0cmessage_type\x18\x04 \x03(\x0b\x32 .google.protobuf.
DescriptorProto
\x12\x37\n\tenum_type\x18\x05 \x03(\x0b\x32$.google.protobuf.EnumDescriptorProto\x12\x38\n\x07service\x18\x06 \x03(\x0b\x32\'.google.protobuf.ServiceDescriptorProto\x12\x38\n\textension\x18\x07 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12-\n\x07options\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.FileOptions\"\xa9\x03\n\x0f\x44\x65scriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05\x66ield\x18\x02 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12\x38\n\textension\x18\x06 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12\x35\n\x0bnested_type\x18\x03 \x03(\x0b\x32 .google.protobuf.
DescriptorProto
\x12\x37\n\tenum_type\x18\x04 \x03(\x0b\x32$.google.protobuf.EnumDescriptorProto\x12H\n\x0f\x65xtension_range\x18\x05 \x03(\x0b\x32/.google.protobuf.
DescriptorProto
.ExtensionRange\x12\x30\n\x07options\x18\x07 \x01(\x0b\x32\x1f.google.protobuf.MessageOptions\x1a,\n\x0e\x45xtensionRange\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\"\x94\x05\n\x14\x46ieldDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x03 \x01(\x05\x12:\n\x05label\x18\x04 \x01(\x0e\x32+.google.protobuf.FieldDescriptorProto.Label\x12\x38\n\x04type\x18\x05 \x01(\x0e\x32*.google.protobuf.FieldDescriptorProto.Type\x12\x11\n\ttype_name\x18\x06 \x01(\t\x12\x10\n\x08\x65xtendee\x18\x02 \x01(\t\x12\x15\n\rdefault_value\x18\x07 \x01(\t\x12.\n\x07options\x18\x08 \x01(\x0b\x32\x1d.google.protobuf.FieldOptions\"\xb6\x02\n\x04Type\x12\x0f\n\x0bTYPE_DOUBLE\x10\x01\x12\x0e\n\nTYPE_FLOAT\x10\x02\x12\x0e\n\nTYPE_INT64\x10\x03\x12\x0f\n\x0bTYPE_UINT64\x10\x04\x12\x0e\n\nTYPE_INT32\x10\x05\x12\x10\n\x0cTYPE_FIXED64\x10\x06\x12\x10\n\x0cTYPE_FIXED32\x10\x07\x12\r\n\tTYPE_BOOL\x10\x08\x12\x0f\n\x0bTYPE_STRING\x10\t\x12\x0e\n\nTYPE_GROUP\x10\n\x12\x10\n\x0cTYPE_MESSAGE\x10\x0b\x12\x0e\n\nTYPE_BYTES\x10\x0c\x12\x0f\n\x0bTYPE_UINT32\x10\r\x12\r\n\tTYPE_ENUM\x10\x0e\x12\x11\n\rTYPE_SFIXED32\x10\x0f\x12\x11\n\rTYPE_SFIXED64\x10\x10\x12\x0f\n\x0bTYPE_SINT32\x10\x11\x12\x0f\n\x0bTYPE_SINT64\x10\x12\"C\n\x05Label\x12\x12\n\x0eLABEL_OPTIONAL\x10\x01\x12\x12\n\x0eLABEL_REQUIRED\x10\x02\x12\x12\n\x0eLABEL_REPEATED\x10\x03\"\x8c\x01\n\x13\x45numDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x03(\x0b\x32).google.protobuf.EnumValueDescriptorProto\x12-\n\x07options\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.EnumOptions\"l\n\x18\x45numValueDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x02 \x01(\x05\x12\x32\n\x07options\x18\x03 \x01(\x0b\x32!.google.protobuf.EnumValueOptions\"\x90\x01\n\x16ServiceDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06method\x18\x02 \x03(\x0b\x32&.google.protobuf.MethodDescriptorProto\x12\x30\n\x07options\x18\x03 \x01(\x0b\x32\x1f.google.protobuf.ServiceOptions\"\x7f\n\x15MethodDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ninput_type\x18\x02 \x01(\t\x12\x13\n\x0boutput_type\x18\x03 \x01(\t\x12/\n\x07options\x18\x04 \x01(\x0b\x32\x1e.google.protobuf.MethodOptions\"\xa4\x03\n\x0b\x46ileOptions\x12\x14\n\x0cjava_package\x18\x01 \x01(\t\x12\x1c\n\x14java_outer_classname\x18\x08 \x01(\t\x12\"\n\x13java_multiple_files\x18\n \x01(\x08:\x05\x66\x61lse\x12\x46\n\x0coptimize_for\x18\t \x01(\x0e\x32).google.protobuf.FileOptions.OptimizeMode:\x05SPEED\x12!\n\x13\x63\x63_generic_services\x18\x10 \x01(\x08:\x04true\x12#\n\x15java_generic_services\x18\x11 \x01(\x08:\x04true\x12!\n\x13py_generic_services\x18\x12 \x01(\x08:\x04true\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption\":\n\x0cOptimizeMode\x12\t\n\x05SPEED\x10\x01\x12\r\n\tCODE_SIZE\x10\x02\x12\x10\n\x0cLITE_RUNTIME\x10\x03*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\xb8\x01\n\x0eMessageOptions\x12&\n\x17message_set_wire_format\x18\x01 \x01(\x08:\x05\x66\x61lse\x12.\n\x1fno_standard_descriptor_accessor\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\x94\x02\n\x0c\x46ieldOptions\x12:\n\x05\x63type\x18\x01 \x01(\x0e\x32#.google.protobuf.FieldOptions.CType:\x06STRING\x12\x0e\n\x06packed\x18\x02 \x01(\x08\x12\x19\n\ndeprecated\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\x14\x65xperimental_map_key\x18\t \x01(\t\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption\"/\n\x05\x43Type\x12\n\n\x06STRING\x10\x00\x12\x08\n\x04\x43ORD\x10\x01\x12\x10\n\x0cSTRING_PIECE\x10\x02*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"]\n\x0b\x45numOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"b\n\x10\x45numValueOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"`\n\x0eServiceOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"_\n\rMethodOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\x85\x02\n\x13UninterpretedOption\x12;\n\x04name\x18\x02 \x03(\x0b\x32-.google.protobuf.UninterpretedOption.NamePart\x12\x18\n\x10identifier_value\x18\x03 \x01(\t\x12\x1a\n\x12positive_int_value\x18\x04 \x01(\x04\x12\x1a\n\x12negative_int_value\x18\x05 \x01(\x03\x12\x14\n\x0c\x64ouble_value\x18\x06 \x01(\x01\x12\x14\n\x0cstring_value\x18\x07 \x01(\x0c\x1a\x33\n\x08NamePart\x12\x11\n\tname_part\x18\x01 \x02(\t\x12\x14\n\x0cis_extension\x18\x02 \x02(\x08\x42)\n\x13\x63om.google.protobufB\x10\x44\x65scriptorProtosH\x01')
284
full_name='google.protobuf.
DescriptorProto
.ExtensionRange',
290
name='start', full_name='google.protobuf.
DescriptorProto
.ExtensionRange.start', index=0,
297
name='end', full_name='google.protobuf.
DescriptorProto
.ExtensionRange.end', index=1,
317
name='
DescriptorProto
',
318
full_name='google.protobuf.
DescriptorProto
',
324
name='name', full_name='google.protobuf.
DescriptorProto
.name', index=0,
331
name='field', full_name='google.protobuf.
DescriptorProto
.field', index=1
[
all
...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
parser.cc
529
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
::kExtensionFieldNumber)
[
all
...]
parser.h
286
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,
parser_unittest.cc
[
all
...]
/external/protobuf/src/google/protobuf/
descriptor.pb.h
38
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
: public ::google::protobuf::Message
[
all
...]
descriptor.pb.cc
125
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_)
[
all
...]
descriptor_unittest.cc
60
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
* parent
[
all
...]
descriptor.proto
64
repeated
DescriptorProto
message_type = 4;
73
message
DescriptorProto
{
79
repeated
DescriptorProto
nested_type = 3;
/external/chromium_org/third_party/protobuf/src/google/protobuf/
descriptor.pb.h
40
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
: public ::google::protobuf::Message
[
all
...]
descriptor.pb.cc
140
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_)
[
all
...]
descriptor.proto
69
repeated
DescriptorProto
message_type = 4;
84
message
DescriptorProto
{
90
repeated
DescriptorProto
nested_type = 3;
569
// repeated
DescriptorProto
message_type = 4;
570
// and
DescriptorProto
.field has field number 2:
descriptor_unittest.cc
62
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
* parent
[
all
...]
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
descriptor_test.py
420
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/src/google/protobuf/compiler/
parser.h
216
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);
parser.cc
394
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) {
[
all
...]
parser_unittest.cc
[
all
...]
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DescriptorsTest.java
33
import com.google.protobuf.DescriptorProtos.
DescriptorProto
;
439
.addMessageType(
DescriptorProto
.newBuilder()
471
.addMessageType(
DescriptorProto
.newBuilder()
480
.addMessageType(
DescriptorProto
.newBuilder()
537
.addMessageType(
DescriptorProto
.newBuilder().setName("Bar"))
546
.addMessageType(
DescriptorProto
.newBuilder()
572
.addMessageType(
DescriptorProto
.newBuilder().setName("Bar"))
582
.addMessageType(
DescriptorProto
.newBuilder()
616
.addMessageType(
DescriptorProto
.newBuilder()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
java_message.h
60
//
DescriptorProto
bootstrapping to work.
/external/protobuf/src/google/protobuf/compiler/java/
java_message.h
60
//
DescriptorProto
bootstrapping to work.
/external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_message.h
61
//
DescriptorProto
bootstrapping to work.
/external/protobuf/src/google/protobuf/compiler/javanano/
javanano_message.h
61
//
DescriptorProto
bootstrapping to work.
/external/chromium_org/third_party/protobuf/python/google/protobuf/
descriptor.py
291
"""Copies this to a descriptor_pb2.
DescriptorProto
.
294
proto: An empty descriptor_pb2.
DescriptorProto
.
689
"""Make a protobuf Descriptor given a
DescriptorProto
protobuf.
692
desc_proto: The descriptor_pb2.
DescriptorProto
protobuf message.
/external/protobuf/java/src/test/java/com/google/protobuf/
DescriptorsTest.java
33
import com.google.protobuf.DescriptorProtos.
DescriptorProto
;
435
.addMessageType(
DescriptorProto
.newBuilder()
Completed in 2500 milliseconds
1
2