Home
last modified time | relevance | path

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

123

/external/rust/crates/protobuf/src/
Drustproto.rs55 …pub const expose_fields_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, crate…
57 …rate_accessors_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, crate::types::…
59 …ytes_for_bytes_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, crate::types::…
61 …tes_for_string_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, crate::types::…
Ddescriptor.rs2148 pub options: crate::SingularPtrField<FieldOptions>,
2427 pub fn get_options(&self) -> &FieldOptions { in get_options() argument
2428 … self.options.as_ref().unwrap_or_else(|| <FieldOptions as crate::Message>::default_instance()) in get_options()
2439 pub fn set_options(&mut self, v: FieldOptions) { in set_options() argument
2445 pub fn mut_options(&mut self) -> &mut FieldOptions { in mut_options() argument
2453 pub fn take_options(&mut self) -> FieldOptions { in take_options() argument
2454 self.options.take().unwrap_or_else(|| FieldOptions::new()) in take_options()
2706 …::accessor::make_singular_ptr_field_accessor::<_, crate::types::ProtobufTypeMessage<FieldOptions>>( in descriptor_static()
6123 pub struct FieldOptions { struct
6139 impl<'a> ::std::default::Default for &'a FieldOptions { argument
[all …]
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc134 case FieldOptions::STRING: in FieldSpaceUsed()
164 case FieldOptions::STRING: in FieldSpaceUsed()
203 case FieldOptions::STRING: in OneofFieldSpaceUsed()
399 case FieldOptions::STRING: in SharedCtor()
492 case FieldOptions::STRING: { in ~DynamicMessage()
532 case FieldOptions::STRING: in ~DynamicMessage()
552 case FieldOptions::STRING: { in ~DynamicMessage()
842 case FieldOptions::STRING: in ConstructDefaultOneofInstance()
867 case FieldOptions::STRING: in DeleteDefaultOneofInstance()
Ddescriptor.pb.h89 class FieldOptions; variable
152 …PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_…
2031 const PROTOBUF_NAMESPACE_ID::FieldOptions& options() const;
2032 PROTOBUF_NAMESPACE_ID::FieldOptions* release_options();
2033 PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options();
2034 void set_allocated_options(PROTOBUF_NAMESPACE_ID::FieldOptions* options);
2036 PROTOBUF_NAMESPACE_ID::FieldOptions* options);
2037 PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options();
2078 PROTOBUF_NAMESPACE_ID::FieldOptions* options_;
4059 class PROTOBUF_EXPORT FieldOptions :
[all …]
Dgenerated_message_reflection.cc275 case FieldOptions::STRING: in SpaceUsedLong()
316 case FieldOptions::STRING: { in SpaceUsedLong()
384 case FieldOptions::STRING: in SwapField()
449 case FieldOptions::STRING: { in SwapField()
827 case FieldOptions::STRING: { in ClearField()
880 case FieldOptions::STRING: in ClearField()
929 case FieldOptions::STRING: in RemoveLast()
1160 case FieldOptions::STRING: { in DEFINE_PRIMITIVE_ACCESSORS()
1181 case FieldOptions::STRING: { in GetStringReference()
1202 case FieldOptions::STRING: { in SetString()
[all …]
Ddescriptor.pb.cc106 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FieldOptions> _instance;
313 new (ptr) PROTOBUF_NAMESPACE_ID::FieldOptions(); in InitDefaultsscc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto()
316 PROTOBUF_NAMESPACE_ID::FieldOptions::InitAsDefaultInstance(); in InitDefaultsscc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto()
818 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _has_bits_),
819 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _internal_metadata_),
820 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _extensions_),
823 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, ctype_),
824 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, packed_),
825 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, jstype_),
826 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, lazy_),
[all …]
Ddescriptor.h103 class FieldOptions; variable
703 const FieldOptions& options() const;
749 typedef FieldOptions OptionsType;
804 const FieldOptions* options_;
1931 PROTOBUF_DEFINE_OPTIONS_ACCESSOR(FieldDescriptor, FieldOptions) in PROTOBUF_DEFINE_STRING_ACCESSOR()
Dmessage.cc329 if (field->options().ctype() == FieldOptions::STRING || in ParseLenDelim()
344 if (field->options().ctype() == FieldOptions::STRING || in ParseLenDelim()
697 case FieldOptions::STRING: in RepeatedFieldAccessor()
/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/protobuf/php/src/Google/Protobuf/Internal/
DFieldOptions_JSType.php14 class_exists(FieldOptions\JSType::class);
DFieldOptions_CType.php14 class_exists(FieldOptions\CType::class);
DFieldOptions.php16 class FieldOptions extends \Google\Protobuf\Internal\Message class
DFieldDescriptorProto.php460 GPBUtil::checkMessage($var, \Google\Protobuf\Internal\FieldOptions::class);
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc823 EffectiveStringCType(field, options) == FieldOptions::STRING_PIECE; in IsStringPieceField()
846 EffectiveStringCType(field, options) == FieldOptions::CORD; in IsCordField()
941 FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field, in EffectiveStringCType()
946 return FieldOptions::STRING; in EffectiveStringCType()
1161 if (field->options().ctype() == FieldOptions::CORD) { in GetSCCAnalysis()
1455 FieldOptions::CType ctype = FieldOptions::STRING; in GenerateStrings()
1466 field->containing_oneof() == nullptr && ctype == FieldOptions::STRING) { in GenerateStrings()
1472 case FieldOptions::STRING: in GenerateStrings()
1475 case FieldOptions::CORD: in GenerateStrings()
1478 case FieldOptions::STRING_PIECE: in GenerateStrings()
Dcpp_message.cc1598 EffectiveStringCType(field, options_) != FieldOptions::STRING)) { in GenerateExtraDefaultFields()
2165 case FieldOptions::STRING: in GenerateParseOffsets()
2171 case FieldOptions::CORD: in GenerateParseOffsets()
2174 case FieldOptions::STRING_PIECE: in GenerateParseOffsets()
2180 case FieldOptions::STRING: in GenerateParseOffsets()
2186 case FieldOptions::CORD: in GenerateParseOffsets()
2189 case FieldOptions::STRING_PIECE: in GenerateParseOffsets()
2293 case FieldOptions::STRING: in GenerateParseAuxTable()
2301 case FieldOptions::CORD: in GenerateParseAuxTable()
2302 case FieldOptions::STRING_PIECE: in GenerateParseAuxTable()
Dcpp_helpers.h309 FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field,
314 EffectiveStringCType(field, options) == FieldOptions::CORD; in IsCord()
320 EffectiveStringCType(field, options) == FieldOptions::STRING_PIECE; in IsStringPiece()
/external/protobuf/php/src/Google/Protobuf/Internal/FieldOptions/
DJSType.php5 namespace Google\Protobuf\Internal\FieldOptions;
DCType.php5 namespace Google\Protobuf\Internal\FieldOptions;
/external/rust/crates/protobuf-codegen/src/
Dcustomize.rs1 use protobuf::descriptor::FieldOptions;
165 pub fn customize_from_rustproto_for_field(source: &FieldOptions) -> Customize { in customize_from_rustproto_for_field()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs177FieldOptions), global::Google.Protobuf.Reflection.FieldOptions.Parser, new[]{ "Ctype", "Packed", "… in DescriptorReflection()
2046 private global::Google.Protobuf.Reflection.FieldOptions options_;
2048 public global::Google.Protobuf.Reflection.FieldOptions Options {
2235 Options = new global::Google.Protobuf.Reflection.FieldOptions(); in MergeFrom()
2280 Options = new global::Google.Protobuf.Reflection.FieldOptions(); in MergeFrom()
5298 internal sealed partial class FieldOptions : pb::IExtendableMessage<FieldOptions> { class
5299 … static readonly pb::MessageParser<FieldOptions> _parser = new pb::MessageParser<FieldOptions>(() …
5301 internal pb::ExtensionSet<FieldOptions> _extensions;
5304 public static pb::MessageParser<FieldOptions> Parser { get { return _parser; } }
5317 public FieldOptions() { in FieldOptions() method in Google.Protobuf.Reflection.FieldOptions
[all …]
/external/perfetto/protos/perfetto/metrics/
Dcustom_options.proto23 extend google.protobuf.FieldOptions {
/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/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()
/external/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()
/external/grpc-grpc/third_party/nanopb/generator/proto/
Dnanopb.proto94 extend google.protobuf.FieldOptions {

123