/third_party/python/Lib/test/ |
H A D | test_memoryio.py | 418 for proto in range(2, pickle.HIGHEST_PROTOCOL + 1): 420 obj2 = pickle.loads(pickle.dumps(obj, protocol=proto)) 426 self.assertRaises(ValueError, pickle.dumps, obj2, proto)
|
H A D | test_uuid.py | 342 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 343 with self.subTest(protocol=proto): 344 check(pickle.loads(pickle.dumps(u, proto)), u)
|
H A D | _test_multiprocessing.py | 4003 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 4004 with self.subTest(proto=proto): 4010 pickled_sms = pickle.dumps(sms, protocol=proto) 4029 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 4030 with self.subTest(proto=proto): 4033 pickled_sms = pickle.dumps(sms, protocol=proto) 4260 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 4261 with self.subTest(proto [all...] |
H A D | test_memoryview.py | 544 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 546 pickle.dumps(m, proto)
|
H A D | test_generators.py | 161 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 163 pickle.dumps(g, proto)
|
H A D | test_bz2.py | 680 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 682 pickle.dumps(BZ2Compressor(), proto) 738 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 740 pickle.dumps(BZ2Decompressor(), proto)
|
H A D | test_coroutines.py | 2103 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 2105 pickle.dumps(coro, proto) 2109 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 2111 pickle.dumps(aw, proto)
|
H A D | test_urllib2.py | 280 def error(self, proto, *args): 281 self.proto, self.args = proto, args 1145 self.assertFalse(hasattr(o, "proto")) # o.error not called 1149 self.assertFalse(hasattr(o, "proto")) # o.error not called 1153 self.assertFalse(hasattr(o, "proto")) # o.error not called 1157 self.assertEqual(o.proto, "http") # o.error called
|
H A D | test_ssl.py | 53 for proto, ver in ( 59 proto = getattr(ssl, proto) variable 63 PROTOCOL_TO_TLS_VERSION[proto] = ver 375 proto = ssl.PROTOCOL_TLS_CLIENT 376 self.assertEqual(repr(proto), '<_SSLMethod.PROTOCOL_TLS_CLIENT: %r>' % proto.value) 377 self.assertEqual(str(proto), str(proto.value)) 378 ctx = ssl.SSLContext(proto) [all...] |
/third_party/protobuf/src/google/protobuf/compiler/python/ |
H A D | python_generator.cc | 76 // Returns a copy of |filename| with any trailing ".protodevel" or ".proto 81 StrEndsWith(filename, ".protodevel") ? ".protodevel" : ".proto"; in StripProto() 85 // Returns the Python module name expected for a given .proto filename. 93 // Returns the alias we assign to the module of the given .proto filename 815 // Serialization of proto in PrintDescriptor() 1032 // Only works for fields in the .proto file this Generator is generating for. 1243 return file_->name() == "net/proto2/proto/descriptor.proto" || in GeneratingDescriptorProto() 1244 file_->name() == "google/protobuf/descriptor.proto"; in GeneratingDescriptorProto() 1271 // the module name iff this descriptor is from a different .proto fil in ModuleLevelDescriptorName() [all...] |
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | protostream_objectsource_test.cc | 115 std::string proto = oss.str(); in ExecuteTest() local 116 ArrayInputStream arr_stream(proto.data(), proto.size()); in ExecuteTest()
|
/third_party/libcoap/src/ |
H A D | coap_ws.c | 825 if (session->proto == COAP_PROTO_WS && in coap_ws_establish() 828 } else if (session->proto == COAP_PROTO_WSS && in coap_ws_establish()
|
/third_party/python/Modules/ |
H A D | _datetimemodule.c | 4693 time_getstate(PyDateTime_Time *self, int proto) in time_getstate() argument 4701 if (proto > 3 && TIME_GET_FOLD(self)) in time_getstate() 4716 int proto; in time_reduce_ex() local 4717 if (!PyArg_ParseTuple(args, "i:__reduce_ex__", &proto)) in time_reduce_ex() 4720 return Py_BuildValue("(ON)", Py_TYPE(self), time_getstate(self, proto)); in time_reduce_ex() 4761 PyDoc_STR("__reduce_ex__(proto) -> (cls, state)")}, 6486 datetime_getstate(PyDateTime_DateTime *self, int proto) in datetime_getstate() argument 6494 if (proto > 3 && DATE_GET_FOLD(self)) in datetime_getstate() 6509 int proto; in datetime_reduce_ex() local 6510 if (!PyArg_ParseTuple(args, "i:__reduce_ex__", &proto)) in datetime_reduce_ex() [all...] |
/third_party/nghttp2/integration-tests/ |
H A D | nghttpx_http2_test.go | 39 // x-forwarded-proto header field. 42 args: []string{"--no-strip-incoming-x-forwarded-proto"}, 56 pair("x-forwarded-proto", "foo"), 68 // existing x-forwarded-proto header field. 72 "--no-add-x-forwarded-proto", 73 "--no-strip-incoming-x-forwarded-proto", 88 pair("x-forwarded-proto", "foo"), 100 // x-forwarded-proto header field. 116 pair("x-forwarded-proto", "foo"), 128 // x-forwarded-proto heade [all...] |
/device/soc/rockchip/common/sdk_linux/net/bluetooth/ |
H A D | l2cap_sock.c | 44 static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern); 1857 static struct proto l2cap_proto = {.name = "L2CAP", .owner = THIS_MODULE, .obj_size = sizeof(struct l2cap_pinfo)}; 1859 static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern) in l2cap_sock_alloc() argument 1877 sk->sk_protocol = proto; in l2cap_sock_alloc()
|
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-object.cc | 752 Handle<Object> proto = args.at(1); in RUNTIME_FUNCTION() local 755 JSReceiver::SetPrototype(isolate, object, proto, true, kThrowOnError), in RUNTIME_FUNCTION() 766 Handle<Object> proto = args.at(1); in RUNTIME_FUNCTION() local 769 JSReceiver::SetPrototype(isolate, object, proto, true, kDontThrow); in RUNTIME_FUNCTION()
|
/third_party/python/Lib/ |
H A D | enum.py | 107 def _break_on_call_reduce(self, proto): 1227 def __reduce_ex__(self, proto): 1294 def _reduce_ex_by_global_name(self, proto): 1317 def __reduce_ex__(self, proto):
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_write_ast.c | 1286 if (portcon->proto == CIL_PROTOCOL_UDP) in cil_write_ast_node() 1288 else if (portcon->proto == CIL_PROTOCOL_TCP) in cil_write_ast_node() 1290 else if (portcon->proto == CIL_PROTOCOL_DCCP) in cil_write_ast_node() 1292 else if (portcon->proto == CIL_PROTOCOL_SCTP) in cil_write_ast_node()
|
H A D | cil_policy.c | 1754 if (portcon->proto == CIL_PROTOCOL_UDP) { in cil_portcons_to_policy() 1756 } else if (portcon->proto == CIL_PROTOCOL_TCP) { in cil_portcons_to_policy() 1758 } else if (portcon->proto == CIL_PROTOCOL_DCCP) { in cil_portcons_to_policy() 1760 } else if (portcon->proto == CIL_PROTOCOL_SCTP) { in cil_portcons_to_policy()
|
/third_party/curl/lib/vtls/ |
H A D | openssl.c | 3633 struct alpn_proto_buf proto; in ossl_connect_step1() local 3635 result = Curl_alpn_to_proto_buf(&proto, connssl->alpn); in ossl_connect_step1() 3637 SSL_CTX_set_alpn_protos(backend->ctx, proto.data, proto.len)) { in ossl_connect_step1() 3641 Curl_alpn_to_proto_str(&proto, connssl->alpn); in ossl_connect_step1() 3642 infof(data, VTLS_INFOF_ALPN_OFFER_1STR, proto.data); in ossl_connect_step1()
|
/third_party/nghttp2/src/ |
H A D | shrpx.cc | 2306 parameters are: "proto=<PROTO>", "tls", in print_help() 2314 parameter "proto=h2" consists of the keyword "proto" and in print_help() 2320 optional "proto" parameter, and in the form of in print_help() 2321 "proto=<PROTO>". <PROTO> should be one of the following in print_help() 2832 --tls-min-proto-version=<VER> in print_help() 2835 --tls-min-proto-version and --tls-max-proto-version are in print_help() 2852 --tls-max-proto-version=<VER> in print_help() 2855 --tls-min-proto in print_help() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | avformat.h | 2711 * @param proto the buffer for the protocol 2712 * @param proto_size the size of the proto buffer 2722 void av_url_split(char *proto, int proto_size,
|
/third_party/libwebsockets/lib/roles/netlink/ |
H A D | ops-netlink.c | 247 robj.proto = rm->rtm_protocol; in rops_handle_POLLIN_netlink()
|
/third_party/node/deps/v8/src/ast/ |
H A D | ast-value-factory.h | 272 F(proto, "__proto__") \
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
H A D | CsvTableTest.java | 49 import com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType;
|