Home
last modified time | relevance | path

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

123

/PHP-7.2/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
H A Dbug20134.phpt9 * a connection-LESS protocol */
/PHP-7.2/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.h29 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
/PHP-7.2/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
101 protocol = name; in _php_stream_xport_create()
105 protocol = "tcp"; in _php_stream_xport_create()
109 if (protocol) { in _php_stream_xport_create()
110 char *tmp = estrndup(protocol, n); in _php_stream_xport_create()
116 PHP_STRLCPY(wrapper_name, protocol, sizeof(wrapper_name), n); in _php_stream_xport_create()
[all …]
H A Dstreams.c1669 protocol[i] != '+' && in php_stream_wrapper_scheme_validate()
1670 protocol[i] != '-' && in php_stream_wrapper_scheme_validate()
1671 protocol[i] != '.') { in php_stream_wrapper_scheme_validate()
1693 return zend_hash_str_del(&url_stream_wrappers_hash, protocol, strlen(protocol)); in php_unregister_url_stream_wrapper()
1725 return zend_hash_str_del(FG(stream_wrappers), protocol, strlen(protocol)); in php_unregister_url_stream_wrapper_volatile()
1734 const char *p, *protocol = NULL; local
1750 protocol = path;
1753 if (protocol) {
1768 protocol = NULL;
1774 if (!protocol || !strncasecmp(protocol, "file", n)) {
[all …]
H A Duserspace.c501 zend_string *protocol, *classname; in PHP_FUNCTION() local
511 uwrap->protoname = estrndup(ZSTR_VAL(protocol), ZSTR_LEN(protocol)); in PHP_FUNCTION()
524 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol)) { in PHP_FUNCTION()
544 char *protocol; in PHP_FUNCTION() local
547 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &protocol, &protocol_len) == FAILURE) { in PHP_FUNCTION()
551 if (php_unregister_url_stream_wrapper_volatile(protocol) == FAILURE) { in PHP_FUNCTION()
553 php_error_docref(NULL, E_WARNING, "Unable to unregister protocol %s://", protocol); in PHP_FUNCTION()
565 zend_string *protocol; in PHP_FUNCTION() local
569 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &protocol) == FAILURE) { in PHP_FUNCTION()
579 if ((wrapper = zend_hash_find_ptr(global_wrapper_hash, protocol)) == NULL) { in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_subclass.phpt22 $this->protocol();
27 $this->protocol();
32 $this->protocol();
38 // $this->protocol();
41 private function protocol() {
/PHP-7.2/ext/standard/tests/general_functions/
H A Dgetservbyname_variation5.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_variation2.phpt9 $protocol = "tcp";
21 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.2/ext/openssl/tests/
H A Dsession_meta_capture.phpt46 var_dump($meta['protocol']);
51 var_dump($meta['protocol']);
56 var_dump($meta['protocol']);
/PHP-7.2/ext/mysqlnd/
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.h100 } protocol; member
151 #define mysqlnd_protocol_get_methods() mysqlnd_plugin_methods_xetters.protocol.get()
152 #define mysqlnd_protocol_set_methods(m) mysqlnd_plugin_methods_xetters.protocol.set((m))
/PHP-7.2/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
/PHP-7.2/ext/ldap/tests/
H A Dldap_set_option_tls_protocol_min_basic.phpt2 ldap_set_option() - Basic test for TLS protocol min ldap option

Completed in 60 milliseconds

123