Home
last modified time | relevance | path

Searched refs:Proto (Results 1 – 25 of 57) sorted by relevance

123

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
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 …IsMap => fieldType == FieldType.Message && messageType.Proto.Options != null && messageType.Proto.…
234 return Proto.Options?.Packed ?? false;
238 return !Proto.Options.HasPacked || Proto.Options.Packed;
[all …]
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()
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()
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()
DMessageDescriptor.cs72 Proto = proto; 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()
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()
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()
DExtensionCollection.cs50 file.Proto.Extension, in ExtensionCollection()
66 message.Proto.Extension, in ExtensionCollection()
DSingleFieldAccessor.cs88 else if (descriptor.File.Syntax == Syntax.Proto2 || descriptor.Proto.Proto3Optional) in SingleFieldAccessor()
/third_party/curl/tests/data/
Dtest240474 X-Forwarded-Proto: https
80 X-Forwarded-Proto: https
86 X-Forwarded-Proto: https
92 X-Forwarded-Proto: https
Dtest240274 X-Forwarded-Proto: https
80 X-Forwarded-Proto: https
86 X-Forwarded-Proto: https
92 X-Forwarded-Proto: https
Dtest240166 X-Forwarded-Proto: https
Dtest170250 ^X-Forwarded-Proto:.*
Dtest170151 ^X-Forwarded-Proto:.*
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
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/
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()
Dshrpx_connection.h107 ev_tstamp tls_dyn_rec_idle_timeout, Proto proto);
185 Proto proto;
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);
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()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
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/protobuf/src/google/protobuf/
Ddescriptor.h235 typedef DescriptorProto Proto; typedef
385 typedef DescriptorProto_ExtensionRange Proto; typedef
588 typedef FieldDescriptorProto Proto; typedef
932 typedef OneofDescriptorProto Proto; typedef
1011 typedef EnumDescriptorProto Proto; typedef
1168 typedef EnumValueDescriptorProto Proto; typedef
1245 typedef ServiceDescriptorProto Proto; typedef
1327 typedef MethodDescriptorProto Proto; typedef
1413 typedef FileDescriptorProto Proto; typedef
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/python/Lib/test/test_asyncio/
Dtest_sslproto.py173 class Proto(asyncio.BufferedProtocol): class
194 proto = Proto(1, usemv)
198 proto = Proto(2, usemv)
202 proto = Proto(2, usemv)
206 proto = Proto(4, usemv)
210 proto = Proto(100, usemv)
214 proto = Proto(0, usemv)
/third_party/astc-encoder/
D.gitignore12 Proto
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/
DRakefile3 # Proto for tests.
/third_party/mbedtls/tests/scripts/
Dtcp_client.pl39 Proto => 'tcp',

123