Home
last modified time | relevance | path

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

123

/PHP-7.4/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.4/win32/
H A Dsockets.c29 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]) in socketpair() argument
43 sock[0] = socket(domain, type, protocol); in socketpair()
64 sock[1] = socket(domain, type, protocol); in socketpair()
H A Dsockets.h27 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_subclass.phpt18 $this->protocol();
23 $this->protocol();
28 $this->protocol();
34 // $this->protocol();
37 private function protocol() {
H A Dbug70066.phpt20 // USE is not supported in the prepared statement protocol,
/PHP-7.4/main/streams/
H A Dtransports.c30 PHPAPI int php_stream_xport_register(const char *protocol, php_stream_transport_factory factory) in php_stream_xport_register() argument
32 zend_string *str = zend_string_init_interned(protocol, strlen(protocol), 1); in php_stream_xport_register()
39 PHPAPI int php_stream_xport_unregister(const char *protocol) in php_stream_xport_unregister() argument
41 return zend_hash_str_del(&xport_hash, protocol, strlen(protocol)); in php_stream_xport_unregister()
64 const char *p, *protocol = NULL; in _php_stream_xport_create() local
103 protocol = name; in _php_stream_xport_create()
107 protocol = "tcp"; in _php_stream_xport_create()
111 if (protocol) { in _php_stream_xport_create()
112 if (NULL == (factory = zend_hash_str_find_ptr(&xport_hash, protocol, n))) { in _php_stream_xport_create()
117 PHP_STRLCPY(wrapper_name, protocol, sizeof(wrapper_name), n); in _php_stream_xport_create()
[all …]
H A Duserspace.c497 zend_string *protocol, *classname; in PHP_FUNCTION() local
507 uwrap->protoname = estrndup(ZSTR_VAL(protocol), ZSTR_LEN(protocol)); in PHP_FUNCTION()
520 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol)) { in PHP_FUNCTION()
540 zend_string *protocol; in PHP_FUNCTION() local
542 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &protocol) == FAILURE) { in PHP_FUNCTION()
546 if (php_unregister_url_stream_wrapper_volatile(protocol) == FAILURE) { in PHP_FUNCTION()
560 zend_string *protocol; in PHP_FUNCTION() local
564 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &protocol) == FAILURE) { in PHP_FUNCTION()
569 if ((wrapper = zend_hash_find_ptr(global_wrapper_hash, protocol)) == NULL) { in PHP_FUNCTION()
581 php_unregister_url_stream_wrapper_volatile(protocol); in PHP_FUNCTION()
[all …]
H A Dstreams.c1754 protocol[i] != '+' && in php_stream_wrapper_scheme_validate()
1755 protocol[i] != '-' && in php_stream_wrapper_scheme_validate()
1756 protocol[i] != '.') { in php_stream_wrapper_scheme_validate()
1783 return zend_hash_str_del(&url_stream_wrappers_hash, protocol, strlen(protocol)); in php_unregister_url_stream_wrapper()
1796 if (php_stream_wrapper_scheme_validate(ZSTR_VAL(protocol), ZSTR_LEN(protocol)) == FAILURE) { in php_register_url_stream_wrapper_volatile()
1822 const char *p, *protocol = NULL; local
1838 protocol = path;
1841 if (protocol) {
1857 protocol = NULL;
1863 if (!protocol || !strncasecmp(protocol, "file", n)) {
[all …]
H A Dphp_stream_transport.h36 PHPAPI int php_stream_xport_register(const char *protocol, php_stream_transport_factory factory);
37 PHPAPI int php_stream_xport_unregister(const char *protocol);
/PHP-7.4/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 ) );
/PHP-7.4/ext/mysqlnd/
H A Dconfig9.m410 [whether to disable compressed protocol support in mysqlnd],
12 [Disable support for the MySQL compressed protocol in mysqlnd])],
30 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.4/ext/openssl/tests/
H A Dsession_meta_capture.phpt48 var_dump($meta['protocol']);
53 var_dump($meta['protocol']);
58 var_dump($meta['protocol']);
/PHP-7.4/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.4/ext/ldap/tests/
H A Dldap_set_option_tls_protocol_min_basic.phpt2 ldap_set_option() - Basic test for TLS protocol min ldap option
/PHP-7.4/ext/standard/tests/http/
H A Dbug80838.phpt13 . "Hello from another protocol"
/PHP-7.4/ext/libxml/tests/
H A Dbug54440.phpt25 or die("Failed to register protocol");

Completed in 59 milliseconds

123