/PHP-7.0/ext/standard/tests/network/ |
H A D | fsockopen_variation1.phpt | 2 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 D | getprotobynumber_error.phpt | 7 // empty protocol number 10 // invalid protocol number
|
H A D | getprotobyname_error.phpt | 7 // empty protocol name 10 // invalid protocol name
|
/PHP-7.0/win32/ |
H A D | sockets.c | 31 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 D | sockets.h | 26 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
|
/PHP-7.0/ext/mysqlnd/ |
H A D | mysqlnd_auth.c | 60 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 D | config9.m4 | 9 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 D | mysqlnd_ext_plugin.c | 112 _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 D | mysqlnd_structs.h | 180 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 D | transports.c | 32 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 D | streams.c | 1690 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 D | userspace.c | 500 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 D | getservbyname_variation5.phpt | 9 $protocol = "tcp"; 21 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyname_variation2.phpt | 9 $protocol = "tcp"; 21 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyname_variation4.phpt | 9 $protocol = "tcp"; 22 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyname_variation7.phpt | 9 $protocol = "tcp"; 25 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyname_variation3.phpt | 9 $protocol = "tcp"; 26 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyname_error.phpt | 11 $protocol = "tcp"; 13 var_dump(getservbyname($service, $protocol, $extra_arg ) );
|
H A D | getservbyname_variation6.phpt | 9 $protocol = "tcp"; 30 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyport_error.phpt | 11 $protocol = "tcp"; 13 var_dump(getservbyport( $port, $protocol, $extra_arg ) );
|
H A D | getservbyname_variation1.phpt | 9 $protocol = "tcp"; 24 var_dump(getservbyname( $var , $protocol ) );
|
/PHP-7.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_subclass.phpt | 24 $this->protocol(); 29 $this->protocol(); 34 $this->protocol(); 40 // $this->protocol(); 43 private function protocol() {
|
/PHP-7.0/ext/openssl/tests/ |
H A D | session_meta_capture.phpt | 41 var_dump($meta['protocol']); 46 var_dump($meta['protocol']); 51 var_dump($meta['protocol']);
|
/PHP-7.0/ext/curl/tests/ |
H A D | curl_strerror_001.phpt | 23 string(20) "unsupported protocol"
|
H A D | curl_basic_009.phpt | 2 Test curl_error() & curl_errno() function with problematic protocol
|