Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Ddynamic_message.cc111 case FieldOptions::STRING: in FieldSpaceUsed()
133 case FieldOptions::STRING: in FieldSpaceUsed()
164 case FieldOptions::STRING: in OneofFieldSpaceUsed()
331 case FieldOptions::STRING: in DynamicMessage()
393 case FieldOptions::STRING: in ~DynamicMessage()
426 case FieldOptions::STRING: in ~DynamicMessage()
442 case FieldOptions::STRING: { in ~DynamicMessage()
725 case FieldOptions::STRING: in ConstructDefaultOneofInstance()
755 case FieldOptions::STRING: in DeleteDefaultOneofInstance()
Ddescriptor.pb.h50 class FieldOptions; variable
920 inline const ::google::protobuf::FieldOptions& options() const;
921 inline ::google::protobuf::FieldOptions* mutable_options();
922 inline ::google::protobuf::FieldOptions* release_options();
923 inline void set_allocated_options(::google::protobuf::FieldOptions* options);
958 ::google::protobuf::FieldOptions* options_;
1862 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message {
1864 FieldOptions();
1865 virtual ~FieldOptions();
1867 FieldOptions(const FieldOptions& from);
[all …]
Ddescriptor.pb.cc336 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, ctype_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
337 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, packed_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
338 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, lazy_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
339 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, deprecated_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
340 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, experimental_map_key_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
341 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, weak_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
342 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, uninterpreted_option_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
347 FieldOptions::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
349 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _has_bits_[0]), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
350 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _unknown_fields_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
[all …]
Dgenerated_message_reflection.cc271 case FieldOptions::STRING: in SpaceUsed()
305 case FieldOptions::STRING: { in SpaceUsed()
398 case FieldOptions::STRING: in SwapField()
718 case FieldOptions::STRING: in ClearField()
758 case FieldOptions::STRING: in ClearField()
804 case FieldOptions::STRING: in RemoveLast()
997 case FieldOptions::STRING: in DEFINE_PRIMITIVE_ACCESSORS()
1016 case FieldOptions::STRING: in GetStringReference()
1036 case FieldOptions::STRING: { in SetString()
1062 case FieldOptions::STRING: in GetRepeatedString()
[all …]
Ddescriptor.h88 class FieldOptions; variable
528 const FieldOptions& options() const;
556 typedef FieldOptions OptionsType;
588 const FieldOptions* options_;
1499 PROTOBUF_DEFINE_OPTIONS_ACCESSOR(FieldDescriptor, FieldOptions)
Dunittest_custom_options.proto64 extend google.protobuf.FieldOptions {
333 extend google.protobuf.FieldOptions { optional Aggregate fieldopt = 15481374; }
Dmessage.cc221 FieldDescriptor::CPPTYPE_STRING, FieldOptions::STRING, NULL); in MutableRawRepeatedString()
Ddescriptor_unittest.cc2008 TEST_F(MiscTest, FieldOptions) { in TEST_F() argument
2023 FieldOptions* options = bar_proto->mutable_options(); in TEST_F()
2024 options->set_ctype(FieldOptions::CORD); in TEST_F()
2039 EXPECT_EQ(&FieldOptions::default_instance(), &foo->options()); in TEST_F()
2042 EXPECT_NE(&FieldOptions::default_instance(), options); in TEST_F()
2044 EXPECT_EQ(FieldOptions::CORD, bar->options().ctype()); in TEST_F()
2403 EXPECT_EQ(FieldOptions::CORD, field->options().ctype()); in TEST()
Ddescriptor.proto175 optional FieldOptions options = 8;
384 message FieldOptions { message
Ddescriptor.cc1675 if (&options() != &FieldOptions::default_instance()) { in CopyTo()
4165 field->options_ = &FieldOptions::default_instance(); in CrossLinkField()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.cc113 case FieldOptions::STRING: in MakeGenerator()
128 case FieldOptions::STRING: in MakeGenerator()
143 case FieldOptions::STRING: in MakeGenerator()
Dcpp_string_field.cc111 if (descriptor_->options().ctype() != FieldOptions::STRING) { in GenerateAccessorDeclarations()
130 if (descriptor_->options().ctype() != FieldOptions::STRING) { in GenerateAccessorDeclarations()
467 if (descriptor_->options().ctype() != FieldOptions::STRING) { in GenerateAccessorDeclarations()
495 if (descriptor_->options().ctype() != FieldOptions::STRING) { in GenerateAccessorDeclarations()
/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java219 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), in testFieldDescriptor()
238 assertEquals(DescriptorProtos.FieldOptions.CType.CORD, in testFieldDescriptor()
250 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), in testFieldDescriptor()
726 .setOptions(DescriptorProtos.FieldOptions.newBuilder() in testPackedEnumField()
/external/nanopb-c/generator/proto/
Dnanopb.proto65 extend google.protobuf.FieldOptions {
Dnanopb_pb2.py161 google.protobuf.descriptor_pb2.FieldOptions.RegisterExtension(nanopb)
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py132 descriptor_pb2.FieldOptions())
Dreflection_test.py1005 options=descriptor_pb2.FieldOptions())
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc401 TEST_F(ParseMessageTest, FieldOptions) { in TEST_F() argument
2365 TEST_F(SourceInfoTest, FieldOptions) { in TEST_F() argument
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto167 optional FieldOptions options = 8;
340 message FieldOptions { message
/external/protobuf/
DCHANGES.txt153 extend google.protobuf.FieldOptions {
496 extend google.protobuf.FieldOptions {
/external/nanopb-c/generator/
Dnanopb_generator.py926 if isinstance(subdesc.options, descriptor.FieldOptions):
/external/protobuf/java/src/main/java/com/google/protobuf/
DDescriptors.java923 public FieldOptions getOptions() { return proto.getOptions(); } in getOptions()
/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pb2.py1291 class FieldOptions(_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/ ...