Home
last modified time | relevance | path

Searched refs:Proto (Results 1 - 25 of 36) sorted by relevance

12

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DFieldDescriptor.cs88 internal FieldDescriptorProto Proto { get; } property in Google.Protobuf.Reflection.FieldDescriptor
99 Proto = proto; in FieldDescriptor()
112 if (proto.OneofIndex < 0 || proto.OneofIndex >= parent.Proto.OneofDecl.Count) in FieldDescriptor()
128 JsonName = Proto.JsonName == "" ? JsonFormatter.ToJsonName(Proto.Name) : Proto.JsonName; in FieldDescriptor()
135 public override string Name => Proto.Name;
213 public bool IsRepeated => Proto.Label == FieldDescriptorProto.Types.Label.Repeated;
218 public bool IsRequired => Proto.Label == FieldDescriptorProto.Types.Label.Required;
223 public bool IsMap => fieldType == FieldType.Message && messageType.Proto
[all...]
H A DMethodDescriptor.cs77 public CustomOptions CustomOptions => new CustomOptions(Proto.Options?._extensions?.ValuesByNumber);
85 public MethodOptions GetOptions() => Proto.Options?.Clone(); in GetOptions()
93 var value = Proto.Options.GetExtension(extension); in GetOption()
103 return Proto.Options.GetExtension(extension).Clone(); in GetOption()
115 internal MethodDescriptorProto Proto { get { return proto; } } property in Google.Protobuf.Reflection.MethodDescriptor
124 IDescriptor lookup = File.DescriptorPool.LookupSymbol(Proto.InputType, this); in CrossLink()
127 throw new DescriptorValidationException(this, "\"" + Proto.InputType + "\" is not a message type."); in CrossLink()
131 lookup = File.DescriptorPool.LookupSymbol(Proto.OutputType, this); in CrossLink()
134 throw new DescriptorValidationException(this, "\"" + Proto.OutputType + "\" is not a message type."); in CrossLink()
H A DEnumValueDescriptor.cs56 internal EnumValueDescriptorProto Proto { get { return proto; } } property in Google.Protobuf.Reflection.EnumValueDescriptor
66 public int Number { get { return Proto.Number; } }
77 public CustomOptions CustomOptions => new CustomOptions(Proto.Options?._extensions?.ValuesByNumber);
85 public EnumValueOptions GetOptions() => Proto.Options?.Clone(); in GetOptions()
93 var value = Proto.Options.GetExtension(extension); in GetOption()
103 return Proto.Options.GetExtension(extension).Clone(); in GetOption()
H A DEnumDescriptor.cs69 internal EnumDescriptorProto Proto { get { return proto; } } property in Google.Protobuf.Reflection.EnumDescriptor
132 public CustomOptions CustomOptions => new CustomOptions(Proto.Options?._extensions?.ValuesByNumber);
140 public EnumOptions GetOptions() => Proto.Options?.Clone(); in GetOptions()
148 var value = Proto.Options.GetExtension(extension); in GetOption()
158 return Proto.Options.GetExtension(extension).Clone(); in GetOption()
H A DServiceDescriptor.cs74 internal ServiceDescriptorProto Proto { get { return proto; } } property in Google.Protobuf.Reflection.ServiceDescriptor
98 public CustomOptions CustomOptions => new CustomOptions(Proto.Options?._extensions?.ValuesByNumber);
106 public ServiceOptions GetOptions() => Proto.Options?.Clone(); in GetOptions()
114 var value = Proto.Options.GetExtension(extension); in GetOption()
124 return Proto.Options.GetExtension(extension).Clone(); in GetOption()
H A DMessageDescriptor.cs72 Proto = proto; in MessageDescriptor()
114 // TODO: Use field => field.Proto.JsonName when we're confident it's appropriate. (And then use it in the formatter, too.) in MessageDescriptor()
134 public override string Name => Proto.Name;
151 internal DescriptorProto Proto { get; } property in Google.Protobuf.Reflection.MessageDescriptor
155 if (Proto.ExtensionRange.Count == 0) in IsExtensionsInitialized()
291 public CustomOptions CustomOptions => new CustomOptions(Proto.Options?._extensions?.ValuesByNumber);
299 public MessageOptions GetOptions() => Proto.Options?.Clone(); in GetOptions()
307 var value = Proto.Options.GetExtension(extension); in GetOption()
317 return Proto.Options.GetExtension(extension).Clone(); in GetOption()
H A DFileDescriptor.cs87 Proto = proto; in FileDescriptor()
127 foreach (var location in Proto.SourceCodeInfo?.Location ?? Enumerable.Empty<Location>()) in CreateDeclarationMap()
250 internal FileDescriptorProto Proto { get; } property in Google.Protobuf.Reflection.FileDescriptor
260 public string Name => Proto.Name;
266 public string Package => Proto.Package;
551 public CustomOptions CustomOptions => new CustomOptions(Proto.Options?._extensions?.ValuesByNumber);
559 public FileOptions GetOptions() => Proto.Options?.Clone(); in GetOptions()
567 var value = Proto.Options.GetExtension(extension); in GetOption()
577 return Proto.Options.GetExtension(extension).Clone(); in GetOption()
H A DExtensionCollection.cs50 file.Proto.Extension, in ExtensionCollection()
66 message.Proto.Extension, in ExtensionCollection()
H A DSingleFieldAccessor.cs88 else if (descriptor.File.Syntax == Syntax.Proto2 || descriptor.Proto.Proto3Optional) in SingleFieldAccessor()
H A DOneofDescriptor.cs62 var firstFieldInOneof = parent.Proto.Field.FirstOrDefault(fieldProto => fieldProto.HasOneofIndex && fieldProto.OneofIndex == index); in OneofDescriptor()
H A DDescriptorPool.cs231 ObjectIntPair<IDescriptor> key = new ObjectIntPair<IDescriptor>(field.Proto.HasExtendee ? field.ExtendeeType : field.ContainingType, field.FieldNumber); in AddFieldByNumber()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs54 Assert.AreEqual("UnittestProto", file.Proto.Options.JavaOuterClassname); in FileDescriptor()
55 Assert.AreEqual("google/protobuf/unittest_proto3.proto", file.Proto.Name); in FileDescriptor()
100 Assert.IsNull(messageType.Proto.Options); in MessageDescriptor()
152 Assert.IsNull(primitiveField.Proto.Options); in FieldDescriptor()
186 Assert.Null(enumType.Proto.Options); in EnumDescriptor()
/third_party/nghttp2/src/
H A Dshrpx_live_check.cc109 get_config()->tls.dyn_rec.idle_timeout, Proto::NONE),
214 case Proto::HTTP1: in initiate_connection()
217 case Proto::HTTP2: in initiate_connection()
361 if (addr_->proto == Proto::HTTP2) { in connected()
420 case Proto::HTTP1: in tls_handshake()
425 case Proto::HTTP2: in tls_handshake()
H A Dshrpx_connection.h107 ev_tstamp tls_dyn_rec_idle_timeout, Proto proto);
185 Proto proto;
H A Dshrpx_connection.cc63 ev_tstamp tls_dyn_rec_idle_timeout, Proto proto) in Connection()
81 ev_io_init(&rev, readcb, proto == Proto::HTTP3 ? 0 : fd, EV_READ); in read_timeout()
101 if (proto != Proto::HTTP3) { in disconnect()
135 if (proto != Proto::HTTP3 && fd != -1) { in disconnect()
158 if (proto != Proto::HTTP3 && !tlsconf.session_cache.memcached.host.empty()) { in prepare_server_handshake()
H A Dshrpx_config.cc959 Proto proto;
1002 out.proto = Proto::HTTP2; in parse_downstream_params()
1005 out.proto = Proto::HTTP1; in parse_downstream_params()
1189 params.proto = Proto::HTTP1; in parse_mapping()
4358 StringRef strproto(Proto proto) { in strproto()
4360 case Proto::NONE: in strproto()
4362 case Proto::HTTP1: in strproto()
4364 case Proto::HTTP2: in strproto()
4366 case Proto::HTTP3: in strproto()
4368 case Proto in strproto()
[all...]
H A Dshrpx_worker.h122 Proto proto;
H A Dshrpx_config.h414 enum class Proto { class
549 Proto proto;
1437 StringRef strproto(Proto proto);
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs78 Assert.AreEqual("UnittestProto", file.Proto.Options.JavaOuterClassname); in TestFileDescriptor()
79 Assert.AreEqual("unittest_proto3.proto", file.Proto.Name); in TestFileDescriptor()
179 Assert.IsNull(messageType.Proto.Options); in MessageDescriptor()
260 Assert.IsNull(primitiveField.Proto.Options); in TestFieldDescriptor()
302 Assert.Null(enumType.Proto.Options); in EnumDescriptor()
/third_party/python/Lib/test/test_asyncio/
H A Dtest_sslproto.py178 class Proto(asyncio.BufferedProtocol): class
199 proto = Proto(1, usemv)
203 proto = Proto(2, usemv)
207 proto = Proto(2, usemv)
211 proto = Proto(4, usemv)
215 proto = Proto(100, usemv)
219 proto = Proto(0, usemv)
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.h235 typedef DescriptorProto Proto; typedef in google::protobuf::Descriptor
385 typedef DescriptorProto_ExtensionRange Proto; typedef
588 typedef FieldDescriptorProto Proto; typedef in google::protobuf::FieldDescriptor
932 typedef OneofDescriptorProto Proto; typedef in google::protobuf::OneofDescriptor
1011 typedef EnumDescriptorProto Proto; typedef in google::protobuf::EnumDescriptor
1168 typedef EnumValueDescriptorProto Proto; typedef in google::protobuf::EnumValueDescriptor
1245 typedef ServiceDescriptorProto Proto; typedef in google::protobuf::ServiceDescriptor
1327 typedef MethodDescriptorProto Proto; typedef in google::protobuf::MethodDescriptor
1413 typedef FileDescriptorProto Proto; typedef in google::protobuf::FileDescriptor
H A Dwire_format_unittest.cc955 template <class Proto>
956 void SetProto3PrimitiveRepeatedFields(Proto* message) { in SetProto3PrimitiveRepeatedFields()
973 template <class Proto>
974 void ExpectProto3PrimitiveRepeatedFieldsSet(const Proto& message) { in ExpectProto3PrimitiveRepeatedFieldsSet()
992 template <class Proto>
993 void TestSerialization(Proto* message, const std::string& expected) { in TestSerialization()
1019 template <class Proto>
1020 void TestParsing(Proto* message, const std::string& compatible_data) { in TestParsing()
/third_party/mbedtls/tests/scripts/
H A Dtcp_client.pl39 Proto => 'tcp',
/third_party/node/deps/openssl/openssl/util/perl/TLSProxy/
H A DProxy.pm117 Proto => "tcp",
203 Proto => 'tcp');
/third_party/openssl/util/perl/TLSProxy/
H A DProxy.pm117 Proto => "tcp",
203 Proto => 'tcp');

Completed in 28 milliseconds

12