Home
last modified time | relevance | path

Searched refs:FieldOptions (Results 1 – 25 of 41) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Ddynamic_message.cc133 case FieldOptions::STRING: in FieldSpaceUsed()
155 case FieldOptions::STRING: in FieldSpaceUsed()
186 case FieldOptions::STRING: in OneofFieldSpaceUsed()
383 case FieldOptions::STRING: in SharedCtor()
452 case FieldOptions::STRING: { in ~DynamicMessage()
493 case FieldOptions::STRING: in ~DynamicMessage()
513 case FieldOptions::STRING: { in ~DynamicMessage()
839 case FieldOptions::STRING: in ConstructDefaultOneofInstance()
865 case FieldOptions::STRING: in DeleteDefaultOneofInstance()
Ddescriptor.pb.h49 class FieldOptions; variable
1175 const ::google::protobuf::FieldOptions& options() const;
1176 ::google::protobuf::FieldOptions* mutable_options();
1177 ::google::protobuf::FieldOptions* release_options();
1178 void set_allocated_options(::google::protobuf::FieldOptions* options);
1215 ::google::protobuf::FieldOptions* options_;
2252 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message {
2254 FieldOptions();
2255 virtual ~FieldOptions();
2257 FieldOptions(const FieldOptions& from);
[all …]
Ddescriptor.pb.cc372 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, ctype_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
373 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, packed_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
374 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, jstype_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
375 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, lazy_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
376 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, deprecated_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
377 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, weak_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
378 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, uninterpreted_option_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
383 FieldOptions::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
385 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _has_bits_[0]), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
387 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _extensions_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
[all …]
Dgenerated_message_reflection.cc314 case FieldOptions::STRING: in SpaceUsed()
354 case FieldOptions::STRING: { in SpaceUsed()
417 case FieldOptions::STRING: in SwapField()
485 case FieldOptions::STRING: in SwapField()
841 case FieldOptions::STRING: { in ClearField()
886 case FieldOptions::STRING: in ClearField()
938 case FieldOptions::STRING: in RemoveLast()
1150 case FieldOptions::STRING: { in DEFINE_PRIMITIVE_ACCESSORS()
1172 case FieldOptions::STRING: { in GetStringReference()
1195 case FieldOptions::STRING: { in SetString()
[all …]
Ddescriptor.h97 class FieldOptions; variable
622 const FieldOptions& options() const;
653 typedef FieldOptions OptionsType;
699 const FieldOptions* options_;
1694 PROTOBUF_DEFINE_OPTIONS_ACCESSOR(FieldDescriptor, FieldOptions) in PROTOBUF_DEFINE_STRING_ACCESSOR()
Dmessage.cc226 FieldDescriptor::CPPTYPE_STRING, FieldOptions::STRING, NULL); in MutableRawRepeatedString()
447 case FieldOptions::STRING: in RepeatedFieldAccessor()
Dunittest_custom_options.proto65 extend google.protobuf.FieldOptions {
334 extend google.protobuf.FieldOptions { optional Aggregate fieldopt = 15481374; }
Ddescriptor_unittest.cc2333 TEST_F(MiscTest, FieldOptions) { in TEST_F() argument
2348 FieldOptions* options = bar_proto->mutable_options(); in TEST_F()
2349 options->set_ctype(FieldOptions::CORD); in TEST_F()
2364 EXPECT_EQ(&FieldOptions::default_instance(), &foo->options()); in TEST_F()
2367 EXPECT_NE(&FieldOptions::default_instance(), options); in TEST_F()
2369 EXPECT_EQ(FieldOptions::CORD, bar->options().ctype()); in TEST_F()
2734 EXPECT_EQ(FieldOptions::CORD, field->options().ctype()); in TEST()
Dno_field_presence_test.cc308 if (field->options().ctype() != google::protobuf::FieldOptions::STRING) { in TEST()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.cc148 case FieldOptions::STRING: in MakeGenerator()
163 case FieldOptions::STRING: in MakeGenerator()
178 case FieldOptions::STRING: in MakeGenerator()
Dcpp_helpers.cc593 FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field) { in EffectiveStringCType()
596 return FieldOptions::STRING; in EffectiveStringCType()
Dcpp_helpers.h252 FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field);
/external/golang-protobuf/protoc-gen-go/descriptor/
Ddescriptor.pb.go826 Options *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
920 func (m *FieldDescriptorProto) GetOptions() *FieldOptions {
1717 type FieldOptions struct { struct
1785 func (m *FieldOptions) Reset() { *m = FieldOptions{} } argument
1786 func (m *FieldOptions) String() string { return proto.CompactTextString(m) } argument
1787 func (*FieldOptions) ProtoMessage() {} argument
1788 func (*FieldOptions) Descriptor() ([]byte, []int) { argument
1796 func (*FieldOptions) ExtensionRangeArray() []proto.ExtensionRange { argument
1800 func (m *FieldOptions) XXX_Unmarshal(b []byte) error { argument
1803 func (m *FieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument
[all …]
/external/syzkaller/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/
Ddescriptor.pb.go794 Options *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
887 func (m *FieldDescriptorProto) GetOptions() *FieldOptions {
1654 type FieldOptions struct { struct
1722 func (m *FieldOptions) Reset() { *m = FieldOptions{} } argument
1723 func (m *FieldOptions) String() string { return proto.CompactTextString(m) } argument
1724 func (*FieldOptions) ProtoMessage() {} argument
1725 func (*FieldOptions) Descriptor() ([]byte, []int) { argument
1733 func (*FieldOptions) ExtensionRangeArray() []proto.ExtensionRange { argument
1736 func (m *FieldOptions) XXX_Unmarshal(b []byte) error { argument
1739 func (m *FieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs156FieldOptions), global::Google.Protobuf.Reflection.FieldOptions.Parser, new[]{ "Ctype", "Packed", "… in DescriptorReflection()
1395 private global::Google.Protobuf.Reflection.FieldOptions options_;
1396 public global::Google.Protobuf.Reflection.FieldOptions Options {
1557 options_ = new global::Google.Protobuf.Reflection.FieldOptions(); in MergeFrom()
1600 options_ = new global::Google.Protobuf.Reflection.FieldOptions(); in MergeFrom()
3372 internal sealed partial class FieldOptions : pb::IMessage<FieldOptions> { class
3373 … static readonly pb::MessageParser<FieldOptions> _parser = new pb::MessageParser<FieldOptions>(() …
3374 public static pb::MessageParser<FieldOptions> Parser { get { return _parser; } }
3384 public FieldOptions() { in FieldOptions() method in Google.Protobuf.Reflection.FieldOptions
3390 public FieldOptions(FieldOptions other) : this() { in FieldOptions() method in Google.Protobuf.Reflection.FieldOptions
[all …]
DPartialClasses.cs48 internal partial class FieldOptions class
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java217 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), in testFieldDescriptor()
236 assertEquals(DescriptorProtos.FieldOptions.CType.CORD, in testFieldDescriptor()
248 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), in testFieldDescriptor()
791 .setOptions(DescriptorProtos.FieldOptions.newBuilder() in testPackedEnumField()
/external/tensorflow/tensorflow/tools/proto_text/
Dgen_proto_text_functions_lib.cc29 using ::tensorflow::protobuf::FieldOptions;
270 CHECK(ctype == FieldOptions::CORD || ctype == FieldOptions::STRING) in AppendFieldValueAppend()
/external/grpc-grpc/third_party/nanopb/generator/proto/
Dnanopb.proto94 extend google.protobuf.FieldOptions {
/external/nanopb-c/generator/proto/
Dnanopb.proto111 extend google.protobuf.FieldOptions {
/external/nanopb-c/generator/nanopb/
Doptions.proto119 extend google.protobuf.FieldOptions {
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc860 const FieldOptions& options(_GetDescriptor(self)->options()); in GetHasOptions()
861 if (&options != &FieldOptions::default_instance()) { in GetHasOptions()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc469 TEST_F(ParseMessageTest, FieldOptions) { in TEST_F() argument
2861 TEST_F(SourceInfoTest, FieldOptions) { in TEST_F() argument
/external/grpc-grpc/third_party/nanopb/generator/proto/google/protobuf/
Ddescriptor.proto180 optional FieldOptions options = 8;
422 message FieldOptions { message
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py132 descriptor_pb2.FieldOptions())

12