Home
last modified time | relevance | path

Searched refs:EnumDescriptorProto (Results 1 – 16 of 16) sorted by relevance

/external/protobuf/src/google/protobuf/
Ddescriptor.pb.h44 class EnumDescriptorProto; variable
372 inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
373 inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
374 inline ::google::protobuf::EnumDescriptorProto* add_enum_type();
375 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
377 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
443 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
653 inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
654 inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
655 inline ::google::protobuf::EnumDescriptorProto* add_enum_type();
[all …]
Ddescriptor.pb.cc221 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, name_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
222 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, value_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
223 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, options_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
228 EnumDescriptorProto::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
230 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, _has_bits_[0]), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
231 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, _unknown_fields_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
235 sizeof(EnumDescriptorProto)); in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
515 EnumDescriptorProto_descriptor_, &EnumDescriptorProto::default_instance()); in protobuf_RegisterTypes()
561 delete EnumDescriptorProto::default_instance_; in protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto()
720 EnumDescriptorProto::default_instance_ = new EnumDescriptorProto(); in protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto()
[all …]
Ddescriptor_unittest.cc74 EnumDescriptorProto* AddEnum(FileDescriptorProto* file, const string& name) { in AddEnum()
75 EnumDescriptorProto* result = file->add_enum_type(); in AddEnum()
80 EnumDescriptorProto* AddNestedEnum(DescriptorProto* parent, in AddNestedEnum()
82 EnumDescriptorProto* result = parent->add_enum_type(); in AddNestedEnum()
142 EnumValueDescriptorProto* AddEnumValue(EnumDescriptorProto* enum_proto, in AddEnumValue()
956 EnumDescriptorProto* enum_proto = AddEnum(&foo_file, "TestEnum"); in SetUp()
965 EnumDescriptorProto* enum2_proto = AddEnum(&bar_file, "TestEnum2"); in SetUp()
1277 EnumDescriptorProto* baz = AddNestedEnum(message, "Baz"); in SetUp()
1279 EnumDescriptorProto* qux = AddNestedEnum(message, "Qux"); in SetUp()
1289 EnumDescriptorProto* qux2 = AddNestedEnum(message2, "Qux"); in SetUp()
[all …]
Ddescriptor.h82 class EnumDescriptorProto; variable
721 void CopyTo(EnumDescriptorProto* proto) const;
Ddescriptor.cc1684 void EnumDescriptor::CopyTo(EnumDescriptorProto* proto) const { in CopyTo()
2239 output->push_back(EnumDescriptorProto::kValueFieldNumber); in GetLocationPath()
2488 void BuildEnum(const EnumDescriptorProto& proto,
2513 const EnumDescriptorProto& proto);
2663 const EnumDescriptorProto& proto);
3911 void DescriptorBuilder::BuildEnum(const EnumDescriptorProto& proto, in BuildEnum()
4374 EnumDescriptor* enum_type, const EnumDescriptorProto& proto) { in CrossLinkEnum()
4557 const EnumDescriptorProto& proto) { in ValidateEnumOptions()
Ddescriptor.proto70 repeated EnumDescriptorProto enum_type = 5;
91 repeated EnumDescriptorProto enum_type = 4;
184 message EnumDescriptorProto { message
/external/protobuf/src/google/protobuf/compiler/
Dparser.h291 bool ParseEnumDefinition(EnumDescriptorProto* enum_type,
315 bool ParseEnumBlock(EnumDescriptorProto* enum_type,
327 bool ParseEnumStatement(EnumDescriptorProto* message,
Dparser.cc1328 bool Parser::ParseEnumDefinition(EnumDescriptorProto* enum_type, in ParseEnumDefinition()
1335 EnumDescriptorProto::kNameFieldNumber); in ParseEnumDefinition()
1345 bool Parser::ParseEnumBlock(EnumDescriptorProto* enum_type, in ParseEnumBlock()
1366 bool Parser::ParseEnumStatement(EnumDescriptorProto* enum_type, in ParseEnumStatement()
1374 EnumDescriptorProto::kOptionsFieldNumber); in ParseEnumStatement()
1379 EnumDescriptorProto::kValueFieldNumber, enum_type->value_size()); in ParseEnumStatement()
Dparser_unittest.cc2170 const EnumDescriptorProto& bar = file_.message_type(0).enum_type(0); in TEST_F()
2171 const EnumDescriptorProto& baz = file_.message_type(0).enum_type(1); in TEST_F()
/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java34 import com.google.protobuf.DescriptorProtos.EnumDescriptorProto;
640 .addEnumType(EnumDescriptorProto.newBuilder() in testComplexNamespacePublicDependency()
712 .addEnumType(EnumDescriptorProto.newBuilder() in testPackedEnumField()
/external/protobuf/java/src/main/java/com/google/protobuf/
DDescriptors.java1373 public EnumDescriptorProto toProto() { return proto; } in toProto()
1425 private EnumDescriptorProto proto;
1431 private EnumDescriptor(final EnumDescriptorProto proto, in EnumDescriptor()
1459 private void setProto(final EnumDescriptorProto proto) { in setProto()
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto70 repeated EnumDescriptorProto enum_type = 5;
91 repeated EnumDescriptorProto enum_type = 4;
171 message EnumDescriptorProto { message
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py475 descriptor_pb2.EnumDescriptorProto,
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc430 EnumDescriptorProto edp; in PrintEnum()
/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pb2.py1255 class EnumDescriptorProto(_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/ ...