Home
last modified time | relevance | path

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

12

/third_party/protobuf/src/google/protobuf/
Ddynamic_message.cc159 case FieldOptions::STRING: in FieldSpaceUsed()
189 case FieldOptions::STRING: in FieldSpaceUsed()
228 case FieldOptions::STRING: in OneofFieldSpaceUsed()
426 case FieldOptions::STRING: in SharedCtor()
517 case FieldOptions::STRING: { in ~DynamicMessage()
557 case FieldOptions::STRING: in ~DynamicMessage()
577 case FieldOptions::STRING: { in ~DynamicMessage()
880 case FieldOptions::STRING: in ConstructDefaultOneofInstance()
906 case FieldOptions::STRING: in DeleteDefaultOneofInstance()
Ddescriptor.pb.h89 class FieldOptions; variable
152 …PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_…
2061 const PROTOBUF_NAMESPACE_ID::FieldOptions& options() const;
2062 PROTOBUF_NAMESPACE_ID::FieldOptions* release_options();
2063 PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options();
2064 void set_allocated_options(PROTOBUF_NAMESPACE_ID::FieldOptions* options);
2066 const PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const;
2067 PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_options();
2070 PROTOBUF_NAMESPACE_ID::FieldOptions* options);
2071 PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options();
[all …]
Ddescriptor.pb.cc105 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FieldOptions> _instance;
312 new (ptr) PROTOBUF_NAMESPACE_ID::FieldOptions(); in InitDefaultsscc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto()
315 PROTOBUF_NAMESPACE_ID::FieldOptions::InitAsDefaultInstance(); in InitDefaultsscc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto()
817 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _has_bits_),
818 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _internal_metadata_),
819 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _extensions_),
822 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, ctype_),
823 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, packed_),
824 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, jstype_),
825 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, lazy_),
[all …]
Dgenerated_message_reflection.cc274 case FieldOptions::STRING: in SpaceUsedLong()
315 case FieldOptions::STRING: { in SpaceUsedLong()
385 case FieldOptions::STRING: in SwapField()
450 case FieldOptions::STRING: { in SwapField()
837 case FieldOptions::STRING: { in ClearField()
890 case FieldOptions::STRING: in ClearField()
940 case FieldOptions::STRING: in RemoveLast()
1195 case FieldOptions::STRING: { in DEFINE_PRIMITIVE_ACCESSORS()
1216 case FieldOptions::STRING: { in GetStringReference()
1237 case FieldOptions::STRING: { in SetString()
[all …]
Ddescriptor.h105 class FieldOptions; variable
791 const FieldOptions& options() const;
837 typedef FieldOptions OptionsType;
891 const FieldOptions* options_;
2037 PROTOBUF_DEFINE_OPTIONS_ACCESSOR(FieldDescriptor, FieldOptions) in PROTOBUF_DEFINE_STRING_ACCESSOR()
Dmessage.cc311 case FieldOptions::STRING: in RepeatedFieldAccessor()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DFieldOptions.php16 class FieldOptions extends \Google\Protobuf\Internal\Message class
208 GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldOptions\CType::class);
306 GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldOptions\JSType::class);
DFieldOptions_CType.php14 class_exists(FieldOptions\CType::class);
DFieldOptions_JSType.php14 class_exists(FieldOptions\JSType::class);
DFieldDescriptorProto.php538 GPBUtil::checkMessage($var, \Google\Protobuf\Internal\FieldOptions::class);
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc207 bool HasInternalAccessors(const FieldOptions::CType ctype) { in HasInternalAccessors()
208 return ctype == FieldOptions::STRING || ctype == FieldOptions::CORD; in HasInternalAccessors()
867 EffectiveStringCType(field, options) == FieldOptions::STRING_PIECE; in IsStringPieceField()
890 EffectiveStringCType(field, options) == FieldOptions::CORD; in IsCordField()
985 FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field, in EffectiveStringCType()
990 return FieldOptions::STRING; in EffectiveStringCType()
1186 if (field->options().ctype() == FieldOptions::CORD) { in GetSCCAnalysis()
1467 FieldOptions::CType ctype = FieldOptions::STRING; in GenerateStrings()
1478 ctype == FieldOptions::STRING) { in GenerateStrings()
1483 case FieldOptions::STRING: in GenerateStrings()
[all …]
Dcpp_message.cc1651 EffectiveStringCType(field, options_) != FieldOptions::STRING)) { in GenerateExtraDefaultFields()
2227 case FieldOptions::STRING: in GenerateParseOffsets()
2233 case FieldOptions::CORD: in GenerateParseOffsets()
2236 case FieldOptions::STRING_PIECE: in GenerateParseOffsets()
2242 case FieldOptions::STRING: in GenerateParseOffsets()
2248 case FieldOptions::CORD: in GenerateParseOffsets()
2251 case FieldOptions::STRING_PIECE: in GenerateParseOffsets()
2355 case FieldOptions::STRING: in GenerateParseAuxTable()
2363 case FieldOptions::CORD: in GenerateParseAuxTable()
2364 case FieldOptions::STRING_PIECE: in GenerateParseAuxTable()
Dcpp_helpers.h325 FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field,
330 EffectiveStringCType(field, options) == FieldOptions::CORD; in IsCord()
336 EffectiveStringCType(field, options) == FieldOptions::STRING_PIECE; in IsStringPiece()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestSelfreferentialOptions.cs55 …public static readonly pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, int> BarOpti…
56 …new pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, int>(1000, pb::FieldCodec.ForIn…
57 …public static readonly pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, global::Unit…
58 …new pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, global::UnitTest.Issues.TestPro…
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs331 public FieldOptions GetOptions() => Proto.Options?.Clone(); in GetOptions()
337 public T GetOption<T>(Extension<FieldOptions, T> extension) in GetOption() argument
347 public RepeatedField<T> GetOption<T>(RepeatedExtension<FieldOptions, T> extension) in GetOption() argument
DDescriptor.cs178FieldOptions), global::Google.Protobuf.Reflection.FieldOptions.Parser, new[]{ "Ctype", "Packed", "… in DescriptorReflection()
2423 private global::Google.Protobuf.Reflection.FieldOptions options_;
2425 public global::Google.Protobuf.Reflection.FieldOptions Options {
2715 Options = new global::Google.Protobuf.Reflection.FieldOptions(); in MergeFrom()
2766 Options = new global::Google.Protobuf.Reflection.FieldOptions(); in MergeFrom()
2827 Options = new global::Google.Protobuf.Reflection.FieldOptions(); in IBufferMessage.InternalMergeFrom()
6465 public sealed partial class FieldOptions : pb::IExtendableMessage<FieldOptions> class
6470 … static readonly pb::MessageParser<FieldOptions> _parser = new pb::MessageParser<FieldOptions>(() …
6472 internal pb::ExtensionSet<FieldOptions> _extensions;
6473 private pb::ExtensionSet<FieldOptions> _Extensions { get { return _extensions; } }
[all …]
/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldOptions/
DCType.php5 namespace Google\Protobuf\Internal\FieldOptions;
DJSType.php5 namespace Google\Protobuf\Internal\FieldOptions;
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java206 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), primitiveField.getOptions()); in testFieldDescriptor()
223 assertEquals(DescriptorProtos.FieldOptions.CType.CORD, cordField.getOptions().getCtype()); in testFieldDescriptor()
232 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), extension.getOptions()); in testFieldDescriptor()
771 DescriptorProtos.FieldOptions.newBuilder().setPacked(true).build()) in testPackedEnumField()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java216 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), in testFieldDescriptor()
235 assertEquals(DescriptorProtos.FieldOptions.CType.CORD, in testFieldDescriptor()
247 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), in testFieldDescriptor()
/third_party/protobuf/csharp/protos/
Dunittest_custom_options_proto3.proto67 extend google.protobuf.FieldOptions {
292 extend google.protobuf.FieldOptions { Aggregate fieldopt = 15481374; }
Dunittest_selfreferential_options.proto54 extend google.protobuf.FieldOptions {
/third_party/protobuf/python/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest_custom_options.proto64 extend google.protobuf.FieldOptions {
327 extend google.protobuf.FieldOptions { optional Aggregate fieldopt = 15481374; }
/third_party/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Dunittest_custom_options.proto64 extend google.protobuf.FieldOptions {
327 extend google.protobuf.FieldOptions { optional Aggregate fieldopt = 15481374; }
/third_party/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest_custom_options.proto64 extend google.protobuf.FieldOptions {
327 extend google.protobuf.FieldOptions { optional Aggregate fieldopt = 15481374; }

12