Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 77) sorted by relevance

1234

/PHP-7.0/ext/standard/tests/network/
H A Dfsockopen_variation1.phpt2 testing fsockopen without a protocol string
16 echo "\nCalling fsockopen() without a protocol in the hostname string:\n";
22 echo "\nCalling fsockopen() with address and port in same string, without a protocol:\n";
33 Calling fsockopen() without a protocol in the hostname string:
36 Calling fsockopen() with address and port in same string, without a protocol:
H A Dgetprotobynumber_error.phpt7 // empty protocol number
10 // invalid protocol number
H A Dgetprotobyname_error.phpt7 // empty protocol name
10 // invalid protocol name
/PHP-7.0/win32/
H A Dsockets.c31 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]) in socketpair() argument
45 sock[0] = socket(domain, type, protocol); in socketpair()
66 sock[1] = socket(domain, type, protocol); in socketpair()
H A Dsockets.h26 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
/PHP-7.0/ext/mysqlnd/
H A Dmysqlnd_auth.c60 auth_resp_packet = conn->protocol->m.get_auth_response_packet(conn->protocol, FALSE); in mysqlnd_auth_handshake()
68 …change_auth_resp_packet = conn->protocol->m.get_change_auth_response_packet(conn->protocol, FALSE); in mysqlnd_auth_handshake()
83 auth_packet = conn->protocol->m.get_auth_packet(conn->protocol, FALSE); in mysqlnd_auth_handshake()
181 chg_user_resp = conn->protocol->m.get_change_user_response_packet(conn->protocol, FALSE); in mysqlnd_auth_change_user()
189 …change_auth_resp_packet = conn->protocol->m.get_change_auth_response_packet(conn->protocol, FALSE); in mysqlnd_auth_change_user()
204 auth_packet = conn->protocol->m.get_auth_packet(conn->protocol, FALSE); in mysqlnd_auth_change_user()
263 …MYSQLND_PACKET_OK * redundant_error_packet = conn->protocol->m.get_ok_packet(conn->protocol, FALSE… in mysqlnd_auth_change_user()
502 pk_req_packet = conn->protocol->m.get_sha256_pk_request_packet(conn->protocol, FALSE); in mysqlnd_sha256_get_rsa_key()
507 pk_resp_packet = conn->protocol->m.get_sha256_pk_request_response_packet(conn->protocol, FALSE); in mysqlnd_sha256_get_rsa_key()
H A Dconfig9.m49 PHP_ARG_ENABLE(mysqlnd_compression_support, whether to disable compressed protocol support in mysql…
11 Disable support for the MySQL compressed protocol in mysqlnd], yes, no)
29 AC_DEFINE([MYSQLND_COMPRESSION_WANTED], 1, [Enable compressed protocol support])
H A Dmysqlnd_ext_plugin.c112 _mysqlnd_plugin_get_plugin_protocol_data(const MYSQLND_PROTOCOL * protocol, unsigned int plugin_id) in _mysqlnd_plugin_get_plugin_protocol_data() argument
116 if (!protocol || plugin_id >= mysqlnd_plugin_count()) { in _mysqlnd_plugin_get_plugin_protocol_data()
119 DBG_RETURN((void *)((char *)protocol + sizeof(MYSQLND_PROTOCOL) + plugin_id * sizeof(void *))); in _mysqlnd_plugin_get_plugin_protocol_data()
H A Dmysqlnd_structs.h180 enum_mysqlnd_protocol_type protocol; member
363 … * (*func_mysqlnd_protocol__get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persis…
364 … * (*func_mysqlnd_protocol__get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persis…
367 …ok * (*func_mysqlnd_protocol__get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persis…
368 … (*func_mysqlnd_protocol__get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persis…
369 …f * (*func_mysqlnd_protocol__get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persis…
370 …func_mysqlnd_protocol__get_rset_header_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persis…
371 …unc_mysqlnd_protocol__get_result_field_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persis…
372 …w * (*func_mysqlnd_protocol__get_row_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persis…
373 … * (*func_mysqlnd_protocol__get_stats_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persis…
[all …]
/PHP-7.0/main/streams/
H A Dtransports.c32 PHPAPI int php_stream_xport_register(const char *protocol, php_stream_transport_factory factory) in php_stream_xport_register() argument
34 …return zend_hash_str_update_ptr(&xport_hash, protocol, strlen(protocol), factory) ? SUCCESS : FAIL… in php_stream_xport_register()
37 PHPAPI int php_stream_xport_unregister(const char *protocol) in php_stream_xport_unregister() argument
39 return zend_hash_str_del(&xport_hash, protocol, strlen(protocol)); in php_stream_xport_unregister()
62 const char *p, *protocol = NULL; in _php_stream_xport_create() local
100 protocol = name; in _php_stream_xport_create()
104 protocol = "tcp"; in _php_stream_xport_create()
108 if (protocol) { in _php_stream_xport_create()
109 char *tmp = estrndup(protocol, n); in _php_stream_xport_create()
115 PHP_STRLCPY(wrapper_name, protocol, sizeof(wrapper_name), n); in _php_stream_xport_create()
[all …]
H A Dstreams.c1690 protocol[i] != '+' && in php_stream_wrapper_scheme_validate()
1691 protocol[i] != '-' && in php_stream_wrapper_scheme_validate()
1692 protocol[i] != '.') { in php_stream_wrapper_scheme_validate()
1714 return zend_hash_str_del(&url_stream_wrappers_hash, protocol, strlen(protocol)); in php_unregister_url_stream_wrapper()
1746 return zend_hash_str_del(FG(stream_wrappers), protocol, strlen(protocol)); in php_unregister_url_stream_wrapper_volatile()
1755 const char *p, *protocol = NULL; local
1771 protocol = path;
1774 if (protocol) {
1789 protocol = NULL;
1795 if (!protocol || !strncasecmp(protocol, "file", n)) {
[all …]
H A Duserspace.c500 zend_string *protocol, *classname; in PHP_FUNCTION() local
510 uwrap->protoname = estrndup(ZSTR_VAL(protocol), ZSTR_LEN(protocol)); in PHP_FUNCTION()
523 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol)) { in PHP_FUNCTION()
543 char *protocol; in PHP_FUNCTION() local
546 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &protocol, &protocol_len) == FAILURE) { in PHP_FUNCTION()
550 if (php_unregister_url_stream_wrapper_volatile(protocol) == FAILURE) { in PHP_FUNCTION()
552 php_error_docref(NULL, E_WARNING, "Unable to unregister protocol %s://", protocol); in PHP_FUNCTION()
564 zend_string *protocol; in PHP_FUNCTION() local
568 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &protocol) == FAILURE) { in PHP_FUNCTION()
578 if ((wrapper = zend_hash_find_ptr(global_wrapper_hash, protocol)) == NULL) { in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/standard/tests/general_functions/
H A Dgetservbyname_variation5.phpt9 $protocol = "tcp";
21 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyname_variation2.phpt9 $protocol = "tcp";
21 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyname_variation4.phpt9 $protocol = "tcp";
22 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyname_variation7.phpt9 $protocol = "tcp";
25 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyname_variation3.phpt9 $protocol = "tcp";
26 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyname_error.phpt11 $protocol = "tcp";
13 var_dump(getservbyname($service, $protocol, $extra_arg ) );
H A Dgetservbyname_variation6.phpt9 $protocol = "tcp";
30 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyport_error.phpt11 $protocol = "tcp";
13 var_dump(getservbyport( $port, $protocol, $extra_arg ) );
H A Dgetservbyname_variation1.phpt9 $protocol = "tcp";
24 var_dump(getservbyname( $var , $protocol ) );
/PHP-7.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_subclass.phpt24 $this->protocol();
29 $this->protocol();
34 $this->protocol();
40 // $this->protocol();
43 private function protocol() {
/PHP-7.0/ext/openssl/tests/
H A Dsession_meta_capture.phpt41 var_dump($meta['protocol']);
46 var_dump($meta['protocol']);
51 var_dump($meta['protocol']);
/PHP-7.0/ext/curl/tests/
H A Dcurl_strerror_001.phpt23 string(20) "unsupported protocol"
H A Dcurl_basic_009.phpt2 Test curl_error() & curl_errno() function with problematic protocol

Completed in 56 milliseconds

1234