Home
last modified time | relevance | path

Searched refs:proto (Results 1 - 25 of 629) sorted by relevance

12345678910>>...26

/third_party/curl/tests/
H A Dserverhelp.pm67 # values for 'proto' variable in order to differentiate different servers.
102 my $proto;
108 $proto = $1;
114 $proto = $1;
121 return($proto, $ipvnum, $idnum);
129 my ($proto, $ipver, $idnum) = @_;
131 $proto = uc($proto) if($proto);
132 die "unsupported protocol: '$proto'" unles
[all...]
H A Dservers.pm219 for my $proto (('ftp', 'gopher', 'http', 'imap', 'pop3', 'smtp', 'http/2', 'http/3')) {
223 my $serv = servername_id("$proto$ssl", $ipvnum, $idnum);
224 my $pidf = server_pidfilename("$LOGDIR/$PIDDIR", "$proto$ssl",
227 my $portf = server_portfilename("$LOGDIR/$PIDDIR", "$proto$ssl",
234 for my $proto (('tftp', 'sftp', 'socks', 'ssh', 'rtsp', 'httptls',
238 my $serv = servername_id($proto, $ipvnum, $idnum);
239 my $pidf = server_pidfilename("$LOGDIR/$PIDDIR", $proto, $ipvnum,
242 my $portf = server_portfilename("$LOGDIR/$PIDDIR", $proto, $ipvnum,
248 for my $proto (('http', 'imap', 'pop3', 'smtp', 'http/2', 'http/3')) {
250 my $serv = servername_id("$proto
[all...]
/third_party/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py135 proto = message_module.TestAllTypes(
141 self.assertEqual(24, proto.optional_int32)
142 self.assertEqual(54.321, proto.optional_double)
143 self.assertEqual('optional_string', proto.optional_string)
145 self.assertFalse(proto.HasField("optional_float"))
149 proto = message_module.TestAllTypes(
156 self.assertEqual([1, 2, 3, 4], list(proto.repeated_int32))
157 self.assertEqual([1.23, 54.321], list(proto.repeated_double))
158 self.assertEqual([True, False, False], list(proto.repeated_bool))
159 self.assertEqual(["optional_string"], list(proto
[all...]
/third_party/protobuf/objectivec/DevTools/
H A Dcompile_testing_protos.sh34 src/google/protobuf/any_test.proto
35 src/google/protobuf/unittest_arena.proto
36 src/google/protobuf/unittest_custom_options.proto
37 src/google/protobuf/unittest_enormous_descriptor.proto
38 src/google/protobuf/unittest_embed_optimize_for.proto
39 src/google/protobuf/unittest_empty.proto
40 src/google/protobuf/unittest_import.proto
41 src/google/protobuf/unittest_import_lite.proto
42 src/google/protobuf/unittest_lite.proto
43 src/google/protobuf/unittest_mset.proto
[all...]
/third_party/protobuf/js/binary/
H A Dproto_test.js38 // CommonJS-LoadFromFile: ../testbinary_pb proto.jspb.test
39 goog.require('proto.jspb.test.ExtendsWithMessage');
40 goog.require('proto.jspb.test.ForeignEnum');
41 goog.require('proto.jspb.test.ForeignMessage');
42 goog.require('proto.jspb.test.TestAllTypes');
43 goog.require('proto.jspb.test.TestExtendable');
44 goog.require('proto.jspb.test.extendOptionalBool');
45 goog.require('proto.jspb.test.extendOptionalBytes');
46 goog.require('proto.jspb.test.extendOptionalDouble');
47 goog.require('proto
[all...]
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
H A Dproto_test.js37 // CommonJS-LoadFromFile: ../testbinary_pb proto.jspb.test
38 goog.require('proto.jspb.test.ExtendsWithMessage');
39 goog.require('proto.jspb.test.ForeignEnum');
40 goog.require('proto.jspb.test.ForeignMessage');
41 goog.require('proto.jspb.test.TestAllTypes');
42 goog.require('proto.jspb.test.TestExtendable');
43 goog.require('proto.jspb.test.extendOptionalBool');
44 goog.require('proto.jspb.test.extendOptionalBytes');
45 goog.require('proto.jspb.test.extendOptionalDouble');
46 goog.require('proto
[all...]
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
H A Dproto_test.js37 // CommonJS-LoadFromFile: ../testbinary_pb proto.jspb.test
38 goog.require('proto.jspb.test.ExtendsWithMessage');
39 goog.require('proto.jspb.test.ForeignEnum');
40 goog.require('proto.jspb.test.ForeignMessage');
41 goog.require('proto.jspb.test.TestAllTypes');
42 goog.require('proto.jspb.test.TestExtendable');
43 goog.require('proto.jspb.test.extendOptionalBool');
44 goog.require('proto.jspb.test.extendOptionalBytes');
45 goog.require('proto.jspb.test.extendOptionalDouble');
46 goog.require('proto
[all...]
/third_party/protobuf/php/tests/
H A Dcompatibility_test.sh10 $PROTOC1 --php_out=generated proto/test_include.proto
13 proto/empty/echo.proto \
14 proto/test.proto \
15 proto/test_no_namespace.proto \
16 proto/test_prefix.proto \
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDescriptors.java71 * FileDescriptor} for a relevant {@code .proto} file. You can obtain it by calling {@code
73 * in that file, and file descriptors for all the imported {@code .proto} files.
76 * google/protobuf/descriptor.proto}.
83 * Describes a {@code .proto} file, including everything defined within. That includes, in
85 * .proto} files (dependencies).
91 return proto; in toProto()
97 return proto.getName(); in getName()
109 return proto.getName(); in getFullName()
113 * Get the proto package name. This is the package name given by the {@code package} statement
114 * in the {@code .proto} fil
279 buildFrom( final FileDescriptorProto proto, final FileDescriptor[] dependencies) buildFrom() argument
296 buildFrom( final FileDescriptorProto proto, final FileDescriptor[] dependencies, final boolean allowUnknownDependencies) buildFrom() argument
492 private FileDescriptorProto proto; global() field in Descriptors.FileDescriptor
501 FileDescriptor( final FileDescriptorProto proto, final FileDescriptor[] dependencies, final DescriptorPool pool, boolean allowUnknownDependencies) FileDescriptor() argument
601 setProto(final FileDescriptorProto proto) setProto() argument
820 private DescriptorProto proto; global() field in Descriptors.Descriptor
861 Descriptor( final DescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) Descriptor() argument
940 setProto(final DescriptorProto proto) setProto() argument
1254 private FieldDescriptorProto proto; global() field in Descriptors.FieldDescriptor
1363 FieldDescriptor( final FieldDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index, final boolean isExtension) FieldDescriptor() argument
1622 setProto(final FieldDescriptorProto proto) setProto() argument
1779 private EnumDescriptorProto proto; global() field in Descriptors.EnumDescriptor
1787 EnumDescriptor( final EnumDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) EnumDescriptor() argument
1814 setProto(final EnumDescriptorProto proto) setProto() argument
1891 private EnumValueDescriptorProto proto; global() field in Descriptors.EnumValueDescriptor
1896 EnumValueDescriptor( final EnumValueDescriptorProto proto, final FileDescriptor file, final EnumDescriptor parent, final int index) EnumValueDescriptor() argument
1929 setProto(final EnumValueDescriptorProto proto) setProto() argument
1999 private ServiceDescriptorProto proto; global() field in Descriptors.ServiceDescriptor
2004 ServiceDescriptor( final ServiceDescriptorProto proto, final FileDescriptor file, final int index) ServiceDescriptor() argument
2027 setProto(final ServiceDescriptorProto proto) setProto() argument
2106 private MethodDescriptorProto proto; global() field in Descriptors.MethodDescriptor
2115 MethodDescriptor( final MethodDescriptorProto proto, final FileDescriptor file, final ServiceDescriptor parent, final int index) MethodDescriptor() argument
2152 setProto(final MethodDescriptorProto proto) setProto() argument
2213 private final Message proto; global() field in Descriptors.DescriptorValidationException
2704 setProto(final OneofDescriptorProto proto) setProto() argument
2708 OneofDescriptor( final OneofDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) OneofDescriptor() argument
2724 private OneofDescriptorProto proto; global() field in Descriptors.OneofDescriptor
[all...]
/third_party/selinux/libsepol/src/
H A Dport_record.c13 int proto; member
24 int proto; member
29 int low, int high, int proto, in sepol_port_key_create()
43 tmp_key->proto = proto; in sepol_port_key_create()
51 int *low, int *high, int *proto) in sepol_port_key_unpack()
56 *proto = key->proto; in sepol_port_key_unpack()
66 (handle, port->low, port->high, port->proto, key_ptr) < 0) { in sepol_port_key_extract()
69 sepol_port_get_proto_str(port->proto), in sepol_port_key_extract()
28 sepol_port_key_create(sepol_handle_t * handle, int low, int high, int proto, sepol_port_key_t ** key_ptr) sepol_port_key_create() argument
50 sepol_port_key_unpack(const sepol_port_key_t * key, int *low, int *high, int *proto) sepol_port_key_unpack() argument
173 sepol_port_get_proto_str(int proto) sepol_port_get_proto_str() argument
191 sepol_port_set_proto(sepol_port_t * port, int proto) sepol_port_set_proto() argument
[all...]
H A Dnode_record.c22 int proto; member
38 int proto; member
45 const char *addr_str, int proto, char *addr_bytes) in node_parse_addr()
48 switch (proto) { in node_parse_addr()
78 "parse address", proto); in node_parse_addr()
89 int proto, char **addr, size_t * addr_sz) in node_alloc_addr()
95 switch (proto) { in node_alloc_addr()
112 ERR(handle, "unsupported protocol %u", proto); in node_alloc_addr()
126 sepol_node_get_proto_str(proto)); in node_alloc_addr()
135 char *addr_bytes, int proto, cha in node_expand_addr()
44 node_parse_addr(sepol_handle_t * handle, const char *addr_str, int proto, char *addr_bytes) node_parse_addr() argument
88 node_alloc_addr(sepol_handle_t * handle, int proto, char **addr, size_t * addr_sz) node_alloc_addr() argument
134 node_expand_addr(sepol_handle_t * handle, char *addr_bytes, int proto, char *addr_str) node_expand_addr() argument
183 node_alloc_addr_string(sepol_handle_t * handle, int proto, char **addr) node_alloc_addr_string() argument
222 sepol_node_key_create(sepol_handle_t * handle, const char *addr, const char *mask, int proto, sepol_node_key_t ** key_ptr) sepol_node_key_create() argument
261 sepol_node_key_unpack(const sepol_node_key_t * key, const char **addr, const char **mask, int *proto) sepol_node_key_unpack() argument
392 sepol_node_set_addr(sepol_handle_t * handle, sepol_node_t * node, int proto, const char *addr) sepol_node_set_addr() argument
477 sepol_node_set_mask(sepol_handle_t * handle, sepol_node_t * node, int proto, const char *mask) sepol_node_set_mask() argument
528 sepol_node_set_proto(sepol_node_t * node, int proto) sepol_node_set_proto() argument
535 sepol_node_get_proto_str(int proto) sepol_node_get_proto_str() argument
[all...]
H A Dports.c17 static inline int sepol2ipproto(sepol_handle_t * handle, int proto) in sepol2ipproto() argument
20 switch (proto) { in sepol2ipproto()
30 ERR(handle, "unsupported protocol %u", proto); in sepol2ipproto()
35 static inline int ipproto2sepol(sepol_handle_t * handle, int proto) in ipproto2sepol() argument
38 switch (proto) { in ipproto2sepol()
48 ERR(handle, "invalid protocol %u " "found in policy", proto); in ipproto2sepol()
66 int proto = sepol_port_get_proto(data); in port_from_record() local
73 tmp_proto = sepol2ipproto(handle, proto); in port_from_record()
110 low, high, sepol_port_get_proto_str(proto)); in port_from_record()
119 int proto in port_to_record() local
183 int low, high, proto; sepol_port_exists() local
221 int low, high, proto; sepol_port_query() local
261 int low, high, proto; sepol_port_modify() local
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DFieldDescriptor.php217 public static function getFieldDescriptor($proto)
220 $type = $proto->getType();
225 $type_name = $proto->getTypeName();
231 $oneof_index = $proto->hasOneofIndex() ? $proto->getOneofIndex() : -1;
234 if ($proto->getLabel() === GPBLabel::REPEATED &&
235 $proto->getType() !== GPBType::MESSAGE &&
236 $proto->getType() !== GPBType::GROUP &&
237 $proto->getType() !== GPBType::STRING &&
238 $proto
[all...]
H A DDescriptorPool.php133 public function getDescriptorByProtoName($proto)
135 if (isset($this->proto_to_class[$proto])) {
136 $klass = $this->proto_to_class[$proto];
143 public function getEnumDescriptorByProtoName($proto)
145 $klass = $this->proto_to_class[$proto];
154 $proto = $field->getMessageType(); variable
155 if ($proto[0] == '.') {
156 $proto = substr($proto, 1); variable
158 $subdesc = $this->getDescriptorByProtoName($proto);
167 $proto = $field->getEnumType(); global() variable
169 $proto = substr($proto, 1); global() variable
[all...]
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.cc475 // descriptor.proto has a different package name in opensource. We allow in NewAllowedProto3Extendee()
482 allowed_proto3_extendees->insert(std::string("proto") + "2." + in NewAllowedProto3Extendee()
1341 // Ensure that descriptor.proto has been registered in the generated pool. in generated_pool()
1350 // descriptors for generated proto classes. Each generated .pb.cc file in InternalAddGeneratedFile()
1824 DescriptorProto_ExtensionRange* proto) const { in CopyTo()
1825 proto->set_start(this->start); in CopyTo()
1826 proto->set_end(this->end); in CopyTo()
1828 *proto->mutable_options() = *options_; in CopyTo()
2030 void FileDescriptor::CopyTo(FileDescriptorProto* proto) const { in CopyTo()
2031 proto in CopyTo()
3319 BuildField(const FieldDescriptorProto& proto, Descriptor* parent, FieldDescriptor* result) BuildField() argument
3323 BuildExtension(const FieldDescriptorProto& proto, Descriptor* parent, FieldDescriptor* result) BuildExtension() argument
3569 BuildFile( const FileDescriptorProto& proto) BuildFile() argument
3581 BuildFileCollectingErrors( const FileDescriptorProto& proto, ErrorCollector* error_collector) BuildFileCollectingErrors() argument
4022 AddSymbol(const std::string& full_name, const void* parent, const std::string& name, const Message& proto, Symbol symbol) AddSymbol() argument
4071 AddPackage(const std::string& name, const Message& proto, const FileDescriptor* file) AddPackage() argument
4106 ValidateSymbolName(const std::string& name, const std::string& full_name, const Message& proto) ValidateSymbolName() argument
4220 AddRecursiveImportError( const FileDescriptorProto& proto, int from_here) AddRecursiveImportError() argument
4238 AddTwiceListedError(const FileDescriptorProto& proto, int index) AddTwiceListedError() argument
4245 AddImportError(const FileDescriptorProto& proto, int index) AddImportError() argument
4258 ExistingFileMatchesProto(const FileDescriptor* existing_file, const FileDescriptorProto& proto) ExistingFileMatchesProto() argument
4273 BuildFile( const FileDescriptorProto& proto) BuildFile() argument
4344 BuildFileImpl( const FileDescriptorProto& proto) BuildFileImpl() argument
4602 BuildMessage(const DescriptorProto& proto, const Descriptor* parent, Descriptor* result) BuildMessage() argument
4740 BuildFieldOrExtension(const FieldDescriptorProto& proto, Descriptor* parent, FieldDescriptor* result, bool is_extension) BuildFieldOrExtension() argument
5038 BuildExtensionRange( const DescriptorProto::ExtensionRange& proto, const Descriptor* parent, Descriptor::ExtensionRange* result) BuildExtensionRange() argument
5075 BuildReservedRange( const DescriptorProto::ReservedRange& proto, const Descriptor* parent, Descriptor::ReservedRange* result) BuildReservedRange() argument
5086 BuildReservedRange( const EnumDescriptorProto::EnumReservedRange& proto, const EnumDescriptor* parent, EnumDescriptor::ReservedRange* result) BuildReservedRange() argument
5098 BuildOneof(const OneofDescriptorProto& proto, Descriptor* parent, OneofDescriptor* result) BuildOneof() argument
5125 CheckEnumValueUniqueness( const EnumDescriptorProto& proto, const EnumDescriptor* result) CheckEnumValueUniqueness() argument
5191 BuildEnum(const EnumDescriptorProto& proto, const Descriptor* parent, EnumDescriptor* result) BuildEnum() argument
5287 BuildEnumValue(const EnumValueDescriptorProto& proto, const EnumDescriptor* parent, EnumValueDescriptor* result) BuildEnumValue() argument
5358 BuildService(const ServiceDescriptorProto& proto, const void* , ServiceDescriptor* result) BuildService() argument
5382 BuildMethod(const MethodDescriptorProto& proto, const ServiceDescriptor* parent, MethodDescriptor* result) BuildMethod() argument
5416 CrossLinkFile(FileDescriptor* file, const FileDescriptorProto& proto) CrossLinkFile() argument
5439 CrossLinkMessage(Descriptor* message, const DescriptorProto& proto) CrossLinkMessage() argument
5562 CrossLinkExtensionRange( Descriptor::ExtensionRange* range, const DescriptorProto::ExtensionRange& proto) CrossLinkExtensionRange() argument
5570 CrossLinkField(FieldDescriptor* field, const FieldDescriptorProto& proto) CrossLinkField() argument
5829 CrossLinkEnum(EnumDescriptor* enum_type, const EnumDescriptorProto& proto) CrossLinkEnum() argument
5848 CrossLinkService(ServiceDescriptor* service, const ServiceDescriptorProto& proto) CrossLinkService() argument
5859 CrossLinkMethod(MethodDescriptor* method, const MethodDescriptorProto& proto) CrossLinkMethod() argument
5924 ValidateFileOptions(FileDescriptor* file, const FileDescriptorProto& proto) ValidateFileOptions() argument
5951 ValidateProto3(FileDescriptor* file, const FileDescriptorProto& proto) ValidateProto3() argument
5978 ValidateProto3Message(Descriptor* message, const DescriptorProto& proto) ValidateProto3Message() argument
6023 ValidateProto3Field(FieldDescriptor* field, const FieldDescriptorProto& proto) ValidateProto3Field() argument
6058 ValidateProto3Enum(EnumDescriptor* enm, const EnumDescriptorProto& proto) ValidateProto3Enum() argument
6067 ValidateMessageOptions(Descriptor* message, const DescriptorProto& proto) ValidateMessageOptions() argument
6093 ValidateFieldOptions( FieldDescriptor* field, const FieldDescriptorProto& proto) ValidateFieldOptions() argument
6172 ValidateEnumOptions(EnumDescriptor* enm, const EnumDescriptorProto& proto) ValidateEnumOptions() argument
6204 ValidateExtensionRangeOptions( const std::string& full_name, Descriptor::ExtensionRange* extension_range, const DescriptorProto_ExtensionRange& proto) ValidateExtensionRangeOptions() argument
6209 ValidateServiceOptions( ServiceDescriptor* service, const ServiceDescriptorProto& proto) ValidateServiceOptions() argument
6228 ValidateMapEntry(FieldDescriptor* field, const FieldDescriptorProto& proto) ValidateMapEntry() argument
6300 DetectMapConflicts(const Descriptor* message, const DescriptorProto& proto) DetectMapConflicts() argument
6357 ValidateJSType(FieldDescriptor* field, const FieldDescriptorProto& proto) ValidateJSType() argument
7270 LogUnusedDependency(const FileDescriptorProto& proto, const FileDescriptor* result) LogUnusedDependency() argument
[all...]
/third_party/python/Lib/test/
H A Dpickletester.py53 # for proto in protocols:
1461 for proto in protocols:
1463 s = self.dumps(x, proto)
1468 s = self.dumps(x, proto)
1473 s = self.dumps(x, proto)
1481 for proto in protocols:
1482 s = self.dumps(expected, proto)
1496 for proto, expected in (0, DATA0_DIS), (1, DATA1_DIS):
1497 s = self.dumps(self._testdata, proto)
1507 for proto i
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DLazyStringEndToEndTest.java91 UnittestProto.TestAllTypes proto = in testCaching()
99 assertSame(a, proto.getOptionalString()); in testCaching()
100 assertSame(b, proto.getRepeatedString(0)); in testCaching()
101 assertSame(c, proto.getRepeatedString(1)); in testCaching()
104 proto.toByteString(); in testCaching()
107 assertSame(a, proto.getOptionalString()); in testCaching()
108 assertSame(b, proto.getRepeatedString(0)); in testCaching()
109 assertSame(c, proto.getRepeatedString(1)); in testCaching()
113 UnittestProto.TestAllTypes proto = UnittestProto.TestAllTypes.parseFrom(encodedTestAllTypes); in testNoStringCachingIfOnlyBytesAccessed()
114 ByteString optional = proto in testNoStringCachingIfOnlyBytesAccessed()
[all...]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
H A DTypes.java22 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.FIXED_LINE;
23 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.MOBILE;
24 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.PAGER;
25 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.PERSONAL_NUMBER;
26 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.PREMIUM_RATE;
27 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.SHARED_COST;
28 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.TOLL_FREE;
29 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.UAN;
30 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.VOICEMAIL;
31 import static com.google.i18n.phonenumbers.metadata.proto
[all...]
/third_party/musl/src/network/
H A Dlookup_serv.c13 int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, int flags) in __lookup_serv() argument
22 switch (proto) { in __lookup_serv()
24 proto = IPPROTO_TCP; in __lookup_serv()
29 MUSL_LOGE("%{public}s: %{public}d: socktype mismatch IPPROTO_TCP: %{public}d", __func__, __LINE__, proto); in __lookup_serv()
35 switch (proto) { in __lookup_serv()
37 proto = IPPROTO_UDP; in __lookup_serv()
42 MUSL_LOGE("%{public}s: %{public}d: socktype mismatch IPPROTO_UDP: %{public}d", __func__, __LINE__, proto); in __lookup_serv()
56 buf[0].proto = proto; in __lookup_serv()
77 if (proto ! in __lookup_serv()
[all...]
/third_party/lwip/src/include/lwip/
H A Dip.h255 #define ip_output(p, src, dest, ttl, tos, proto) \
257 ip6_output(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto) : \
258 ip4_output(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto))
263 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \
265 ip6_output_if(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, netif) : \
266 ip4_output_if(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto, netif))
271 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \
273 ip6_output_if_src(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, netif) : \
274 ip4_output_if_src(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto, netif))
281 #define ip_output_hinted(p, src, dest, ttl, tos, proto, netif_hin
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_events.py764 proto = MyProto(loop=loop)
765 proto.loop = loop
768 (lambda: proto), conn, ssl=server_ssl))
770 proto.transport.close()
775 self.assertEqual(proto.state, 'CLOSED')
776 self.assertEqual(proto.nbytes, len(message))
833 proto = MyProto(self.loop)
834 f = self.loop.create_server(lambda: proto, '0.0.0.0', 0)
844 self.loop.run_until_complete(proto.connected)
845 self.assertEqual('CONNECTED', proto
[all...]
/third_party/python/Lib/
H A Dpickletools.py29 # (== the highest .proto attr value among all the opcodes in the pickle).
1118 'proto',
1125 stack_before, stack_after, proto, doc):
1146 assert isinstance(proto, int) and 0 <= proto <= pickle.HIGHEST_PROTOCOL
1147 self.proto = proto
1162 proto=0,
1187 proto=1,
1201 proto
[all...]
/third_party/musl/porting/linux/user/src/network/
H A Dlookup_serv.c13 int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, int flags) in __lookup_serv() argument
22 switch (proto) { in __lookup_serv()
24 proto = IPPROTO_TCP; in __lookup_serv()
32 switch (proto) { in __lookup_serv()
34 proto = IPPROTO_UDP; in __lookup_serv()
45 buf[0].proto = proto; in __lookup_serv()
56 if (proto != IPPROTO_UDP) { in __lookup_serv()
59 buf[cnt++].proto = IPPROTO_TCP; in __lookup_serv()
61 if (proto ! in __lookup_serv()
[all...]
/third_party/protobuf/benchmarks/go/
H A Dgo_benchmark_test.go11 "github.com/golang/protobuf/proto"
19 newMessage func() proto.Message
21 unmarshaled []proto.Message
27 func generateNewMessageFunction(dataset benchmarkWrapper.BenchmarkDataset) func() proto.Message {
30 return func() proto.Message { return new(googleMessage1Proto3.GoogleMessage1) }
32 return func() proto.Message { return new(googleMessage1Proto2.GoogleMessage1) }
34 return func() proto.Message { return new(googleMessage2.GoogleMessage2) }
36 return func() proto.Message { return new(googleMessage3.GoogleMessage3) }
38 return func() proto.Message { return new(googleMessage4.GoogleMessage4) }
55 if err := proto
[all...]
/third_party/node/lib/internal/
H A Dbuffer.js965 function addBufferPrototypeMethods(proto) {
966 proto.readBigUInt64LE = readBigUInt64LE;
967 proto.readBigUInt64BE = readBigUInt64BE;
968 proto.readBigUint64LE = readBigUInt64LE;
969 proto.readBigUint64BE = readBigUInt64BE;
970 proto.readBigInt64LE = readBigInt64LE;
971 proto.readBigInt64BE = readBigInt64BE;
972 proto.writeBigUInt64LE = writeBigUInt64LE;
973 proto.writeBigUInt64BE = writeBigUInt64BE;
974 proto
[all...]

Completed in 22 milliseconds

12345678910>>...26